@genesislcap/foundation-ui 14.225.2-alpha-adaf8d7.0 → 14.225.2

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 +1073 -1073
  2. package/package.json +16 -16
@@ -887,6 +887,188 @@
887
887
  }
888
888
  ]
889
889
  },
890
+ {
891
+ "kind": "javascript-module",
892
+ "path": "src/accordion/accordion.styles.ts",
893
+ "declarations": [
894
+ {
895
+ "kind": "function",
896
+ "name": "foundationAccordionStyles",
897
+ "return": {
898
+ "type": {
899
+ "text": "ElementStyles"
900
+ }
901
+ },
902
+ "parameters": [
903
+ {
904
+ "name": "context",
905
+ "type": {
906
+ "text": "ElementDefinitionContext"
907
+ }
908
+ },
909
+ {
910
+ "name": "definition",
911
+ "type": {
912
+ "text": "FoundationElementDefinition"
913
+ }
914
+ }
915
+ ]
916
+ }
917
+ ],
918
+ "exports": [
919
+ {
920
+ "kind": "js",
921
+ "name": "foundationAccordionStyles",
922
+ "declaration": {
923
+ "name": "foundationAccordionStyles",
924
+ "module": "src/accordion/accordion.styles.ts"
925
+ }
926
+ }
927
+ ]
928
+ },
929
+ {
930
+ "kind": "javascript-module",
931
+ "path": "src/accordion/accordion.template.ts",
932
+ "declarations": [
933
+ {
934
+ "kind": "function",
935
+ "name": "foundationAccordionTemplate",
936
+ "return": {
937
+ "type": {
938
+ "text": "ViewTemplate<Accordion>"
939
+ }
940
+ },
941
+ "parameters": [
942
+ {
943
+ "name": "context",
944
+ "type": {
945
+ "text": "ElementDefinitionContext"
946
+ }
947
+ },
948
+ {
949
+ "name": "definition",
950
+ "type": {
951
+ "text": "FoundationElementDefinition"
952
+ }
953
+ }
954
+ ]
955
+ }
956
+ ],
957
+ "exports": [
958
+ {
959
+ "kind": "js",
960
+ "name": "foundationAccordionTemplate",
961
+ "declaration": {
962
+ "name": "foundationAccordionTemplate",
963
+ "module": "src/accordion/accordion.template.ts"
964
+ }
965
+ }
966
+ ]
967
+ },
968
+ {
969
+ "kind": "javascript-module",
970
+ "path": "src/accordion/accordion.ts",
971
+ "declarations": [
972
+ {
973
+ "kind": "class",
974
+ "description": "",
975
+ "name": "Accordion",
976
+ "superclass": {
977
+ "name": "FASTAccordion",
978
+ "package": "@microsoft/fast-foundation"
979
+ },
980
+ "tagName": "%%prefix%%-accordion",
981
+ "customElement": true
982
+ },
983
+ {
984
+ "kind": "variable",
985
+ "name": "foundationAccordionShadowOptions",
986
+ "type": {
987
+ "text": "ShadowRootInit"
988
+ },
989
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
990
+ },
991
+ {
992
+ "kind": "variable",
993
+ "name": "defaultAccordionConfig",
994
+ "type": {
995
+ "text": "object"
996
+ },
997
+ "default": "{}"
998
+ },
999
+ {
1000
+ "kind": "variable",
1001
+ "name": "foundationAccordion",
1002
+ "description": "The Foundation Accordion",
1003
+ "privacy": "public"
1004
+ }
1005
+ ],
1006
+ "exports": [
1007
+ {
1008
+ "kind": "js",
1009
+ "name": "Accordion",
1010
+ "declaration": {
1011
+ "name": "Accordion",
1012
+ "module": "src/accordion/accordion.ts"
1013
+ }
1014
+ },
1015
+ {
1016
+ "kind": "js",
1017
+ "name": "foundationAccordionShadowOptions",
1018
+ "declaration": {
1019
+ "name": "foundationAccordionShadowOptions",
1020
+ "module": "src/accordion/accordion.ts"
1021
+ }
1022
+ },
1023
+ {
1024
+ "kind": "js",
1025
+ "name": "defaultAccordionConfig",
1026
+ "declaration": {
1027
+ "name": "defaultAccordionConfig",
1028
+ "module": "src/accordion/accordion.ts"
1029
+ }
1030
+ },
1031
+ {
1032
+ "kind": "js",
1033
+ "name": "foundationAccordion",
1034
+ "declaration": {
1035
+ "name": "foundationAccordion",
1036
+ "module": "src/accordion/accordion.ts"
1037
+ }
1038
+ }
1039
+ ]
1040
+ },
1041
+ {
1042
+ "kind": "javascript-module",
1043
+ "path": "src/accordion/index.ts",
1044
+ "declarations": [],
1045
+ "exports": [
1046
+ {
1047
+ "kind": "js",
1048
+ "name": "*",
1049
+ "declaration": {
1050
+ "name": "*",
1051
+ "package": "./accordion.template"
1052
+ }
1053
+ },
1054
+ {
1055
+ "kind": "js",
1056
+ "name": "*",
1057
+ "declaration": {
1058
+ "name": "*",
1059
+ "package": "./accordion.styles"
1060
+ }
1061
+ },
1062
+ {
1063
+ "kind": "js",
1064
+ "name": "*",
1065
+ "declaration": {
1066
+ "name": "*",
1067
+ "package": "./accordion"
1068
+ }
1069
+ }
1070
+ ]
1071
+ },
890
1072
  {
891
1073
  "kind": "javascript-module",
892
1074
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1281,188 +1463,6 @@
1281
1463
  }
1282
1464
  ]
1283
1465
  },
1284
- {
1285
- "kind": "javascript-module",
1286
- "path": "src/accordion/accordion.styles.ts",
1287
- "declarations": [
1288
- {
1289
- "kind": "function",
1290
- "name": "foundationAccordionStyles",
1291
- "return": {
1292
- "type": {
1293
- "text": "ElementStyles"
1294
- }
1295
- },
1296
- "parameters": [
1297
- {
1298
- "name": "context",
1299
- "type": {
1300
- "text": "ElementDefinitionContext"
1301
- }
1302
- },
1303
- {
1304
- "name": "definition",
1305
- "type": {
1306
- "text": "FoundationElementDefinition"
1307
- }
1308
- }
1309
- ]
1310
- }
1311
- ],
1312
- "exports": [
1313
- {
1314
- "kind": "js",
1315
- "name": "foundationAccordionStyles",
1316
- "declaration": {
1317
- "name": "foundationAccordionStyles",
1318
- "module": "src/accordion/accordion.styles.ts"
1319
- }
1320
- }
1321
- ]
1322
- },
1323
- {
1324
- "kind": "javascript-module",
1325
- "path": "src/accordion/accordion.template.ts",
1326
- "declarations": [
1327
- {
1328
- "kind": "function",
1329
- "name": "foundationAccordionTemplate",
1330
- "return": {
1331
- "type": {
1332
- "text": "ViewTemplate<Accordion>"
1333
- }
1334
- },
1335
- "parameters": [
1336
- {
1337
- "name": "context",
1338
- "type": {
1339
- "text": "ElementDefinitionContext"
1340
- }
1341
- },
1342
- {
1343
- "name": "definition",
1344
- "type": {
1345
- "text": "FoundationElementDefinition"
1346
- }
1347
- }
1348
- ]
1349
- }
1350
- ],
1351
- "exports": [
1352
- {
1353
- "kind": "js",
1354
- "name": "foundationAccordionTemplate",
1355
- "declaration": {
1356
- "name": "foundationAccordionTemplate",
1357
- "module": "src/accordion/accordion.template.ts"
1358
- }
1359
- }
1360
- ]
1361
- },
1362
- {
1363
- "kind": "javascript-module",
1364
- "path": "src/accordion/accordion.ts",
1365
- "declarations": [
1366
- {
1367
- "kind": "class",
1368
- "description": "",
1369
- "name": "Accordion",
1370
- "superclass": {
1371
- "name": "FASTAccordion",
1372
- "package": "@microsoft/fast-foundation"
1373
- },
1374
- "tagName": "%%prefix%%-accordion",
1375
- "customElement": true
1376
- },
1377
- {
1378
- "kind": "variable",
1379
- "name": "foundationAccordionShadowOptions",
1380
- "type": {
1381
- "text": "ShadowRootInit"
1382
- },
1383
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1384
- },
1385
- {
1386
- "kind": "variable",
1387
- "name": "defaultAccordionConfig",
1388
- "type": {
1389
- "text": "object"
1390
- },
1391
- "default": "{}"
1392
- },
1393
- {
1394
- "kind": "variable",
1395
- "name": "foundationAccordion",
1396
- "description": "The Foundation Accordion",
1397
- "privacy": "public"
1398
- }
1399
- ],
1400
- "exports": [
1401
- {
1402
- "kind": "js",
1403
- "name": "Accordion",
1404
- "declaration": {
1405
- "name": "Accordion",
1406
- "module": "src/accordion/accordion.ts"
1407
- }
1408
- },
1409
- {
1410
- "kind": "js",
1411
- "name": "foundationAccordionShadowOptions",
1412
- "declaration": {
1413
- "name": "foundationAccordionShadowOptions",
1414
- "module": "src/accordion/accordion.ts"
1415
- }
1416
- },
1417
- {
1418
- "kind": "js",
1419
- "name": "defaultAccordionConfig",
1420
- "declaration": {
1421
- "name": "defaultAccordionConfig",
1422
- "module": "src/accordion/accordion.ts"
1423
- }
1424
- },
1425
- {
1426
- "kind": "js",
1427
- "name": "foundationAccordion",
1428
- "declaration": {
1429
- "name": "foundationAccordion",
1430
- "module": "src/accordion/accordion.ts"
1431
- }
1432
- }
1433
- ]
1434
- },
1435
- {
1436
- "kind": "javascript-module",
1437
- "path": "src/accordion/index.ts",
1438
- "declarations": [],
1439
- "exports": [
1440
- {
1441
- "kind": "js",
1442
- "name": "*",
1443
- "declaration": {
1444
- "name": "*",
1445
- "package": "./accordion.template"
1446
- }
1447
- },
1448
- {
1449
- "kind": "js",
1450
- "name": "*",
1451
- "declaration": {
1452
- "name": "*",
1453
- "package": "./accordion.styles"
1454
- }
1455
- },
1456
- {
1457
- "kind": "js",
1458
- "name": "*",
1459
- "declaration": {
1460
- "name": "*",
1461
- "package": "./accordion"
1462
- }
1463
- }
1464
- ]
1465
- },
1466
1466
  {
1467
1467
  "kind": "javascript-module",
1468
1468
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -18132,83 +18132,194 @@
18132
18132
  },
18133
18133
  {
18134
18134
  "kind": "javascript-module",
18135
- "path": "src/flex-layout/flex-layout.styles.ts",
18135
+ "path": "src/flipper/flipper.styles.ts",
18136
18136
  "declarations": [
18137
18137
  {
18138
- "kind": "variable",
18139
- "name": "foundationFlexLayoutStyles",
18140
- "type": {
18141
- "text": "ElementStyles"
18138
+ "kind": "function",
18139
+ "name": "foundationFlipperStyles",
18140
+ "return": {
18141
+ "type": {
18142
+ "text": "ElementStyles"
18143
+ }
18142
18144
  },
18143
- "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`"
18145
+ "parameters": [
18146
+ {
18147
+ "name": "context",
18148
+ "type": {
18149
+ "text": "ElementDefinitionContext"
18150
+ }
18151
+ },
18152
+ {
18153
+ "name": "definition",
18154
+ "type": {
18155
+ "text": "FlipperOptions"
18156
+ }
18157
+ }
18158
+ ]
18144
18159
  }
18145
18160
  ],
18146
18161
  "exports": [
18147
18162
  {
18148
18163
  "kind": "js",
18149
- "name": "foundationFlexLayoutStyles",
18164
+ "name": "foundationFlipperStyles",
18150
18165
  "declaration": {
18151
- "name": "foundationFlexLayoutStyles",
18152
- "module": "src/flex-layout/flex-layout.styles.ts"
18166
+ "name": "foundationFlipperStyles",
18167
+ "module": "src/flipper/flipper.styles.ts"
18153
18168
  }
18154
18169
  }
18155
18170
  ]
18156
18171
  },
18157
18172
  {
18158
18173
  "kind": "javascript-module",
18159
- "path": "src/flex-layout/flex-layout.template.ts",
18174
+ "path": "src/flipper/flipper.template.ts",
18160
18175
  "declarations": [
18161
18176
  {
18162
- "kind": "variable",
18163
- "name": "foundationFlexLayoutTemplate",
18164
- "type": {
18165
- "text": "ViewTemplate<FlexLayout>"
18177
+ "kind": "function",
18178
+ "name": "foundationFlipperTemplate",
18179
+ "return": {
18180
+ "type": {
18181
+ "text": "ViewTemplate<Flipper>"
18182
+ }
18166
18183
  },
18167
- "default": "html`\n <template>\n <slot></slot>\n </template>\n`"
18184
+ "parameters": [
18185
+ {
18186
+ "name": "context",
18187
+ "type": {
18188
+ "text": "ElementDefinitionContext"
18189
+ }
18190
+ },
18191
+ {
18192
+ "name": "definition",
18193
+ "type": {
18194
+ "text": "FlipperOptions"
18195
+ }
18196
+ }
18197
+ ]
18168
18198
  }
18169
18199
  ],
18170
18200
  "exports": [
18171
18201
  {
18172
18202
  "kind": "js",
18173
- "name": "foundationFlexLayoutTemplate",
18203
+ "name": "foundationFlipperTemplate",
18174
18204
  "declaration": {
18175
- "name": "foundationFlexLayoutTemplate",
18176
- "module": "src/flex-layout/flex-layout.template.ts"
18205
+ "name": "foundationFlipperTemplate",
18206
+ "module": "src/flipper/flipper.template.ts"
18177
18207
  }
18178
18208
  }
18179
18209
  ]
18180
18210
  },
18181
18211
  {
18182
18212
  "kind": "javascript-module",
18183
- "path": "src/flex-layout/flex-layout.ts",
18213
+ "path": "src/flipper/flipper.ts",
18184
18214
  "declarations": [
18185
- {
18186
- "kind": "variable",
18187
- "name": "foundationFlexLayoutShadowOptions",
18188
- "type": {
18189
- "text": "ShadowRootInit"
18190
- },
18191
- "default": "undefined"
18192
- },
18193
- {
18194
- "kind": "variable",
18195
- "name": "defaultFlexLayoutConfig",
18196
- "type": {
18197
- "text": "object"
18198
- },
18199
- "default": "{}"
18200
- },
18201
18215
  {
18202
18216
  "kind": "class",
18203
18217
  "description": "",
18204
- "name": "FlexLayout",
18218
+ "name": "Flipper",
18205
18219
  "superclass": {
18206
- "name": "FoundationElement",
18207
- "package": "@microsoft/fast-foundation"
18220
+ "name": "FASTFlipper",
18221
+ "package": "@microsoft/fast-components"
18208
18222
  },
18209
- "tagName": "%%prefix%%-flex-layout",
18223
+ "tagName": "%%prefix%%-flipper",
18210
18224
  "customElement": true,
18225
+ "attributes": [
18226
+ {
18227
+ "type": {
18228
+ "text": "boolean"
18229
+ },
18230
+ "description": "The disabled state of the flipper.",
18231
+ "fieldName": "disabled",
18232
+ "inheritedFrom": {
18233
+ "name": "Flipper",
18234
+ "module": "src/flipper/flipper.ts"
18235
+ }
18236
+ },
18237
+ {
18238
+ "name": "aria-hidden",
18239
+ "type": {
18240
+ "text": "boolean"
18241
+ },
18242
+ "default": "true",
18243
+ "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18244
+ "fieldName": "hiddenFromAT",
18245
+ "inheritedFrom": {
18246
+ "name": "Flipper",
18247
+ "module": "src/flipper/flipper.ts"
18248
+ }
18249
+ },
18250
+ {
18251
+ "name": "direction",
18252
+ "type": {
18253
+ "text": "FlipperDirection"
18254
+ },
18255
+ "description": "The direction that the flipper implies navigating.",
18256
+ "fieldName": "direction",
18257
+ "inheritedFrom": {
18258
+ "name": "Flipper",
18259
+ "module": "src/flipper/flipper.ts"
18260
+ }
18261
+ }
18262
+ ],
18211
18263
  "members": [
18264
+ {
18265
+ "kind": "field",
18266
+ "name": "disabled",
18267
+ "type": {
18268
+ "text": "boolean"
18269
+ },
18270
+ "privacy": "public",
18271
+ "description": "The disabled state of the flipper.",
18272
+ "inheritedFrom": {
18273
+ "name": "Flipper",
18274
+ "module": "src/flipper/flipper.ts"
18275
+ }
18276
+ },
18277
+ {
18278
+ "kind": "field",
18279
+ "name": "hiddenFromAT",
18280
+ "type": {
18281
+ "text": "boolean"
18282
+ },
18283
+ "privacy": "public",
18284
+ "default": "true",
18285
+ "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18286
+ "inheritedFrom": {
18287
+ "name": "Flipper",
18288
+ "module": "src/flipper/flipper.ts"
18289
+ }
18290
+ },
18291
+ {
18292
+ "kind": "field",
18293
+ "name": "direction",
18294
+ "type": {
18295
+ "text": "FlipperDirection"
18296
+ },
18297
+ "privacy": "public",
18298
+ "description": "The direction that the flipper implies navigating.",
18299
+ "inheritedFrom": {
18300
+ "name": "Flipper",
18301
+ "module": "src/flipper/flipper.ts"
18302
+ }
18303
+ },
18304
+ {
18305
+ "kind": "method",
18306
+ "name": "keyupHandler",
18307
+ "privacy": "public",
18308
+ "parameters": [
18309
+ {
18310
+ "name": "e",
18311
+ "type": {
18312
+ "text": "Event & KeyboardEvent"
18313
+ },
18314
+ "description": "Keyboard event"
18315
+ }
18316
+ ],
18317
+ "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",
18318
+ "inheritedFrom": {
18319
+ "name": "Flipper",
18320
+ "module": "src/flipper/flipper.ts"
18321
+ }
18322
+ },
18212
18323
  {
18213
18324
  "kind": "field",
18214
18325
  "name": "_presentation",
@@ -18320,59 +18431,79 @@
18320
18431
  "module": "src/foundation-element/foundation-element.ts"
18321
18432
  }
18322
18433
  }
18434
+ ],
18435
+ "events": [
18436
+ {
18437
+ "description": "Fires a custom 'click' event when Enter or Space is invoked via keyboard and the flipper is exposed to assistive technologies.",
18438
+ "name": "click",
18439
+ "inheritedFrom": {
18440
+ "name": "Flipper",
18441
+ "module": "src/flipper/flipper.ts"
18442
+ }
18443
+ }
18323
18444
  ]
18324
18445
  },
18325
18446
  {
18326
18447
  "kind": "variable",
18327
- "name": "foundationFlexLayout",
18328
- "description": "The Foundation Flex Layout",
18448
+ "name": "foundationFlipperShadowOptions",
18449
+ "type": {
18450
+ "text": "ShadowRootInit"
18451
+ },
18452
+ "default": "undefined"
18453
+ },
18454
+ {
18455
+ "kind": "variable",
18456
+ "name": "defaultFlipperConfig",
18457
+ "type": {
18458
+ "text": "object"
18459
+ },
18460
+ "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}"
18461
+ },
18462
+ {
18463
+ "kind": "variable",
18464
+ "name": "foundationFlipper",
18465
+ "description": "The Foundation Flipper",
18329
18466
  "privacy": "public"
18330
18467
  }
18331
18468
  ],
18332
18469
  "exports": [
18333
18470
  {
18334
18471
  "kind": "js",
18335
- "name": "foundationFlexLayoutShadowOptions",
18472
+ "name": "Flipper",
18336
18473
  "declaration": {
18337
- "name": "foundationFlexLayoutShadowOptions",
18338
- "module": "src/flex-layout/flex-layout.ts"
18474
+ "name": "Flipper",
18475
+ "module": "src/flipper/flipper.ts"
18339
18476
  }
18340
18477
  },
18341
18478
  {
18342
18479
  "kind": "js",
18343
- "name": "defaultFlexLayoutConfig",
18480
+ "name": "foundationFlipperShadowOptions",
18344
18481
  "declaration": {
18345
- "name": "defaultFlexLayoutConfig",
18346
- "module": "src/flex-layout/flex-layout.ts"
18482
+ "name": "foundationFlipperShadowOptions",
18483
+ "module": "src/flipper/flipper.ts"
18347
18484
  }
18348
18485
  },
18349
18486
  {
18350
18487
  "kind": "js",
18351
- "name": "FlexLayout",
18488
+ "name": "defaultFlipperConfig",
18352
18489
  "declaration": {
18353
- "name": "FlexLayout",
18354
- "module": "src/flex-layout/flex-layout.ts"
18490
+ "name": "defaultFlipperConfig",
18491
+ "module": "src/flipper/flipper.ts"
18355
18492
  }
18356
18493
  },
18357
18494
  {
18358
18495
  "kind": "js",
18359
- "name": "foundationFlexLayout",
18496
+ "name": "foundationFlipper",
18360
18497
  "declaration": {
18361
- "name": "foundationFlexLayout",
18362
- "module": "src/flex-layout/flex-layout.ts"
18498
+ "name": "foundationFlipper",
18499
+ "module": "src/flipper/flipper.ts"
18363
18500
  }
18364
18501
  }
18365
18502
  ]
18366
18503
  },
18367
18504
  {
18368
18505
  "kind": "javascript-module",
18369
- "path": "src/flex-layout/flex-layout.types.ts",
18370
- "declarations": [],
18371
- "exports": []
18372
- },
18373
- {
18374
- "kind": "javascript-module",
18375
- "path": "src/flex-layout/index.ts",
18506
+ "path": "src/flipper/index.ts",
18376
18507
  "declarations": [],
18377
18508
  "exports": [
18378
18509
  {
@@ -18380,15 +18511,7 @@
18380
18511
  "name": "*",
18381
18512
  "declaration": {
18382
18513
  "name": "*",
18383
- "package": "./flex-layout.template"
18384
- }
18385
- },
18386
- {
18387
- "kind": "js",
18388
- "name": "*",
18389
- "declaration": {
18390
- "name": "*",
18391
- "package": "./flex-layout.styles"
18514
+ "package": "./flipper.template"
18392
18515
  }
18393
18516
  },
18394
18517
  {
@@ -18396,7 +18519,7 @@
18396
18519
  "name": "*",
18397
18520
  "declaration": {
18398
18521
  "name": "*",
18399
- "package": "./flex-layout"
18522
+ "package": "./flipper.styles"
18400
18523
  }
18401
18524
  },
18402
18525
  {
@@ -18404,201 +18527,90 @@
18404
18527
  "name": "*",
18405
18528
  "declaration": {
18406
18529
  "name": "*",
18407
- "package": "./flex-layout.types"
18530
+ "package": "./flipper"
18408
18531
  }
18409
18532
  }
18410
18533
  ]
18411
18534
  },
18412
18535
  {
18413
18536
  "kind": "javascript-module",
18414
- "path": "src/flipper/flipper.styles.ts",
18537
+ "path": "src/flex-layout/flex-layout.styles.ts",
18415
18538
  "declarations": [
18416
18539
  {
18417
- "kind": "function",
18418
- "name": "foundationFlipperStyles",
18419
- "return": {
18420
- "type": {
18421
- "text": "ElementStyles"
18422
- }
18540
+ "kind": "variable",
18541
+ "name": "foundationFlexLayoutStyles",
18542
+ "type": {
18543
+ "text": "ElementStyles"
18423
18544
  },
18424
- "parameters": [
18425
- {
18426
- "name": "context",
18427
- "type": {
18428
- "text": "ElementDefinitionContext"
18429
- }
18430
- },
18431
- {
18432
- "name": "definition",
18433
- "type": {
18434
- "text": "FlipperOptions"
18435
- }
18436
- }
18437
- ]
18545
+ "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`"
18438
18546
  }
18439
18547
  ],
18440
18548
  "exports": [
18441
18549
  {
18442
18550
  "kind": "js",
18443
- "name": "foundationFlipperStyles",
18551
+ "name": "foundationFlexLayoutStyles",
18444
18552
  "declaration": {
18445
- "name": "foundationFlipperStyles",
18446
- "module": "src/flipper/flipper.styles.ts"
18553
+ "name": "foundationFlexLayoutStyles",
18554
+ "module": "src/flex-layout/flex-layout.styles.ts"
18447
18555
  }
18448
18556
  }
18449
18557
  ]
18450
18558
  },
18451
18559
  {
18452
18560
  "kind": "javascript-module",
18453
- "path": "src/flipper/flipper.template.ts",
18561
+ "path": "src/flex-layout/flex-layout.template.ts",
18454
18562
  "declarations": [
18455
18563
  {
18456
- "kind": "function",
18457
- "name": "foundationFlipperTemplate",
18458
- "return": {
18459
- "type": {
18460
- "text": "ViewTemplate<Flipper>"
18461
- }
18564
+ "kind": "variable",
18565
+ "name": "foundationFlexLayoutTemplate",
18566
+ "type": {
18567
+ "text": "ViewTemplate<FlexLayout>"
18462
18568
  },
18463
- "parameters": [
18464
- {
18465
- "name": "context",
18466
- "type": {
18467
- "text": "ElementDefinitionContext"
18468
- }
18469
- },
18470
- {
18471
- "name": "definition",
18472
- "type": {
18473
- "text": "FlipperOptions"
18474
- }
18475
- }
18476
- ]
18569
+ "default": "html`\n <template>\n <slot></slot>\n </template>\n`"
18477
18570
  }
18478
18571
  ],
18479
18572
  "exports": [
18480
18573
  {
18481
18574
  "kind": "js",
18482
- "name": "foundationFlipperTemplate",
18575
+ "name": "foundationFlexLayoutTemplate",
18483
18576
  "declaration": {
18484
- "name": "foundationFlipperTemplate",
18485
- "module": "src/flipper/flipper.template.ts"
18577
+ "name": "foundationFlexLayoutTemplate",
18578
+ "module": "src/flex-layout/flex-layout.template.ts"
18486
18579
  }
18487
18580
  }
18488
18581
  ]
18489
18582
  },
18490
18583
  {
18491
18584
  "kind": "javascript-module",
18492
- "path": "src/flipper/flipper.ts",
18585
+ "path": "src/flex-layout/flex-layout.ts",
18493
18586
  "declarations": [
18587
+ {
18588
+ "kind": "variable",
18589
+ "name": "foundationFlexLayoutShadowOptions",
18590
+ "type": {
18591
+ "text": "ShadowRootInit"
18592
+ },
18593
+ "default": "undefined"
18594
+ },
18595
+ {
18596
+ "kind": "variable",
18597
+ "name": "defaultFlexLayoutConfig",
18598
+ "type": {
18599
+ "text": "object"
18600
+ },
18601
+ "default": "{}"
18602
+ },
18494
18603
  {
18495
18604
  "kind": "class",
18496
18605
  "description": "",
18497
- "name": "Flipper",
18606
+ "name": "FlexLayout",
18498
18607
  "superclass": {
18499
- "name": "FASTFlipper",
18500
- "package": "@microsoft/fast-components"
18608
+ "name": "FoundationElement",
18609
+ "package": "@microsoft/fast-foundation"
18501
18610
  },
18502
- "tagName": "%%prefix%%-flipper",
18611
+ "tagName": "%%prefix%%-flex-layout",
18503
18612
  "customElement": true,
18504
- "attributes": [
18505
- {
18506
- "type": {
18507
- "text": "boolean"
18508
- },
18509
- "description": "The disabled state of the flipper.",
18510
- "fieldName": "disabled",
18511
- "inheritedFrom": {
18512
- "name": "Flipper",
18513
- "module": "src/flipper/flipper.ts"
18514
- }
18515
- },
18516
- {
18517
- "name": "aria-hidden",
18518
- "type": {
18519
- "text": "boolean"
18520
- },
18521
- "default": "true",
18522
- "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18523
- "fieldName": "hiddenFromAT",
18524
- "inheritedFrom": {
18525
- "name": "Flipper",
18526
- "module": "src/flipper/flipper.ts"
18527
- }
18528
- },
18529
- {
18530
- "name": "direction",
18531
- "type": {
18532
- "text": "FlipperDirection"
18533
- },
18534
- "description": "The direction that the flipper implies navigating.",
18535
- "fieldName": "direction",
18536
- "inheritedFrom": {
18537
- "name": "Flipper",
18538
- "module": "src/flipper/flipper.ts"
18539
- }
18540
- }
18541
- ],
18542
18613
  "members": [
18543
- {
18544
- "kind": "field",
18545
- "name": "disabled",
18546
- "type": {
18547
- "text": "boolean"
18548
- },
18549
- "privacy": "public",
18550
- "description": "The disabled state of the flipper.",
18551
- "inheritedFrom": {
18552
- "name": "Flipper",
18553
- "module": "src/flipper/flipper.ts"
18554
- }
18555
- },
18556
- {
18557
- "kind": "field",
18558
- "name": "hiddenFromAT",
18559
- "type": {
18560
- "text": "boolean"
18561
- },
18562
- "privacy": "public",
18563
- "default": "true",
18564
- "description": "Indicates the flipper should be hidden from assistive technology. Because flippers are often supplementary navigation, they are often hidden from assistive technology.",
18565
- "inheritedFrom": {
18566
- "name": "Flipper",
18567
- "module": "src/flipper/flipper.ts"
18568
- }
18569
- },
18570
- {
18571
- "kind": "field",
18572
- "name": "direction",
18573
- "type": {
18574
- "text": "FlipperDirection"
18575
- },
18576
- "privacy": "public",
18577
- "description": "The direction that the flipper implies navigating.",
18578
- "inheritedFrom": {
18579
- "name": "Flipper",
18580
- "module": "src/flipper/flipper.ts"
18581
- }
18582
- },
18583
- {
18584
- "kind": "method",
18585
- "name": "keyupHandler",
18586
- "privacy": "public",
18587
- "parameters": [
18588
- {
18589
- "name": "e",
18590
- "type": {
18591
- "text": "Event & KeyboardEvent"
18592
- },
18593
- "description": "Keyboard event"
18594
- }
18595
- ],
18596
- "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",
18597
- "inheritedFrom": {
18598
- "name": "Flipper",
18599
- "module": "src/flipper/flipper.ts"
18600
- }
18601
- },
18602
18614
  {
18603
18615
  "kind": "field",
18604
18616
  "name": "_presentation",
@@ -18710,79 +18722,59 @@
18710
18722
  "module": "src/foundation-element/foundation-element.ts"
18711
18723
  }
18712
18724
  }
18713
- ],
18714
- "events": [
18715
- {
18716
- "description": "Fires a custom 'click' event when Enter or Space is invoked via keyboard and the flipper is exposed to assistive technologies.",
18717
- "name": "click",
18718
- "inheritedFrom": {
18719
- "name": "Flipper",
18720
- "module": "src/flipper/flipper.ts"
18721
- }
18722
- }
18723
18725
  ]
18724
18726
  },
18725
18727
  {
18726
18728
  "kind": "variable",
18727
- "name": "foundationFlipperShadowOptions",
18728
- "type": {
18729
- "text": "ShadowRootInit"
18730
- },
18731
- "default": "undefined"
18732
- },
18733
- {
18734
- "kind": "variable",
18735
- "name": "defaultFlipperConfig",
18736
- "type": {
18737
- "text": "object"
18738
- },
18739
- "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}"
18740
- },
18741
- {
18742
- "kind": "variable",
18743
- "name": "foundationFlipper",
18744
- "description": "The Foundation Flipper",
18729
+ "name": "foundationFlexLayout",
18730
+ "description": "The Foundation Flex Layout",
18745
18731
  "privacy": "public"
18746
18732
  }
18747
18733
  ],
18748
18734
  "exports": [
18749
18735
  {
18750
18736
  "kind": "js",
18751
- "name": "Flipper",
18737
+ "name": "foundationFlexLayoutShadowOptions",
18752
18738
  "declaration": {
18753
- "name": "Flipper",
18754
- "module": "src/flipper/flipper.ts"
18739
+ "name": "foundationFlexLayoutShadowOptions",
18740
+ "module": "src/flex-layout/flex-layout.ts"
18755
18741
  }
18756
18742
  },
18757
18743
  {
18758
18744
  "kind": "js",
18759
- "name": "foundationFlipperShadowOptions",
18745
+ "name": "defaultFlexLayoutConfig",
18760
18746
  "declaration": {
18761
- "name": "foundationFlipperShadowOptions",
18762
- "module": "src/flipper/flipper.ts"
18747
+ "name": "defaultFlexLayoutConfig",
18748
+ "module": "src/flex-layout/flex-layout.ts"
18763
18749
  }
18764
18750
  },
18765
18751
  {
18766
18752
  "kind": "js",
18767
- "name": "defaultFlipperConfig",
18753
+ "name": "FlexLayout",
18768
18754
  "declaration": {
18769
- "name": "defaultFlipperConfig",
18770
- "module": "src/flipper/flipper.ts"
18755
+ "name": "FlexLayout",
18756
+ "module": "src/flex-layout/flex-layout.ts"
18771
18757
  }
18772
18758
  },
18773
18759
  {
18774
18760
  "kind": "js",
18775
- "name": "foundationFlipper",
18761
+ "name": "foundationFlexLayout",
18776
18762
  "declaration": {
18777
- "name": "foundationFlipper",
18778
- "module": "src/flipper/flipper.ts"
18763
+ "name": "foundationFlexLayout",
18764
+ "module": "src/flex-layout/flex-layout.ts"
18779
18765
  }
18780
18766
  }
18781
18767
  ]
18782
18768
  },
18783
18769
  {
18784
18770
  "kind": "javascript-module",
18785
- "path": "src/flipper/index.ts",
18771
+ "path": "src/flex-layout/flex-layout.types.ts",
18772
+ "declarations": [],
18773
+ "exports": []
18774
+ },
18775
+ {
18776
+ "kind": "javascript-module",
18777
+ "path": "src/flex-layout/index.ts",
18786
18778
  "declarations": [],
18787
18779
  "exports": [
18788
18780
  {
@@ -18790,7 +18782,7 @@
18790
18782
  "name": "*",
18791
18783
  "declaration": {
18792
18784
  "name": "*",
18793
- "package": "./flipper.template"
18785
+ "package": "./flex-layout.template"
18794
18786
  }
18795
18787
  },
18796
18788
  {
@@ -18798,7 +18790,7 @@
18798
18790
  "name": "*",
18799
18791
  "declaration": {
18800
18792
  "name": "*",
18801
- "package": "./flipper.styles"
18793
+ "package": "./flex-layout.styles"
18802
18794
  }
18803
18795
  },
18804
18796
  {
@@ -18806,7 +18798,15 @@
18806
18798
  "name": "*",
18807
18799
  "declaration": {
18808
18800
  "name": "*",
18809
- "package": "./flipper"
18801
+ "package": "./flex-layout"
18802
+ }
18803
+ },
18804
+ {
18805
+ "kind": "js",
18806
+ "name": "*",
18807
+ "declaration": {
18808
+ "name": "*",
18809
+ "package": "./flex-layout.types"
18810
18810
  }
18811
18811
  }
18812
18812
  ]
@@ -23457,468 +23457,6 @@
23457
23457
  }
23458
23458
  ]
23459
23459
  },
23460
- {
23461
- "kind": "javascript-module",
23462
- "path": "src/modal/index.ts",
23463
- "declarations": [],
23464
- "exports": [
23465
- {
23466
- "kind": "js",
23467
- "name": "*",
23468
- "declaration": {
23469
- "name": "*",
23470
- "package": "./modal.styles"
23471
- }
23472
- },
23473
- {
23474
- "kind": "js",
23475
- "name": "*",
23476
- "declaration": {
23477
- "name": "*",
23478
- "package": "./modal.template"
23479
- }
23480
- },
23481
- {
23482
- "kind": "js",
23483
- "name": "*",
23484
- "declaration": {
23485
- "name": "*",
23486
- "package": "./modal"
23487
- }
23488
- }
23489
- ]
23490
- },
23491
- {
23492
- "kind": "javascript-module",
23493
- "path": "src/modal/modal.styles.ts",
23494
- "declarations": [
23495
- {
23496
- "kind": "variable",
23497
- "name": "foundationModalStyles",
23498
- "type": {
23499
- "text": "ElementStyles"
23500
- },
23501
- "default": "css`\n ${foundationDialogStyles}\n`"
23502
- }
23503
- ],
23504
- "exports": [
23505
- {
23506
- "kind": "js",
23507
- "name": "foundationModalStyles",
23508
- "declaration": {
23509
- "name": "foundationModalStyles",
23510
- "module": "src/modal/modal.styles.ts"
23511
- }
23512
- }
23513
- ]
23514
- },
23515
- {
23516
- "kind": "javascript-module",
23517
- "path": "src/modal/modal.template.ts",
23518
- "declarations": [
23519
- {
23520
- "kind": "variable",
23521
- "name": "foundationModalTemplate",
23522
- "type": {
23523
- "text": "ViewTemplate<Modal>"
23524
- },
23525
- "default": "html`\n ${foundationDialogTemplate}\n`"
23526
- }
23527
- ],
23528
- "exports": [
23529
- {
23530
- "kind": "js",
23531
- "name": "foundationModalTemplate",
23532
- "declaration": {
23533
- "name": "foundationModalTemplate",
23534
- "module": "src/modal/modal.template.ts"
23535
- }
23536
- }
23537
- ]
23538
- },
23539
- {
23540
- "kind": "javascript-module",
23541
- "path": "src/modal/modal.ts",
23542
- "declarations": [
23543
- {
23544
- "kind": "variable",
23545
- "name": "foundationModalShadowOptions",
23546
- "type": {
23547
- "text": "ShadowRootInit"
23548
- },
23549
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
23550
- },
23551
- {
23552
- "kind": "variable",
23553
- "name": "defaultModalConfig",
23554
- "type": {
23555
- "text": "object"
23556
- },
23557
- "default": "{}"
23558
- },
23559
- {
23560
- "kind": "class",
23561
- "description": "",
23562
- "name": "Modal",
23563
- "members": [
23564
- {
23565
- "kind": "method",
23566
- "name": "show",
23567
- "return": {
23568
- "type": {
23569
- "text": "void"
23570
- }
23571
- },
23572
- "description": "Show the HTMLDialogElement and its contents",
23573
- "inheritedFrom": {
23574
- "name": "<local>_DialogElement",
23575
- "module": "src/dialog/dialog.ts"
23576
- }
23577
- },
23578
- {
23579
- "kind": "field",
23580
- "name": "mainElement",
23581
- "type": {
23582
- "text": "HTMLDialogElement"
23583
- },
23584
- "description": "A reference to the dialog element\nin the component Shadow DOM.",
23585
- "inheritedFrom": {
23586
- "name": "<local>_DialogElement",
23587
- "module": "src/dialog/dialog.ts"
23588
- }
23589
- },
23590
- {
23591
- "kind": "field",
23592
- "name": "notification",
23593
- "type": {
23594
- "text": "NotificationStructure"
23595
- },
23596
- "inheritedFrom": {
23597
- "name": "<local>_DialogElement",
23598
- "module": "src/dialog/dialog.ts"
23599
- }
23600
- },
23601
- {
23602
- "kind": "method",
23603
- "name": "notificationChanged",
23604
- "inheritedFrom": {
23605
- "name": "<local>_DialogElement",
23606
- "module": "src/dialog/dialog.ts"
23607
- }
23608
- },
23609
- {
23610
- "kind": "field",
23611
- "name": "type",
23612
- "type": {
23613
- "text": "DialogType"
23614
- },
23615
- "default": "'default'",
23616
- "inheritedFrom": {
23617
- "name": "<local>_DialogElement",
23618
- "module": "src/dialog/dialog.ts"
23619
- }
23620
- },
23621
- {
23622
- "kind": "field",
23623
- "name": "position",
23624
- "type": {
23625
- "text": "DialogPosition"
23626
- },
23627
- "default": "'center'",
23628
- "inheritedFrom": {
23629
- "name": "<local>_DialogElement",
23630
- "module": "src/dialog/dialog.ts"
23631
- }
23632
- },
23633
- {
23634
- "kind": "field",
23635
- "name": "showCloseIcon",
23636
- "type": {
23637
- "text": "boolean"
23638
- },
23639
- "default": "true",
23640
- "description": "Whether or not to show the close icon",
23641
- "inheritedFrom": {
23642
- "name": "<local>_DialogElement",
23643
- "module": "src/dialog/dialog.ts"
23644
- }
23645
- },
23646
- {
23647
- "kind": "field",
23648
- "name": "onShowCallback",
23649
- "type": {
23650
- "text": "() => void"
23651
- },
23652
- "description": "Callback to run *before* HTMLDialogElement is shown",
23653
- "inheritedFrom": {
23654
- "name": "<local>_DialogElement",
23655
- "module": "src/dialog/dialog.ts"
23656
- }
23657
- },
23658
- {
23659
- "kind": "field",
23660
- "name": "onCloseCallback",
23661
- "type": {
23662
- "text": "() => void"
23663
- },
23664
- "description": "Callback to run *after* HTMLDialogElement is closed",
23665
- "inheritedFrom": {
23666
- "name": "<local>_DialogElement",
23667
- "module": "src/dialog/dialog.ts"
23668
- }
23669
- },
23670
- {
23671
- "kind": "field",
23672
- "name": "open",
23673
- "type": {
23674
- "text": "boolean"
23675
- },
23676
- "description": "Determine if the dialog is showing or closed.",
23677
- "readonly": true,
23678
- "inheritedFrom": {
23679
- "name": "<local>_DialogElement",
23680
- "module": "src/dialog/dialog.ts"
23681
- }
23682
- },
23683
- {
23684
- "kind": "method",
23685
- "name": "close",
23686
- "return": {
23687
- "type": {
23688
- "text": "void"
23689
- }
23690
- },
23691
- "description": "Remove the HTMLDialogElement from display",
23692
- "inheritedFrom": {
23693
- "name": "<local>_DialogElement",
23694
- "module": "src/dialog/dialog.ts"
23695
- }
23696
- },
23697
- {
23698
- "kind": "method",
23699
- "name": "dismiss",
23700
- "privacy": "public",
23701
- "description": "Dismiss the Dialog from display and calls the dismissing action.",
23702
- "inheritedFrom": {
23703
- "name": "<local>_DialogElement",
23704
- "module": "src/dialog/dialog.ts"
23705
- }
23706
- },
23707
- {
23708
- "kind": "method",
23709
- "name": "closeDialog",
23710
- "privacy": "public",
23711
- "return": {
23712
- "type": {
23713
- "text": "void"
23714
- }
23715
- },
23716
- "description": "Dismiss the Dialog from display.",
23717
- "inheritedFrom": {
23718
- "name": "<local>_DialogElement",
23719
- "module": "src/dialog/dialog.ts"
23720
- }
23721
- },
23722
- {
23723
- "kind": "field",
23724
- "name": "_presentation",
23725
- "type": {
23726
- "text": "ComponentPresentation | null | undefined"
23727
- },
23728
- "privacy": "private",
23729
- "default": "void 0",
23730
- "inheritedFrom": {
23731
- "name": "FoundationElement",
23732
- "module": "src/foundation-element/foundation-element.ts"
23733
- }
23734
- },
23735
- {
23736
- "kind": "field",
23737
- "name": "$presentation",
23738
- "type": {
23739
- "text": "ComponentPresentation | null"
23740
- },
23741
- "privacy": "public",
23742
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
23743
- "inheritedFrom": {
23744
- "name": "FoundationElement",
23745
- "module": "src/foundation-element/foundation-element.ts"
23746
- }
23747
- },
23748
- {
23749
- "kind": "field",
23750
- "name": "template",
23751
- "type": {
23752
- "text": "ElementViewTemplate | void | null"
23753
- },
23754
- "privacy": "public",
23755
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
23756
- "inheritedFrom": {
23757
- "name": "FoundationElement",
23758
- "module": "src/foundation-element/foundation-element.ts"
23759
- }
23760
- },
23761
- {
23762
- "kind": "method",
23763
- "name": "templateChanged",
23764
- "privacy": "protected",
23765
- "return": {
23766
- "type": {
23767
- "text": "void"
23768
- }
23769
- },
23770
- "inheritedFrom": {
23771
- "name": "FoundationElement",
23772
- "module": "src/foundation-element/foundation-element.ts"
23773
- }
23774
- },
23775
- {
23776
- "kind": "field",
23777
- "name": "styles",
23778
- "type": {
23779
- "text": "ElementStyles | void | null"
23780
- },
23781
- "privacy": "public",
23782
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
23783
- "inheritedFrom": {
23784
- "name": "FoundationElement",
23785
- "module": "src/foundation-element/foundation-element.ts"
23786
- }
23787
- },
23788
- {
23789
- "kind": "method",
23790
- "name": "stylesChanged",
23791
- "privacy": "protected",
23792
- "return": {
23793
- "type": {
23794
- "text": "void"
23795
- }
23796
- },
23797
- "inheritedFrom": {
23798
- "name": "FoundationElement",
23799
- "module": "src/foundation-element/foundation-element.ts"
23800
- }
23801
- },
23802
- {
23803
- "kind": "method",
23804
- "name": "compose",
23805
- "privacy": "public",
23806
- "static": true,
23807
- "return": {
23808
- "type": {
23809
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
23810
- }
23811
- },
23812
- "parameters": [
23813
- {
23814
- "name": "this",
23815
- "type": {
23816
- "text": "K"
23817
- }
23818
- },
23819
- {
23820
- "name": "elementDefinition",
23821
- "type": {
23822
- "text": "T"
23823
- },
23824
- "description": "The definition of the element to create the registry\nfunction for."
23825
- }
23826
- ],
23827
- "description": "Defines an element registry function with a set of element definition defaults.",
23828
- "inheritedFrom": {
23829
- "name": "FoundationElement",
23830
- "module": "src/foundation-element/foundation-element.ts"
23831
- }
23832
- }
23833
- ],
23834
- "superclass": {
23835
- "name": "DialogElement",
23836
- "module": "/src/dialog"
23837
- },
23838
- "tagName": "%%prefix%%-modal",
23839
- "customElement": true,
23840
- "attributes": [
23841
- {
23842
- "name": "type",
23843
- "type": {
23844
- "text": "DialogType"
23845
- },
23846
- "default": "'default'",
23847
- "fieldName": "type",
23848
- "inheritedFrom": {
23849
- "name": "<local>_DialogElement",
23850
- "module": "src/dialog/dialog.ts"
23851
- }
23852
- },
23853
- {
23854
- "name": "position",
23855
- "type": {
23856
- "text": "DialogPosition"
23857
- },
23858
- "default": "'center'",
23859
- "fieldName": "position",
23860
- "inheritedFrom": {
23861
- "name": "<local>_DialogElement",
23862
- "module": "src/dialog/dialog.ts"
23863
- }
23864
- },
23865
- {
23866
- "name": "show-close-icon",
23867
- "type": {
23868
- "text": "boolean"
23869
- },
23870
- "default": "true",
23871
- "description": "Whether or not to show the close icon",
23872
- "fieldName": "showCloseIcon",
23873
- "inheritedFrom": {
23874
- "name": "<local>_DialogElement",
23875
- "module": "src/dialog/dialog.ts"
23876
- }
23877
- }
23878
- ]
23879
- },
23880
- {
23881
- "kind": "variable",
23882
- "name": "foundationModal",
23883
- "description": "The Foundation Modal",
23884
- "privacy": "public"
23885
- }
23886
- ],
23887
- "exports": [
23888
- {
23889
- "kind": "js",
23890
- "name": "foundationModalShadowOptions",
23891
- "declaration": {
23892
- "name": "foundationModalShadowOptions",
23893
- "module": "src/modal/modal.ts"
23894
- }
23895
- },
23896
- {
23897
- "kind": "js",
23898
- "name": "defaultModalConfig",
23899
- "declaration": {
23900
- "name": "defaultModalConfig",
23901
- "module": "src/modal/modal.ts"
23902
- }
23903
- },
23904
- {
23905
- "kind": "js",
23906
- "name": "Modal",
23907
- "declaration": {
23908
- "name": "Modal",
23909
- "module": "src/modal/modal.ts"
23910
- }
23911
- },
23912
- {
23913
- "kind": "js",
23914
- "name": "foundationModal",
23915
- "declaration": {
23916
- "name": "foundationModal",
23917
- "module": "src/modal/modal.ts"
23918
- }
23919
- }
23920
- ]
23921
- },
23922
23460
  {
23923
23461
  "kind": "javascript-module",
23924
23462
  "path": "src/multiselect/index.ts",
@@ -24661,84 +24199,402 @@
24661
24199
  "fieldName": "async"
24662
24200
  },
24663
24201
  {
24664
- "name": "debounce",
24202
+ "name": "debounce",
24203
+ "type": {
24204
+ "text": "number"
24205
+ },
24206
+ "default": "DEBOUNCE_TIME",
24207
+ "resolveInitializer": {
24208
+ "module": "src/multiselect/multiselect.ts"
24209
+ },
24210
+ "fieldName": "debounce"
24211
+ },
24212
+ {
24213
+ "name": "filter-by-contains",
24214
+ "type": {
24215
+ "text": "boolean"
24216
+ },
24217
+ "default": "false",
24218
+ "description": "Tells if the filter uses a contains; if FALSE, will filter using a starts-with check",
24219
+ "fieldName": "filterByContains"
24220
+ },
24221
+ {
24222
+ "name": "position",
24223
+ "type": {
24224
+ "text": "Position"
24225
+ },
24226
+ "description": "Controls the positioning of the multiselect dropdown. Accepts the following values:\n- Position.ABOVE: Forces the dropdown to always open above the input field.\n- Position.BELOW: Forces the dropdown to always open below the input field.",
24227
+ "fieldName": "position"
24228
+ }
24229
+ ],
24230
+ "superclass": {
24231
+ "name": "FoundationElement",
24232
+ "package": "@microsoft/fast-foundation"
24233
+ },
24234
+ "tagName": "%%prefix%%-multiselect",
24235
+ "customElement": true
24236
+ },
24237
+ {
24238
+ "kind": "variable",
24239
+ "name": "foundationMultiselect"
24240
+ }
24241
+ ],
24242
+ "exports": [
24243
+ {
24244
+ "kind": "js",
24245
+ "name": "foundationMultiselectShadowOptions",
24246
+ "declaration": {
24247
+ "name": "foundationMultiselectShadowOptions",
24248
+ "module": "src/multiselect/multiselect.ts"
24249
+ }
24250
+ },
24251
+ {
24252
+ "kind": "js",
24253
+ "name": "defaultMultiselectConfig",
24254
+ "declaration": {
24255
+ "name": "defaultMultiselectConfig",
24256
+ "module": "src/multiselect/multiselect.ts"
24257
+ }
24258
+ },
24259
+ {
24260
+ "kind": "js",
24261
+ "name": "Multiselect",
24262
+ "declaration": {
24263
+ "name": "Multiselect",
24264
+ "module": "src/multiselect/multiselect.ts"
24265
+ }
24266
+ },
24267
+ {
24268
+ "kind": "js",
24269
+ "name": "foundationMultiselect",
24270
+ "declaration": {
24271
+ "name": "foundationMultiselect",
24272
+ "module": "src/multiselect/multiselect.ts"
24273
+ }
24274
+ }
24275
+ ]
24276
+ },
24277
+ {
24278
+ "kind": "javascript-module",
24279
+ "path": "src/notification-listener/index.ts",
24280
+ "declarations": [],
24281
+ "exports": [
24282
+ {
24283
+ "kind": "js",
24284
+ "name": "*",
24285
+ "declaration": {
24286
+ "name": "*",
24287
+ "package": "./notification-listener.template"
24288
+ }
24289
+ },
24290
+ {
24291
+ "kind": "js",
24292
+ "name": "*",
24293
+ "declaration": {
24294
+ "name": "*",
24295
+ "package": "./notification-listener"
24296
+ }
24297
+ }
24298
+ ]
24299
+ },
24300
+ {
24301
+ "kind": "javascript-module",
24302
+ "path": "src/notification-listener/notification-listener.template.ts",
24303
+ "declarations": [
24304
+ {
24305
+ "kind": "variable",
24306
+ "name": "foundationNotificationListenerTemplate",
24307
+ "type": {
24308
+ "text": "ViewTemplate<NotificationListener>"
24309
+ },
24310
+ "default": "html<NotificationListener>`\n <template ${ref('notificationListener')}>\n <slot></slot>\n </template>\n`"
24311
+ }
24312
+ ],
24313
+ "exports": [
24314
+ {
24315
+ "kind": "js",
24316
+ "name": "foundationNotificationListenerTemplate",
24317
+ "declaration": {
24318
+ "name": "foundationNotificationListenerTemplate",
24319
+ "module": "src/notification-listener/notification-listener.template.ts"
24320
+ }
24321
+ }
24322
+ ]
24323
+ },
24324
+ {
24325
+ "kind": "javascript-module",
24326
+ "path": "src/notification-listener/notification-listener.ts",
24327
+ "declarations": [
24328
+ {
24329
+ "kind": "variable",
24330
+ "name": "foundationNotificationListenerShadowOptions",
24331
+ "type": {
24332
+ "text": "ShadowRootInit"
24333
+ },
24334
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
24335
+ },
24336
+ {
24337
+ "kind": "class",
24338
+ "description": "",
24339
+ "name": "NotificationListener",
24340
+ "members": [
24341
+ {
24342
+ "kind": "field",
24343
+ "name": "notificationListener",
24344
+ "type": {
24345
+ "text": "HTMLElement"
24346
+ }
24347
+ },
24348
+ {
24349
+ "kind": "field",
24350
+ "name": "resourceName",
24351
+ "description": "The resource name holding new and existing notifications",
24352
+ "privacy": "public"
24353
+ },
24354
+ {
24355
+ "kind": "field",
24356
+ "name": "closeTimeout",
24357
+ "type": {
24358
+ "text": "number"
24359
+ },
24360
+ "default": "0",
24361
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
24362
+ "privacy": "public"
24363
+ },
24364
+ {
24365
+ "kind": "field",
24366
+ "name": "toastButtons",
24367
+ "type": {
24368
+ "text": "ToastButton[]"
24369
+ },
24370
+ "default": "[]",
24371
+ "description": "Array of buttons for notification toasts",
24372
+ "privacy": "public"
24373
+ },
24374
+ {
24375
+ "kind": "field",
24376
+ "name": "dataSub",
24377
+ "type": {
24378
+ "text": "Subscription"
24379
+ },
24380
+ "privacy": "protected"
24381
+ },
24382
+ {
24383
+ "kind": "field",
24384
+ "name": "datasource",
24385
+ "type": {
24386
+ "text": "Datasource"
24387
+ },
24388
+ "privacy": "private"
24389
+ },
24390
+ {
24391
+ "kind": "method",
24392
+ "name": "handleStreamUpdate",
24393
+ "privacy": "private",
24394
+ "return": {
24395
+ "type": {
24396
+ "text": "void"
24397
+ }
24398
+ },
24399
+ "parameters": [
24400
+ {
24401
+ "name": "dataServerResult",
24402
+ "type": {
24403
+ "text": "any"
24404
+ }
24405
+ }
24406
+ ]
24407
+ },
24408
+ {
24409
+ "kind": "method",
24410
+ "name": "showNotificationToast",
24411
+ "privacy": "protected",
24412
+ "return": {
24413
+ "type": {
24414
+ "text": "void"
24415
+ }
24416
+ },
24417
+ "parameters": [
24418
+ {
24419
+ "name": "row",
24420
+ "type": {
24421
+ "text": "NotificationDataRow"
24422
+ }
24423
+ }
24424
+ ]
24425
+ },
24426
+ {
24427
+ "kind": "field",
24428
+ "name": "_presentation",
24429
+ "type": {
24430
+ "text": "ComponentPresentation | null | undefined"
24431
+ },
24432
+ "privacy": "private",
24433
+ "default": "void 0",
24434
+ "inheritedFrom": {
24435
+ "name": "FoundationElement",
24436
+ "module": "src/foundation-element/foundation-element.ts"
24437
+ }
24438
+ },
24439
+ {
24440
+ "kind": "field",
24441
+ "name": "$presentation",
24442
+ "type": {
24443
+ "text": "ComponentPresentation | null"
24444
+ },
24445
+ "privacy": "public",
24446
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
24447
+ "inheritedFrom": {
24448
+ "name": "FoundationElement",
24449
+ "module": "src/foundation-element/foundation-element.ts"
24450
+ }
24451
+ },
24452
+ {
24453
+ "kind": "field",
24454
+ "name": "template",
24455
+ "type": {
24456
+ "text": "ElementViewTemplate | void | null"
24457
+ },
24458
+ "privacy": "public",
24459
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
24460
+ "inheritedFrom": {
24461
+ "name": "FoundationElement",
24462
+ "module": "src/foundation-element/foundation-element.ts"
24463
+ }
24464
+ },
24465
+ {
24466
+ "kind": "method",
24467
+ "name": "templateChanged",
24468
+ "privacy": "protected",
24469
+ "return": {
24470
+ "type": {
24471
+ "text": "void"
24472
+ }
24473
+ },
24474
+ "inheritedFrom": {
24475
+ "name": "FoundationElement",
24476
+ "module": "src/foundation-element/foundation-element.ts"
24477
+ }
24478
+ },
24479
+ {
24480
+ "kind": "field",
24481
+ "name": "styles",
24665
24482
  "type": {
24666
- "text": "number"
24483
+ "text": "ElementStyles | void | null"
24667
24484
  },
24668
- "default": "DEBOUNCE_TIME",
24669
- "resolveInitializer": {
24670
- "module": "src/multiselect/multiselect.ts"
24485
+ "privacy": "public",
24486
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
24487
+ "inheritedFrom": {
24488
+ "name": "FoundationElement",
24489
+ "module": "src/foundation-element/foundation-element.ts"
24490
+ }
24491
+ },
24492
+ {
24493
+ "kind": "method",
24494
+ "name": "stylesChanged",
24495
+ "privacy": "protected",
24496
+ "return": {
24497
+ "type": {
24498
+ "text": "void"
24499
+ }
24671
24500
  },
24672
- "fieldName": "debounce"
24501
+ "inheritedFrom": {
24502
+ "name": "FoundationElement",
24503
+ "module": "src/foundation-element/foundation-element.ts"
24504
+ }
24673
24505
  },
24674
24506
  {
24675
- "name": "filter-by-contains",
24676
- "type": {
24677
- "text": "boolean"
24507
+ "kind": "method",
24508
+ "name": "compose",
24509
+ "privacy": "public",
24510
+ "static": true,
24511
+ "return": {
24512
+ "type": {
24513
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
24514
+ }
24678
24515
  },
24679
- "default": "false",
24680
- "description": "Tells if the filter uses a contains; if FALSE, will filter using a starts-with check",
24681
- "fieldName": "filterByContains"
24516
+ "parameters": [
24517
+ {
24518
+ "name": "this",
24519
+ "type": {
24520
+ "text": "K"
24521
+ }
24522
+ },
24523
+ {
24524
+ "name": "elementDefinition",
24525
+ "type": {
24526
+ "text": "T"
24527
+ },
24528
+ "description": "The definition of the element to create the registry\nfunction for."
24529
+ }
24530
+ ],
24531
+ "description": "Defines an element registry function with a set of element definition defaults.",
24532
+ "inheritedFrom": {
24533
+ "name": "FoundationElement",
24534
+ "module": "src/foundation-element/foundation-element.ts"
24535
+ }
24536
+ }
24537
+ ],
24538
+ "attributes": [
24539
+ {
24540
+ "name": "resource-name",
24541
+ "description": "The resource name holding new and existing notifications",
24542
+ "fieldName": "resourceName"
24682
24543
  },
24683
24544
  {
24684
- "name": "position",
24545
+ "name": "close-timeout",
24685
24546
  "type": {
24686
- "text": "Position"
24547
+ "text": "number"
24687
24548
  },
24688
- "description": "Controls the positioning of the multiselect dropdown. Accepts the following values:\n- Position.ABOVE: Forces the dropdown to always open above the input field.\n- Position.BELOW: Forces the dropdown to always open below the input field.",
24689
- "fieldName": "position"
24549
+ "default": "0",
24550
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
24551
+ "fieldName": "closeTimeout"
24690
24552
  }
24691
24553
  ],
24692
24554
  "superclass": {
24693
24555
  "name": "FoundationElement",
24694
24556
  "package": "@microsoft/fast-foundation"
24695
24557
  },
24696
- "tagName": "%%prefix%%-multiselect",
24558
+ "tagName": "%%prefix%%-notification-listener",
24697
24559
  "customElement": true
24698
24560
  },
24699
24561
  {
24700
24562
  "kind": "variable",
24701
- "name": "foundationMultiselect"
24563
+ "name": "foundationNotificationListener",
24564
+ "description": "The Foundation Notification Listener",
24565
+ "privacy": "public"
24702
24566
  }
24703
24567
  ],
24704
24568
  "exports": [
24705
24569
  {
24706
24570
  "kind": "js",
24707
- "name": "foundationMultiselectShadowOptions",
24708
- "declaration": {
24709
- "name": "foundationMultiselectShadowOptions",
24710
- "module": "src/multiselect/multiselect.ts"
24711
- }
24712
- },
24713
- {
24714
- "kind": "js",
24715
- "name": "defaultMultiselectConfig",
24571
+ "name": "foundationNotificationListenerShadowOptions",
24716
24572
  "declaration": {
24717
- "name": "defaultMultiselectConfig",
24718
- "module": "src/multiselect/multiselect.ts"
24573
+ "name": "foundationNotificationListenerShadowOptions",
24574
+ "module": "src/notification-listener/notification-listener.ts"
24719
24575
  }
24720
24576
  },
24721
24577
  {
24722
24578
  "kind": "js",
24723
- "name": "Multiselect",
24579
+ "name": "NotificationListener",
24724
24580
  "declaration": {
24725
- "name": "Multiselect",
24726
- "module": "src/multiselect/multiselect.ts"
24581
+ "name": "NotificationListener",
24582
+ "module": "src/notification-listener/notification-listener.ts"
24727
24583
  }
24728
24584
  },
24729
24585
  {
24730
24586
  "kind": "js",
24731
- "name": "foundationMultiselect",
24587
+ "name": "foundationNotificationListener",
24732
24588
  "declaration": {
24733
- "name": "foundationMultiselect",
24734
- "module": "src/multiselect/multiselect.ts"
24589
+ "name": "foundationNotificationListener",
24590
+ "module": "src/notification-listener/notification-listener.ts"
24735
24591
  }
24736
24592
  }
24737
24593
  ]
24738
24594
  },
24739
24595
  {
24740
24596
  "kind": "javascript-module",
24741
- "path": "src/notification-listener/index.ts",
24597
+ "path": "src/modal/index.ts",
24742
24598
  "declarations": [],
24743
24599
  "exports": [
24744
24600
  {
@@ -24746,7 +24602,7 @@
24746
24602
  "name": "*",
24747
24603
  "declaration": {
24748
24604
  "name": "*",
24749
- "package": "./notification-listener.template"
24605
+ "package": "./modal.styles"
24750
24606
  }
24751
24607
  },
24752
24608
  {
@@ -24754,136 +24610,249 @@
24754
24610
  "name": "*",
24755
24611
  "declaration": {
24756
24612
  "name": "*",
24757
- "package": "./notification-listener"
24613
+ "package": "./modal.template"
24614
+ }
24615
+ },
24616
+ {
24617
+ "kind": "js",
24618
+ "name": "*",
24619
+ "declaration": {
24620
+ "name": "*",
24621
+ "package": "./modal"
24758
24622
  }
24759
24623
  }
24760
24624
  ]
24761
24625
  },
24762
24626
  {
24763
24627
  "kind": "javascript-module",
24764
- "path": "src/notification-listener/notification-listener.template.ts",
24628
+ "path": "src/modal/modal.styles.ts",
24765
24629
  "declarations": [
24766
24630
  {
24767
24631
  "kind": "variable",
24768
- "name": "foundationNotificationListenerTemplate",
24632
+ "name": "foundationModalStyles",
24769
24633
  "type": {
24770
- "text": "ViewTemplate<NotificationListener>"
24634
+ "text": "ElementStyles"
24771
24635
  },
24772
- "default": "html<NotificationListener>`\n <template ${ref('notificationListener')}>\n <slot></slot>\n </template>\n`"
24636
+ "default": "css`\n ${foundationDialogStyles}\n`"
24773
24637
  }
24774
24638
  ],
24775
24639
  "exports": [
24776
24640
  {
24777
24641
  "kind": "js",
24778
- "name": "foundationNotificationListenerTemplate",
24642
+ "name": "foundationModalStyles",
24779
24643
  "declaration": {
24780
- "name": "foundationNotificationListenerTemplate",
24781
- "module": "src/notification-listener/notification-listener.template.ts"
24644
+ "name": "foundationModalStyles",
24645
+ "module": "src/modal/modal.styles.ts"
24782
24646
  }
24783
24647
  }
24784
24648
  ]
24785
24649
  },
24786
24650
  {
24787
24651
  "kind": "javascript-module",
24788
- "path": "src/notification-listener/notification-listener.ts",
24652
+ "path": "src/modal/modal.template.ts",
24789
24653
  "declarations": [
24790
24654
  {
24791
24655
  "kind": "variable",
24792
- "name": "foundationNotificationListenerShadowOptions",
24656
+ "name": "foundationModalTemplate",
24657
+ "type": {
24658
+ "text": "ViewTemplate<Modal>"
24659
+ },
24660
+ "default": "html`\n ${foundationDialogTemplate}\n`"
24661
+ }
24662
+ ],
24663
+ "exports": [
24664
+ {
24665
+ "kind": "js",
24666
+ "name": "foundationModalTemplate",
24667
+ "declaration": {
24668
+ "name": "foundationModalTemplate",
24669
+ "module": "src/modal/modal.template.ts"
24670
+ }
24671
+ }
24672
+ ]
24673
+ },
24674
+ {
24675
+ "kind": "javascript-module",
24676
+ "path": "src/modal/modal.ts",
24677
+ "declarations": [
24678
+ {
24679
+ "kind": "variable",
24680
+ "name": "foundationModalShadowOptions",
24793
24681
  "type": {
24794
24682
  "text": "ShadowRootInit"
24795
24683
  },
24796
24684
  "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
24797
24685
  },
24686
+ {
24687
+ "kind": "variable",
24688
+ "name": "defaultModalConfig",
24689
+ "type": {
24690
+ "text": "object"
24691
+ },
24692
+ "default": "{}"
24693
+ },
24798
24694
  {
24799
24695
  "kind": "class",
24800
24696
  "description": "",
24801
- "name": "NotificationListener",
24697
+ "name": "Modal",
24802
24698
  "members": [
24699
+ {
24700
+ "kind": "method",
24701
+ "name": "show",
24702
+ "return": {
24703
+ "type": {
24704
+ "text": "void"
24705
+ }
24706
+ },
24707
+ "description": "Show the HTMLDialogElement and its contents",
24708
+ "inheritedFrom": {
24709
+ "name": "<local>_DialogElement",
24710
+ "module": "src/dialog/dialog.ts"
24711
+ }
24712
+ },
24803
24713
  {
24804
24714
  "kind": "field",
24805
- "name": "notificationListener",
24715
+ "name": "mainElement",
24806
24716
  "type": {
24807
- "text": "HTMLElement"
24717
+ "text": "HTMLDialogElement"
24718
+ },
24719
+ "description": "A reference to the dialog element\nin the component Shadow DOM.",
24720
+ "inheritedFrom": {
24721
+ "name": "<local>_DialogElement",
24722
+ "module": "src/dialog/dialog.ts"
24808
24723
  }
24809
24724
  },
24810
24725
  {
24811
24726
  "kind": "field",
24812
- "name": "resourceName",
24813
- "description": "The resource name holding new and existing notifications",
24814
- "privacy": "public"
24727
+ "name": "notification",
24728
+ "type": {
24729
+ "text": "NotificationStructure"
24730
+ },
24731
+ "inheritedFrom": {
24732
+ "name": "<local>_DialogElement",
24733
+ "module": "src/dialog/dialog.ts"
24734
+ }
24735
+ },
24736
+ {
24737
+ "kind": "method",
24738
+ "name": "notificationChanged",
24739
+ "inheritedFrom": {
24740
+ "name": "<local>_DialogElement",
24741
+ "module": "src/dialog/dialog.ts"
24742
+ }
24815
24743
  },
24816
24744
  {
24817
24745
  "kind": "field",
24818
- "name": "closeTimeout",
24746
+ "name": "type",
24819
24747
  "type": {
24820
- "text": "number"
24748
+ "text": "DialogType"
24821
24749
  },
24822
- "default": "0",
24823
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
24824
- "privacy": "public"
24750
+ "default": "'default'",
24751
+ "inheritedFrom": {
24752
+ "name": "<local>_DialogElement",
24753
+ "module": "src/dialog/dialog.ts"
24754
+ }
24825
24755
  },
24826
24756
  {
24827
24757
  "kind": "field",
24828
- "name": "toastButtons",
24758
+ "name": "position",
24829
24759
  "type": {
24830
- "text": "ToastButton[]"
24760
+ "text": "DialogPosition"
24831
24761
  },
24832
- "default": "[]",
24833
- "description": "Array of buttons for notification toasts",
24834
- "privacy": "public"
24762
+ "default": "'center'",
24763
+ "inheritedFrom": {
24764
+ "name": "<local>_DialogElement",
24765
+ "module": "src/dialog/dialog.ts"
24766
+ }
24835
24767
  },
24836
24768
  {
24837
24769
  "kind": "field",
24838
- "name": "dataSub",
24770
+ "name": "showCloseIcon",
24839
24771
  "type": {
24840
- "text": "Subscription"
24772
+ "text": "boolean"
24841
24773
  },
24842
- "privacy": "protected"
24774
+ "default": "true",
24775
+ "description": "Whether or not to show the close icon",
24776
+ "inheritedFrom": {
24777
+ "name": "<local>_DialogElement",
24778
+ "module": "src/dialog/dialog.ts"
24779
+ }
24843
24780
  },
24844
24781
  {
24845
24782
  "kind": "field",
24846
- "name": "datasource",
24783
+ "name": "onShowCallback",
24847
24784
  "type": {
24848
- "text": "Datasource"
24785
+ "text": "() => void"
24849
24786
  },
24850
- "privacy": "private"
24787
+ "description": "Callback to run *before* HTMLDialogElement is shown",
24788
+ "inheritedFrom": {
24789
+ "name": "<local>_DialogElement",
24790
+ "module": "src/dialog/dialog.ts"
24791
+ }
24792
+ },
24793
+ {
24794
+ "kind": "field",
24795
+ "name": "onCloseCallback",
24796
+ "type": {
24797
+ "text": "() => void"
24798
+ },
24799
+ "description": "Callback to run *after* HTMLDialogElement is closed",
24800
+ "inheritedFrom": {
24801
+ "name": "<local>_DialogElement",
24802
+ "module": "src/dialog/dialog.ts"
24803
+ }
24804
+ },
24805
+ {
24806
+ "kind": "field",
24807
+ "name": "open",
24808
+ "type": {
24809
+ "text": "boolean"
24810
+ },
24811
+ "description": "Determine if the dialog is showing or closed.",
24812
+ "readonly": true,
24813
+ "inheritedFrom": {
24814
+ "name": "<local>_DialogElement",
24815
+ "module": "src/dialog/dialog.ts"
24816
+ }
24851
24817
  },
24852
24818
  {
24853
24819
  "kind": "method",
24854
- "name": "handleStreamUpdate",
24855
- "privacy": "private",
24820
+ "name": "close",
24856
24821
  "return": {
24857
24822
  "type": {
24858
24823
  "text": "void"
24859
24824
  }
24860
24825
  },
24861
- "parameters": [
24862
- {
24863
- "name": "dataServerResult",
24864
- "type": {
24865
- "text": "any"
24866
- }
24867
- }
24868
- ]
24826
+ "description": "Remove the HTMLDialogElement from display",
24827
+ "inheritedFrom": {
24828
+ "name": "<local>_DialogElement",
24829
+ "module": "src/dialog/dialog.ts"
24830
+ }
24869
24831
  },
24870
24832
  {
24871
24833
  "kind": "method",
24872
- "name": "showNotificationToast",
24873
- "privacy": "protected",
24834
+ "name": "dismiss",
24835
+ "privacy": "public",
24836
+ "description": "Dismiss the Dialog from display and calls the dismissing action.",
24837
+ "inheritedFrom": {
24838
+ "name": "<local>_DialogElement",
24839
+ "module": "src/dialog/dialog.ts"
24840
+ }
24841
+ },
24842
+ {
24843
+ "kind": "method",
24844
+ "name": "closeDialog",
24845
+ "privacy": "public",
24874
24846
  "return": {
24875
24847
  "type": {
24876
24848
  "text": "void"
24877
24849
  }
24878
24850
  },
24879
- "parameters": [
24880
- {
24881
- "name": "row",
24882
- "type": {
24883
- "text": "NotificationDataRow"
24884
- }
24885
- }
24886
- ]
24851
+ "description": "Dismiss the Dialog from display.",
24852
+ "inheritedFrom": {
24853
+ "name": "<local>_DialogElement",
24854
+ "module": "src/dialog/dialog.ts"
24855
+ }
24887
24856
  },
24888
24857
  {
24889
24858
  "kind": "field",
@@ -24997,59 +24966,90 @@
24997
24966
  }
24998
24967
  }
24999
24968
  ],
24969
+ "superclass": {
24970
+ "name": "DialogElement",
24971
+ "module": "/src/dialog"
24972
+ },
24973
+ "tagName": "%%prefix%%-modal",
24974
+ "customElement": true,
25000
24975
  "attributes": [
25001
24976
  {
25002
- "name": "resource-name",
25003
- "description": "The resource name holding new and existing notifications",
25004
- "fieldName": "resourceName"
24977
+ "name": "type",
24978
+ "type": {
24979
+ "text": "DialogType"
24980
+ },
24981
+ "default": "'default'",
24982
+ "fieldName": "type",
24983
+ "inheritedFrom": {
24984
+ "name": "<local>_DialogElement",
24985
+ "module": "src/dialog/dialog.ts"
24986
+ }
25005
24987
  },
25006
24988
  {
25007
- "name": "close-timeout",
24989
+ "name": "position",
25008
24990
  "type": {
25009
- "text": "number"
24991
+ "text": "DialogPosition"
25010
24992
  },
25011
- "default": "0",
25012
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
25013
- "fieldName": "closeTimeout"
24993
+ "default": "'center'",
24994
+ "fieldName": "position",
24995
+ "inheritedFrom": {
24996
+ "name": "<local>_DialogElement",
24997
+ "module": "src/dialog/dialog.ts"
24998
+ }
24999
+ },
25000
+ {
25001
+ "name": "show-close-icon",
25002
+ "type": {
25003
+ "text": "boolean"
25004
+ },
25005
+ "default": "true",
25006
+ "description": "Whether or not to show the close icon",
25007
+ "fieldName": "showCloseIcon",
25008
+ "inheritedFrom": {
25009
+ "name": "<local>_DialogElement",
25010
+ "module": "src/dialog/dialog.ts"
25011
+ }
25014
25012
  }
25015
- ],
25016
- "superclass": {
25017
- "name": "FoundationElement",
25018
- "package": "@microsoft/fast-foundation"
25019
- },
25020
- "tagName": "%%prefix%%-notification-listener",
25021
- "customElement": true
25013
+ ]
25022
25014
  },
25023
25015
  {
25024
25016
  "kind": "variable",
25025
- "name": "foundationNotificationListener",
25026
- "description": "The Foundation Notification Listener",
25017
+ "name": "foundationModal",
25018
+ "description": "The Foundation Modal",
25027
25019
  "privacy": "public"
25028
25020
  }
25029
25021
  ],
25030
25022
  "exports": [
25031
25023
  {
25032
25024
  "kind": "js",
25033
- "name": "foundationNotificationListenerShadowOptions",
25025
+ "name": "foundationModalShadowOptions",
25034
25026
  "declaration": {
25035
- "name": "foundationNotificationListenerShadowOptions",
25036
- "module": "src/notification-listener/notification-listener.ts"
25027
+ "name": "foundationModalShadowOptions",
25028
+ "module": "src/modal/modal.ts"
25037
25029
  }
25038
25030
  },
25039
25031
  {
25040
25032
  "kind": "js",
25041
- "name": "NotificationListener",
25033
+ "name": "defaultModalConfig",
25042
25034
  "declaration": {
25043
- "name": "NotificationListener",
25044
- "module": "src/notification-listener/notification-listener.ts"
25035
+ "name": "defaultModalConfig",
25036
+ "module": "src/modal/modal.ts"
25045
25037
  }
25046
25038
  },
25047
25039
  {
25048
25040
  "kind": "js",
25049
- "name": "foundationNotificationListener",
25041
+ "name": "Modal",
25050
25042
  "declaration": {
25051
- "name": "foundationNotificationListener",
25052
- "module": "src/notification-listener/notification-listener.ts"
25043
+ "name": "Modal",
25044
+ "module": "src/modal/modal.ts"
25045
+ }
25046
+ },
25047
+ {
25048
+ "kind": "js",
25049
+ "name": "foundationModal",
25050
+ "declaration": {
25051
+ "name": "foundationModal",
25052
+ "module": "src/modal/modal.ts"
25053
25053
  }
25054
25054
  }
25055
25055
  ]
@@ -44301,6 +44301,55 @@
44301
44301
  }
44302
44302
  ]
44303
44303
  },
44304
+ {
44305
+ "kind": "javascript-module",
44306
+ "path": "src/flex-layout/responsiveness/flex-layout-rwd.styles.ts",
44307
+ "declarations": [
44308
+ {
44309
+ "kind": "function",
44310
+ "name": "flexLayoutRWDStyles",
44311
+ "return": {
44312
+ "type": {
44313
+ "text": "ElementStyles"
44314
+ }
44315
+ },
44316
+ "parameters": [
44317
+ {
44318
+ "name": "breakPoint",
44319
+ "optional": true,
44320
+ "type": {
44321
+ "text": "FlexBreakPointType"
44322
+ }
44323
+ }
44324
+ ]
44325
+ }
44326
+ ],
44327
+ "exports": [
44328
+ {
44329
+ "kind": "js",
44330
+ "name": "flexLayoutRWDStyles",
44331
+ "declaration": {
44332
+ "name": "flexLayoutRWDStyles",
44333
+ "module": "src/flex-layout/responsiveness/flex-layout-rwd.styles.ts"
44334
+ }
44335
+ }
44336
+ ]
44337
+ },
44338
+ {
44339
+ "kind": "javascript-module",
44340
+ "path": "src/flex-layout/responsiveness/index.ts",
44341
+ "declarations": [],
44342
+ "exports": [
44343
+ {
44344
+ "kind": "js",
44345
+ "name": "*",
44346
+ "declaration": {
44347
+ "name": "*",
44348
+ "package": "./flex-layout-rwd.styles"
44349
+ }
44350
+ }
44351
+ ]
44352
+ },
44304
44353
  {
44305
44354
  "kind": "javascript-module",
44306
44355
  "path": "src/_config/values/color.ts",
@@ -44450,55 +44499,6 @@
44450
44499
  "declarations": [],
44451
44500
  "exports": []
44452
44501
  },
44453
- {
44454
- "kind": "javascript-module",
44455
- "path": "src/flex-layout/responsiveness/flex-layout-rwd.styles.ts",
44456
- "declarations": [
44457
- {
44458
- "kind": "function",
44459
- "name": "flexLayoutRWDStyles",
44460
- "return": {
44461
- "type": {
44462
- "text": "ElementStyles"
44463
- }
44464
- },
44465
- "parameters": [
44466
- {
44467
- "name": "breakPoint",
44468
- "optional": true,
44469
- "type": {
44470
- "text": "FlexBreakPointType"
44471
- }
44472
- }
44473
- ]
44474
- }
44475
- ],
44476
- "exports": [
44477
- {
44478
- "kind": "js",
44479
- "name": "flexLayoutRWDStyles",
44480
- "declaration": {
44481
- "name": "flexLayoutRWDStyles",
44482
- "module": "src/flex-layout/responsiveness/flex-layout-rwd.styles.ts"
44483
- }
44484
- }
44485
- ]
44486
- },
44487
- {
44488
- "kind": "javascript-module",
44489
- "path": "src/flex-layout/responsiveness/index.ts",
44490
- "declarations": [],
44491
- "exports": [
44492
- {
44493
- "kind": "js",
44494
- "name": "*",
44495
- "declaration": {
44496
- "name": "*",
44497
- "package": "./flex-layout-rwd.styles"
44498
- }
44499
- }
44500
- ]
44501
- },
44502
44502
  {
44503
44503
  "kind": "javascript-module",
44504
44504
  "path": "src/grid-layout/responsiveness/grid-layout-rwd.styles.ts",