@genesislcap/foundation-ui 14.206.4 → 14.207.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1505 -1505
  2. package/package.json +16 -16
@@ -893,188 +893,6 @@
893
893
  }
894
894
  ]
895
895
  },
896
- {
897
- "kind": "javascript-module",
898
- "path": "src/accordion/accordion.styles.ts",
899
- "declarations": [
900
- {
901
- "kind": "function",
902
- "name": "foundationAccordionStyles",
903
- "return": {
904
- "type": {
905
- "text": "ElementStyles"
906
- }
907
- },
908
- "parameters": [
909
- {
910
- "name": "context",
911
- "type": {
912
- "text": "ElementDefinitionContext"
913
- }
914
- },
915
- {
916
- "name": "definition",
917
- "type": {
918
- "text": "FoundationElementDefinition"
919
- }
920
- }
921
- ]
922
- }
923
- ],
924
- "exports": [
925
- {
926
- "kind": "js",
927
- "name": "foundationAccordionStyles",
928
- "declaration": {
929
- "name": "foundationAccordionStyles",
930
- "module": "src/accordion/accordion.styles.ts"
931
- }
932
- }
933
- ]
934
- },
935
- {
936
- "kind": "javascript-module",
937
- "path": "src/accordion/accordion.template.ts",
938
- "declarations": [
939
- {
940
- "kind": "function",
941
- "name": "foundationAccordionTemplate",
942
- "return": {
943
- "type": {
944
- "text": "ViewTemplate<Accordion>"
945
- }
946
- },
947
- "parameters": [
948
- {
949
- "name": "context",
950
- "type": {
951
- "text": "ElementDefinitionContext"
952
- }
953
- },
954
- {
955
- "name": "definition",
956
- "type": {
957
- "text": "FoundationElementDefinition"
958
- }
959
- }
960
- ]
961
- }
962
- ],
963
- "exports": [
964
- {
965
- "kind": "js",
966
- "name": "foundationAccordionTemplate",
967
- "declaration": {
968
- "name": "foundationAccordionTemplate",
969
- "module": "src/accordion/accordion.template.ts"
970
- }
971
- }
972
- ]
973
- },
974
- {
975
- "kind": "javascript-module",
976
- "path": "src/accordion/accordion.ts",
977
- "declarations": [
978
- {
979
- "kind": "class",
980
- "description": "",
981
- "name": "Accordion",
982
- "superclass": {
983
- "name": "FASTAccordion",
984
- "package": "@microsoft/fast-foundation"
985
- },
986
- "tagName": "%%prefix%%-accordion",
987
- "customElement": true
988
- },
989
- {
990
- "kind": "variable",
991
- "name": "foundationAccordionShadowOptions",
992
- "type": {
993
- "text": "ShadowRootInit"
994
- },
995
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
996
- },
997
- {
998
- "kind": "variable",
999
- "name": "defaultAccordionConfig",
1000
- "type": {
1001
- "text": "object"
1002
- },
1003
- "default": "{}"
1004
- },
1005
- {
1006
- "kind": "variable",
1007
- "name": "foundationAccordion",
1008
- "description": "The Foundation Accordion",
1009
- "privacy": "public"
1010
- }
1011
- ],
1012
- "exports": [
1013
- {
1014
- "kind": "js",
1015
- "name": "Accordion",
1016
- "declaration": {
1017
- "name": "Accordion",
1018
- "module": "src/accordion/accordion.ts"
1019
- }
1020
- },
1021
- {
1022
- "kind": "js",
1023
- "name": "foundationAccordionShadowOptions",
1024
- "declaration": {
1025
- "name": "foundationAccordionShadowOptions",
1026
- "module": "src/accordion/accordion.ts"
1027
- }
1028
- },
1029
- {
1030
- "kind": "js",
1031
- "name": "defaultAccordionConfig",
1032
- "declaration": {
1033
- "name": "defaultAccordionConfig",
1034
- "module": "src/accordion/accordion.ts"
1035
- }
1036
- },
1037
- {
1038
- "kind": "js",
1039
- "name": "foundationAccordion",
1040
- "declaration": {
1041
- "name": "foundationAccordion",
1042
- "module": "src/accordion/accordion.ts"
1043
- }
1044
- }
1045
- ]
1046
- },
1047
- {
1048
- "kind": "javascript-module",
1049
- "path": "src/accordion/index.ts",
1050
- "declarations": [],
1051
- "exports": [
1052
- {
1053
- "kind": "js",
1054
- "name": "*",
1055
- "declaration": {
1056
- "name": "*",
1057
- "package": "./accordion.template"
1058
- }
1059
- },
1060
- {
1061
- "kind": "js",
1062
- "name": "*",
1063
- "declaration": {
1064
- "name": "*",
1065
- "package": "./accordion.styles"
1066
- }
1067
- },
1068
- {
1069
- "kind": "js",
1070
- "name": "*",
1071
- "declaration": {
1072
- "name": "*",
1073
- "package": "./accordion"
1074
- }
1075
- }
1076
- ]
1077
- },
1078
896
  {
1079
897
  "kind": "javascript-module",
1080
898
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1471,11 +1289,11 @@
1471
1289
  },
1472
1290
  {
1473
1291
  "kind": "javascript-module",
1474
- "path": "src/actions-menu/actions-menu.styles.ts",
1292
+ "path": "src/accordion/accordion.styles.ts",
1475
1293
  "declarations": [
1476
1294
  {
1477
1295
  "kind": "function",
1478
- "name": "actionsMenuBaseStyles",
1296
+ "name": "foundationAccordionStyles",
1479
1297
  "return": {
1480
1298
  "type": {
1481
1299
  "text": "ElementStyles"
@@ -1495,13 +1313,29 @@
1495
1313
  }
1496
1314
  }
1497
1315
  ]
1498
- },
1316
+ }
1317
+ ],
1318
+ "exports": [
1319
+ {
1320
+ "kind": "js",
1321
+ "name": "foundationAccordionStyles",
1322
+ "declaration": {
1323
+ "name": "foundationAccordionStyles",
1324
+ "module": "src/accordion/accordion.styles.ts"
1325
+ }
1326
+ }
1327
+ ]
1328
+ },
1329
+ {
1330
+ "kind": "javascript-module",
1331
+ "path": "src/accordion/accordion.template.ts",
1332
+ "declarations": [
1499
1333
  {
1500
1334
  "kind": "function",
1501
- "name": "foundationActionsMenuStyles",
1335
+ "name": "foundationAccordionTemplate",
1502
1336
  "return": {
1503
1337
  "type": {
1504
- "text": "ElementStyles"
1338
+ "text": "ViewTemplate<Accordion>"
1505
1339
  }
1506
1340
  },
1507
1341
  "parameters": [
@@ -1523,53 +1357,219 @@
1523
1357
  "exports": [
1524
1358
  {
1525
1359
  "kind": "js",
1526
- "name": "actionsMenuBaseStyles",
1527
- "declaration": {
1528
- "name": "actionsMenuBaseStyles",
1529
- "module": "src/actions-menu/actions-menu.styles.ts"
1530
- }
1531
- },
1532
- {
1533
- "kind": "js",
1534
- "name": "foundationActionsMenuStyles",
1360
+ "name": "foundationAccordionTemplate",
1535
1361
  "declaration": {
1536
- "name": "foundationActionsMenuStyles",
1537
- "module": "src/actions-menu/actions-menu.styles.ts"
1362
+ "name": "foundationAccordionTemplate",
1363
+ "module": "src/accordion/accordion.template.ts"
1538
1364
  }
1539
1365
  }
1540
1366
  ]
1541
1367
  },
1542
1368
  {
1543
1369
  "kind": "javascript-module",
1544
- "path": "src/actions-menu/actions-menu.template.ts",
1370
+ "path": "src/accordion/accordion.ts",
1545
1371
  "declarations": [
1546
1372
  {
1547
- "kind": "function",
1548
- "name": "menuTemplate",
1549
- "parameters": [
1550
- {
1551
- "name": "prefix",
1552
- "type": {
1553
- "text": "string"
1554
- }
1555
- }
1556
- ]
1557
- },
1558
- {
1559
- "kind": "function",
1560
- "name": "singleOptionTemplate",
1561
- "parameters": [
1562
- {
1563
- "name": "prefix",
1564
- "type": {
1565
- "text": "string"
1566
- }
1567
- }
1568
- ]
1373
+ "kind": "class",
1374
+ "description": "",
1375
+ "name": "Accordion",
1376
+ "superclass": {
1377
+ "name": "FASTAccordion",
1378
+ "package": "@microsoft/fast-foundation"
1379
+ },
1380
+ "tagName": "%%prefix%%-accordion",
1381
+ "customElement": true
1569
1382
  },
1570
1383
  {
1571
1384
  "kind": "variable",
1572
- "name": "foundationActionsMenuTemplate",
1385
+ "name": "foundationAccordionShadowOptions",
1386
+ "type": {
1387
+ "text": "ShadowRootInit"
1388
+ },
1389
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1390
+ },
1391
+ {
1392
+ "kind": "variable",
1393
+ "name": "defaultAccordionConfig",
1394
+ "type": {
1395
+ "text": "object"
1396
+ },
1397
+ "default": "{}"
1398
+ },
1399
+ {
1400
+ "kind": "variable",
1401
+ "name": "foundationAccordion",
1402
+ "description": "The Foundation Accordion",
1403
+ "privacy": "public"
1404
+ }
1405
+ ],
1406
+ "exports": [
1407
+ {
1408
+ "kind": "js",
1409
+ "name": "Accordion",
1410
+ "declaration": {
1411
+ "name": "Accordion",
1412
+ "module": "src/accordion/accordion.ts"
1413
+ }
1414
+ },
1415
+ {
1416
+ "kind": "js",
1417
+ "name": "foundationAccordionShadowOptions",
1418
+ "declaration": {
1419
+ "name": "foundationAccordionShadowOptions",
1420
+ "module": "src/accordion/accordion.ts"
1421
+ }
1422
+ },
1423
+ {
1424
+ "kind": "js",
1425
+ "name": "defaultAccordionConfig",
1426
+ "declaration": {
1427
+ "name": "defaultAccordionConfig",
1428
+ "module": "src/accordion/accordion.ts"
1429
+ }
1430
+ },
1431
+ {
1432
+ "kind": "js",
1433
+ "name": "foundationAccordion",
1434
+ "declaration": {
1435
+ "name": "foundationAccordion",
1436
+ "module": "src/accordion/accordion.ts"
1437
+ }
1438
+ }
1439
+ ]
1440
+ },
1441
+ {
1442
+ "kind": "javascript-module",
1443
+ "path": "src/accordion/index.ts",
1444
+ "declarations": [],
1445
+ "exports": [
1446
+ {
1447
+ "kind": "js",
1448
+ "name": "*",
1449
+ "declaration": {
1450
+ "name": "*",
1451
+ "package": "./accordion.template"
1452
+ }
1453
+ },
1454
+ {
1455
+ "kind": "js",
1456
+ "name": "*",
1457
+ "declaration": {
1458
+ "name": "*",
1459
+ "package": "./accordion.styles"
1460
+ }
1461
+ },
1462
+ {
1463
+ "kind": "js",
1464
+ "name": "*",
1465
+ "declaration": {
1466
+ "name": "*",
1467
+ "package": "./accordion"
1468
+ }
1469
+ }
1470
+ ]
1471
+ },
1472
+ {
1473
+ "kind": "javascript-module",
1474
+ "path": "src/actions-menu/actions-menu.styles.ts",
1475
+ "declarations": [
1476
+ {
1477
+ "kind": "function",
1478
+ "name": "actionsMenuBaseStyles",
1479
+ "return": {
1480
+ "type": {
1481
+ "text": "ElementStyles"
1482
+ }
1483
+ },
1484
+ "parameters": [
1485
+ {
1486
+ "name": "context",
1487
+ "type": {
1488
+ "text": "ElementDefinitionContext"
1489
+ }
1490
+ },
1491
+ {
1492
+ "name": "definition",
1493
+ "type": {
1494
+ "text": "FoundationElementDefinition"
1495
+ }
1496
+ }
1497
+ ]
1498
+ },
1499
+ {
1500
+ "kind": "function",
1501
+ "name": "foundationActionsMenuStyles",
1502
+ "return": {
1503
+ "type": {
1504
+ "text": "ElementStyles"
1505
+ }
1506
+ },
1507
+ "parameters": [
1508
+ {
1509
+ "name": "context",
1510
+ "type": {
1511
+ "text": "ElementDefinitionContext"
1512
+ }
1513
+ },
1514
+ {
1515
+ "name": "definition",
1516
+ "type": {
1517
+ "text": "FoundationElementDefinition"
1518
+ }
1519
+ }
1520
+ ]
1521
+ }
1522
+ ],
1523
+ "exports": [
1524
+ {
1525
+ "kind": "js",
1526
+ "name": "actionsMenuBaseStyles",
1527
+ "declaration": {
1528
+ "name": "actionsMenuBaseStyles",
1529
+ "module": "src/actions-menu/actions-menu.styles.ts"
1530
+ }
1531
+ },
1532
+ {
1533
+ "kind": "js",
1534
+ "name": "foundationActionsMenuStyles",
1535
+ "declaration": {
1536
+ "name": "foundationActionsMenuStyles",
1537
+ "module": "src/actions-menu/actions-menu.styles.ts"
1538
+ }
1539
+ }
1540
+ ]
1541
+ },
1542
+ {
1543
+ "kind": "javascript-module",
1544
+ "path": "src/actions-menu/actions-menu.template.ts",
1545
+ "declarations": [
1546
+ {
1547
+ "kind": "function",
1548
+ "name": "menuTemplate",
1549
+ "parameters": [
1550
+ {
1551
+ "name": "prefix",
1552
+ "type": {
1553
+ "text": "string"
1554
+ }
1555
+ }
1556
+ ]
1557
+ },
1558
+ {
1559
+ "kind": "function",
1560
+ "name": "singleOptionTemplate",
1561
+ "parameters": [
1562
+ {
1563
+ "name": "prefix",
1564
+ "type": {
1565
+ "text": "string"
1566
+ }
1567
+ }
1568
+ ]
1569
+ },
1570
+ {
1571
+ "kind": "variable",
1572
+ "name": "foundationActionsMenuTemplate",
1573
1573
  "type": {
1574
1574
  "text": "ViewTemplate<ActionsMenu>"
1575
1575
  },
@@ -17996,83 +17996,194 @@
17996
17996
  },
17997
17997
  {
17998
17998
  "kind": "javascript-module",
17999
- "path": "src/flex-layout/flex-layout.styles.ts",
17999
+ "path": "src/flipper/flipper.styles.ts",
18000
18000
  "declarations": [
18001
18001
  {
18002
- "kind": "variable",
18003
- "name": "foundationFlexLayoutStyles",
18004
- "type": {
18005
- "text": "ElementStyles"
18002
+ "kind": "function",
18003
+ "name": "foundationFlipperStyles",
18004
+ "return": {
18005
+ "type": {
18006
+ "text": "ElementStyles"
18007
+ }
18006
18008
  },
18007
- "default": "css`\n :host {\n width: 100%;\n height: 100%;\n }\n\n slot {\n width: 100%;\n height: 100%;\n display: flex;\n }\n\n ${flexLayoutRWDStyles()}\n ${flexLayoutRWDStyles('lg')}\n ${flexLayoutRWDStyles('md')}\n ${flexLayoutRWDStyles('sm')}\n`"
18009
+ "parameters": [
18010
+ {
18011
+ "name": "context",
18012
+ "type": {
18013
+ "text": "ElementDefinitionContext"
18014
+ }
18015
+ },
18016
+ {
18017
+ "name": "definition",
18018
+ "type": {
18019
+ "text": "FlipperOptions"
18020
+ }
18021
+ }
18022
+ ]
18008
18023
  }
18009
18024
  ],
18010
18025
  "exports": [
18011
18026
  {
18012
18027
  "kind": "js",
18013
- "name": "foundationFlexLayoutStyles",
18028
+ "name": "foundationFlipperStyles",
18014
18029
  "declaration": {
18015
- "name": "foundationFlexLayoutStyles",
18016
- "module": "src/flex-layout/flex-layout.styles.ts"
18030
+ "name": "foundationFlipperStyles",
18031
+ "module": "src/flipper/flipper.styles.ts"
18017
18032
  }
18018
18033
  }
18019
18034
  ]
18020
18035
  },
18021
18036
  {
18022
18037
  "kind": "javascript-module",
18023
- "path": "src/flex-layout/flex-layout.template.ts",
18038
+ "path": "src/flipper/flipper.template.ts",
18024
18039
  "declarations": [
18025
18040
  {
18026
- "kind": "variable",
18027
- "name": "foundationFlexLayoutTemplate",
18028
- "type": {
18029
- "text": "ViewTemplate<FlexLayout>"
18041
+ "kind": "function",
18042
+ "name": "foundationFlipperTemplate",
18043
+ "return": {
18044
+ "type": {
18045
+ "text": "ViewTemplate<Flipper>"
18046
+ }
18030
18047
  },
18031
- "default": "html`\n <template>\n <slot></slot>\n </template>\n`"
18048
+ "parameters": [
18049
+ {
18050
+ "name": "context",
18051
+ "type": {
18052
+ "text": "ElementDefinitionContext"
18053
+ }
18054
+ },
18055
+ {
18056
+ "name": "definition",
18057
+ "type": {
18058
+ "text": "FlipperOptions"
18059
+ }
18060
+ }
18061
+ ]
18032
18062
  }
18033
18063
  ],
18034
18064
  "exports": [
18035
18065
  {
18036
18066
  "kind": "js",
18037
- "name": "foundationFlexLayoutTemplate",
18067
+ "name": "foundationFlipperTemplate",
18038
18068
  "declaration": {
18039
- "name": "foundationFlexLayoutTemplate",
18040
- "module": "src/flex-layout/flex-layout.template.ts"
18069
+ "name": "foundationFlipperTemplate",
18070
+ "module": "src/flipper/flipper.template.ts"
18041
18071
  }
18042
18072
  }
18043
18073
  ]
18044
18074
  },
18045
18075
  {
18046
18076
  "kind": "javascript-module",
18047
- "path": "src/flex-layout/flex-layout.ts",
18077
+ "path": "src/flipper/flipper.ts",
18048
18078
  "declarations": [
18049
- {
18050
- "kind": "variable",
18051
- "name": "foundationFlexLayoutShadowOptions",
18052
- "type": {
18053
- "text": "ShadowRootInit"
18054
- },
18055
- "default": "undefined"
18056
- },
18057
- {
18058
- "kind": "variable",
18059
- "name": "defaultFlexLayoutConfig",
18060
- "type": {
18061
- "text": "object"
18062
- },
18063
- "default": "{}"
18064
- },
18065
18079
  {
18066
18080
  "kind": "class",
18067
18081
  "description": "",
18068
- "name": "FlexLayout",
18082
+ "name": "Flipper",
18069
18083
  "superclass": {
18070
- "name": "FoundationElement",
18071
- "package": "@microsoft/fast-foundation"
18084
+ "name": "FASTFlipper",
18085
+ "package": "@microsoft/fast-components"
18072
18086
  },
18073
- "tagName": "%%prefix%%-flex-layout",
18087
+ "tagName": "%%prefix%%-flipper",
18074
18088
  "customElement": true,
18089
+ "attributes": [
18090
+ {
18091
+ "type": {
18092
+ "text": "boolean"
18093
+ },
18094
+ "description": "The disabled state of the flipper.",
18095
+ "fieldName": "disabled",
18096
+ "inheritedFrom": {
18097
+ "name": "Flipper",
18098
+ "module": "src/flipper/flipper.ts"
18099
+ }
18100
+ },
18101
+ {
18102
+ "name": "aria-hidden",
18103
+ "type": {
18104
+ "text": "boolean"
18105
+ },
18106
+ "default": "true",
18107
+ "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18108
+ "fieldName": "hiddenFromAT",
18109
+ "inheritedFrom": {
18110
+ "name": "Flipper",
18111
+ "module": "src/flipper/flipper.ts"
18112
+ }
18113
+ },
18114
+ {
18115
+ "name": "direction",
18116
+ "type": {
18117
+ "text": "FlipperDirection"
18118
+ },
18119
+ "description": "The direction that the flipper implies navigating.",
18120
+ "fieldName": "direction",
18121
+ "inheritedFrom": {
18122
+ "name": "Flipper",
18123
+ "module": "src/flipper/flipper.ts"
18124
+ }
18125
+ }
18126
+ ],
18075
18127
  "members": [
18128
+ {
18129
+ "kind": "field",
18130
+ "name": "disabled",
18131
+ "type": {
18132
+ "text": "boolean"
18133
+ },
18134
+ "privacy": "public",
18135
+ "description": "The disabled state of the flipper.",
18136
+ "inheritedFrom": {
18137
+ "name": "Flipper",
18138
+ "module": "src/flipper/flipper.ts"
18139
+ }
18140
+ },
18141
+ {
18142
+ "kind": "field",
18143
+ "name": "hiddenFromAT",
18144
+ "type": {
18145
+ "text": "boolean"
18146
+ },
18147
+ "privacy": "public",
18148
+ "default": "true",
18149
+ "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18150
+ "inheritedFrom": {
18151
+ "name": "Flipper",
18152
+ "module": "src/flipper/flipper.ts"
18153
+ }
18154
+ },
18155
+ {
18156
+ "kind": "field",
18157
+ "name": "direction",
18158
+ "type": {
18159
+ "text": "FlipperDirection"
18160
+ },
18161
+ "privacy": "public",
18162
+ "description": "The direction that the flipper implies navigating.",
18163
+ "inheritedFrom": {
18164
+ "name": "Flipper",
18165
+ "module": "src/flipper/flipper.ts"
18166
+ }
18167
+ },
18168
+ {
18169
+ "kind": "method",
18170
+ "name": "keyupHandler",
18171
+ "privacy": "public",
18172
+ "parameters": [
18173
+ {
18174
+ "name": "e",
18175
+ "type": {
18176
+ "text": "Event & KeyboardEvent"
18177
+ },
18178
+ "description": "Keyboard event"
18179
+ }
18180
+ ],
18181
+ "description": "Simulate a click event when the flipper has focus and the user hits enter or space keys\nBlur focus if the user hits escape key",
18182
+ "inheritedFrom": {
18183
+ "name": "Flipper",
18184
+ "module": "src/flipper/flipper.ts"
18185
+ }
18186
+ },
18076
18187
  {
18077
18188
  "kind": "field",
18078
18189
  "name": "_presentation",
@@ -18184,59 +18295,79 @@
18184
18295
  "module": "src/foundation-element/foundation-element.ts"
18185
18296
  }
18186
18297
  }
18298
+ ],
18299
+ "events": [
18300
+ {
18301
+ "description": "Fires a custom 'click' event when Enter or Space is invoked via keyboard and the flipper is exposed to assistive technologies.",
18302
+ "name": "click",
18303
+ "inheritedFrom": {
18304
+ "name": "Flipper",
18305
+ "module": "src/flipper/flipper.ts"
18306
+ }
18307
+ }
18187
18308
  ]
18188
18309
  },
18189
18310
  {
18190
18311
  "kind": "variable",
18191
- "name": "foundationFlexLayout",
18192
- "description": "The Foundation Flex Layout",
18312
+ "name": "foundationFlipperShadowOptions",
18313
+ "type": {
18314
+ "text": "ShadowRootInit"
18315
+ },
18316
+ "default": "undefined"
18317
+ },
18318
+ {
18319
+ "kind": "variable",
18320
+ "name": "defaultFlipperConfig",
18321
+ "type": {
18322
+ "text": "object"
18323
+ },
18324
+ "default": "{\n next: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z\"\n />\n </svg>\n `,\n previous: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z\"\n />\n </svg>\n `,\n}"
18325
+ },
18326
+ {
18327
+ "kind": "variable",
18328
+ "name": "foundationFlipper",
18329
+ "description": "The Foundation Flipper",
18193
18330
  "privacy": "public"
18194
18331
  }
18195
18332
  ],
18196
18333
  "exports": [
18197
18334
  {
18198
18335
  "kind": "js",
18199
- "name": "foundationFlexLayoutShadowOptions",
18336
+ "name": "Flipper",
18200
18337
  "declaration": {
18201
- "name": "foundationFlexLayoutShadowOptions",
18202
- "module": "src/flex-layout/flex-layout.ts"
18338
+ "name": "Flipper",
18339
+ "module": "src/flipper/flipper.ts"
18203
18340
  }
18204
18341
  },
18205
18342
  {
18206
18343
  "kind": "js",
18207
- "name": "defaultFlexLayoutConfig",
18344
+ "name": "foundationFlipperShadowOptions",
18208
18345
  "declaration": {
18209
- "name": "defaultFlexLayoutConfig",
18210
- "module": "src/flex-layout/flex-layout.ts"
18346
+ "name": "foundationFlipperShadowOptions",
18347
+ "module": "src/flipper/flipper.ts"
18211
18348
  }
18212
18349
  },
18213
18350
  {
18214
18351
  "kind": "js",
18215
- "name": "FlexLayout",
18352
+ "name": "defaultFlipperConfig",
18216
18353
  "declaration": {
18217
- "name": "FlexLayout",
18218
- "module": "src/flex-layout/flex-layout.ts"
18354
+ "name": "defaultFlipperConfig",
18355
+ "module": "src/flipper/flipper.ts"
18219
18356
  }
18220
18357
  },
18221
18358
  {
18222
18359
  "kind": "js",
18223
- "name": "foundationFlexLayout",
18360
+ "name": "foundationFlipper",
18224
18361
  "declaration": {
18225
- "name": "foundationFlexLayout",
18226
- "module": "src/flex-layout/flex-layout.ts"
18362
+ "name": "foundationFlipper",
18363
+ "module": "src/flipper/flipper.ts"
18227
18364
  }
18228
18365
  }
18229
18366
  ]
18230
18367
  },
18231
18368
  {
18232
18369
  "kind": "javascript-module",
18233
- "path": "src/flex-layout/flex-layout.types.ts",
18234
- "declarations": [],
18235
- "exports": []
18236
- },
18237
- {
18238
- "kind": "javascript-module",
18239
- "path": "src/flex-layout/index.ts",
18370
+ "path": "src/flipper/index.ts",
18240
18371
  "declarations": [],
18241
18372
  "exports": [
18242
18373
  {
@@ -18244,7 +18375,7 @@
18244
18375
  "name": "*",
18245
18376
  "declaration": {
18246
18377
  "name": "*",
18247
- "package": "./flex-layout.template"
18378
+ "package": "./flipper.template"
18248
18379
  }
18249
18380
  },
18250
18381
  {
@@ -18252,7 +18383,7 @@
18252
18383
  "name": "*",
18253
18384
  "declaration": {
18254
18385
  "name": "*",
18255
- "package": "./flex-layout.styles"
18386
+ "package": "./flipper.styles"
18256
18387
  }
18257
18388
  },
18258
18389
  {
@@ -18260,209 +18391,90 @@
18260
18391
  "name": "*",
18261
18392
  "declaration": {
18262
18393
  "name": "*",
18263
- "package": "./flex-layout"
18394
+ "package": "./flipper"
18264
18395
  }
18265
- },
18396
+ }
18397
+ ]
18398
+ },
18399
+ {
18400
+ "kind": "javascript-module",
18401
+ "path": "src/flex-layout/flex-layout.styles.ts",
18402
+ "declarations": [
18403
+ {
18404
+ "kind": "variable",
18405
+ "name": "foundationFlexLayoutStyles",
18406
+ "type": {
18407
+ "text": "ElementStyles"
18408
+ },
18409
+ "default": "css`\n :host {\n width: 100%;\n height: 100%;\n }\n\n slot {\n width: 100%;\n height: 100%;\n display: flex;\n }\n\n ${flexLayoutRWDStyles()}\n ${flexLayoutRWDStyles('lg')}\n ${flexLayoutRWDStyles('md')}\n ${flexLayoutRWDStyles('sm')}\n`"
18410
+ }
18411
+ ],
18412
+ "exports": [
18266
18413
  {
18267
18414
  "kind": "js",
18268
- "name": "*",
18415
+ "name": "foundationFlexLayoutStyles",
18269
18416
  "declaration": {
18270
- "name": "*",
18271
- "package": "./flex-layout.types"
18417
+ "name": "foundationFlexLayoutStyles",
18418
+ "module": "src/flex-layout/flex-layout.styles.ts"
18272
18419
  }
18273
18420
  }
18274
18421
  ]
18275
18422
  },
18276
18423
  {
18277
18424
  "kind": "javascript-module",
18278
- "path": "src/flipper/flipper.styles.ts",
18425
+ "path": "src/flex-layout/flex-layout.template.ts",
18279
18426
  "declarations": [
18280
18427
  {
18281
- "kind": "function",
18282
- "name": "foundationFlipperStyles",
18283
- "return": {
18284
- "type": {
18285
- "text": "ElementStyles"
18286
- }
18428
+ "kind": "variable",
18429
+ "name": "foundationFlexLayoutTemplate",
18430
+ "type": {
18431
+ "text": "ViewTemplate<FlexLayout>"
18287
18432
  },
18288
- "parameters": [
18289
- {
18290
- "name": "context",
18291
- "type": {
18292
- "text": "ElementDefinitionContext"
18293
- }
18294
- },
18295
- {
18296
- "name": "definition",
18297
- "type": {
18298
- "text": "FlipperOptions"
18299
- }
18300
- }
18301
- ]
18433
+ "default": "html`\n <template>\n <slot></slot>\n </template>\n`"
18302
18434
  }
18303
18435
  ],
18304
18436
  "exports": [
18305
18437
  {
18306
18438
  "kind": "js",
18307
- "name": "foundationFlipperStyles",
18439
+ "name": "foundationFlexLayoutTemplate",
18308
18440
  "declaration": {
18309
- "name": "foundationFlipperStyles",
18310
- "module": "src/flipper/flipper.styles.ts"
18441
+ "name": "foundationFlexLayoutTemplate",
18442
+ "module": "src/flex-layout/flex-layout.template.ts"
18311
18443
  }
18312
18444
  }
18313
18445
  ]
18314
18446
  },
18315
18447
  {
18316
18448
  "kind": "javascript-module",
18317
- "path": "src/flipper/flipper.template.ts",
18449
+ "path": "src/flex-layout/flex-layout.ts",
18318
18450
  "declarations": [
18319
18451
  {
18320
- "kind": "function",
18321
- "name": "foundationFlipperTemplate",
18322
- "return": {
18323
- "type": {
18324
- "text": "ViewTemplate<Flipper>"
18325
- }
18326
- },
18327
- "parameters": [
18328
- {
18329
- "name": "context",
18330
- "type": {
18331
- "text": "ElementDefinitionContext"
18332
- }
18333
- },
18334
- {
18335
- "name": "definition",
18336
- "type": {
18337
- "text": "FlipperOptions"
18338
- }
18339
- }
18340
- ]
18341
- }
18342
- ],
18343
- "exports": [
18452
+ "kind": "variable",
18453
+ "name": "foundationFlexLayoutShadowOptions",
18454
+ "type": {
18455
+ "text": "ShadowRootInit"
18456
+ },
18457
+ "default": "undefined"
18458
+ },
18344
18459
  {
18345
- "kind": "js",
18346
- "name": "foundationFlipperTemplate",
18347
- "declaration": {
18348
- "name": "foundationFlipperTemplate",
18349
- "module": "src/flipper/flipper.template.ts"
18350
- }
18351
- }
18352
- ]
18353
- },
18354
- {
18355
- "kind": "javascript-module",
18356
- "path": "src/flipper/flipper.ts",
18357
- "declarations": [
18460
+ "kind": "variable",
18461
+ "name": "defaultFlexLayoutConfig",
18462
+ "type": {
18463
+ "text": "object"
18464
+ },
18465
+ "default": "{}"
18466
+ },
18358
18467
  {
18359
18468
  "kind": "class",
18360
18469
  "description": "",
18361
- "name": "Flipper",
18470
+ "name": "FlexLayout",
18362
18471
  "superclass": {
18363
- "name": "FASTFlipper",
18364
- "package": "@microsoft/fast-components"
18472
+ "name": "FoundationElement",
18473
+ "package": "@microsoft/fast-foundation"
18365
18474
  },
18366
- "tagName": "%%prefix%%-flipper",
18475
+ "tagName": "%%prefix%%-flex-layout",
18367
18476
  "customElement": true,
18368
- "attributes": [
18369
- {
18370
- "type": {
18371
- "text": "boolean"
18372
- },
18373
- "description": "The disabled state of the flipper.",
18374
- "fieldName": "disabled",
18375
- "inheritedFrom": {
18376
- "name": "Flipper",
18377
- "module": "src/flipper/flipper.ts"
18378
- }
18379
- },
18380
- {
18381
- "name": "aria-hidden",
18382
- "type": {
18383
- "text": "boolean"
18384
- },
18385
- "default": "true",
18386
- "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18387
- "fieldName": "hiddenFromAT",
18388
- "inheritedFrom": {
18389
- "name": "Flipper",
18390
- "module": "src/flipper/flipper.ts"
18391
- }
18392
- },
18393
- {
18394
- "name": "direction",
18395
- "type": {
18396
- "text": "FlipperDirection"
18397
- },
18398
- "description": "The direction that the flipper implies navigating.",
18399
- "fieldName": "direction",
18400
- "inheritedFrom": {
18401
- "name": "Flipper",
18402
- "module": "src/flipper/flipper.ts"
18403
- }
18404
- }
18405
- ],
18406
18477
  "members": [
18407
- {
18408
- "kind": "field",
18409
- "name": "disabled",
18410
- "type": {
18411
- "text": "boolean"
18412
- },
18413
- "privacy": "public",
18414
- "description": "The disabled state of the flipper.",
18415
- "inheritedFrom": {
18416
- "name": "Flipper",
18417
- "module": "src/flipper/flipper.ts"
18418
- }
18419
- },
18420
- {
18421
- "kind": "field",
18422
- "name": "hiddenFromAT",
18423
- "type": {
18424
- "text": "boolean"
18425
- },
18426
- "privacy": "public",
18427
- "default": "true",
18428
- "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18429
- "inheritedFrom": {
18430
- "name": "Flipper",
18431
- "module": "src/flipper/flipper.ts"
18432
- }
18433
- },
18434
- {
18435
- "kind": "field",
18436
- "name": "direction",
18437
- "type": {
18438
- "text": "FlipperDirection"
18439
- },
18440
- "privacy": "public",
18441
- "description": "The direction that the flipper implies navigating.",
18442
- "inheritedFrom": {
18443
- "name": "Flipper",
18444
- "module": "src/flipper/flipper.ts"
18445
- }
18446
- },
18447
- {
18448
- "kind": "method",
18449
- "name": "keyupHandler",
18450
- "privacy": "public",
18451
- "parameters": [
18452
- {
18453
- "name": "e",
18454
- "type": {
18455
- "text": "Event & KeyboardEvent"
18456
- },
18457
- "description": "Keyboard event"
18458
- }
18459
- ],
18460
- "description": "Simulate a click event when the flipper has focus and the user hits enter or space keys\nBlur focus if the user hits escape key",
18461
- "inheritedFrom": {
18462
- "name": "Flipper",
18463
- "module": "src/flipper/flipper.ts"
18464
- }
18465
- },
18466
18478
  {
18467
18479
  "kind": "field",
18468
18480
  "name": "_presentation",
@@ -18574,79 +18586,59 @@
18574
18586
  "module": "src/foundation-element/foundation-element.ts"
18575
18587
  }
18576
18588
  }
18577
- ],
18578
- "events": [
18579
- {
18580
- "description": "Fires a custom 'click' event when Enter or Space is invoked via keyboard and the flipper is exposed to assistive technologies.",
18581
- "name": "click",
18582
- "inheritedFrom": {
18583
- "name": "Flipper",
18584
- "module": "src/flipper/flipper.ts"
18585
- }
18586
- }
18587
18589
  ]
18588
18590
  },
18589
18591
  {
18590
18592
  "kind": "variable",
18591
- "name": "foundationFlipperShadowOptions",
18592
- "type": {
18593
- "text": "ShadowRootInit"
18594
- },
18595
- "default": "undefined"
18596
- },
18597
- {
18598
- "kind": "variable",
18599
- "name": "defaultFlipperConfig",
18600
- "type": {
18601
- "text": "object"
18602
- },
18603
- "default": "{\n next: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z\"\n />\n </svg>\n `,\n previous: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z\"\n />\n </svg>\n `,\n}"
18604
- },
18605
- {
18606
- "kind": "variable",
18607
- "name": "foundationFlipper",
18608
- "description": "The Foundation Flipper",
18593
+ "name": "foundationFlexLayout",
18594
+ "description": "The Foundation Flex Layout",
18609
18595
  "privacy": "public"
18610
18596
  }
18611
18597
  ],
18612
18598
  "exports": [
18613
18599
  {
18614
18600
  "kind": "js",
18615
- "name": "Flipper",
18601
+ "name": "foundationFlexLayoutShadowOptions",
18616
18602
  "declaration": {
18617
- "name": "Flipper",
18618
- "module": "src/flipper/flipper.ts"
18603
+ "name": "foundationFlexLayoutShadowOptions",
18604
+ "module": "src/flex-layout/flex-layout.ts"
18619
18605
  }
18620
18606
  },
18621
18607
  {
18622
18608
  "kind": "js",
18623
- "name": "foundationFlipperShadowOptions",
18609
+ "name": "defaultFlexLayoutConfig",
18624
18610
  "declaration": {
18625
- "name": "foundationFlipperShadowOptions",
18626
- "module": "src/flipper/flipper.ts"
18611
+ "name": "defaultFlexLayoutConfig",
18612
+ "module": "src/flex-layout/flex-layout.ts"
18627
18613
  }
18628
18614
  },
18629
18615
  {
18630
18616
  "kind": "js",
18631
- "name": "defaultFlipperConfig",
18617
+ "name": "FlexLayout",
18632
18618
  "declaration": {
18633
- "name": "defaultFlipperConfig",
18634
- "module": "src/flipper/flipper.ts"
18619
+ "name": "FlexLayout",
18620
+ "module": "src/flex-layout/flex-layout.ts"
18635
18621
  }
18636
18622
  },
18637
18623
  {
18638
18624
  "kind": "js",
18639
- "name": "foundationFlipper",
18625
+ "name": "foundationFlexLayout",
18640
18626
  "declaration": {
18641
- "name": "foundationFlipper",
18642
- "module": "src/flipper/flipper.ts"
18627
+ "name": "foundationFlexLayout",
18628
+ "module": "src/flex-layout/flex-layout.ts"
18643
18629
  }
18644
18630
  }
18645
18631
  ]
18646
18632
  },
18647
18633
  {
18648
18634
  "kind": "javascript-module",
18649
- "path": "src/flipper/index.ts",
18635
+ "path": "src/flex-layout/flex-layout.types.ts",
18636
+ "declarations": [],
18637
+ "exports": []
18638
+ },
18639
+ {
18640
+ "kind": "javascript-module",
18641
+ "path": "src/flex-layout/index.ts",
18650
18642
  "declarations": [],
18651
18643
  "exports": [
18652
18644
  {
@@ -18654,7 +18646,7 @@
18654
18646
  "name": "*",
18655
18647
  "declaration": {
18656
18648
  "name": "*",
18657
- "package": "./flipper.template"
18649
+ "package": "./flex-layout.template"
18658
18650
  }
18659
18651
  },
18660
18652
  {
@@ -18662,7 +18654,7 @@
18662
18654
  "name": "*",
18663
18655
  "declaration": {
18664
18656
  "name": "*",
18665
- "package": "./flipper.styles"
18657
+ "package": "./flex-layout.styles"
18666
18658
  }
18667
18659
  },
18668
18660
  {
@@ -18670,7 +18662,15 @@
18670
18662
  "name": "*",
18671
18663
  "declaration": {
18672
18664
  "name": "*",
18673
- "package": "./flipper"
18665
+ "package": "./flex-layout"
18666
+ }
18667
+ },
18668
+ {
18669
+ "kind": "js",
18670
+ "name": "*",
18671
+ "declaration": {
18672
+ "name": "*",
18673
+ "package": "./flex-layout.types"
18674
18674
  }
18675
18675
  }
18676
18676
  ]
@@ -21631,7 +21631,7 @@
21631
21631
  },
21632
21632
  {
21633
21633
  "kind": "javascript-module",
21634
- "path": "src/menu/index.ts",
21634
+ "path": "src/listbox-option/index.ts",
21635
21635
  "declarations": [],
21636
21636
  "exports": [
21637
21637
  {
@@ -21639,7 +21639,7 @@
21639
21639
  "name": "*",
21640
21640
  "declaration": {
21641
21641
  "name": "*",
21642
- "package": "./menu.template"
21642
+ "package": "./listbox-option.template"
21643
21643
  }
21644
21644
  },
21645
21645
  {
@@ -21647,7 +21647,7 @@
21647
21647
  "name": "*",
21648
21648
  "declaration": {
21649
21649
  "name": "*",
21650
- "package": "./menu.styles"
21650
+ "package": "./listbox-option.styles"
21651
21651
  }
21652
21652
  },
21653
21653
  {
@@ -21655,18 +21655,18 @@
21655
21655
  "name": "*",
21656
21656
  "declaration": {
21657
21657
  "name": "*",
21658
- "package": "./menu"
21658
+ "package": "./listbox-option"
21659
21659
  }
21660
21660
  }
21661
21661
  ]
21662
21662
  },
21663
21663
  {
21664
21664
  "kind": "javascript-module",
21665
- "path": "src/menu/menu.styles.ts",
21665
+ "path": "src/listbox-option/listbox-option.styles.ts",
21666
21666
  "declarations": [
21667
21667
  {
21668
21668
  "kind": "function",
21669
- "name": "foundationMenuStyles",
21669
+ "name": "foundationListboxOptionStyles",
21670
21670
  "return": {
21671
21671
  "type": {
21672
21672
  "text": "ElementStyles"
@@ -21691,24 +21691,24 @@
21691
21691
  "exports": [
21692
21692
  {
21693
21693
  "kind": "js",
21694
- "name": "foundationMenuStyles",
21694
+ "name": "foundationListboxOptionStyles",
21695
21695
  "declaration": {
21696
- "name": "foundationMenuStyles",
21697
- "module": "src/menu/menu.styles.ts"
21696
+ "name": "foundationListboxOptionStyles",
21697
+ "module": "src/listbox-option/listbox-option.styles.ts"
21698
21698
  }
21699
21699
  }
21700
21700
  ]
21701
21701
  },
21702
21702
  {
21703
21703
  "kind": "javascript-module",
21704
- "path": "src/menu/menu.template.ts",
21704
+ "path": "src/listbox-option/listbox-option.template.ts",
21705
21705
  "declarations": [
21706
21706
  {
21707
21707
  "kind": "function",
21708
- "name": "foundationMenuTemplate",
21708
+ "name": "foundationListboxOptionTemplate",
21709
21709
  "return": {
21710
21710
  "type": {
21711
- "text": "ViewTemplate<Menu>"
21711
+ "text": "ViewTemplate<ListboxOption>"
21712
21712
  }
21713
21713
  },
21714
21714
  "parameters": [
@@ -21730,33 +21730,83 @@
21730
21730
  "exports": [
21731
21731
  {
21732
21732
  "kind": "js",
21733
- "name": "foundationMenuTemplate",
21733
+ "name": "foundationListboxOptionTemplate",
21734
21734
  "declaration": {
21735
- "name": "foundationMenuTemplate",
21736
- "module": "src/menu/menu.template.ts"
21735
+ "name": "foundationListboxOptionTemplate",
21736
+ "module": "src/listbox-option/listbox-option.template.ts"
21737
21737
  }
21738
21738
  }
21739
21739
  ]
21740
21740
  },
21741
21741
  {
21742
21742
  "kind": "javascript-module",
21743
- "path": "src/menu/menu.ts",
21743
+ "path": "src/listbox-option/listbox-option.ts",
21744
21744
  "declarations": [
21745
21745
  {
21746
21746
  "kind": "class",
21747
21747
  "description": "",
21748
- "name": "Menu",
21748
+ "name": "ListboxOption",
21749
21749
  "superclass": {
21750
- "name": "FASTMenu",
21750
+ "name": "FASTListboxOption",
21751
21751
  "package": "@microsoft/fast-components"
21752
21752
  },
21753
- "tagName": "%%prefix%%-menu",
21753
+ "tagName": "%%prefix%%-option",
21754
21754
  "customElement": true,
21755
+ "attributes": [
21756
+ {
21757
+ "type": {
21758
+ "text": "boolean"
21759
+ },
21760
+ "description": "The disabled state of the option.",
21761
+ "fieldName": "disabled",
21762
+ "inheritedFrom": {
21763
+ "name": "ListboxOption",
21764
+ "module": "src/listbox-option/listbox-option.ts"
21765
+ }
21766
+ },
21767
+ {
21768
+ "name": "selected",
21769
+ "type": {
21770
+ "text": "boolean"
21771
+ },
21772
+ "description": "The selected attribute value. This sets the initial selected value.",
21773
+ "fieldName": "selectedAttribute",
21774
+ "inheritedFrom": {
21775
+ "name": "ListboxOption",
21776
+ "module": "src/listbox-option/listbox-option.ts"
21777
+ }
21778
+ },
21779
+ {
21780
+ "name": "value",
21781
+ "type": {
21782
+ "text": "string"
21783
+ },
21784
+ "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
21785
+ "fieldName": "initialValue",
21786
+ "inheritedFrom": {
21787
+ "name": "ListboxOption",
21788
+ "module": "src/listbox-option/listbox-option.ts"
21789
+ }
21790
+ }
21791
+ ],
21755
21792
  "members": [
21793
+ {
21794
+ "kind": "field",
21795
+ "name": "checked",
21796
+ "type": {
21797
+ "text": "boolean | undefined"
21798
+ },
21799
+ "privacy": "public",
21800
+ "description": "The checked state is used when the parent listbox is in multiple selection mode.\nTo avoid accessibility conflicts, the checked state should not be present in\nsingle selection mode.",
21801
+ "inheritedFrom": {
21802
+ "name": "ListboxOption",
21803
+ "module": "src/listbox-option/listbox-option.ts"
21804
+ }
21805
+ },
21756
21806
  {
21757
21807
  "kind": "method",
21758
- "name": "itemsChanged",
21759
- "privacy": "private",
21808
+ "name": "checkedChanged",
21809
+ "privacy": "public",
21760
21810
  "return": {
21761
21811
  "type": {
21762
21812
  "text": "void"
@@ -21764,213 +21814,270 @@
21764
21814
  },
21765
21815
  "parameters": [
21766
21816
  {
21767
- "name": "oldValue",
21817
+ "name": "prev",
21768
21818
  "type": {
21769
- "text": "HTMLElement[]"
21770
- }
21819
+ "text": "boolean | unknown"
21820
+ },
21821
+ "description": "the previous checked value"
21771
21822
  },
21772
21823
  {
21773
- "name": "newValue",
21824
+ "name": "next",
21825
+ "optional": true,
21774
21826
  "type": {
21775
- "text": "HTMLElement[]"
21776
- }
21827
+ "text": "boolean"
21828
+ },
21829
+ "description": "the current checked value"
21777
21830
  }
21778
21831
  ],
21832
+ "description": "Updates the ariaChecked property when the checked property changes.",
21779
21833
  "inheritedFrom": {
21780
- "name": "Menu",
21781
- "module": "src/menu/menu.ts"
21834
+ "name": "ListboxOption",
21835
+ "module": "src/listbox-option/listbox-option.ts"
21782
21836
  }
21783
21837
  },
21784
21838
  {
21785
21839
  "kind": "field",
21786
- "name": "menuItems",
21840
+ "name": "content",
21787
21841
  "type": {
21788
- "text": "Element[] | undefined"
21842
+ "text": "Node[]"
21789
21843
  },
21790
- "privacy": "private",
21844
+ "privacy": "public",
21845
+ "description": "The default slotted content.",
21791
21846
  "inheritedFrom": {
21792
- "name": "Menu",
21793
- "module": "src/menu/menu.ts"
21847
+ "name": "ListboxOption",
21848
+ "module": "src/listbox-option/listbox-option.ts"
21794
21849
  }
21795
21850
  },
21796
21851
  {
21797
21852
  "kind": "field",
21798
- "name": "expandedItem",
21853
+ "name": "defaultSelected",
21799
21854
  "type": {
21800
- "text": "MenuItem | null"
21855
+ "text": "boolean"
21801
21856
  },
21802
- "privacy": "private",
21803
- "default": "null",
21857
+ "privacy": "public",
21858
+ "default": "false",
21859
+ "description": "The defaultSelected state of the option.",
21804
21860
  "inheritedFrom": {
21805
- "name": "Menu",
21806
- "module": "src/menu/menu.ts"
21861
+ "name": "ListboxOption",
21862
+ "module": "src/listbox-option/listbox-option.ts"
21807
21863
  }
21808
21864
  },
21809
21865
  {
21810
- "kind": "field",
21811
- "name": "focusIndex",
21812
- "type": {
21813
- "text": "number"
21866
+ "kind": "method",
21867
+ "name": "defaultSelectedChanged",
21868
+ "privacy": "protected",
21869
+ "return": {
21870
+ "type": {
21871
+ "text": "void"
21872
+ }
21814
21873
  },
21815
- "privacy": "private",
21816
- "default": "-1",
21817
- "description": "The index of the focusable element in the items array\ndefaults to -1",
21818
21874
  "inheritedFrom": {
21819
- "name": "Menu",
21820
- "module": "src/menu/menu.ts"
21875
+ "name": "ListboxOption",
21876
+ "module": "src/listbox-option/listbox-option.ts"
21821
21877
  }
21822
21878
  },
21823
21879
  {
21824
21880
  "kind": "field",
21825
- "name": "focusableElementRoles",
21881
+ "name": "disabled",
21826
21882
  "type": {
21827
- "text": "{ [key: string]: string }"
21883
+ "text": "boolean"
21828
21884
  },
21829
- "privacy": "private",
21830
- "static": true,
21831
- "default": "roleForMenuItem",
21885
+ "privacy": "public",
21886
+ "description": "The disabled state of the option.",
21832
21887
  "inheritedFrom": {
21833
- "name": "Menu",
21834
- "module": "src/menu/menu.ts"
21888
+ "name": "ListboxOption",
21889
+ "module": "src/listbox-option/listbox-option.ts"
21835
21890
  }
21836
21891
  },
21837
21892
  {
21838
21893
  "kind": "method",
21839
- "name": "focus",
21840
- "privacy": "public",
21894
+ "name": "disabledChanged",
21895
+ "privacy": "protected",
21841
21896
  "return": {
21842
21897
  "type": {
21843
21898
  "text": "void"
21844
21899
  }
21845
21900
  },
21846
- "description": "Focuses the first item in the menu.",
21901
+ "parameters": [
21902
+ {
21903
+ "name": "prev",
21904
+ "type": {
21905
+ "text": "boolean"
21906
+ }
21907
+ },
21908
+ {
21909
+ "name": "next",
21910
+ "type": {
21911
+ "text": "boolean"
21912
+ }
21913
+ }
21914
+ ],
21847
21915
  "inheritedFrom": {
21848
- "name": "Menu",
21849
- "module": "src/menu/menu.ts"
21916
+ "name": "ListboxOption",
21917
+ "module": "src/listbox-option/listbox-option.ts"
21850
21918
  }
21851
21919
  },
21852
21920
  {
21853
- "kind": "method",
21854
- "name": "collapseExpandedItem",
21921
+ "kind": "field",
21922
+ "name": "selectedAttribute",
21923
+ "type": {
21924
+ "text": "boolean"
21925
+ },
21855
21926
  "privacy": "public",
21927
+ "description": "The selected attribute value. This sets the initial selected value.",
21928
+ "inheritedFrom": {
21929
+ "name": "ListboxOption",
21930
+ "module": "src/listbox-option/listbox-option.ts"
21931
+ }
21932
+ },
21933
+ {
21934
+ "kind": "method",
21935
+ "name": "selectedAttributeChanged",
21936
+ "privacy": "protected",
21856
21937
  "return": {
21857
21938
  "type": {
21858
21939
  "text": "void"
21859
21940
  }
21860
21941
  },
21861
- "description": "Collapses any expanded menu items.",
21862
21942
  "inheritedFrom": {
21863
- "name": "Menu",
21864
- "module": "src/menu/menu.ts"
21865
- }
21866
- },
21867
- {
21868
- "kind": "field",
21869
- "name": "handleItemFocus",
21870
- "privacy": "private",
21871
- "inheritedFrom": {
21872
- "name": "Menu",
21873
- "module": "src/menu/menu.ts"
21943
+ "name": "ListboxOption",
21944
+ "module": "src/listbox-option/listbox-option.ts"
21874
21945
  }
21875
21946
  },
21876
21947
  {
21877
21948
  "kind": "field",
21878
- "name": "handleExpandedChanged",
21879
- "privacy": "private",
21949
+ "name": "selected",
21950
+ "type": {
21951
+ "text": "boolean"
21952
+ },
21953
+ "privacy": "public",
21954
+ "description": "The checked state of the control.",
21880
21955
  "inheritedFrom": {
21881
- "name": "Menu",
21882
- "module": "src/menu/menu.ts"
21956
+ "name": "ListboxOption",
21957
+ "module": "src/listbox-option/listbox-option.ts"
21883
21958
  }
21884
21959
  },
21885
21960
  {
21886
- "kind": "field",
21887
- "name": "removeItemListeners",
21888
- "privacy": "private",
21961
+ "kind": "method",
21962
+ "name": "selectedChanged",
21963
+ "privacy": "protected",
21964
+ "return": {
21965
+ "type": {
21966
+ "text": "void"
21967
+ }
21968
+ },
21889
21969
  "inheritedFrom": {
21890
- "name": "Menu",
21891
- "module": "src/menu/menu.ts"
21970
+ "name": "ListboxOption",
21971
+ "module": "src/listbox-option/listbox-option.ts"
21892
21972
  }
21893
21973
  },
21894
21974
  {
21895
21975
  "kind": "field",
21896
- "name": "setItems",
21897
- "privacy": "private",
21976
+ "name": "dirtyValue",
21977
+ "type": {
21978
+ "text": "boolean"
21979
+ },
21980
+ "privacy": "public",
21981
+ "default": "false",
21982
+ "description": "Track whether the value has been changed from the initial value",
21898
21983
  "inheritedFrom": {
21899
- "name": "Menu",
21900
- "module": "src/menu/menu.ts"
21984
+ "name": "ListboxOption",
21985
+ "module": "src/listbox-option/listbox-option.ts"
21901
21986
  }
21902
21987
  },
21903
21988
  {
21904
21989
  "kind": "field",
21905
- "name": "changeHandler",
21906
- "privacy": "private",
21907
- "description": "handle change from child element",
21990
+ "name": "initialValue",
21991
+ "type": {
21992
+ "text": "string"
21993
+ },
21994
+ "privacy": "protected",
21995
+ "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
21908
21996
  "inheritedFrom": {
21909
- "name": "Menu",
21910
- "module": "src/menu/menu.ts"
21997
+ "name": "ListboxOption",
21998
+ "module": "src/listbox-option/listbox-option.ts"
21911
21999
  }
21912
22000
  },
21913
22001
  {
21914
22002
  "kind": "method",
21915
- "name": "domChildren",
21916
- "privacy": "private",
22003
+ "name": "initialValueChanged",
22004
+ "privacy": "public",
21917
22005
  "return": {
21918
22006
  "type": {
21919
- "text": "Element[]"
21920
- }
21921
- },
21922
- "description": "get an array of valid DOM children",
21923
- "inheritedFrom": {
21924
- "name": "Menu",
21925
- "module": "src/menu/menu.ts"
21926
- }
21927
- },
21928
- {
21929
- "kind": "field",
21930
- "name": "isMenuItemElement",
21931
- "privacy": "private",
21932
- "description": "check if the item is a menu item",
21933
- "inheritedFrom": {
21934
- "name": "Menu",
21935
- "module": "src/menu/menu.ts"
21936
- }
21937
- },
21938
- {
21939
- "kind": "field",
21940
- "name": "isFocusableElement",
21941
- "privacy": "private",
21942
- "description": "check if the item is focusable",
21943
- "inheritedFrom": {
21944
- "name": "Menu",
21945
- "module": "src/menu/menu.ts"
21946
- }
21947
- },
21948
- {
21949
- "kind": "method",
21950
- "name": "setFocus",
21951
- "privacy": "private",
21952
- "return": {
21953
- "type": {
21954
- "text": "void"
22007
+ "text": "void"
21955
22008
  }
21956
22009
  },
21957
22010
  "parameters": [
21958
22011
  {
21959
- "name": "focusIndex",
22012
+ "name": "previous",
21960
22013
  "type": {
21961
- "text": "number"
22014
+ "text": "string"
21962
22015
  }
21963
22016
  },
21964
22017
  {
21965
- "name": "adjustment",
22018
+ "name": "next",
21966
22019
  "type": {
21967
- "text": "number"
22020
+ "text": "string"
21968
22021
  }
21969
22022
  }
21970
22023
  ],
21971
22024
  "inheritedFrom": {
21972
- "name": "Menu",
21973
- "module": "src/menu/menu.ts"
22025
+ "name": "ListboxOption",
22026
+ "module": "src/listbox-option/listbox-option.ts"
22027
+ }
22028
+ },
22029
+ {
22030
+ "kind": "field",
22031
+ "name": "label",
22032
+ "privacy": "public",
22033
+ "inheritedFrom": {
22034
+ "name": "ListboxOption",
22035
+ "module": "src/listbox-option/listbox-option.ts"
22036
+ }
22037
+ },
22038
+ {
22039
+ "kind": "field",
22040
+ "name": "text",
22041
+ "type": {
22042
+ "text": "string"
22043
+ },
22044
+ "privacy": "public",
22045
+ "inheritedFrom": {
22046
+ "name": "ListboxOption",
22047
+ "module": "src/listbox-option/listbox-option.ts"
22048
+ }
22049
+ },
22050
+ {
22051
+ "kind": "field",
22052
+ "name": "value",
22053
+ "privacy": "public",
22054
+ "type": {
22055
+ "text": "string"
22056
+ },
22057
+ "inheritedFrom": {
22058
+ "name": "ListboxOption",
22059
+ "module": "src/listbox-option/listbox-option.ts"
22060
+ }
22061
+ },
22062
+ {
22063
+ "kind": "field",
22064
+ "name": "form",
22065
+ "type": {
22066
+ "text": "HTMLFormElement | null"
22067
+ },
22068
+ "privacy": "public",
22069
+ "inheritedFrom": {
22070
+ "name": "ListboxOption",
22071
+ "module": "src/listbox-option/listbox-option.ts"
22072
+ }
22073
+ },
22074
+ {
22075
+ "kind": "field",
22076
+ "name": "proxy",
22077
+ "default": "new Option(\n `${this.textContent}`,\n this.initialValue,\n this.defaultSelected,\n this.selected\n )",
22078
+ "inheritedFrom": {
22079
+ "name": "ListboxOption",
22080
+ "module": "src/listbox-option/listbox-option.ts"
21974
22081
  }
21975
22082
  },
21976
22083
  {
@@ -22088,7 +22195,7 @@
22088
22195
  },
22089
22196
  {
22090
22197
  "kind": "variable",
22091
- "name": "foundationMenuShadowOptions",
22198
+ "name": "foundationListboxOptionShadowOptions",
22092
22199
  "type": {
22093
22200
  "text": "ShadowRootInit"
22094
22201
  },
@@ -22096,7 +22203,7 @@
22096
22203
  },
22097
22204
  {
22098
22205
  "kind": "variable",
22099
- "name": "defaultMenuConfig",
22206
+ "name": "defaultListboxOptionConfig",
22100
22207
  "type": {
22101
22208
  "text": "object"
22102
22209
  },
@@ -22104,49 +22211,47 @@
22104
22211
  },
22105
22212
  {
22106
22213
  "kind": "variable",
22107
- "name": "foundationMenu",
22108
- "description": "The Foundation Menu",
22109
- "privacy": "public"
22214
+ "name": "foundationListboxOption"
22110
22215
  }
22111
22216
  ],
22112
22217
  "exports": [
22113
22218
  {
22114
22219
  "kind": "js",
22115
- "name": "Menu",
22220
+ "name": "ListboxOption",
22116
22221
  "declaration": {
22117
- "name": "Menu",
22118
- "module": "src/menu/menu.ts"
22222
+ "name": "ListboxOption",
22223
+ "module": "src/listbox-option/listbox-option.ts"
22119
22224
  }
22120
22225
  },
22121
22226
  {
22122
22227
  "kind": "js",
22123
- "name": "foundationMenuShadowOptions",
22228
+ "name": "foundationListboxOptionShadowOptions",
22124
22229
  "declaration": {
22125
- "name": "foundationMenuShadowOptions",
22126
- "module": "src/menu/menu.ts"
22230
+ "name": "foundationListboxOptionShadowOptions",
22231
+ "module": "src/listbox-option/listbox-option.ts"
22127
22232
  }
22128
22233
  },
22129
22234
  {
22130
22235
  "kind": "js",
22131
- "name": "defaultMenuConfig",
22236
+ "name": "defaultListboxOptionConfig",
22132
22237
  "declaration": {
22133
- "name": "defaultMenuConfig",
22134
- "module": "src/menu/menu.ts"
22238
+ "name": "defaultListboxOptionConfig",
22239
+ "module": "src/listbox-option/listbox-option.ts"
22135
22240
  }
22136
22241
  },
22137
22242
  {
22138
22243
  "kind": "js",
22139
- "name": "foundationMenu",
22244
+ "name": "foundationListboxOption",
22140
22245
  "declaration": {
22141
- "name": "foundationMenu",
22142
- "module": "src/menu/menu.ts"
22246
+ "name": "foundationListboxOption",
22247
+ "module": "src/listbox-option/listbox-option.ts"
22143
22248
  }
22144
22249
  }
22145
22250
  ]
22146
22251
  },
22147
22252
  {
22148
22253
  "kind": "javascript-module",
22149
- "path": "src/listbox-option/index.ts",
22254
+ "path": "src/menu/index.ts",
22150
22255
  "declarations": [],
22151
22256
  "exports": [
22152
22257
  {
@@ -22154,7 +22259,7 @@
22154
22259
  "name": "*",
22155
22260
  "declaration": {
22156
22261
  "name": "*",
22157
- "package": "./listbox-option.template"
22262
+ "package": "./menu.template"
22158
22263
  }
22159
22264
  },
22160
22265
  {
@@ -22162,7 +22267,7 @@
22162
22267
  "name": "*",
22163
22268
  "declaration": {
22164
22269
  "name": "*",
22165
- "package": "./listbox-option.styles"
22270
+ "package": "./menu.styles"
22166
22271
  }
22167
22272
  },
22168
22273
  {
@@ -22170,18 +22275,18 @@
22170
22275
  "name": "*",
22171
22276
  "declaration": {
22172
22277
  "name": "*",
22173
- "package": "./listbox-option"
22278
+ "package": "./menu"
22174
22279
  }
22175
22280
  }
22176
22281
  ]
22177
22282
  },
22178
22283
  {
22179
22284
  "kind": "javascript-module",
22180
- "path": "src/listbox-option/listbox-option.styles.ts",
22285
+ "path": "src/menu/menu.styles.ts",
22181
22286
  "declarations": [
22182
22287
  {
22183
22288
  "kind": "function",
22184
- "name": "foundationListboxOptionStyles",
22289
+ "name": "foundationMenuStyles",
22185
22290
  "return": {
22186
22291
  "type": {
22187
22292
  "text": "ElementStyles"
@@ -22206,24 +22311,24 @@
22206
22311
  "exports": [
22207
22312
  {
22208
22313
  "kind": "js",
22209
- "name": "foundationListboxOptionStyles",
22314
+ "name": "foundationMenuStyles",
22210
22315
  "declaration": {
22211
- "name": "foundationListboxOptionStyles",
22212
- "module": "src/listbox-option/listbox-option.styles.ts"
22316
+ "name": "foundationMenuStyles",
22317
+ "module": "src/menu/menu.styles.ts"
22213
22318
  }
22214
22319
  }
22215
22320
  ]
22216
22321
  },
22217
22322
  {
22218
22323
  "kind": "javascript-module",
22219
- "path": "src/listbox-option/listbox-option.template.ts",
22324
+ "path": "src/menu/menu.template.ts",
22220
22325
  "declarations": [
22221
22326
  {
22222
22327
  "kind": "function",
22223
- "name": "foundationListboxOptionTemplate",
22328
+ "name": "foundationMenuTemplate",
22224
22329
  "return": {
22225
22330
  "type": {
22226
- "text": "ViewTemplate<ListboxOption>"
22331
+ "text": "ViewTemplate<Menu>"
22227
22332
  }
22228
22333
  },
22229
22334
  "parameters": [
@@ -22245,83 +22350,33 @@
22245
22350
  "exports": [
22246
22351
  {
22247
22352
  "kind": "js",
22248
- "name": "foundationListboxOptionTemplate",
22353
+ "name": "foundationMenuTemplate",
22249
22354
  "declaration": {
22250
- "name": "foundationListboxOptionTemplate",
22251
- "module": "src/listbox-option/listbox-option.template.ts"
22355
+ "name": "foundationMenuTemplate",
22356
+ "module": "src/menu/menu.template.ts"
22252
22357
  }
22253
22358
  }
22254
22359
  ]
22255
22360
  },
22256
22361
  {
22257
22362
  "kind": "javascript-module",
22258
- "path": "src/listbox-option/listbox-option.ts",
22363
+ "path": "src/menu/menu.ts",
22259
22364
  "declarations": [
22260
22365
  {
22261
22366
  "kind": "class",
22262
22367
  "description": "",
22263
- "name": "ListboxOption",
22368
+ "name": "Menu",
22264
22369
  "superclass": {
22265
- "name": "FASTListboxOption",
22370
+ "name": "FASTMenu",
22266
22371
  "package": "@microsoft/fast-components"
22267
22372
  },
22268
- "tagName": "%%prefix%%-option",
22373
+ "tagName": "%%prefix%%-menu",
22269
22374
  "customElement": true,
22270
- "attributes": [
22271
- {
22272
- "type": {
22273
- "text": "boolean"
22274
- },
22275
- "description": "The disabled state of the option.",
22276
- "fieldName": "disabled",
22277
- "inheritedFrom": {
22278
- "name": "ListboxOption",
22279
- "module": "src/listbox-option/listbox-option.ts"
22280
- }
22281
- },
22282
- {
22283
- "name": "selected",
22284
- "type": {
22285
- "text": "boolean"
22286
- },
22287
- "description": "The selected attribute value. This sets the initial selected value.",
22288
- "fieldName": "selectedAttribute",
22289
- "inheritedFrom": {
22290
- "name": "ListboxOption",
22291
- "module": "src/listbox-option/listbox-option.ts"
22292
- }
22293
- },
22294
- {
22295
- "name": "value",
22296
- "type": {
22297
- "text": "string"
22298
- },
22299
- "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
22300
- "fieldName": "initialValue",
22301
- "inheritedFrom": {
22302
- "name": "ListboxOption",
22303
- "module": "src/listbox-option/listbox-option.ts"
22304
- }
22305
- }
22306
- ],
22307
22375
  "members": [
22308
- {
22309
- "kind": "field",
22310
- "name": "checked",
22311
- "type": {
22312
- "text": "boolean | undefined"
22313
- },
22314
- "privacy": "public",
22315
- "description": "The checked state is used when the parent listbox is in multiple selection mode.\nTo avoid accessibility conflicts, the checked state should not be present in\nsingle selection mode.",
22316
- "inheritedFrom": {
22317
- "name": "ListboxOption",
22318
- "module": "src/listbox-option/listbox-option.ts"
22319
- }
22320
- },
22321
22376
  {
22322
22377
  "kind": "method",
22323
- "name": "checkedChanged",
22324
- "privacy": "public",
22378
+ "name": "itemsChanged",
22379
+ "privacy": "private",
22325
22380
  "return": {
22326
22381
  "type": {
22327
22382
  "text": "void"
@@ -22329,270 +22384,213 @@
22329
22384
  },
22330
22385
  "parameters": [
22331
22386
  {
22332
- "name": "prev",
22387
+ "name": "oldValue",
22333
22388
  "type": {
22334
- "text": "boolean | unknown"
22335
- },
22336
- "description": "the previous checked value"
22389
+ "text": "HTMLElement[]"
22390
+ }
22337
22391
  },
22338
22392
  {
22339
- "name": "next",
22340
- "optional": true,
22393
+ "name": "newValue",
22341
22394
  "type": {
22342
- "text": "boolean"
22343
- },
22344
- "description": "the current checked value"
22395
+ "text": "HTMLElement[]"
22396
+ }
22345
22397
  }
22346
22398
  ],
22347
- "description": "Updates the ariaChecked property when the checked property changes.",
22348
22399
  "inheritedFrom": {
22349
- "name": "ListboxOption",
22350
- "module": "src/listbox-option/listbox-option.ts"
22400
+ "name": "Menu",
22401
+ "module": "src/menu/menu.ts"
22351
22402
  }
22352
22403
  },
22353
22404
  {
22354
22405
  "kind": "field",
22355
- "name": "content",
22406
+ "name": "menuItems",
22356
22407
  "type": {
22357
- "text": "Node[]"
22408
+ "text": "Element[] | undefined"
22358
22409
  },
22359
- "privacy": "public",
22360
- "description": "The default slotted content.",
22410
+ "privacy": "private",
22361
22411
  "inheritedFrom": {
22362
- "name": "ListboxOption",
22363
- "module": "src/listbox-option/listbox-option.ts"
22412
+ "name": "Menu",
22413
+ "module": "src/menu/menu.ts"
22364
22414
  }
22365
22415
  },
22366
22416
  {
22367
22417
  "kind": "field",
22368
- "name": "defaultSelected",
22418
+ "name": "expandedItem",
22369
22419
  "type": {
22370
- "text": "boolean"
22371
- },
22372
- "privacy": "public",
22373
- "default": "false",
22374
- "description": "The defaultSelected state of the option.",
22375
- "inheritedFrom": {
22376
- "name": "ListboxOption",
22377
- "module": "src/listbox-option/listbox-option.ts"
22378
- }
22379
- },
22380
- {
22381
- "kind": "method",
22382
- "name": "defaultSelectedChanged",
22383
- "privacy": "protected",
22384
- "return": {
22385
- "type": {
22386
- "text": "void"
22387
- }
22420
+ "text": "MenuItem | null"
22388
22421
  },
22422
+ "privacy": "private",
22423
+ "default": "null",
22389
22424
  "inheritedFrom": {
22390
- "name": "ListboxOption",
22391
- "module": "src/listbox-option/listbox-option.ts"
22425
+ "name": "Menu",
22426
+ "module": "src/menu/menu.ts"
22392
22427
  }
22393
22428
  },
22394
22429
  {
22395
22430
  "kind": "field",
22396
- "name": "disabled",
22431
+ "name": "focusIndex",
22397
22432
  "type": {
22398
- "text": "boolean"
22399
- },
22400
- "privacy": "public",
22401
- "description": "The disabled state of the option.",
22402
- "inheritedFrom": {
22403
- "name": "ListboxOption",
22404
- "module": "src/listbox-option/listbox-option.ts"
22405
- }
22406
- },
22407
- {
22408
- "kind": "method",
22409
- "name": "disabledChanged",
22410
- "privacy": "protected",
22411
- "return": {
22412
- "type": {
22413
- "text": "void"
22414
- }
22433
+ "text": "number"
22415
22434
  },
22416
- "parameters": [
22417
- {
22418
- "name": "prev",
22419
- "type": {
22420
- "text": "boolean"
22421
- }
22422
- },
22423
- {
22424
- "name": "next",
22425
- "type": {
22426
- "text": "boolean"
22427
- }
22428
- }
22429
- ],
22435
+ "privacy": "private",
22436
+ "default": "-1",
22437
+ "description": "The index of the focusable element in the items array\ndefaults to -1",
22430
22438
  "inheritedFrom": {
22431
- "name": "ListboxOption",
22432
- "module": "src/listbox-option/listbox-option.ts"
22439
+ "name": "Menu",
22440
+ "module": "src/menu/menu.ts"
22433
22441
  }
22434
22442
  },
22435
22443
  {
22436
22444
  "kind": "field",
22437
- "name": "selectedAttribute",
22445
+ "name": "focusableElementRoles",
22438
22446
  "type": {
22439
- "text": "boolean"
22447
+ "text": "{ [key: string]: string }"
22440
22448
  },
22441
- "privacy": "public",
22442
- "description": "The selected attribute value. This sets the initial selected value.",
22449
+ "privacy": "private",
22450
+ "static": true,
22451
+ "default": "roleForMenuItem",
22443
22452
  "inheritedFrom": {
22444
- "name": "ListboxOption",
22445
- "module": "src/listbox-option/listbox-option.ts"
22453
+ "name": "Menu",
22454
+ "module": "src/menu/menu.ts"
22446
22455
  }
22447
22456
  },
22448
22457
  {
22449
22458
  "kind": "method",
22450
- "name": "selectedAttributeChanged",
22451
- "privacy": "protected",
22459
+ "name": "focus",
22460
+ "privacy": "public",
22452
22461
  "return": {
22453
22462
  "type": {
22454
22463
  "text": "void"
22455
22464
  }
22456
22465
  },
22466
+ "description": "Focuses the first item in the menu.",
22457
22467
  "inheritedFrom": {
22458
- "name": "ListboxOption",
22459
- "module": "src/listbox-option/listbox-option.ts"
22460
- }
22461
- },
22462
- {
22463
- "kind": "field",
22464
- "name": "selected",
22465
- "type": {
22466
- "text": "boolean"
22467
- },
22468
- "privacy": "public",
22469
- "description": "The checked state of the control.",
22470
- "inheritedFrom": {
22471
- "name": "ListboxOption",
22472
- "module": "src/listbox-option/listbox-option.ts"
22468
+ "name": "Menu",
22469
+ "module": "src/menu/menu.ts"
22473
22470
  }
22474
22471
  },
22475
22472
  {
22476
22473
  "kind": "method",
22477
- "name": "selectedChanged",
22478
- "privacy": "protected",
22474
+ "name": "collapseExpandedItem",
22475
+ "privacy": "public",
22479
22476
  "return": {
22480
22477
  "type": {
22481
22478
  "text": "void"
22482
22479
  }
22483
22480
  },
22481
+ "description": "Collapses any expanded menu items.",
22484
22482
  "inheritedFrom": {
22485
- "name": "ListboxOption",
22486
- "module": "src/listbox-option/listbox-option.ts"
22483
+ "name": "Menu",
22484
+ "module": "src/menu/menu.ts"
22487
22485
  }
22488
22486
  },
22489
22487
  {
22490
22488
  "kind": "field",
22491
- "name": "dirtyValue",
22492
- "type": {
22493
- "text": "boolean"
22494
- },
22495
- "privacy": "public",
22496
- "default": "false",
22497
- "description": "Track whether the value has been changed from the initial value",
22489
+ "name": "handleItemFocus",
22490
+ "privacy": "private",
22498
22491
  "inheritedFrom": {
22499
- "name": "ListboxOption",
22500
- "module": "src/listbox-option/listbox-option.ts"
22492
+ "name": "Menu",
22493
+ "module": "src/menu/menu.ts"
22501
22494
  }
22502
22495
  },
22503
22496
  {
22504
22497
  "kind": "field",
22505
- "name": "initialValue",
22506
- "type": {
22507
- "text": "string"
22508
- },
22509
- "privacy": "protected",
22510
- "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
22498
+ "name": "handleExpandedChanged",
22499
+ "privacy": "private",
22511
22500
  "inheritedFrom": {
22512
- "name": "ListboxOption",
22513
- "module": "src/listbox-option/listbox-option.ts"
22501
+ "name": "Menu",
22502
+ "module": "src/menu/menu.ts"
22514
22503
  }
22515
22504
  },
22516
22505
  {
22517
- "kind": "method",
22518
- "name": "initialValueChanged",
22519
- "privacy": "public",
22520
- "return": {
22521
- "type": {
22522
- "text": "void"
22523
- }
22524
- },
22525
- "parameters": [
22526
- {
22527
- "name": "previous",
22528
- "type": {
22529
- "text": "string"
22530
- }
22531
- },
22532
- {
22533
- "name": "next",
22534
- "type": {
22535
- "text": "string"
22536
- }
22537
- }
22538
- ],
22506
+ "kind": "field",
22507
+ "name": "removeItemListeners",
22508
+ "privacy": "private",
22539
22509
  "inheritedFrom": {
22540
- "name": "ListboxOption",
22541
- "module": "src/listbox-option/listbox-option.ts"
22510
+ "name": "Menu",
22511
+ "module": "src/menu/menu.ts"
22542
22512
  }
22543
22513
  },
22544
22514
  {
22545
22515
  "kind": "field",
22546
- "name": "label",
22547
- "privacy": "public",
22516
+ "name": "setItems",
22517
+ "privacy": "private",
22548
22518
  "inheritedFrom": {
22549
- "name": "ListboxOption",
22550
- "module": "src/listbox-option/listbox-option.ts"
22519
+ "name": "Menu",
22520
+ "module": "src/menu/menu.ts"
22551
22521
  }
22552
22522
  },
22553
22523
  {
22554
22524
  "kind": "field",
22555
- "name": "text",
22556
- "type": {
22557
- "text": "string"
22558
- },
22559
- "privacy": "public",
22525
+ "name": "changeHandler",
22526
+ "privacy": "private",
22527
+ "description": "handle change from child element",
22560
22528
  "inheritedFrom": {
22561
- "name": "ListboxOption",
22562
- "module": "src/listbox-option/listbox-option.ts"
22529
+ "name": "Menu",
22530
+ "module": "src/menu/menu.ts"
22563
22531
  }
22564
22532
  },
22565
22533
  {
22566
- "kind": "field",
22567
- "name": "value",
22568
- "privacy": "public",
22569
- "type": {
22570
- "text": "string"
22534
+ "kind": "method",
22535
+ "name": "domChildren",
22536
+ "privacy": "private",
22537
+ "return": {
22538
+ "type": {
22539
+ "text": "Element[]"
22540
+ }
22571
22541
  },
22572
- "inheritedFrom": {
22573
- "name": "ListboxOption",
22574
- "module": "src/listbox-option/listbox-option.ts"
22542
+ "description": "get an array of valid DOM children",
22543
+ "inheritedFrom": {
22544
+ "name": "Menu",
22545
+ "module": "src/menu/menu.ts"
22575
22546
  }
22576
22547
  },
22577
22548
  {
22578
22549
  "kind": "field",
22579
- "name": "form",
22580
- "type": {
22581
- "text": "HTMLFormElement | null"
22582
- },
22583
- "privacy": "public",
22550
+ "name": "isMenuItemElement",
22551
+ "privacy": "private",
22552
+ "description": "check if the item is a menu item",
22584
22553
  "inheritedFrom": {
22585
- "name": "ListboxOption",
22586
- "module": "src/listbox-option/listbox-option.ts"
22554
+ "name": "Menu",
22555
+ "module": "src/menu/menu.ts"
22587
22556
  }
22588
22557
  },
22589
22558
  {
22590
22559
  "kind": "field",
22591
- "name": "proxy",
22592
- "default": "new Option(\n `${this.textContent}`,\n this.initialValue,\n this.defaultSelected,\n this.selected\n )",
22560
+ "name": "isFocusableElement",
22561
+ "privacy": "private",
22562
+ "description": "check if the item is focusable",
22593
22563
  "inheritedFrom": {
22594
- "name": "ListboxOption",
22595
- "module": "src/listbox-option/listbox-option.ts"
22564
+ "name": "Menu",
22565
+ "module": "src/menu/menu.ts"
22566
+ }
22567
+ },
22568
+ {
22569
+ "kind": "method",
22570
+ "name": "setFocus",
22571
+ "privacy": "private",
22572
+ "return": {
22573
+ "type": {
22574
+ "text": "void"
22575
+ }
22576
+ },
22577
+ "parameters": [
22578
+ {
22579
+ "name": "focusIndex",
22580
+ "type": {
22581
+ "text": "number"
22582
+ }
22583
+ },
22584
+ {
22585
+ "name": "adjustment",
22586
+ "type": {
22587
+ "text": "number"
22588
+ }
22589
+ }
22590
+ ],
22591
+ "inheritedFrom": {
22592
+ "name": "Menu",
22593
+ "module": "src/menu/menu.ts"
22596
22594
  }
22597
22595
  },
22598
22596
  {
@@ -22710,7 +22708,7 @@
22710
22708
  },
22711
22709
  {
22712
22710
  "kind": "variable",
22713
- "name": "foundationListboxOptionShadowOptions",
22711
+ "name": "foundationMenuShadowOptions",
22714
22712
  "type": {
22715
22713
  "text": "ShadowRootInit"
22716
22714
  },
@@ -22718,7 +22716,7 @@
22718
22716
  },
22719
22717
  {
22720
22718
  "kind": "variable",
22721
- "name": "defaultListboxOptionConfig",
22719
+ "name": "defaultMenuConfig",
22722
22720
  "type": {
22723
22721
  "text": "object"
22724
22722
  },
@@ -22726,47 +22724,49 @@
22726
22724
  },
22727
22725
  {
22728
22726
  "kind": "variable",
22729
- "name": "foundationListboxOption"
22727
+ "name": "foundationMenu",
22728
+ "description": "The Foundation Menu",
22729
+ "privacy": "public"
22730
22730
  }
22731
22731
  ],
22732
22732
  "exports": [
22733
22733
  {
22734
22734
  "kind": "js",
22735
- "name": "ListboxOption",
22735
+ "name": "Menu",
22736
22736
  "declaration": {
22737
- "name": "ListboxOption",
22738
- "module": "src/listbox-option/listbox-option.ts"
22737
+ "name": "Menu",
22738
+ "module": "src/menu/menu.ts"
22739
22739
  }
22740
22740
  },
22741
22741
  {
22742
22742
  "kind": "js",
22743
- "name": "foundationListboxOptionShadowOptions",
22743
+ "name": "foundationMenuShadowOptions",
22744
22744
  "declaration": {
22745
- "name": "foundationListboxOptionShadowOptions",
22746
- "module": "src/listbox-option/listbox-option.ts"
22745
+ "name": "foundationMenuShadowOptions",
22746
+ "module": "src/menu/menu.ts"
22747
22747
  }
22748
22748
  },
22749
22749
  {
22750
22750
  "kind": "js",
22751
- "name": "defaultListboxOptionConfig",
22751
+ "name": "defaultMenuConfig",
22752
22752
  "declaration": {
22753
- "name": "defaultListboxOptionConfig",
22754
- "module": "src/listbox-option/listbox-option.ts"
22753
+ "name": "defaultMenuConfig",
22754
+ "module": "src/menu/menu.ts"
22755
22755
  }
22756
22756
  },
22757
22757
  {
22758
22758
  "kind": "js",
22759
- "name": "foundationListboxOption",
22759
+ "name": "foundationMenu",
22760
22760
  "declaration": {
22761
- "name": "foundationListboxOption",
22762
- "module": "src/listbox-option/listbox-option.ts"
22761
+ "name": "foundationMenu",
22762
+ "module": "src/menu/menu.ts"
22763
22763
  }
22764
22764
  }
22765
22765
  ]
22766
22766
  },
22767
22767
  {
22768
22768
  "kind": "javascript-module",
22769
- "path": "src/modal/index.ts",
22769
+ "path": "src/menu-item/index.ts",
22770
22770
  "declarations": [],
22771
22771
  "exports": [
22772
22772
  {
@@ -22774,7 +22774,7 @@
22774
22774
  "name": "*",
22775
22775
  "declaration": {
22776
22776
  "name": "*",
22777
- "package": "./modal.styles"
22777
+ "package": "./menu-item.template"
22778
22778
  }
22779
22779
  },
22780
22780
  {
@@ -22782,7 +22782,7 @@
22782
22782
  "name": "*",
22783
22783
  "declaration": {
22784
22784
  "name": "*",
22785
- "package": "./modal.template"
22785
+ "package": "./menu-item.styles"
22786
22786
  }
22787
22787
  },
22788
22788
  {
@@ -22790,240 +22790,269 @@
22790
22790
  "name": "*",
22791
22791
  "declaration": {
22792
22792
  "name": "*",
22793
- "package": "./modal"
22793
+ "package": "./menu-item"
22794
22794
  }
22795
22795
  }
22796
22796
  ]
22797
22797
  },
22798
22798
  {
22799
22799
  "kind": "javascript-module",
22800
- "path": "src/modal/modal.styles.ts",
22800
+ "path": "src/menu-item/menu-item.styles.ts",
22801
22801
  "declarations": [
22802
22802
  {
22803
- "kind": "variable",
22804
- "name": "foundationModalStyles",
22805
- "type": {
22806
- "text": "ElementStyles"
22803
+ "kind": "function",
22804
+ "name": "foundationMenuItemStyles",
22805
+ "return": {
22806
+ "type": {
22807
+ "text": "ElementStyles"
22808
+ }
22807
22809
  },
22808
- "default": "css`\n ${foundationDialogStyles}\n`"
22810
+ "parameters": [
22811
+ {
22812
+ "name": "context",
22813
+ "type": {
22814
+ "text": "ElementDefinitionContext"
22815
+ }
22816
+ },
22817
+ {
22818
+ "name": "definition",
22819
+ "type": {
22820
+ "text": "MenuItemOptions"
22821
+ }
22822
+ }
22823
+ ]
22809
22824
  }
22810
22825
  ],
22811
22826
  "exports": [
22812
22827
  {
22813
22828
  "kind": "js",
22814
- "name": "foundationModalStyles",
22829
+ "name": "foundationMenuItemStyles",
22815
22830
  "declaration": {
22816
- "name": "foundationModalStyles",
22817
- "module": "src/modal/modal.styles.ts"
22831
+ "name": "foundationMenuItemStyles",
22832
+ "module": "src/menu-item/menu-item.styles.ts"
22818
22833
  }
22819
22834
  }
22820
22835
  ]
22821
22836
  },
22822
22837
  {
22823
22838
  "kind": "javascript-module",
22824
- "path": "src/modal/modal.template.ts",
22839
+ "path": "src/menu-item/menu-item.template.ts",
22825
22840
  "declarations": [
22826
22841
  {
22827
- "kind": "variable",
22828
- "name": "foundationModalTemplate",
22829
- "type": {
22830
- "text": "ViewTemplate<Modal>"
22842
+ "kind": "function",
22843
+ "name": "foundationMenuItemTemplate",
22844
+ "return": {
22845
+ "type": {
22846
+ "text": "ViewTemplate<MenuItem>"
22847
+ }
22831
22848
  },
22832
- "default": "html`\n ${foundationDialogTemplate}\n`"
22849
+ "parameters": [
22850
+ {
22851
+ "name": "context",
22852
+ "type": {
22853
+ "text": "ElementDefinitionContext"
22854
+ }
22855
+ },
22856
+ {
22857
+ "name": "definition",
22858
+ "type": {
22859
+ "text": "MenuItemOptions"
22860
+ }
22861
+ }
22862
+ ]
22833
22863
  }
22834
22864
  ],
22835
22865
  "exports": [
22836
22866
  {
22837
22867
  "kind": "js",
22838
- "name": "foundationModalTemplate",
22868
+ "name": "foundationMenuItemTemplate",
22839
22869
  "declaration": {
22840
- "name": "foundationModalTemplate",
22841
- "module": "src/modal/modal.template.ts"
22870
+ "name": "foundationMenuItemTemplate",
22871
+ "module": "src/menu-item/menu-item.template.ts"
22842
22872
  }
22843
22873
  }
22844
22874
  ]
22845
22875
  },
22846
22876
  {
22847
22877
  "kind": "javascript-module",
22848
- "path": "src/modal/modal.ts",
22878
+ "path": "src/menu-item/menu-item.ts",
22849
22879
  "declarations": [
22850
- {
22851
- "kind": "variable",
22852
- "name": "foundationModalShadowOptions",
22853
- "type": {
22854
- "text": "ShadowRootInit"
22855
- },
22856
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
22857
- },
22858
- {
22859
- "kind": "variable",
22860
- "name": "defaultModalConfig",
22861
- "type": {
22862
- "text": "object"
22863
- },
22864
- "default": "{}"
22865
- },
22866
22880
  {
22867
22881
  "kind": "class",
22868
22882
  "description": "",
22869
- "name": "Modal",
22870
- "members": [
22871
- {
22872
- "kind": "method",
22873
- "name": "show",
22874
- "return": {
22875
- "type": {
22876
- "text": "void"
22877
- }
22878
- },
22879
- "description": "Show the HTMLDialogElement and its contents",
22880
- "inheritedFrom": {
22881
- "name": "<local>_DialogElement",
22882
- "module": "src/dialog/dialog.ts"
22883
- }
22884
- },
22885
- {
22886
- "kind": "field",
22887
- "name": "mainElement",
22888
- "type": {
22889
- "text": "HTMLDialogElement"
22890
- },
22891
- "description": "A reference to the dialog element\nin the component Shadow DOM.",
22892
- "inheritedFrom": {
22893
- "name": "<local>_DialogElement",
22894
- "module": "src/dialog/dialog.ts"
22895
- }
22896
- },
22883
+ "name": "MenuItem",
22884
+ "superclass": {
22885
+ "name": "FASTMenuItem",
22886
+ "package": "@microsoft/fast-components"
22887
+ },
22888
+ "tagName": "%%prefix%%-menu-item",
22889
+ "customElement": true,
22890
+ "attributes": [
22897
22891
  {
22898
- "kind": "field",
22899
- "name": "notification",
22900
22892
  "type": {
22901
- "text": "NotificationStructure"
22893
+ "text": "boolean"
22902
22894
  },
22895
+ "description": "The disabled state of the element.",
22896
+ "fieldName": "disabled",
22903
22897
  "inheritedFrom": {
22904
- "name": "<local>_DialogElement",
22905
- "module": "src/dialog/dialog.ts"
22906
- }
22907
- },
22908
- {
22909
- "kind": "method",
22910
- "name": "notificationChanged",
22911
- "inheritedFrom": {
22912
- "name": "<local>_DialogElement",
22913
- "module": "src/dialog/dialog.ts"
22898
+ "name": "MenuItem",
22899
+ "module": "src/menu-item/menu-item.ts"
22914
22900
  }
22915
22901
  },
22916
22902
  {
22917
- "kind": "field",
22918
- "name": "type",
22903
+ "name": "role",
22919
22904
  "type": {
22920
- "text": "DialogType"
22905
+ "text": "MenuItemRole"
22921
22906
  },
22922
- "default": "'default'",
22907
+ "description": "The role of the element.",
22908
+ "fieldName": "role",
22923
22909
  "inheritedFrom": {
22924
- "name": "<local>_DialogElement",
22925
- "module": "src/dialog/dialog.ts"
22910
+ "name": "MenuItem",
22911
+ "module": "src/menu-item/menu-item.ts"
22926
22912
  }
22927
- },
22913
+ }
22914
+ ],
22915
+ "members": [
22928
22916
  {
22929
22917
  "kind": "field",
22930
- "name": "position",
22918
+ "name": "disabled",
22931
22919
  "type": {
22932
- "text": "DialogPosition"
22920
+ "text": "boolean"
22933
22921
  },
22934
- "default": "'center'",
22922
+ "privacy": "public",
22923
+ "description": "The disabled state of the element.",
22935
22924
  "inheritedFrom": {
22936
- "name": "<local>_DialogElement",
22937
- "module": "src/dialog/dialog.ts"
22925
+ "name": "MenuItem",
22926
+ "module": "src/menu-item/menu-item.ts"
22938
22927
  }
22939
22928
  },
22940
22929
  {
22941
22930
  "kind": "field",
22942
- "name": "showCloseIcon",
22931
+ "name": "expanded",
22943
22932
  "type": {
22944
22933
  "text": "boolean"
22945
22934
  },
22946
- "default": "true",
22947
- "description": "Whether or not to show the close icon",
22935
+ "privacy": "public",
22936
+ "description": "The expanded state of the element.",
22948
22937
  "inheritedFrom": {
22949
- "name": "<local>_DialogElement",
22950
- "module": "src/dialog/dialog.ts"
22938
+ "name": "MenuItem",
22939
+ "module": "src/menu-item/menu-item.ts"
22951
22940
  }
22952
22941
  },
22953
22942
  {
22954
- "kind": "field",
22955
- "name": "onShowCallback",
22956
- "type": {
22957
- "text": "() => void"
22943
+ "kind": "method",
22944
+ "name": "expandedChanged",
22945
+ "privacy": "private",
22946
+ "return": {
22947
+ "type": {
22948
+ "text": "void"
22949
+ }
22958
22950
  },
22959
- "description": "Callback to run *before* HTMLDialogElement is shown",
22951
+ "parameters": [
22952
+ {
22953
+ "name": "oldValue",
22954
+ "type": {
22955
+ "text": "boolean"
22956
+ }
22957
+ }
22958
+ ],
22960
22959
  "inheritedFrom": {
22961
- "name": "<local>_DialogElement",
22962
- "module": "src/dialog/dialog.ts"
22960
+ "name": "MenuItem",
22961
+ "module": "src/menu-item/menu-item.ts"
22963
22962
  }
22964
22963
  },
22965
22964
  {
22966
22965
  "kind": "field",
22967
- "name": "onCloseCallback",
22966
+ "name": "role",
22968
22967
  "type": {
22969
- "text": "() => void"
22968
+ "text": "MenuItemRole"
22970
22969
  },
22971
- "description": "Callback to run *after* HTMLDialogElement is closed",
22970
+ "privacy": "public",
22971
+ "description": "The role of the element.",
22972
22972
  "inheritedFrom": {
22973
- "name": "<local>_DialogElement",
22974
- "module": "src/dialog/dialog.ts"
22973
+ "name": "MenuItem",
22974
+ "module": "src/menu-item/menu-item.ts"
22975
22975
  }
22976
22976
  },
22977
22977
  {
22978
22978
  "kind": "field",
22979
- "name": "open",
22979
+ "name": "checked",
22980
22980
  "type": {
22981
22981
  "text": "boolean"
22982
22982
  },
22983
- "description": "Determine if the dialog is showing or closed.",
22984
- "readonly": true,
22983
+ "privacy": "public",
22984
+ "description": "The checked value of the element.",
22985
22985
  "inheritedFrom": {
22986
- "name": "<local>_DialogElement",
22987
- "module": "src/dialog/dialog.ts"
22986
+ "name": "MenuItem",
22987
+ "module": "src/menu-item/menu-item.ts"
22988
22988
  }
22989
22989
  },
22990
22990
  {
22991
22991
  "kind": "method",
22992
- "name": "close",
22992
+ "name": "checkedChanged",
22993
+ "privacy": "private",
22993
22994
  "return": {
22994
22995
  "type": {
22995
22996
  "text": "void"
22996
22997
  }
22997
22998
  },
22998
- "description": "Remove the HTMLDialogElement from display",
22999
+ "parameters": [
23000
+ {
23001
+ "name": "oldValue",
23002
+ "type": {
23003
+ "text": "boolean"
23004
+ }
23005
+ },
23006
+ {
23007
+ "name": "newValue",
23008
+ "type": {
23009
+ "text": "boolean"
23010
+ }
23011
+ }
23012
+ ],
22999
23013
  "inheritedFrom": {
23000
- "name": "<local>_DialogElement",
23001
- "module": "src/dialog/dialog.ts"
23014
+ "name": "MenuItem",
23015
+ "module": "src/menu-item/menu-item.ts"
23002
23016
  }
23003
23017
  },
23004
23018
  {
23005
- "kind": "method",
23006
- "name": "dismiss",
23007
- "privacy": "public",
23008
- "description": "Dismiss the Dialog from display and calls the dismissing action.",
23019
+ "kind": "field",
23020
+ "name": "focusSubmenuOnLoad",
23021
+ "type": {
23022
+ "text": "boolean"
23023
+ },
23024
+ "privacy": "private",
23025
+ "default": "false",
23009
23026
  "inheritedFrom": {
23010
- "name": "<local>_DialogElement",
23011
- "module": "src/dialog/dialog.ts"
23027
+ "name": "MenuItem",
23028
+ "module": "src/menu-item/menu-item.ts"
23029
+ }
23030
+ },
23031
+ {
23032
+ "kind": "field",
23033
+ "name": "observer",
23034
+ "type": {
23035
+ "text": "MutationObserver | undefined"
23036
+ },
23037
+ "privacy": "private",
23038
+ "inheritedFrom": {
23039
+ "name": "MenuItem",
23040
+ "module": "src/menu-item/menu-item.ts"
23012
23041
  }
23013
23042
  },
23014
23043
  {
23015
23044
  "kind": "method",
23016
- "name": "closeDialog",
23017
- "privacy": "public",
23045
+ "name": "domChildren",
23046
+ "privacy": "private",
23018
23047
  "return": {
23019
23048
  "type": {
23020
- "text": "void"
23049
+ "text": "Element[]"
23021
23050
  }
23022
23051
  },
23023
- "description": "Dismiss the Dialog from display.",
23052
+ "description": "get an array of valid DOM children",
23024
23053
  "inheritedFrom": {
23025
- "name": "<local>_DialogElement",
23026
- "module": "src/dialog/dialog.ts"
23054
+ "name": "MenuItem",
23055
+ "module": "src/menu-item/menu-item.ts"
23027
23056
  }
23028
23057
  },
23029
23058
  {
@@ -23138,97 +23167,86 @@
23138
23167
  }
23139
23168
  }
23140
23169
  ],
23141
- "superclass": {
23142
- "name": "DialogElement",
23143
- "module": "/src/dialog"
23144
- },
23145
- "tagName": "%%prefix%%-modal",
23146
- "customElement": true,
23147
- "attributes": [
23148
- {
23149
- "name": "type",
23150
- "type": {
23151
- "text": "DialogType"
23152
- },
23153
- "default": "'default'",
23154
- "fieldName": "type",
23155
- "inheritedFrom": {
23156
- "name": "<local>_DialogElement",
23157
- "module": "src/dialog/dialog.ts"
23158
- }
23159
- },
23170
+ "events": [
23160
23171
  {
23161
- "name": "position",
23162
- "type": {
23163
- "text": "DialogPosition"
23164
- },
23165
- "default": "'center'",
23166
- "fieldName": "position",
23172
+ "description": "Fires a custom 'expanded-change' event when the expanded state changes",
23173
+ "name": "expanded-change",
23167
23174
  "inheritedFrom": {
23168
- "name": "<local>_DialogElement",
23169
- "module": "src/dialog/dialog.ts"
23175
+ "name": "MenuItem",
23176
+ "module": "src/menu-item/menu-item.ts"
23170
23177
  }
23171
23178
  },
23172
23179
  {
23173
- "name": "show-close-icon",
23174
- "type": {
23175
- "text": "boolean"
23176
- },
23177
- "default": "true",
23178
- "description": "Whether or not to show the close icon",
23179
- "fieldName": "showCloseIcon",
23180
+ "description": "Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked",
23181
+ "name": "change",
23180
23182
  "inheritedFrom": {
23181
- "name": "<local>_DialogElement",
23182
- "module": "src/dialog/dialog.ts"
23183
+ "name": "MenuItem",
23184
+ "module": "src/menu-item/menu-item.ts"
23183
23185
  }
23184
23186
  }
23185
23187
  ]
23186
23188
  },
23187
23189
  {
23188
23190
  "kind": "variable",
23189
- "name": "foundationModal",
23190
- "description": "The Foundation Modal",
23191
+ "name": "foundationMenuItemShadowOptions",
23192
+ "type": {
23193
+ "text": "ShadowRootInit"
23194
+ },
23195
+ "default": "undefined"
23196
+ },
23197
+ {
23198
+ "kind": "variable",
23199
+ "name": "defaultMenuItemConfig",
23200
+ "type": {
23201
+ "text": "object"
23202
+ },
23203
+ "default": "{\n expandCollapseGlyph: `\n <svg\n class=\"expand-collapse-glyph\"\n part=\"expand-collapse-glyph\"\n viewBox=\"0 0 16 16\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z\"\n />\n </svg>\n `,\n}"
23204
+ },
23205
+ {
23206
+ "kind": "variable",
23207
+ "name": "foundationMenuItem",
23208
+ "description": "The Foundation Menu Item",
23191
23209
  "privacy": "public"
23192
23210
  }
23193
23211
  ],
23194
23212
  "exports": [
23195
23213
  {
23196
23214
  "kind": "js",
23197
- "name": "foundationModalShadowOptions",
23215
+ "name": "MenuItem",
23198
23216
  "declaration": {
23199
- "name": "foundationModalShadowOptions",
23200
- "module": "src/modal/modal.ts"
23217
+ "name": "MenuItem",
23218
+ "module": "src/menu-item/menu-item.ts"
23201
23219
  }
23202
23220
  },
23203
23221
  {
23204
23222
  "kind": "js",
23205
- "name": "defaultModalConfig",
23223
+ "name": "foundationMenuItemShadowOptions",
23206
23224
  "declaration": {
23207
- "name": "defaultModalConfig",
23208
- "module": "src/modal/modal.ts"
23225
+ "name": "foundationMenuItemShadowOptions",
23226
+ "module": "src/menu-item/menu-item.ts"
23209
23227
  }
23210
23228
  },
23211
23229
  {
23212
23230
  "kind": "js",
23213
- "name": "Modal",
23231
+ "name": "defaultMenuItemConfig",
23214
23232
  "declaration": {
23215
- "name": "Modal",
23216
- "module": "src/modal/modal.ts"
23233
+ "name": "defaultMenuItemConfig",
23234
+ "module": "src/menu-item/menu-item.ts"
23217
23235
  }
23218
23236
  },
23219
23237
  {
23220
23238
  "kind": "js",
23221
- "name": "foundationModal",
23239
+ "name": "foundationMenuItem",
23222
23240
  "declaration": {
23223
- "name": "foundationModal",
23224
- "module": "src/modal/modal.ts"
23241
+ "name": "foundationMenuItem",
23242
+ "module": "src/menu-item/menu-item.ts"
23225
23243
  }
23226
23244
  }
23227
23245
  ]
23228
23246
  },
23229
23247
  {
23230
23248
  "kind": "javascript-module",
23231
- "path": "src/menu-item/index.ts",
23249
+ "path": "src/modal/index.ts",
23232
23250
  "declarations": [],
23233
23251
  "exports": [
23234
23252
  {
@@ -23236,7 +23254,7 @@
23236
23254
  "name": "*",
23237
23255
  "declaration": {
23238
23256
  "name": "*",
23239
- "package": "./menu-item.template"
23257
+ "package": "./modal.styles"
23240
23258
  }
23241
23259
  },
23242
23260
  {
@@ -23244,7 +23262,7 @@
23244
23262
  "name": "*",
23245
23263
  "declaration": {
23246
23264
  "name": "*",
23247
- "package": "./menu-item.styles"
23265
+ "package": "./modal.template"
23248
23266
  }
23249
23267
  },
23250
23268
  {
@@ -23252,269 +23270,240 @@
23252
23270
  "name": "*",
23253
23271
  "declaration": {
23254
23272
  "name": "*",
23255
- "package": "./menu-item"
23273
+ "package": "./modal"
23256
23274
  }
23257
23275
  }
23258
23276
  ]
23259
23277
  },
23260
23278
  {
23261
23279
  "kind": "javascript-module",
23262
- "path": "src/menu-item/menu-item.styles.ts",
23280
+ "path": "src/modal/modal.styles.ts",
23263
23281
  "declarations": [
23264
23282
  {
23265
- "kind": "function",
23266
- "name": "foundationMenuItemStyles",
23267
- "return": {
23268
- "type": {
23269
- "text": "ElementStyles"
23270
- }
23283
+ "kind": "variable",
23284
+ "name": "foundationModalStyles",
23285
+ "type": {
23286
+ "text": "ElementStyles"
23271
23287
  },
23272
- "parameters": [
23273
- {
23274
- "name": "context",
23275
- "type": {
23276
- "text": "ElementDefinitionContext"
23277
- }
23278
- },
23279
- {
23280
- "name": "definition",
23281
- "type": {
23282
- "text": "MenuItemOptions"
23283
- }
23284
- }
23285
- ]
23288
+ "default": "css`\n ${foundationDialogStyles}\n`"
23286
23289
  }
23287
23290
  ],
23288
23291
  "exports": [
23289
23292
  {
23290
23293
  "kind": "js",
23291
- "name": "foundationMenuItemStyles",
23294
+ "name": "foundationModalStyles",
23292
23295
  "declaration": {
23293
- "name": "foundationMenuItemStyles",
23294
- "module": "src/menu-item/menu-item.styles.ts"
23296
+ "name": "foundationModalStyles",
23297
+ "module": "src/modal/modal.styles.ts"
23295
23298
  }
23296
23299
  }
23297
23300
  ]
23298
23301
  },
23299
23302
  {
23300
23303
  "kind": "javascript-module",
23301
- "path": "src/menu-item/menu-item.template.ts",
23304
+ "path": "src/modal/modal.template.ts",
23302
23305
  "declarations": [
23303
23306
  {
23304
- "kind": "function",
23305
- "name": "foundationMenuItemTemplate",
23306
- "return": {
23307
- "type": {
23308
- "text": "ViewTemplate<MenuItem>"
23309
- }
23307
+ "kind": "variable",
23308
+ "name": "foundationModalTemplate",
23309
+ "type": {
23310
+ "text": "ViewTemplate<Modal>"
23310
23311
  },
23311
- "parameters": [
23312
- {
23313
- "name": "context",
23314
- "type": {
23315
- "text": "ElementDefinitionContext"
23316
- }
23317
- },
23318
- {
23319
- "name": "definition",
23320
- "type": {
23321
- "text": "MenuItemOptions"
23322
- }
23323
- }
23324
- ]
23312
+ "default": "html`\n ${foundationDialogTemplate}\n`"
23325
23313
  }
23326
23314
  ],
23327
23315
  "exports": [
23328
23316
  {
23329
23317
  "kind": "js",
23330
- "name": "foundationMenuItemTemplate",
23318
+ "name": "foundationModalTemplate",
23331
23319
  "declaration": {
23332
- "name": "foundationMenuItemTemplate",
23333
- "module": "src/menu-item/menu-item.template.ts"
23320
+ "name": "foundationModalTemplate",
23321
+ "module": "src/modal/modal.template.ts"
23334
23322
  }
23335
23323
  }
23336
23324
  ]
23337
23325
  },
23338
23326
  {
23339
23327
  "kind": "javascript-module",
23340
- "path": "src/menu-item/menu-item.ts",
23328
+ "path": "src/modal/modal.ts",
23341
23329
  "declarations": [
23330
+ {
23331
+ "kind": "variable",
23332
+ "name": "foundationModalShadowOptions",
23333
+ "type": {
23334
+ "text": "ShadowRootInit"
23335
+ },
23336
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
23337
+ },
23338
+ {
23339
+ "kind": "variable",
23340
+ "name": "defaultModalConfig",
23341
+ "type": {
23342
+ "text": "object"
23343
+ },
23344
+ "default": "{}"
23345
+ },
23342
23346
  {
23343
23347
  "kind": "class",
23344
23348
  "description": "",
23345
- "name": "MenuItem",
23346
- "superclass": {
23347
- "name": "FASTMenuItem",
23348
- "package": "@microsoft/fast-components"
23349
- },
23350
- "tagName": "%%prefix%%-menu-item",
23351
- "customElement": true,
23352
- "attributes": [
23349
+ "name": "Modal",
23350
+ "members": [
23353
23351
  {
23354
- "type": {
23355
- "text": "boolean"
23352
+ "kind": "method",
23353
+ "name": "show",
23354
+ "return": {
23355
+ "type": {
23356
+ "text": "void"
23357
+ }
23356
23358
  },
23357
- "description": "The disabled state of the element.",
23358
- "fieldName": "disabled",
23359
+ "description": "Show the HTMLDialogElement and its contents",
23359
23360
  "inheritedFrom": {
23360
- "name": "MenuItem",
23361
- "module": "src/menu-item/menu-item.ts"
23361
+ "name": "<local>_DialogElement",
23362
+ "module": "src/dialog/dialog.ts"
23362
23363
  }
23363
23364
  },
23364
23365
  {
23365
- "name": "role",
23366
+ "kind": "field",
23367
+ "name": "mainElement",
23366
23368
  "type": {
23367
- "text": "MenuItemRole"
23369
+ "text": "HTMLDialogElement"
23368
23370
  },
23369
- "description": "The role of the element.",
23370
- "fieldName": "role",
23371
+ "description": "A reference to the dialog element\nin the component Shadow DOM.",
23371
23372
  "inheritedFrom": {
23372
- "name": "MenuItem",
23373
- "module": "src/menu-item/menu-item.ts"
23373
+ "name": "<local>_DialogElement",
23374
+ "module": "src/dialog/dialog.ts"
23374
23375
  }
23375
- }
23376
- ],
23377
- "members": [
23376
+ },
23378
23377
  {
23379
23378
  "kind": "field",
23380
- "name": "disabled",
23379
+ "name": "notification",
23381
23380
  "type": {
23382
- "text": "boolean"
23381
+ "text": "NotificationStructure"
23383
23382
  },
23384
- "privacy": "public",
23385
- "description": "The disabled state of the element.",
23386
23383
  "inheritedFrom": {
23387
- "name": "MenuItem",
23388
- "module": "src/menu-item/menu-item.ts"
23384
+ "name": "<local>_DialogElement",
23385
+ "module": "src/dialog/dialog.ts"
23386
+ }
23387
+ },
23388
+ {
23389
+ "kind": "method",
23390
+ "name": "notificationChanged",
23391
+ "inheritedFrom": {
23392
+ "name": "<local>_DialogElement",
23393
+ "module": "src/dialog/dialog.ts"
23389
23394
  }
23390
23395
  },
23391
23396
  {
23392
23397
  "kind": "field",
23393
- "name": "expanded",
23398
+ "name": "type",
23394
23399
  "type": {
23395
- "text": "boolean"
23400
+ "text": "DialogType"
23396
23401
  },
23397
- "privacy": "public",
23398
- "description": "The expanded state of the element.",
23402
+ "default": "'default'",
23399
23403
  "inheritedFrom": {
23400
- "name": "MenuItem",
23401
- "module": "src/menu-item/menu-item.ts"
23404
+ "name": "<local>_DialogElement",
23405
+ "module": "src/dialog/dialog.ts"
23402
23406
  }
23403
23407
  },
23404
23408
  {
23405
- "kind": "method",
23406
- "name": "expandedChanged",
23407
- "privacy": "private",
23408
- "return": {
23409
- "type": {
23410
- "text": "void"
23411
- }
23409
+ "kind": "field",
23410
+ "name": "position",
23411
+ "type": {
23412
+ "text": "DialogPosition"
23412
23413
  },
23413
- "parameters": [
23414
- {
23415
- "name": "oldValue",
23416
- "type": {
23417
- "text": "boolean"
23418
- }
23419
- }
23420
- ],
23414
+ "default": "'center'",
23421
23415
  "inheritedFrom": {
23422
- "name": "MenuItem",
23423
- "module": "src/menu-item/menu-item.ts"
23416
+ "name": "<local>_DialogElement",
23417
+ "module": "src/dialog/dialog.ts"
23424
23418
  }
23425
23419
  },
23426
23420
  {
23427
23421
  "kind": "field",
23428
- "name": "role",
23422
+ "name": "showCloseIcon",
23429
23423
  "type": {
23430
- "text": "MenuItemRole"
23424
+ "text": "boolean"
23431
23425
  },
23432
- "privacy": "public",
23433
- "description": "The role of the element.",
23426
+ "default": "true",
23427
+ "description": "Whether or not to show the close icon",
23434
23428
  "inheritedFrom": {
23435
- "name": "MenuItem",
23436
- "module": "src/menu-item/menu-item.ts"
23429
+ "name": "<local>_DialogElement",
23430
+ "module": "src/dialog/dialog.ts"
23437
23431
  }
23438
23432
  },
23439
23433
  {
23440
23434
  "kind": "field",
23441
- "name": "checked",
23435
+ "name": "onShowCallback",
23442
23436
  "type": {
23443
- "text": "boolean"
23437
+ "text": "() => void"
23444
23438
  },
23445
- "privacy": "public",
23446
- "description": "The checked value of the element.",
23439
+ "description": "Callback to run *before* HTMLDialogElement is shown",
23447
23440
  "inheritedFrom": {
23448
- "name": "MenuItem",
23449
- "module": "src/menu-item/menu-item.ts"
23441
+ "name": "<local>_DialogElement",
23442
+ "module": "src/dialog/dialog.ts"
23450
23443
  }
23451
23444
  },
23452
23445
  {
23453
- "kind": "method",
23454
- "name": "checkedChanged",
23455
- "privacy": "private",
23456
- "return": {
23457
- "type": {
23458
- "text": "void"
23459
- }
23446
+ "kind": "field",
23447
+ "name": "onCloseCallback",
23448
+ "type": {
23449
+ "text": "() => void"
23460
23450
  },
23461
- "parameters": [
23462
- {
23463
- "name": "oldValue",
23464
- "type": {
23465
- "text": "boolean"
23466
- }
23467
- },
23468
- {
23469
- "name": "newValue",
23470
- "type": {
23471
- "text": "boolean"
23472
- }
23473
- }
23474
- ],
23451
+ "description": "Callback to run *after* HTMLDialogElement is closed",
23475
23452
  "inheritedFrom": {
23476
- "name": "MenuItem",
23477
- "module": "src/menu-item/menu-item.ts"
23453
+ "name": "<local>_DialogElement",
23454
+ "module": "src/dialog/dialog.ts"
23478
23455
  }
23479
23456
  },
23480
23457
  {
23481
23458
  "kind": "field",
23482
- "name": "focusSubmenuOnLoad",
23459
+ "name": "open",
23483
23460
  "type": {
23484
23461
  "text": "boolean"
23485
23462
  },
23486
- "privacy": "private",
23487
- "default": "false",
23463
+ "description": "Determine if the dialog is showing or closed.",
23464
+ "readonly": true,
23488
23465
  "inheritedFrom": {
23489
- "name": "MenuItem",
23490
- "module": "src/menu-item/menu-item.ts"
23466
+ "name": "<local>_DialogElement",
23467
+ "module": "src/dialog/dialog.ts"
23491
23468
  }
23492
23469
  },
23493
23470
  {
23494
- "kind": "field",
23495
- "name": "observer",
23496
- "type": {
23497
- "text": "MutationObserver | undefined"
23471
+ "kind": "method",
23472
+ "name": "close",
23473
+ "return": {
23474
+ "type": {
23475
+ "text": "void"
23476
+ }
23498
23477
  },
23499
- "privacy": "private",
23478
+ "description": "Remove the HTMLDialogElement from display",
23500
23479
  "inheritedFrom": {
23501
- "name": "MenuItem",
23502
- "module": "src/menu-item/menu-item.ts"
23480
+ "name": "<local>_DialogElement",
23481
+ "module": "src/dialog/dialog.ts"
23503
23482
  }
23504
23483
  },
23505
23484
  {
23506
23485
  "kind": "method",
23507
- "name": "domChildren",
23508
- "privacy": "private",
23486
+ "name": "dismiss",
23487
+ "privacy": "public",
23488
+ "description": "Dismiss the Dialog from display and calls the dismissing action.",
23489
+ "inheritedFrom": {
23490
+ "name": "<local>_DialogElement",
23491
+ "module": "src/dialog/dialog.ts"
23492
+ }
23493
+ },
23494
+ {
23495
+ "kind": "method",
23496
+ "name": "closeDialog",
23497
+ "privacy": "public",
23509
23498
  "return": {
23510
23499
  "type": {
23511
- "text": "Element[]"
23500
+ "text": "void"
23512
23501
  }
23513
23502
  },
23514
- "description": "get an array of valid DOM children",
23503
+ "description": "Dismiss the Dialog from display.",
23515
23504
  "inheritedFrom": {
23516
- "name": "MenuItem",
23517
- "module": "src/menu-item/menu-item.ts"
23505
+ "name": "<local>_DialogElement",
23506
+ "module": "src/dialog/dialog.ts"
23518
23507
  }
23519
23508
  },
23520
23509
  {
@@ -23627,81 +23616,92 @@
23627
23616
  "name": "FoundationElement",
23628
23617
  "module": "src/foundation-element/foundation-element.ts"
23629
23618
  }
23630
- }
23631
- ],
23632
- "events": [
23619
+ }
23620
+ ],
23621
+ "superclass": {
23622
+ "name": "DialogElement",
23623
+ "module": "/src/dialog"
23624
+ },
23625
+ "tagName": "%%prefix%%-modal",
23626
+ "customElement": true,
23627
+ "attributes": [
23628
+ {
23629
+ "name": "type",
23630
+ "type": {
23631
+ "text": "DialogType"
23632
+ },
23633
+ "default": "'default'",
23634
+ "fieldName": "type",
23635
+ "inheritedFrom": {
23636
+ "name": "<local>_DialogElement",
23637
+ "module": "src/dialog/dialog.ts"
23638
+ }
23639
+ },
23633
23640
  {
23634
- "description": "Fires a custom 'expanded-change' event when the expanded state changes",
23635
- "name": "expanded-change",
23641
+ "name": "position",
23642
+ "type": {
23643
+ "text": "DialogPosition"
23644
+ },
23645
+ "default": "'center'",
23646
+ "fieldName": "position",
23636
23647
  "inheritedFrom": {
23637
- "name": "MenuItem",
23638
- "module": "src/menu-item/menu-item.ts"
23648
+ "name": "<local>_DialogElement",
23649
+ "module": "src/dialog/dialog.ts"
23639
23650
  }
23640
23651
  },
23641
23652
  {
23642
- "description": "Fires a custom 'change' event when a non-submenu item with a role of `menuitemcheckbox`, `menuitemradio`, or `menuitem` is invoked",
23643
- "name": "change",
23653
+ "name": "show-close-icon",
23654
+ "type": {
23655
+ "text": "boolean"
23656
+ },
23657
+ "default": "true",
23658
+ "description": "Whether or not to show the close icon",
23659
+ "fieldName": "showCloseIcon",
23644
23660
  "inheritedFrom": {
23645
- "name": "MenuItem",
23646
- "module": "src/menu-item/menu-item.ts"
23661
+ "name": "<local>_DialogElement",
23662
+ "module": "src/dialog/dialog.ts"
23647
23663
  }
23648
23664
  }
23649
23665
  ]
23650
23666
  },
23651
23667
  {
23652
23668
  "kind": "variable",
23653
- "name": "foundationMenuItemShadowOptions",
23654
- "type": {
23655
- "text": "ShadowRootInit"
23656
- },
23657
- "default": "undefined"
23658
- },
23659
- {
23660
- "kind": "variable",
23661
- "name": "defaultMenuItemConfig",
23662
- "type": {
23663
- "text": "object"
23664
- },
23665
- "default": "{\n expandCollapseGlyph: `\n <svg\n class=\"expand-collapse-glyph\"\n part=\"expand-collapse-glyph\"\n viewBox=\"0 0 16 16\"\n xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z\"\n />\n </svg>\n `,\n}"
23666
- },
23667
- {
23668
- "kind": "variable",
23669
- "name": "foundationMenuItem",
23670
- "description": "The Foundation Menu Item",
23669
+ "name": "foundationModal",
23670
+ "description": "The Foundation Modal",
23671
23671
  "privacy": "public"
23672
23672
  }
23673
23673
  ],
23674
23674
  "exports": [
23675
23675
  {
23676
23676
  "kind": "js",
23677
- "name": "MenuItem",
23677
+ "name": "foundationModalShadowOptions",
23678
23678
  "declaration": {
23679
- "name": "MenuItem",
23680
- "module": "src/menu-item/menu-item.ts"
23679
+ "name": "foundationModalShadowOptions",
23680
+ "module": "src/modal/modal.ts"
23681
23681
  }
23682
23682
  },
23683
23683
  {
23684
23684
  "kind": "js",
23685
- "name": "foundationMenuItemShadowOptions",
23685
+ "name": "defaultModalConfig",
23686
23686
  "declaration": {
23687
- "name": "foundationMenuItemShadowOptions",
23688
- "module": "src/menu-item/menu-item.ts"
23687
+ "name": "defaultModalConfig",
23688
+ "module": "src/modal/modal.ts"
23689
23689
  }
23690
23690
  },
23691
23691
  {
23692
23692
  "kind": "js",
23693
- "name": "defaultMenuItemConfig",
23693
+ "name": "Modal",
23694
23694
  "declaration": {
23695
- "name": "defaultMenuItemConfig",
23696
- "module": "src/menu-item/menu-item.ts"
23695
+ "name": "Modal",
23696
+ "module": "src/modal/modal.ts"
23697
23697
  }
23698
23698
  },
23699
23699
  {
23700
23700
  "kind": "js",
23701
- "name": "foundationMenuItem",
23701
+ "name": "foundationModal",
23702
23702
  "declaration": {
23703
- "name": "foundationMenuItem",
23704
- "module": "src/menu-item/menu-item.ts"
23703
+ "name": "foundationModal",
23704
+ "module": "src/modal/modal.ts"
23705
23705
  }
23706
23706
  }
23707
23707
  ]
@@ -27943,7 +27943,189 @@
27943
27943
  "name": "*",
27944
27944
  "declaration": {
27945
27945
  "name": "*",
27946
- "package": "./progress.template"
27946
+ "package": "./progress.template"
27947
+ }
27948
+ },
27949
+ {
27950
+ "kind": "js",
27951
+ "name": "*",
27952
+ "declaration": {
27953
+ "name": "*",
27954
+ "package": "./progress.styles"
27955
+ }
27956
+ },
27957
+ {
27958
+ "kind": "js",
27959
+ "name": "*",
27960
+ "declaration": {
27961
+ "name": "*",
27962
+ "package": "./progress"
27963
+ }
27964
+ }
27965
+ ]
27966
+ },
27967
+ {
27968
+ "kind": "javascript-module",
27969
+ "path": "src/progress/progress.styles.ts",
27970
+ "declarations": [
27971
+ {
27972
+ "kind": "function",
27973
+ "name": "foundationProgressStyles",
27974
+ "return": {
27975
+ "type": {
27976
+ "text": "ElementStyles"
27977
+ }
27978
+ },
27979
+ "parameters": [
27980
+ {
27981
+ "name": "context",
27982
+ "type": {
27983
+ "text": "ElementDefinitionContext"
27984
+ }
27985
+ },
27986
+ {
27987
+ "name": "definition",
27988
+ "type": {
27989
+ "text": "ProgressOptions"
27990
+ }
27991
+ }
27992
+ ]
27993
+ }
27994
+ ],
27995
+ "exports": [
27996
+ {
27997
+ "kind": "js",
27998
+ "name": "foundationProgressStyles",
27999
+ "declaration": {
28000
+ "name": "foundationProgressStyles",
28001
+ "module": "src/progress/progress.styles.ts"
28002
+ }
28003
+ }
28004
+ ]
28005
+ },
28006
+ {
28007
+ "kind": "javascript-module",
28008
+ "path": "src/progress/progress.template.ts",
28009
+ "declarations": [
28010
+ {
28011
+ "kind": "function",
28012
+ "name": "foundationProgressTemplate",
28013
+ "return": {
28014
+ "type": {
28015
+ "text": "ViewTemplate<Progress>"
28016
+ }
28017
+ },
28018
+ "parameters": [
28019
+ {
28020
+ "name": "context",
28021
+ "type": {
28022
+ "text": "ElementDefinitionContext"
28023
+ }
28024
+ },
28025
+ {
28026
+ "name": "definition",
28027
+ "type": {
28028
+ "text": "ProgressOptions"
28029
+ }
28030
+ }
28031
+ ]
28032
+ }
28033
+ ],
28034
+ "exports": [
28035
+ {
28036
+ "kind": "js",
28037
+ "name": "foundationProgressTemplate",
28038
+ "declaration": {
28039
+ "name": "foundationProgressTemplate",
28040
+ "module": "src/progress/progress.template.ts"
28041
+ }
28042
+ }
28043
+ ]
28044
+ },
28045
+ {
28046
+ "kind": "javascript-module",
28047
+ "path": "src/progress/progress.ts",
28048
+ "declarations": [
28049
+ {
28050
+ "kind": "class",
28051
+ "description": "",
28052
+ "name": "Progress",
28053
+ "superclass": {
28054
+ "name": "FASTProgress",
28055
+ "package": "@microsoft/fast-components"
28056
+ },
28057
+ "tagName": "%%prefix%%-progress",
28058
+ "customElement": true
28059
+ },
28060
+ {
28061
+ "kind": "variable",
28062
+ "name": "foundationProgressShadowOptions",
28063
+ "type": {
28064
+ "text": "ShadowRootInit"
28065
+ },
28066
+ "default": "undefined"
28067
+ },
28068
+ {
28069
+ "kind": "variable",
28070
+ "name": "defaultProgressConfig",
28071
+ "type": {
28072
+ "text": "object"
28073
+ },
28074
+ "default": "{\n indeterminateIndicator1: `<span class=\"indeterminate-indicator-1\" part=\"indeterminate-indicator-1\"></span>`,\n indeterminateIndicator2: `<span class=\"indeterminate-indicator-1\" part=\"indeterminate-indicator-1\"></span>`,\n}"
28075
+ },
28076
+ {
28077
+ "kind": "variable",
28078
+ "name": "foundationProgress",
28079
+ "description": "The Foundation Progress",
28080
+ "privacy": "public"
28081
+ }
28082
+ ],
28083
+ "exports": [
28084
+ {
28085
+ "kind": "js",
28086
+ "name": "Progress",
28087
+ "declaration": {
28088
+ "name": "Progress",
28089
+ "module": "src/progress/progress.ts"
28090
+ }
28091
+ },
28092
+ {
28093
+ "kind": "js",
28094
+ "name": "foundationProgressShadowOptions",
28095
+ "declaration": {
28096
+ "name": "foundationProgressShadowOptions",
28097
+ "module": "src/progress/progress.ts"
28098
+ }
28099
+ },
28100
+ {
28101
+ "kind": "js",
28102
+ "name": "defaultProgressConfig",
28103
+ "declaration": {
28104
+ "name": "defaultProgressConfig",
28105
+ "module": "src/progress/progress.ts"
28106
+ }
28107
+ },
28108
+ {
28109
+ "kind": "js",
28110
+ "name": "foundationProgress",
28111
+ "declaration": {
28112
+ "name": "foundationProgress",
28113
+ "module": "src/progress/progress.ts"
28114
+ }
28115
+ }
28116
+ ]
28117
+ },
28118
+ {
28119
+ "kind": "javascript-module",
28120
+ "path": "src/progress-ring/index.ts",
28121
+ "declarations": [],
28122
+ "exports": [
28123
+ {
28124
+ "kind": "js",
28125
+ "name": "*",
28126
+ "declaration": {
28127
+ "name": "*",
28128
+ "package": "./progress-ring.template"
27947
28129
  }
27948
28130
  },
27949
28131
  {
@@ -27951,7 +28133,7 @@
27951
28133
  "name": "*",
27952
28134
  "declaration": {
27953
28135
  "name": "*",
27954
- "package": "./progress.styles"
28136
+ "package": "./progress-ring.styles"
27955
28137
  }
27956
28138
  },
27957
28139
  {
@@ -27959,18 +28141,18 @@
27959
28141
  "name": "*",
27960
28142
  "declaration": {
27961
28143
  "name": "*",
27962
- "package": "./progress"
28144
+ "package": "./progress-ring"
27963
28145
  }
27964
28146
  }
27965
28147
  ]
27966
28148
  },
27967
28149
  {
27968
28150
  "kind": "javascript-module",
27969
- "path": "src/progress/progress.styles.ts",
28151
+ "path": "src/progress-ring/progress-ring.styles.ts",
27970
28152
  "declarations": [
27971
28153
  {
27972
28154
  "kind": "function",
27973
- "name": "foundationProgressStyles",
28155
+ "name": "foundationProgressRingStyles",
27974
28156
  "return": {
27975
28157
  "type": {
27976
28158
  "text": "ElementStyles"
@@ -27986,7 +28168,7 @@
27986
28168
  {
27987
28169
  "name": "definition",
27988
28170
  "type": {
27989
- "text": "ProgressOptions"
28171
+ "text": "ProgressRingOptions"
27990
28172
  }
27991
28173
  }
27992
28174
  ]
@@ -27995,24 +28177,24 @@
27995
28177
  "exports": [
27996
28178
  {
27997
28179
  "kind": "js",
27998
- "name": "foundationProgressStyles",
28180
+ "name": "foundationProgressRingStyles",
27999
28181
  "declaration": {
28000
- "name": "foundationProgressStyles",
28001
- "module": "src/progress/progress.styles.ts"
28182
+ "name": "foundationProgressRingStyles",
28183
+ "module": "src/progress-ring/progress-ring.styles.ts"
28002
28184
  }
28003
28185
  }
28004
28186
  ]
28005
28187
  },
28006
28188
  {
28007
28189
  "kind": "javascript-module",
28008
- "path": "src/progress/progress.template.ts",
28190
+ "path": "src/progress-ring/progress-ring.template.ts",
28009
28191
  "declarations": [
28010
28192
  {
28011
28193
  "kind": "function",
28012
- "name": "foundationProgressTemplate",
28194
+ "name": "foundationProgressRingTemplate",
28013
28195
  "return": {
28014
28196
  "type": {
28015
- "text": "ViewTemplate<Progress>"
28197
+ "text": "ViewTemplate<ProgressRing>"
28016
28198
  }
28017
28199
  },
28018
28200
  "parameters": [
@@ -28025,7 +28207,7 @@
28025
28207
  {
28026
28208
  "name": "definition",
28027
28209
  "type": {
28028
- "text": "ProgressOptions"
28210
+ "text": "ProgressRingOptions"
28029
28211
  }
28030
28212
  }
28031
28213
  ]
@@ -28034,32 +28216,32 @@
28034
28216
  "exports": [
28035
28217
  {
28036
28218
  "kind": "js",
28037
- "name": "foundationProgressTemplate",
28219
+ "name": "foundationProgressRingTemplate",
28038
28220
  "declaration": {
28039
- "name": "foundationProgressTemplate",
28040
- "module": "src/progress/progress.template.ts"
28221
+ "name": "foundationProgressRingTemplate",
28222
+ "module": "src/progress-ring/progress-ring.template.ts"
28041
28223
  }
28042
28224
  }
28043
28225
  ]
28044
28226
  },
28045
28227
  {
28046
28228
  "kind": "javascript-module",
28047
- "path": "src/progress/progress.ts",
28229
+ "path": "src/progress-ring/progress-ring.ts",
28048
28230
  "declarations": [
28049
28231
  {
28050
28232
  "kind": "class",
28051
28233
  "description": "",
28052
- "name": "Progress",
28234
+ "name": "ProgressRing",
28053
28235
  "superclass": {
28054
- "name": "FASTProgress",
28236
+ "name": "FASTProgressRing",
28055
28237
  "package": "@microsoft/fast-components"
28056
28238
  },
28057
- "tagName": "%%prefix%%-progress",
28239
+ "tagName": "%%prefix%%-progress-ring",
28058
28240
  "customElement": true
28059
28241
  },
28060
28242
  {
28061
28243
  "kind": "variable",
28062
- "name": "foundationProgressShadowOptions",
28244
+ "name": "foundationProgressRingShadowOptions",
28063
28245
  "type": {
28064
28246
  "text": "ShadowRootInit"
28065
28247
  },
@@ -28067,50 +28249,50 @@
28067
28249
  },
28068
28250
  {
28069
28251
  "kind": "variable",
28070
- "name": "defaultProgressConfig",
28252
+ "name": "defaultProgressRingConfig",
28071
28253
  "type": {
28072
28254
  "text": "object"
28073
28255
  },
28074
- "default": "{\n indeterminateIndicator1: `<span class=\"indeterminate-indicator-1\" part=\"indeterminate-indicator-1\"></span>`,\n indeterminateIndicator2: `<span class=\"indeterminate-indicator-1\" part=\"indeterminate-indicator-1\"></span>`,\n}"
28256
+ "default": "{\n indeterminateIndicator: `\n <svg class=\"progress\" part=\"progress\" viewBox=\"0 0 16 16\">\n <circle class=\"background\" part=\"background\" cx=\"8px\" cy=\"8px\" r=\"7px\"></circle>\n <circle class=\"indeterminate-indicator-1\" part=\"indeterminate-indicator-1\" cx=\"8px\" cy=\"8px\" r=\"7px\"></circle>\n </svg>\n `,\n}"
28075
28257
  },
28076
28258
  {
28077
28259
  "kind": "variable",
28078
- "name": "foundationProgress",
28079
- "description": "The Foundation Progress",
28260
+ "name": "foundationProgressRing",
28261
+ "description": "The Foundation Progress Ring",
28080
28262
  "privacy": "public"
28081
28263
  }
28082
28264
  ],
28083
28265
  "exports": [
28084
28266
  {
28085
28267
  "kind": "js",
28086
- "name": "Progress",
28268
+ "name": "ProgressRing",
28087
28269
  "declaration": {
28088
- "name": "Progress",
28089
- "module": "src/progress/progress.ts"
28270
+ "name": "ProgressRing",
28271
+ "module": "src/progress-ring/progress-ring.ts"
28090
28272
  }
28091
28273
  },
28092
28274
  {
28093
28275
  "kind": "js",
28094
- "name": "foundationProgressShadowOptions",
28276
+ "name": "foundationProgressRingShadowOptions",
28095
28277
  "declaration": {
28096
- "name": "foundationProgressShadowOptions",
28097
- "module": "src/progress/progress.ts"
28278
+ "name": "foundationProgressRingShadowOptions",
28279
+ "module": "src/progress-ring/progress-ring.ts"
28098
28280
  }
28099
28281
  },
28100
28282
  {
28101
28283
  "kind": "js",
28102
- "name": "defaultProgressConfig",
28284
+ "name": "defaultProgressRingConfig",
28103
28285
  "declaration": {
28104
- "name": "defaultProgressConfig",
28105
- "module": "src/progress/progress.ts"
28286
+ "name": "defaultProgressRingConfig",
28287
+ "module": "src/progress-ring/progress-ring.ts"
28106
28288
  }
28107
28289
  },
28108
28290
  {
28109
28291
  "kind": "js",
28110
- "name": "foundationProgress",
28292
+ "name": "foundationProgressRing",
28111
28293
  "declaration": {
28112
- "name": "foundationProgress",
28113
- "module": "src/progress/progress.ts"
28294
+ "name": "foundationProgressRing",
28295
+ "module": "src/progress-ring/progress-ring.ts"
28114
28296
  }
28115
28297
  }
28116
28298
  ]
@@ -31076,188 +31258,6 @@
31076
31258
  }
31077
31259
  ]
31078
31260
  },
31079
- {
31080
- "kind": "javascript-module",
31081
- "path": "src/progress-ring/index.ts",
31082
- "declarations": [],
31083
- "exports": [
31084
- {
31085
- "kind": "js",
31086
- "name": "*",
31087
- "declaration": {
31088
- "name": "*",
31089
- "package": "./progress-ring.template"
31090
- }
31091
- },
31092
- {
31093
- "kind": "js",
31094
- "name": "*",
31095
- "declaration": {
31096
- "name": "*",
31097
- "package": "./progress-ring.styles"
31098
- }
31099
- },
31100
- {
31101
- "kind": "js",
31102
- "name": "*",
31103
- "declaration": {
31104
- "name": "*",
31105
- "package": "./progress-ring"
31106
- }
31107
- }
31108
- ]
31109
- },
31110
- {
31111
- "kind": "javascript-module",
31112
- "path": "src/progress-ring/progress-ring.styles.ts",
31113
- "declarations": [
31114
- {
31115
- "kind": "function",
31116
- "name": "foundationProgressRingStyles",
31117
- "return": {
31118
- "type": {
31119
- "text": "ElementStyles"
31120
- }
31121
- },
31122
- "parameters": [
31123
- {
31124
- "name": "context",
31125
- "type": {
31126
- "text": "ElementDefinitionContext"
31127
- }
31128
- },
31129
- {
31130
- "name": "definition",
31131
- "type": {
31132
- "text": "ProgressRingOptions"
31133
- }
31134
- }
31135
- ]
31136
- }
31137
- ],
31138
- "exports": [
31139
- {
31140
- "kind": "js",
31141
- "name": "foundationProgressRingStyles",
31142
- "declaration": {
31143
- "name": "foundationProgressRingStyles",
31144
- "module": "src/progress-ring/progress-ring.styles.ts"
31145
- }
31146
- }
31147
- ]
31148
- },
31149
- {
31150
- "kind": "javascript-module",
31151
- "path": "src/progress-ring/progress-ring.template.ts",
31152
- "declarations": [
31153
- {
31154
- "kind": "function",
31155
- "name": "foundationProgressRingTemplate",
31156
- "return": {
31157
- "type": {
31158
- "text": "ViewTemplate<ProgressRing>"
31159
- }
31160
- },
31161
- "parameters": [
31162
- {
31163
- "name": "context",
31164
- "type": {
31165
- "text": "ElementDefinitionContext"
31166
- }
31167
- },
31168
- {
31169
- "name": "definition",
31170
- "type": {
31171
- "text": "ProgressRingOptions"
31172
- }
31173
- }
31174
- ]
31175
- }
31176
- ],
31177
- "exports": [
31178
- {
31179
- "kind": "js",
31180
- "name": "foundationProgressRingTemplate",
31181
- "declaration": {
31182
- "name": "foundationProgressRingTemplate",
31183
- "module": "src/progress-ring/progress-ring.template.ts"
31184
- }
31185
- }
31186
- ]
31187
- },
31188
- {
31189
- "kind": "javascript-module",
31190
- "path": "src/progress-ring/progress-ring.ts",
31191
- "declarations": [
31192
- {
31193
- "kind": "class",
31194
- "description": "",
31195
- "name": "ProgressRing",
31196
- "superclass": {
31197
- "name": "FASTProgressRing",
31198
- "package": "@microsoft/fast-components"
31199
- },
31200
- "tagName": "%%prefix%%-progress-ring",
31201
- "customElement": true
31202
- },
31203
- {
31204
- "kind": "variable",
31205
- "name": "foundationProgressRingShadowOptions",
31206
- "type": {
31207
- "text": "ShadowRootInit"
31208
- },
31209
- "default": "undefined"
31210
- },
31211
- {
31212
- "kind": "variable",
31213
- "name": "defaultProgressRingConfig",
31214
- "type": {
31215
- "text": "object"
31216
- },
31217
- "default": "{\n indeterminateIndicator: `\n <svg class=\"progress\" part=\"progress\" viewBox=\"0 0 16 16\">\n <circle class=\"background\" part=\"background\" cx=\"8px\" cy=\"8px\" r=\"7px\"></circle>\n <circle class=\"indeterminate-indicator-1\" part=\"indeterminate-indicator-1\" cx=\"8px\" cy=\"8px\" r=\"7px\"></circle>\n </svg>\n `,\n}"
31218
- },
31219
- {
31220
- "kind": "variable",
31221
- "name": "foundationProgressRing",
31222
- "description": "The Foundation Progress Ring",
31223
- "privacy": "public"
31224
- }
31225
- ],
31226
- "exports": [
31227
- {
31228
- "kind": "js",
31229
- "name": "ProgressRing",
31230
- "declaration": {
31231
- "name": "ProgressRing",
31232
- "module": "src/progress-ring/progress-ring.ts"
31233
- }
31234
- },
31235
- {
31236
- "kind": "js",
31237
- "name": "foundationProgressRingShadowOptions",
31238
- "declaration": {
31239
- "name": "foundationProgressRingShadowOptions",
31240
- "module": "src/progress-ring/progress-ring.ts"
31241
- }
31242
- },
31243
- {
31244
- "kind": "js",
31245
- "name": "defaultProgressRingConfig",
31246
- "declaration": {
31247
- "name": "defaultProgressRingConfig",
31248
- "module": "src/progress-ring/progress-ring.ts"
31249
- }
31250
- },
31251
- {
31252
- "kind": "js",
31253
- "name": "foundationProgressRing",
31254
- "declaration": {
31255
- "name": "foundationProgressRing",
31256
- "module": "src/progress-ring/progress-ring.ts"
31257
- }
31258
- }
31259
- ]
31260
- },
31261
31261
  {
31262
31262
  "kind": "javascript-module",
31263
31263
  "path": "src/segmented-item/index.ts",