@genesislcap/foundation-ui 14.225.2 → 14.225.3-alpha-15b094e.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1966 -1966
  2. package/package.json +16 -16
@@ -887,188 +887,6 @@
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
- },
1072
890
  {
1073
891
  "kind": "javascript-module",
1074
892
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1463,6 +1281,188 @@
1463
1281
  }
1464
1282
  ]
1465
1283
  },
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",
@@ -18130,6 +18130,285 @@
18130
18130
  }
18131
18131
  ]
18132
18132
  },
18133
+ {
18134
+ "kind": "javascript-module",
18135
+ "path": "src/flex-layout/flex-layout.styles.ts",
18136
+ "declarations": [
18137
+ {
18138
+ "kind": "variable",
18139
+ "name": "foundationFlexLayoutStyles",
18140
+ "type": {
18141
+ "text": "ElementStyles"
18142
+ },
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`"
18144
+ }
18145
+ ],
18146
+ "exports": [
18147
+ {
18148
+ "kind": "js",
18149
+ "name": "foundationFlexLayoutStyles",
18150
+ "declaration": {
18151
+ "name": "foundationFlexLayoutStyles",
18152
+ "module": "src/flex-layout/flex-layout.styles.ts"
18153
+ }
18154
+ }
18155
+ ]
18156
+ },
18157
+ {
18158
+ "kind": "javascript-module",
18159
+ "path": "src/flex-layout/flex-layout.template.ts",
18160
+ "declarations": [
18161
+ {
18162
+ "kind": "variable",
18163
+ "name": "foundationFlexLayoutTemplate",
18164
+ "type": {
18165
+ "text": "ViewTemplate<FlexLayout>"
18166
+ },
18167
+ "default": "html`\n <template>\n <slot></slot>\n </template>\n`"
18168
+ }
18169
+ ],
18170
+ "exports": [
18171
+ {
18172
+ "kind": "js",
18173
+ "name": "foundationFlexLayoutTemplate",
18174
+ "declaration": {
18175
+ "name": "foundationFlexLayoutTemplate",
18176
+ "module": "src/flex-layout/flex-layout.template.ts"
18177
+ }
18178
+ }
18179
+ ]
18180
+ },
18181
+ {
18182
+ "kind": "javascript-module",
18183
+ "path": "src/flex-layout/flex-layout.ts",
18184
+ "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
+ {
18202
+ "kind": "class",
18203
+ "description": "",
18204
+ "name": "FlexLayout",
18205
+ "superclass": {
18206
+ "name": "FoundationElement",
18207
+ "package": "@microsoft/fast-foundation"
18208
+ },
18209
+ "tagName": "%%prefix%%-flex-layout",
18210
+ "customElement": true,
18211
+ "members": [
18212
+ {
18213
+ "kind": "field",
18214
+ "name": "_presentation",
18215
+ "type": {
18216
+ "text": "ComponentPresentation | null | undefined"
18217
+ },
18218
+ "privacy": "private",
18219
+ "default": "void 0",
18220
+ "inheritedFrom": {
18221
+ "name": "FoundationElement",
18222
+ "module": "src/foundation-element/foundation-element.ts"
18223
+ }
18224
+ },
18225
+ {
18226
+ "kind": "field",
18227
+ "name": "$presentation",
18228
+ "type": {
18229
+ "text": "ComponentPresentation | null"
18230
+ },
18231
+ "privacy": "public",
18232
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
18233
+ "inheritedFrom": {
18234
+ "name": "FoundationElement",
18235
+ "module": "src/foundation-element/foundation-element.ts"
18236
+ }
18237
+ },
18238
+ {
18239
+ "kind": "field",
18240
+ "name": "template",
18241
+ "type": {
18242
+ "text": "ElementViewTemplate | void | null"
18243
+ },
18244
+ "privacy": "public",
18245
+ "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.",
18246
+ "inheritedFrom": {
18247
+ "name": "FoundationElement",
18248
+ "module": "src/foundation-element/foundation-element.ts"
18249
+ }
18250
+ },
18251
+ {
18252
+ "kind": "method",
18253
+ "name": "templateChanged",
18254
+ "privacy": "protected",
18255
+ "return": {
18256
+ "type": {
18257
+ "text": "void"
18258
+ }
18259
+ },
18260
+ "inheritedFrom": {
18261
+ "name": "FoundationElement",
18262
+ "module": "src/foundation-element/foundation-element.ts"
18263
+ }
18264
+ },
18265
+ {
18266
+ "kind": "field",
18267
+ "name": "styles",
18268
+ "type": {
18269
+ "text": "ElementStyles | void | null"
18270
+ },
18271
+ "privacy": "public",
18272
+ "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.",
18273
+ "inheritedFrom": {
18274
+ "name": "FoundationElement",
18275
+ "module": "src/foundation-element/foundation-element.ts"
18276
+ }
18277
+ },
18278
+ {
18279
+ "kind": "method",
18280
+ "name": "stylesChanged",
18281
+ "privacy": "protected",
18282
+ "return": {
18283
+ "type": {
18284
+ "text": "void"
18285
+ }
18286
+ },
18287
+ "inheritedFrom": {
18288
+ "name": "FoundationElement",
18289
+ "module": "src/foundation-element/foundation-element.ts"
18290
+ }
18291
+ },
18292
+ {
18293
+ "kind": "method",
18294
+ "name": "compose",
18295
+ "privacy": "public",
18296
+ "static": true,
18297
+ "return": {
18298
+ "type": {
18299
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
18300
+ }
18301
+ },
18302
+ "parameters": [
18303
+ {
18304
+ "name": "this",
18305
+ "type": {
18306
+ "text": "K"
18307
+ }
18308
+ },
18309
+ {
18310
+ "name": "elementDefinition",
18311
+ "type": {
18312
+ "text": "T"
18313
+ },
18314
+ "description": "The definition of the element to create the registry\nfunction for."
18315
+ }
18316
+ ],
18317
+ "description": "Defines an element registry function with a set of element definition defaults.",
18318
+ "inheritedFrom": {
18319
+ "name": "FoundationElement",
18320
+ "module": "src/foundation-element/foundation-element.ts"
18321
+ }
18322
+ }
18323
+ ]
18324
+ },
18325
+ {
18326
+ "kind": "variable",
18327
+ "name": "foundationFlexLayout",
18328
+ "description": "The Foundation Flex Layout",
18329
+ "privacy": "public"
18330
+ }
18331
+ ],
18332
+ "exports": [
18333
+ {
18334
+ "kind": "js",
18335
+ "name": "foundationFlexLayoutShadowOptions",
18336
+ "declaration": {
18337
+ "name": "foundationFlexLayoutShadowOptions",
18338
+ "module": "src/flex-layout/flex-layout.ts"
18339
+ }
18340
+ },
18341
+ {
18342
+ "kind": "js",
18343
+ "name": "defaultFlexLayoutConfig",
18344
+ "declaration": {
18345
+ "name": "defaultFlexLayoutConfig",
18346
+ "module": "src/flex-layout/flex-layout.ts"
18347
+ }
18348
+ },
18349
+ {
18350
+ "kind": "js",
18351
+ "name": "FlexLayout",
18352
+ "declaration": {
18353
+ "name": "FlexLayout",
18354
+ "module": "src/flex-layout/flex-layout.ts"
18355
+ }
18356
+ },
18357
+ {
18358
+ "kind": "js",
18359
+ "name": "foundationFlexLayout",
18360
+ "declaration": {
18361
+ "name": "foundationFlexLayout",
18362
+ "module": "src/flex-layout/flex-layout.ts"
18363
+ }
18364
+ }
18365
+ ]
18366
+ },
18367
+ {
18368
+ "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",
18376
+ "declarations": [],
18377
+ "exports": [
18378
+ {
18379
+ "kind": "js",
18380
+ "name": "*",
18381
+ "declaration": {
18382
+ "name": "*",
18383
+ "package": "./flex-layout.template"
18384
+ }
18385
+ },
18386
+ {
18387
+ "kind": "js",
18388
+ "name": "*",
18389
+ "declaration": {
18390
+ "name": "*",
18391
+ "package": "./flex-layout.styles"
18392
+ }
18393
+ },
18394
+ {
18395
+ "kind": "js",
18396
+ "name": "*",
18397
+ "declaration": {
18398
+ "name": "*",
18399
+ "package": "./flex-layout"
18400
+ }
18401
+ },
18402
+ {
18403
+ "kind": "js",
18404
+ "name": "*",
18405
+ "declaration": {
18406
+ "name": "*",
18407
+ "package": "./flex-layout.types"
18408
+ }
18409
+ }
18410
+ ]
18411
+ },
18133
18412
  {
18134
18413
  "kind": "javascript-module",
18135
18414
  "path": "src/flipper/flipper.styles.ts",
@@ -18534,83 +18813,150 @@
18534
18813
  },
18535
18814
  {
18536
18815
  "kind": "javascript-module",
18537
- "path": "src/flex-layout/flex-layout.styles.ts",
18816
+ "path": "src/flyout/flyout.styles.ts",
18538
18817
  "declarations": [
18539
18818
  {
18540
18819
  "kind": "variable",
18541
- "name": "foundationFlexLayoutStyles",
18820
+ "name": "flyoutAnimationTime",
18821
+ "type": {
18822
+ "text": "number"
18823
+ },
18824
+ "default": "225"
18825
+ },
18826
+ {
18827
+ "kind": "variable",
18828
+ "name": "foundationFlyoutStyles",
18542
18829
  "type": {
18543
18830
  "text": "ElementStyles"
18544
18831
  },
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`"
18832
+ "default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: transform ${flyoutAnimationTime.toString()}ms ease-in;\n width: 20%;\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n align-items: center;\n display: flex;\n padding: calc(var(--design-unit) * 3px) calc(var(--design-unit) * 2px);\n }\n\n div.title {\n flex-grow: 1;\n }\n\n div.footer {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n /* Background */\n div.background {\n background-color: black;\n height: 100%;\n opacity: 50%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: opacity ${flyoutAnimationTime.toString()}ms linear;\n width: 100%;\n z-index: 2000;\n }\n\n :host([visuallyhidden]) div.background {\n opacity: 0%;\n }\n`"
18546
18833
  }
18547
18834
  ],
18548
18835
  "exports": [
18549
18836
  {
18550
18837
  "kind": "js",
18551
- "name": "foundationFlexLayoutStyles",
18838
+ "name": "flyoutAnimationTime",
18552
18839
  "declaration": {
18553
- "name": "foundationFlexLayoutStyles",
18554
- "module": "src/flex-layout/flex-layout.styles.ts"
18840
+ "name": "flyoutAnimationTime",
18841
+ "module": "src/flyout/flyout.styles.ts"
18842
+ }
18843
+ },
18844
+ {
18845
+ "kind": "js",
18846
+ "name": "foundationFlyoutStyles",
18847
+ "declaration": {
18848
+ "name": "foundationFlyoutStyles",
18849
+ "module": "src/flyout/flyout.styles.ts"
18555
18850
  }
18556
18851
  }
18557
18852
  ]
18558
18853
  },
18559
18854
  {
18560
18855
  "kind": "javascript-module",
18561
- "path": "src/flex-layout/flex-layout.template.ts",
18856
+ "path": "src/flyout/flyout.template.ts",
18562
18857
  "declarations": [
18858
+ {
18859
+ "kind": "function",
18860
+ "name": "getPrefixedFlyout",
18861
+ "parameters": [
18862
+ {
18863
+ "name": "prefix",
18864
+ "type": {
18865
+ "text": "string"
18866
+ }
18867
+ }
18868
+ ]
18869
+ },
18563
18870
  {
18564
18871
  "kind": "variable",
18565
- "name": "foundationFlexLayoutTemplate",
18566
- "type": {
18567
- "text": "ViewTemplate<FlexLayout>"
18568
- },
18569
- "default": "html`\n <template>\n <slot></slot>\n </template>\n`"
18872
+ "name": "foundationFlyoutTemplate",
18873
+ "default": "html<Flyout>`\n ${(x) => getPrefixedFlyout(getPrefix(x))}\n`"
18570
18874
  }
18571
18875
  ],
18572
18876
  "exports": [
18573
18877
  {
18574
18878
  "kind": "js",
18575
- "name": "foundationFlexLayoutTemplate",
18879
+ "name": "getPrefixedFlyout",
18576
18880
  "declaration": {
18577
- "name": "foundationFlexLayoutTemplate",
18578
- "module": "src/flex-layout/flex-layout.template.ts"
18881
+ "name": "getPrefixedFlyout",
18882
+ "module": "src/flyout/flyout.template.ts"
18883
+ }
18884
+ },
18885
+ {
18886
+ "kind": "js",
18887
+ "name": "foundationFlyoutTemplate",
18888
+ "declaration": {
18889
+ "name": "foundationFlyoutTemplate",
18890
+ "module": "src/flyout/flyout.template.ts"
18579
18891
  }
18580
18892
  }
18581
18893
  ]
18582
18894
  },
18583
18895
  {
18584
18896
  "kind": "javascript-module",
18585
- "path": "src/flex-layout/flex-layout.ts",
18897
+ "path": "src/flyout/flyout.ts",
18586
18898
  "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
- },
18603
18899
  {
18604
18900
  "kind": "class",
18605
18901
  "description": "",
18606
- "name": "FlexLayout",
18607
- "superclass": {
18608
- "name": "FoundationElement",
18609
- "package": "@microsoft/fast-foundation"
18610
- },
18611
- "tagName": "%%prefix%%-flex-layout",
18612
- "customElement": true,
18902
+ "name": "Flyout",
18613
18903
  "members": [
18904
+ {
18905
+ "kind": "field",
18906
+ "name": "exit",
18907
+ "type": {
18908
+ "text": "HTMLDivElement"
18909
+ },
18910
+ "privacy": "public"
18911
+ },
18912
+ {
18913
+ "kind": "field",
18914
+ "name": "position",
18915
+ "type": {
18916
+ "text": "string"
18917
+ },
18918
+ "default": "'right'"
18919
+ },
18920
+ {
18921
+ "kind": "field",
18922
+ "name": "displayHeader",
18923
+ "type": {
18924
+ "text": "boolean"
18925
+ },
18926
+ "default": "true"
18927
+ },
18928
+ {
18929
+ "kind": "field",
18930
+ "name": "closed",
18931
+ "type": {
18932
+ "text": "boolean"
18933
+ },
18934
+ "default": "true"
18935
+ },
18936
+ {
18937
+ "kind": "method",
18938
+ "name": "closedChanged"
18939
+ },
18940
+ {
18941
+ "kind": "field",
18942
+ "name": "visuallyhidden",
18943
+ "type": {
18944
+ "text": "boolean"
18945
+ },
18946
+ "default": "true"
18947
+ },
18948
+ {
18949
+ "kind": "method",
18950
+ "name": "closeFlyout"
18951
+ },
18952
+ {
18953
+ "kind": "method",
18954
+ "name": "closingFinished"
18955
+ },
18956
+ {
18957
+ "kind": "method",
18958
+ "name": "focusExit"
18959
+ },
18614
18960
  {
18615
18961
  "kind": "field",
18616
18962
  "name": "_presentation",
@@ -18722,452 +19068,106 @@
18722
19068
  "module": "src/foundation-element/foundation-element.ts"
18723
19069
  }
18724
19070
  }
18725
- ]
19071
+ ],
19072
+ "attributes": [
19073
+ {
19074
+ "name": "position",
19075
+ "type": {
19076
+ "text": "string"
19077
+ },
19078
+ "default": "'right'",
19079
+ "fieldName": "position"
19080
+ },
19081
+ {
19082
+ "type": {
19083
+ "text": "boolean"
19084
+ },
19085
+ "default": "true",
19086
+ "fieldName": "displayHeader"
19087
+ },
19088
+ {
19089
+ "type": {
19090
+ "text": "boolean"
19091
+ },
19092
+ "default": "true",
19093
+ "fieldName": "closed"
19094
+ },
19095
+ {
19096
+ "type": {
19097
+ "text": "boolean"
19098
+ },
19099
+ "default": "true",
19100
+ "fieldName": "visuallyhidden"
19101
+ }
19102
+ ],
19103
+ "superclass": {
19104
+ "name": "FoundationElement",
19105
+ "package": "@microsoft/fast-foundation"
19106
+ },
19107
+ "tagName": "%%prefix%%-flyout",
19108
+ "customElement": true
18726
19109
  },
18727
19110
  {
18728
19111
  "kind": "variable",
18729
- "name": "foundationFlexLayout",
18730
- "description": "The Foundation Flex Layout",
19112
+ "name": "foundationFlyoutShadowOptions",
19113
+ "type": {
19114
+ "text": "ShadowRootInit"
19115
+ },
19116
+ "default": "undefined"
19117
+ },
19118
+ {
19119
+ "kind": "variable",
19120
+ "name": "defaultFlyoutConfig",
19121
+ "type": {
19122
+ "text": "object"
19123
+ },
19124
+ "default": "{}"
19125
+ },
19126
+ {
19127
+ "kind": "variable",
19128
+ "name": "foundationFlyout",
19129
+ "description": "The Foundation Flyout",
18731
19130
  "privacy": "public"
18732
19131
  }
18733
19132
  ],
18734
19133
  "exports": [
18735
19134
  {
18736
19135
  "kind": "js",
18737
- "name": "foundationFlexLayoutShadowOptions",
19136
+ "name": "Flyout",
18738
19137
  "declaration": {
18739
- "name": "foundationFlexLayoutShadowOptions",
18740
- "module": "src/flex-layout/flex-layout.ts"
19138
+ "name": "Flyout",
19139
+ "module": "src/flyout/flyout.ts"
18741
19140
  }
18742
19141
  },
18743
19142
  {
18744
19143
  "kind": "js",
18745
- "name": "defaultFlexLayoutConfig",
19144
+ "name": "foundationFlyoutShadowOptions",
18746
19145
  "declaration": {
18747
- "name": "defaultFlexLayoutConfig",
18748
- "module": "src/flex-layout/flex-layout.ts"
19146
+ "name": "foundationFlyoutShadowOptions",
19147
+ "module": "src/flyout/flyout.ts"
18749
19148
  }
18750
19149
  },
18751
19150
  {
18752
19151
  "kind": "js",
18753
- "name": "FlexLayout",
19152
+ "name": "defaultFlyoutConfig",
18754
19153
  "declaration": {
18755
- "name": "FlexLayout",
18756
- "module": "src/flex-layout/flex-layout.ts"
19154
+ "name": "defaultFlyoutConfig",
19155
+ "module": "src/flyout/flyout.ts"
18757
19156
  }
18758
19157
  },
18759
19158
  {
18760
19159
  "kind": "js",
18761
- "name": "foundationFlexLayout",
19160
+ "name": "foundationFlyout",
18762
19161
  "declaration": {
18763
- "name": "foundationFlexLayout",
18764
- "module": "src/flex-layout/flex-layout.ts"
19162
+ "name": "foundationFlyout",
19163
+ "module": "src/flyout/flyout.ts"
18765
19164
  }
18766
19165
  }
18767
19166
  ]
18768
19167
  },
18769
19168
  {
18770
19169
  "kind": "javascript-module",
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",
18778
- "declarations": [],
18779
- "exports": [
18780
- {
18781
- "kind": "js",
18782
- "name": "*",
18783
- "declaration": {
18784
- "name": "*",
18785
- "package": "./flex-layout.template"
18786
- }
18787
- },
18788
- {
18789
- "kind": "js",
18790
- "name": "*",
18791
- "declaration": {
18792
- "name": "*",
18793
- "package": "./flex-layout.styles"
18794
- }
18795
- },
18796
- {
18797
- "kind": "js",
18798
- "name": "*",
18799
- "declaration": {
18800
- "name": "*",
18801
- "package": "./flex-layout"
18802
- }
18803
- },
18804
- {
18805
- "kind": "js",
18806
- "name": "*",
18807
- "declaration": {
18808
- "name": "*",
18809
- "package": "./flex-layout.types"
18810
- }
18811
- }
18812
- ]
18813
- },
18814
- {
18815
- "kind": "javascript-module",
18816
- "path": "src/flyout/flyout.styles.ts",
18817
- "declarations": [
18818
- {
18819
- "kind": "variable",
18820
- "name": "flyoutAnimationTime",
18821
- "type": {
18822
- "text": "number"
18823
- },
18824
- "default": "225"
18825
- },
18826
- {
18827
- "kind": "variable",
18828
- "name": "foundationFlyoutStyles",
18829
- "type": {
18830
- "text": "ElementStyles"
18831
- },
18832
- "default": "css`\n /* Host */\n :host {\n display: inline-block;\n height: 100vh;\n position: absolute;\n width: 100vw;\n }\n\n :host([closed]) {\n display: none;\n }\n\n div.container {\n height: 100%;\n width: 100%;\n }\n\n /* flyout */\n div.flyout {\n background-color: white;\n color: black;\n height: 100%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: transform ${flyoutAnimationTime.toString()}ms ease-in;\n width: 20%;\n z-index: 2001;\n }\n\n :host([position='left']) div.flyout {\n left: 0;\n transform: translateX(0%);\n }\n\n :host([position='right']) div.flyout {\n right: 0;\n transform: translateX(0%);\n }\n\n :host([visuallyhidden][position='left']) div.flyout {\n left: 0;\n transform: translateX(-100%);\n }\n\n :host([visuallyhidden][position='right']) div.flyout {\n right: 0;\n transform: translateX(100%);\n }\n\n div.header {\n align-items: center;\n display: flex;\n padding: calc(var(--design-unit) * 3px) calc(var(--design-unit) * 2px);\n }\n\n div.title {\n flex-grow: 1;\n }\n\n div.footer {\n bottom: 0;\n position: absolute;\n width: 100%;\n }\n\n /* Background */\n div.background {\n background-color: black;\n height: 100%;\n opacity: 50%;\n position: absolute;\n /* stylelint-disable-next-line function-name-case */\n transition: opacity ${flyoutAnimationTime.toString()}ms linear;\n width: 100%;\n z-index: 2000;\n }\n\n :host([visuallyhidden]) div.background {\n opacity: 0%;\n }\n`"
18833
- }
18834
- ],
18835
- "exports": [
18836
- {
18837
- "kind": "js",
18838
- "name": "flyoutAnimationTime",
18839
- "declaration": {
18840
- "name": "flyoutAnimationTime",
18841
- "module": "src/flyout/flyout.styles.ts"
18842
- }
18843
- },
18844
- {
18845
- "kind": "js",
18846
- "name": "foundationFlyoutStyles",
18847
- "declaration": {
18848
- "name": "foundationFlyoutStyles",
18849
- "module": "src/flyout/flyout.styles.ts"
18850
- }
18851
- }
18852
- ]
18853
- },
18854
- {
18855
- "kind": "javascript-module",
18856
- "path": "src/flyout/flyout.template.ts",
18857
- "declarations": [
18858
- {
18859
- "kind": "function",
18860
- "name": "getPrefixedFlyout",
18861
- "parameters": [
18862
- {
18863
- "name": "prefix",
18864
- "type": {
18865
- "text": "string"
18866
- }
18867
- }
18868
- ]
18869
- },
18870
- {
18871
- "kind": "variable",
18872
- "name": "foundationFlyoutTemplate",
18873
- "default": "html<Flyout>`\n ${(x) => getPrefixedFlyout(getPrefix(x))}\n`"
18874
- }
18875
- ],
18876
- "exports": [
18877
- {
18878
- "kind": "js",
18879
- "name": "getPrefixedFlyout",
18880
- "declaration": {
18881
- "name": "getPrefixedFlyout",
18882
- "module": "src/flyout/flyout.template.ts"
18883
- }
18884
- },
18885
- {
18886
- "kind": "js",
18887
- "name": "foundationFlyoutTemplate",
18888
- "declaration": {
18889
- "name": "foundationFlyoutTemplate",
18890
- "module": "src/flyout/flyout.template.ts"
18891
- }
18892
- }
18893
- ]
18894
- },
18895
- {
18896
- "kind": "javascript-module",
18897
- "path": "src/flyout/flyout.ts",
18898
- "declarations": [
18899
- {
18900
- "kind": "class",
18901
- "description": "",
18902
- "name": "Flyout",
18903
- "members": [
18904
- {
18905
- "kind": "field",
18906
- "name": "exit",
18907
- "type": {
18908
- "text": "HTMLDivElement"
18909
- },
18910
- "privacy": "public"
18911
- },
18912
- {
18913
- "kind": "field",
18914
- "name": "position",
18915
- "type": {
18916
- "text": "string"
18917
- },
18918
- "default": "'right'"
18919
- },
18920
- {
18921
- "kind": "field",
18922
- "name": "displayHeader",
18923
- "type": {
18924
- "text": "boolean"
18925
- },
18926
- "default": "true"
18927
- },
18928
- {
18929
- "kind": "field",
18930
- "name": "closed",
18931
- "type": {
18932
- "text": "boolean"
18933
- },
18934
- "default": "true"
18935
- },
18936
- {
18937
- "kind": "method",
18938
- "name": "closedChanged"
18939
- },
18940
- {
18941
- "kind": "field",
18942
- "name": "visuallyhidden",
18943
- "type": {
18944
- "text": "boolean"
18945
- },
18946
- "default": "true"
18947
- },
18948
- {
18949
- "kind": "method",
18950
- "name": "closeFlyout"
18951
- },
18952
- {
18953
- "kind": "method",
18954
- "name": "closingFinished"
18955
- },
18956
- {
18957
- "kind": "method",
18958
- "name": "focusExit"
18959
- },
18960
- {
18961
- "kind": "field",
18962
- "name": "_presentation",
18963
- "type": {
18964
- "text": "ComponentPresentation | null | undefined"
18965
- },
18966
- "privacy": "private",
18967
- "default": "void 0",
18968
- "inheritedFrom": {
18969
- "name": "FoundationElement",
18970
- "module": "src/foundation-element/foundation-element.ts"
18971
- }
18972
- },
18973
- {
18974
- "kind": "field",
18975
- "name": "$presentation",
18976
- "type": {
18977
- "text": "ComponentPresentation | null"
18978
- },
18979
- "privacy": "public",
18980
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
18981
- "inheritedFrom": {
18982
- "name": "FoundationElement",
18983
- "module": "src/foundation-element/foundation-element.ts"
18984
- }
18985
- },
18986
- {
18987
- "kind": "field",
18988
- "name": "template",
18989
- "type": {
18990
- "text": "ElementViewTemplate | void | null"
18991
- },
18992
- "privacy": "public",
18993
- "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.",
18994
- "inheritedFrom": {
18995
- "name": "FoundationElement",
18996
- "module": "src/foundation-element/foundation-element.ts"
18997
- }
18998
- },
18999
- {
19000
- "kind": "method",
19001
- "name": "templateChanged",
19002
- "privacy": "protected",
19003
- "return": {
19004
- "type": {
19005
- "text": "void"
19006
- }
19007
- },
19008
- "inheritedFrom": {
19009
- "name": "FoundationElement",
19010
- "module": "src/foundation-element/foundation-element.ts"
19011
- }
19012
- },
19013
- {
19014
- "kind": "field",
19015
- "name": "styles",
19016
- "type": {
19017
- "text": "ElementStyles | void | null"
19018
- },
19019
- "privacy": "public",
19020
- "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.",
19021
- "inheritedFrom": {
19022
- "name": "FoundationElement",
19023
- "module": "src/foundation-element/foundation-element.ts"
19024
- }
19025
- },
19026
- {
19027
- "kind": "method",
19028
- "name": "stylesChanged",
19029
- "privacy": "protected",
19030
- "return": {
19031
- "type": {
19032
- "text": "void"
19033
- }
19034
- },
19035
- "inheritedFrom": {
19036
- "name": "FoundationElement",
19037
- "module": "src/foundation-element/foundation-element.ts"
19038
- }
19039
- },
19040
- {
19041
- "kind": "method",
19042
- "name": "compose",
19043
- "privacy": "public",
19044
- "static": true,
19045
- "return": {
19046
- "type": {
19047
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
19048
- }
19049
- },
19050
- "parameters": [
19051
- {
19052
- "name": "this",
19053
- "type": {
19054
- "text": "K"
19055
- }
19056
- },
19057
- {
19058
- "name": "elementDefinition",
19059
- "type": {
19060
- "text": "T"
19061
- },
19062
- "description": "The definition of the element to create the registry\nfunction for."
19063
- }
19064
- ],
19065
- "description": "Defines an element registry function with a set of element definition defaults.",
19066
- "inheritedFrom": {
19067
- "name": "FoundationElement",
19068
- "module": "src/foundation-element/foundation-element.ts"
19069
- }
19070
- }
19071
- ],
19072
- "attributes": [
19073
- {
19074
- "name": "position",
19075
- "type": {
19076
- "text": "string"
19077
- },
19078
- "default": "'right'",
19079
- "fieldName": "position"
19080
- },
19081
- {
19082
- "type": {
19083
- "text": "boolean"
19084
- },
19085
- "default": "true",
19086
- "fieldName": "displayHeader"
19087
- },
19088
- {
19089
- "type": {
19090
- "text": "boolean"
19091
- },
19092
- "default": "true",
19093
- "fieldName": "closed"
19094
- },
19095
- {
19096
- "type": {
19097
- "text": "boolean"
19098
- },
19099
- "default": "true",
19100
- "fieldName": "visuallyhidden"
19101
- }
19102
- ],
19103
- "superclass": {
19104
- "name": "FoundationElement",
19105
- "package": "@microsoft/fast-foundation"
19106
- },
19107
- "tagName": "%%prefix%%-flyout",
19108
- "customElement": true
19109
- },
19110
- {
19111
- "kind": "variable",
19112
- "name": "foundationFlyoutShadowOptions",
19113
- "type": {
19114
- "text": "ShadowRootInit"
19115
- },
19116
- "default": "undefined"
19117
- },
19118
- {
19119
- "kind": "variable",
19120
- "name": "defaultFlyoutConfig",
19121
- "type": {
19122
- "text": "object"
19123
- },
19124
- "default": "{}"
19125
- },
19126
- {
19127
- "kind": "variable",
19128
- "name": "foundationFlyout",
19129
- "description": "The Foundation Flyout",
19130
- "privacy": "public"
19131
- }
19132
- ],
19133
- "exports": [
19134
- {
19135
- "kind": "js",
19136
- "name": "Flyout",
19137
- "declaration": {
19138
- "name": "Flyout",
19139
- "module": "src/flyout/flyout.ts"
19140
- }
19141
- },
19142
- {
19143
- "kind": "js",
19144
- "name": "foundationFlyoutShadowOptions",
19145
- "declaration": {
19146
- "name": "foundationFlyoutShadowOptions",
19147
- "module": "src/flyout/flyout.ts"
19148
- }
19149
- },
19150
- {
19151
- "kind": "js",
19152
- "name": "defaultFlyoutConfig",
19153
- "declaration": {
19154
- "name": "defaultFlyoutConfig",
19155
- "module": "src/flyout/flyout.ts"
19156
- }
19157
- },
19158
- {
19159
- "kind": "js",
19160
- "name": "foundationFlyout",
19161
- "declaration": {
19162
- "name": "foundationFlyout",
19163
- "module": "src/flyout/flyout.ts"
19164
- }
19165
- }
19166
- ]
19167
- },
19168
- {
19169
- "kind": "javascript-module",
19170
- "path": "src/flyout/index.ts",
19170
+ "path": "src/flyout/index.ts",
19171
19171
  "declarations": [],
19172
19172
  "exports": [
19173
19173
  {
@@ -20901,11 +20901,42 @@
20901
20901
  },
20902
20902
  {
20903
20903
  "kind": "javascript-module",
20904
- "path": "src/icon/icon.styles.ts",
20904
+ "path": "src/listbox/index.ts",
20905
+ "declarations": [],
20906
+ "exports": [
20907
+ {
20908
+ "kind": "js",
20909
+ "name": "*",
20910
+ "declaration": {
20911
+ "name": "*",
20912
+ "package": "./listbox.template"
20913
+ }
20914
+ },
20915
+ {
20916
+ "kind": "js",
20917
+ "name": "*",
20918
+ "declaration": {
20919
+ "name": "*",
20920
+ "package": "./listbox.styles"
20921
+ }
20922
+ },
20923
+ {
20924
+ "kind": "js",
20925
+ "name": "*",
20926
+ "declaration": {
20927
+ "name": "*",
20928
+ "package": "./listbox"
20929
+ }
20930
+ }
20931
+ ]
20932
+ },
20933
+ {
20934
+ "kind": "javascript-module",
20935
+ "path": "src/listbox/listbox.styles.ts",
20905
20936
  "declarations": [
20906
20937
  {
20907
20938
  "kind": "function",
20908
- "name": "foundationIconStyles",
20939
+ "name": "foundationListboxStyles",
20909
20940
  "return": {
20910
20941
  "type": {
20911
20942
  "text": "ElementStyles"
@@ -20930,222 +20961,198 @@
20930
20961
  "exports": [
20931
20962
  {
20932
20963
  "kind": "js",
20933
- "name": "foundationIconStyles",
20964
+ "name": "foundationListboxStyles",
20934
20965
  "declaration": {
20935
- "name": "foundationIconStyles",
20936
- "module": "src/icon/icon.styles.ts"
20966
+ "name": "foundationListboxStyles",
20967
+ "module": "src/listbox/listbox.styles.ts"
20937
20968
  }
20938
20969
  }
20939
20970
  ]
20940
20971
  },
20941
20972
  {
20942
20973
  "kind": "javascript-module",
20943
- "path": "src/icon/icon.template.ts",
20974
+ "path": "src/listbox/listbox.template.ts",
20944
20975
  "declarations": [
20945
20976
  {
20946
20977
  "kind": "function",
20947
- "name": "getPrefixedIcon",
20978
+ "name": "foundationListboxTemplate",
20948
20979
  "return": {
20949
20980
  "type": {
20950
- "text": "ViewTemplate"
20981
+ "text": "ViewTemplate<Listbox>"
20951
20982
  }
20952
20983
  },
20953
20984
  "parameters": [
20954
20985
  {
20955
- "name": "prefix",
20986
+ "name": "context",
20956
20987
  "type": {
20957
- "text": "string"
20988
+ "text": "ElementDefinitionContext"
20989
+ }
20990
+ },
20991
+ {
20992
+ "name": "definition",
20993
+ "type": {
20994
+ "text": "FoundationElementDefinition"
20958
20995
  }
20959
20996
  }
20960
20997
  ]
20961
- },
20962
- {
20963
- "kind": "variable",
20964
- "name": "foundationIconTemplate",
20965
- "default": "html<Icon>`\n ${(x) => getPrefixedIcon(getPrefix(x))}\n`"
20966
20998
  }
20967
20999
  ],
20968
21000
  "exports": [
20969
21001
  {
20970
21002
  "kind": "js",
20971
- "name": "getPrefixedIcon",
20972
- "declaration": {
20973
- "name": "getPrefixedIcon",
20974
- "module": "src/icon/icon.template.ts"
20975
- }
20976
- },
20977
- {
20978
- "kind": "js",
20979
- "name": "foundationIconTemplate",
21003
+ "name": "foundationListboxTemplate",
20980
21004
  "declaration": {
20981
- "name": "foundationIconTemplate",
20982
- "module": "src/icon/icon.template.ts"
21005
+ "name": "foundationListboxTemplate",
21006
+ "module": "src/listbox/listbox.template.ts"
20983
21007
  }
20984
21008
  }
20985
21009
  ]
20986
21010
  },
20987
21011
  {
20988
21012
  "kind": "javascript-module",
20989
- "path": "src/icon/icon.ts",
21013
+ "path": "src/listbox/listbox.ts",
20990
21014
  "declarations": [
20991
- {
20992
- "kind": "variable",
20993
- "name": "foundationIconShadowOptions",
20994
- "type": {
20995
- "text": "ShadowRootInit"
20996
- },
20997
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
20998
- },
20999
- {
21000
- "kind": "variable",
21001
- "name": "defaultIconConfig",
21002
- "type": {
21003
- "text": "object"
21004
- },
21005
- "default": "{}"
21006
- },
21007
- {
21008
- "kind": "variable",
21009
- "name": "faSizeValueDefault",
21010
- "type": {
21011
- "text": "'1x'"
21012
- },
21013
- "default": "'1x'"
21014
- },
21015
- {
21016
- "kind": "variable",
21017
- "name": "faSizeValues",
21018
- "type": {
21019
- "text": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
21020
- },
21021
- "default": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
21022
- },
21023
21015
  {
21024
21016
  "kind": "class",
21025
21017
  "description": "",
21026
- "name": "Icon",
21027
- "members": [
21018
+ "name": "Listbox",
21019
+ "superclass": {
21020
+ "name": "FASTListbox",
21021
+ "package": "@microsoft/fast-components"
21022
+ },
21023
+ "tagName": "%%prefix%%-listbox",
21024
+ "customElement": true,
21025
+ "attributes": [
21028
21026
  {
21029
- "kind": "field",
21030
- "name": "iElement",
21031
21027
  "type": {
21032
- "text": "HTMLElement"
21028
+ "text": "boolean"
21029
+ },
21030
+ "description": "The disabled state of the listbox.",
21031
+ "fieldName": "disabled",
21032
+ "inheritedFrom": {
21033
+ "name": "Listbox",
21034
+ "module": "src/listbox/listbox.ts"
21033
21035
  }
21034
- },
21036
+ }
21037
+ ],
21038
+ "members": [
21035
21039
  {
21036
21040
  "kind": "field",
21037
- "name": "uuid",
21041
+ "name": "length",
21038
21042
  "type": {
21039
- "text": "UUID"
21043
+ "text": "number"
21044
+ },
21045
+ "privacy": "public",
21046
+ "description": "The number of options.",
21047
+ "inheritedFrom": {
21048
+ "name": "Listbox",
21049
+ "module": "src/listbox/listbox.ts"
21040
21050
  }
21041
21051
  },
21042
21052
  {
21043
21053
  "kind": "field",
21044
- "name": "tooltipId",
21054
+ "name": "options",
21045
21055
  "type": {
21046
- "text": "string"
21056
+ "text": "ListboxOption[]"
21057
+ },
21058
+ "privacy": "public",
21059
+ "description": "The list of options.",
21060
+ "inheritedFrom": {
21061
+ "name": "Listbox",
21062
+ "module": "src/listbox/listbox.ts"
21047
21063
  }
21048
21064
  },
21049
21065
  {
21050
21066
  "kind": "field",
21051
- "name": "tooltip",
21052
- "type": {
21053
- "text": "string"
21067
+ "name": "typeAheadExpired",
21068
+ "privacy": "protected",
21069
+ "inheritedFrom": {
21070
+ "name": "Listbox",
21071
+ "module": "src/listbox/listbox.ts"
21054
21072
  }
21055
21073
  },
21056
21074
  {
21057
21075
  "kind": "field",
21058
- "name": "isError",
21076
+ "name": "disabled",
21059
21077
  "type": {
21060
21078
  "text": "boolean"
21061
21079
  },
21062
- "default": "false"
21063
- },
21064
- {
21065
- "kind": "field",
21066
- "name": "name",
21067
- "type": {
21068
- "text": "IconName"
21080
+ "privacy": "public",
21081
+ "description": "The disabled state of the listbox.",
21082
+ "inheritedFrom": {
21083
+ "name": "Listbox",
21084
+ "module": "src/listbox/listbox.ts"
21069
21085
  }
21070
21086
  },
21071
- {
21072
- "kind": "method",
21073
- "name": "nameChanged",
21074
- "parameters": [
21075
- {
21076
- "name": "oldValue",
21077
- "type": {
21078
- "text": "string"
21079
- }
21080
- },
21081
- {
21082
- "name": "newValue",
21083
- "type": {
21084
- "text": "string"
21085
- }
21086
- }
21087
- ]
21088
- },
21089
21087
  {
21090
21088
  "kind": "field",
21091
- "name": "size",
21089
+ "name": "selectedIndex",
21092
21090
  "type": {
21093
- "text": "FaSize"
21091
+ "text": "number"
21094
21092
  },
21095
- "default": "'sm'"
21096
- },
21097
- {
21098
- "kind": "method",
21099
- "name": "sizeChanged",
21100
- "parameters": [
21101
- {
21102
- "name": "oldValue",
21103
- "type": {
21104
- "text": "string"
21105
- }
21106
- },
21107
- {
21108
- "name": "newValue",
21109
- "type": {
21110
- "text": "string"
21111
- }
21112
- }
21113
- ]
21093
+ "privacy": "public",
21094
+ "default": "-1",
21095
+ "description": "The index of the selected option.",
21096
+ "inheritedFrom": {
21097
+ "name": "Listbox",
21098
+ "module": "src/listbox/listbox.ts"
21099
+ }
21114
21100
  },
21115
21101
  {
21116
21102
  "kind": "field",
21117
- "name": "variant",
21103
+ "name": "selectedOptions",
21118
21104
  "type": {
21119
- "text": "IconStyle"
21105
+ "text": "ListboxOption[]"
21120
21106
  },
21121
- "default": "'solid'"
21107
+ "privacy": "public",
21108
+ "default": "[]",
21109
+ "description": "A collection of the selected options.",
21110
+ "inheritedFrom": {
21111
+ "name": "Listbox",
21112
+ "module": "src/listbox/listbox.ts"
21113
+ }
21122
21114
  },
21123
21115
  {
21124
- "kind": "method",
21125
- "name": "variantChanged",
21116
+ "kind": "field",
21117
+ "name": "slottedOptionFilter",
21118
+ "privacy": "public",
21119
+ "static": true,
21120
+ "description": "A static filter to include only selectable options.",
21126
21121
  "parameters": [
21127
21122
  {
21128
- "name": "oldValue",
21129
- "type": {
21130
- "text": "string"
21131
- }
21132
- },
21133
- {
21134
- "name": "newValue",
21135
- "type": {
21136
- "text": "string"
21137
- }
21123
+ "description": "element to filter",
21124
+ "name": "n"
21138
21125
  }
21139
- ]
21126
+ ],
21127
+ "inheritedFrom": {
21128
+ "name": "Listbox",
21129
+ "module": "src/listbox/listbox.ts"
21130
+ }
21140
21131
  },
21141
21132
  {
21142
21133
  "kind": "method",
21143
- "name": "getDefaultTooltipConfig"
21134
+ "name": "selectFirstOption",
21135
+ "privacy": "public",
21136
+ "return": {
21137
+ "type": {
21138
+ "text": "void"
21139
+ }
21140
+ },
21141
+ "description": "Moves focus to the first selectable option.",
21142
+ "inheritedFrom": {
21143
+ "name": "Listbox",
21144
+ "module": "src/listbox/listbox.ts"
21145
+ }
21144
21146
  },
21145
21147
  {
21146
21148
  "kind": "method",
21147
- "name": "loadIcon",
21148
- "privacy": "public"
21149
+ "name": "setSelectedOptions",
21150
+ "privacy": "public",
21151
+ "description": "Sets an option as selected and gives it focus.",
21152
+ "inheritedFrom": {
21153
+ "name": "Listbox",
21154
+ "module": "src/listbox/listbox.ts"
21155
+ }
21149
21156
  },
21150
21157
  {
21151
21158
  "kind": "field",
@@ -21258,169 +21265,67 @@
21258
21265
  "module": "src/foundation-element/foundation-element.ts"
21259
21266
  }
21260
21267
  }
21261
- ],
21262
- "attributes": [
21263
- {
21264
- "name": "tooltip-id",
21265
- "type": {
21266
- "text": "string"
21267
- },
21268
- "fieldName": "tooltipId"
21269
- },
21270
- {
21271
- "name": "tooltip",
21272
- "type": {
21273
- "text": "string"
21274
- },
21275
- "fieldName": "tooltip"
21276
- },
21277
- {
21278
- "name": "error",
21279
- "type": {
21280
- "text": "boolean"
21281
- },
21282
- "default": "false",
21283
- "fieldName": "isError"
21284
- },
21285
- {
21286
- "name": "name",
21287
- "type": {
21288
- "text": "IconName"
21289
- },
21290
- "fieldName": "name"
21291
- },
21292
- {
21293
- "name": "size",
21294
- "type": {
21295
- "text": "FaSize"
21296
- },
21297
- "default": "'sm'",
21298
- "fieldName": "size"
21299
- },
21300
- {
21301
- "name": "variant",
21302
- "type": {
21303
- "text": "IconStyle"
21304
- },
21305
- "default": "'solid'",
21306
- "fieldName": "variant"
21307
- }
21308
- ],
21309
- "superclass": {
21310
- "name": "FoundationElement",
21311
- "package": "@microsoft/fast-foundation"
21312
- },
21313
- "tagName": "%%prefix%%-icon",
21314
- "customElement": true
21268
+ ]
21315
21269
  },
21316
21270
  {
21317
21271
  "kind": "variable",
21318
- "name": "foundationIcon",
21319
- "description": "The Foundation Icon",
21320
- "privacy": "public"
21321
- }
21322
- ],
21323
- "exports": [
21324
- {
21325
- "kind": "js",
21326
- "name": "IconName",
21327
- "declaration": {
21328
- "name": "IconName",
21329
- "module": "src/icon/icon.ts"
21330
- }
21331
- },
21332
- {
21333
- "kind": "js",
21334
- "name": "IconStyle",
21335
- "declaration": {
21336
- "name": "IconStyle",
21337
- "module": "src/icon/icon.ts"
21338
- }
21339
- },
21340
- {
21341
- "kind": "js",
21342
- "name": "foundationIconShadowOptions",
21343
- "declaration": {
21344
- "name": "foundationIconShadowOptions",
21345
- "module": "src/icon/icon.ts"
21346
- }
21347
- },
21348
- {
21349
- "kind": "js",
21350
- "name": "defaultIconConfig",
21351
- "declaration": {
21352
- "name": "defaultIconConfig",
21353
- "module": "src/icon/icon.ts"
21354
- }
21272
+ "name": "foundationListboxShadowOptions",
21273
+ "type": {
21274
+ "text": "ShadowRootInit"
21275
+ },
21276
+ "default": "undefined"
21355
21277
  },
21356
21278
  {
21357
- "kind": "js",
21358
- "name": "faSizeValueDefault",
21359
- "declaration": {
21360
- "name": "faSizeValueDefault",
21361
- "module": "src/icon/icon.ts"
21362
- }
21279
+ "kind": "variable",
21280
+ "name": "defaultListboxConfig",
21281
+ "type": {
21282
+ "text": "object"
21283
+ },
21284
+ "default": "{}"
21363
21285
  },
21364
21286
  {
21365
- "kind": "js",
21366
- "name": "faSizeValues",
21367
- "declaration": {
21368
- "name": "faSizeValues",
21369
- "module": "src/icon/icon.ts"
21370
- }
21371
- },
21287
+ "kind": "variable",
21288
+ "name": "foundationListbox"
21289
+ }
21290
+ ],
21291
+ "exports": [
21372
21292
  {
21373
21293
  "kind": "js",
21374
- "name": "Icon",
21294
+ "name": "Listbox",
21375
21295
  "declaration": {
21376
- "name": "Icon",
21377
- "module": "src/icon/icon.ts"
21296
+ "name": "Listbox",
21297
+ "module": "src/listbox/listbox.ts"
21378
21298
  }
21379
21299
  },
21380
21300
  {
21381
21301
  "kind": "js",
21382
- "name": "foundationIcon",
21383
- "declaration": {
21384
- "name": "foundationIcon",
21385
- "module": "src/icon/icon.ts"
21386
- }
21387
- }
21388
- ]
21389
- },
21390
- {
21391
- "kind": "javascript-module",
21392
- "path": "src/icon/index.ts",
21393
- "declarations": [],
21394
- "exports": [
21395
- {
21396
- "kind": "js",
21397
- "name": "*",
21302
+ "name": "foundationListboxShadowOptions",
21398
21303
  "declaration": {
21399
- "name": "*",
21400
- "package": "./icon.styles"
21304
+ "name": "foundationListboxShadowOptions",
21305
+ "module": "src/listbox/listbox.ts"
21401
21306
  }
21402
21307
  },
21403
21308
  {
21404
21309
  "kind": "js",
21405
- "name": "*",
21310
+ "name": "defaultListboxConfig",
21406
21311
  "declaration": {
21407
- "name": "*",
21408
- "package": "./icon.template"
21312
+ "name": "defaultListboxConfig",
21313
+ "module": "src/listbox/listbox.ts"
21409
21314
  }
21410
21315
  },
21411
21316
  {
21412
21317
  "kind": "js",
21413
- "name": "*",
21318
+ "name": "foundationListbox",
21414
21319
  "declaration": {
21415
- "name": "*",
21416
- "package": "./icon"
21320
+ "name": "foundationListbox",
21321
+ "module": "src/listbox/listbox.ts"
21417
21322
  }
21418
21323
  }
21419
21324
  ]
21420
21325
  },
21421
21326
  {
21422
21327
  "kind": "javascript-module",
21423
- "path": "src/listbox/index.ts",
21328
+ "path": "src/listbox-option/index.ts",
21424
21329
  "declarations": [],
21425
21330
  "exports": [
21426
21331
  {
@@ -21428,7 +21333,7 @@
21428
21333
  "name": "*",
21429
21334
  "declaration": {
21430
21335
  "name": "*",
21431
- "package": "./listbox.template"
21336
+ "package": "./listbox-option.template"
21432
21337
  }
21433
21338
  },
21434
21339
  {
@@ -21436,7 +21341,7 @@
21436
21341
  "name": "*",
21437
21342
  "declaration": {
21438
21343
  "name": "*",
21439
- "package": "./listbox.styles"
21344
+ "package": "./listbox-option.styles"
21440
21345
  }
21441
21346
  },
21442
21347
  {
@@ -21444,18 +21349,18 @@
21444
21349
  "name": "*",
21445
21350
  "declaration": {
21446
21351
  "name": "*",
21447
- "package": "./listbox"
21352
+ "package": "./listbox-option"
21448
21353
  }
21449
21354
  }
21450
21355
  ]
21451
21356
  },
21452
21357
  {
21453
21358
  "kind": "javascript-module",
21454
- "path": "src/listbox/listbox.styles.ts",
21359
+ "path": "src/listbox-option/listbox-option.styles.ts",
21455
21360
  "declarations": [
21456
21361
  {
21457
21362
  "kind": "function",
21458
- "name": "foundationListboxStyles",
21363
+ "name": "foundationListboxOptionStyles",
21459
21364
  "return": {
21460
21365
  "type": {
21461
21366
  "text": "ElementStyles"
@@ -21480,24 +21385,24 @@
21480
21385
  "exports": [
21481
21386
  {
21482
21387
  "kind": "js",
21483
- "name": "foundationListboxStyles",
21388
+ "name": "foundationListboxOptionStyles",
21484
21389
  "declaration": {
21485
- "name": "foundationListboxStyles",
21486
- "module": "src/listbox/listbox.styles.ts"
21390
+ "name": "foundationListboxOptionStyles",
21391
+ "module": "src/listbox-option/listbox-option.styles.ts"
21487
21392
  }
21488
21393
  }
21489
21394
  ]
21490
21395
  },
21491
21396
  {
21492
21397
  "kind": "javascript-module",
21493
- "path": "src/listbox/listbox.template.ts",
21398
+ "path": "src/listbox-option/listbox-option.template.ts",
21494
21399
  "declarations": [
21495
21400
  {
21496
21401
  "kind": "function",
21497
- "name": "foundationListboxTemplate",
21402
+ "name": "foundationListboxOptionTemplate",
21498
21403
  "return": {
21499
21404
  "type": {
21500
- "text": "ViewTemplate<Listbox>"
21405
+ "text": "ViewTemplate<ListboxOption>"
21501
21406
  }
21502
21407
  },
21503
21408
  "parameters": [
@@ -21519,75 +21424,150 @@
21519
21424
  "exports": [
21520
21425
  {
21521
21426
  "kind": "js",
21522
- "name": "foundationListboxTemplate",
21427
+ "name": "foundationListboxOptionTemplate",
21523
21428
  "declaration": {
21524
- "name": "foundationListboxTemplate",
21525
- "module": "src/listbox/listbox.template.ts"
21429
+ "name": "foundationListboxOptionTemplate",
21430
+ "module": "src/listbox-option/listbox-option.template.ts"
21526
21431
  }
21527
21432
  }
21528
21433
  ]
21529
21434
  },
21530
21435
  {
21531
21436
  "kind": "javascript-module",
21532
- "path": "src/listbox/listbox.ts",
21437
+ "path": "src/listbox-option/listbox-option.ts",
21533
21438
  "declarations": [
21534
21439
  {
21535
21440
  "kind": "class",
21536
21441
  "description": "",
21537
- "name": "Listbox",
21442
+ "name": "ListboxOption",
21538
21443
  "superclass": {
21539
- "name": "FASTListbox",
21444
+ "name": "FASTListboxOption",
21540
21445
  "package": "@microsoft/fast-components"
21541
21446
  },
21542
- "tagName": "%%prefix%%-listbox",
21447
+ "tagName": "%%prefix%%-option",
21543
21448
  "customElement": true,
21544
21449
  "attributes": [
21545
21450
  {
21546
21451
  "type": {
21547
21452
  "text": "boolean"
21548
21453
  },
21549
- "description": "The disabled state of the listbox.",
21454
+ "description": "The disabled state of the option.",
21550
21455
  "fieldName": "disabled",
21551
21456
  "inheritedFrom": {
21552
- "name": "Listbox",
21553
- "module": "src/listbox/listbox.ts"
21457
+ "name": "ListboxOption",
21458
+ "module": "src/listbox-option/listbox-option.ts"
21554
21459
  }
21555
- }
21556
- ],
21557
- "members": [
21460
+ },
21558
21461
  {
21559
- "kind": "field",
21560
- "name": "length",
21462
+ "name": "selected",
21561
21463
  "type": {
21562
- "text": "number"
21464
+ "text": "boolean"
21563
21465
  },
21564
- "privacy": "public",
21565
- "description": "The number of options.",
21466
+ "description": "The selected attribute value. This sets the initial selected value.",
21467
+ "fieldName": "selectedAttribute",
21566
21468
  "inheritedFrom": {
21567
- "name": "Listbox",
21568
- "module": "src/listbox/listbox.ts"
21469
+ "name": "ListboxOption",
21470
+ "module": "src/listbox-option/listbox-option.ts"
21569
21471
  }
21570
21472
  },
21571
21473
  {
21572
- "kind": "field",
21573
- "name": "options",
21474
+ "name": "value",
21574
21475
  "type": {
21575
- "text": "ListboxOption[]"
21476
+ "text": "string"
21576
21477
  },
21577
- "privacy": "public",
21578
- "description": "The list of options.",
21579
- "inheritedFrom": {
21580
- "name": "Listbox",
21581
- "module": "src/listbox/listbox.ts"
21478
+ "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
21479
+ "fieldName": "initialValue",
21480
+ "inheritedFrom": {
21481
+ "name": "ListboxOption",
21482
+ "module": "src/listbox-option/listbox-option.ts"
21483
+ }
21484
+ }
21485
+ ],
21486
+ "members": [
21487
+ {
21488
+ "kind": "field",
21489
+ "name": "checked",
21490
+ "type": {
21491
+ "text": "boolean | undefined"
21492
+ },
21493
+ "privacy": "public",
21494
+ "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.",
21495
+ "inheritedFrom": {
21496
+ "name": "ListboxOption",
21497
+ "module": "src/listbox-option/listbox-option.ts"
21498
+ }
21499
+ },
21500
+ {
21501
+ "kind": "method",
21502
+ "name": "checkedChanged",
21503
+ "privacy": "public",
21504
+ "return": {
21505
+ "type": {
21506
+ "text": "void"
21507
+ }
21508
+ },
21509
+ "parameters": [
21510
+ {
21511
+ "name": "prev",
21512
+ "type": {
21513
+ "text": "boolean | unknown"
21514
+ },
21515
+ "description": "the previous checked value"
21516
+ },
21517
+ {
21518
+ "name": "next",
21519
+ "optional": true,
21520
+ "type": {
21521
+ "text": "boolean"
21522
+ },
21523
+ "description": "the current checked value"
21524
+ }
21525
+ ],
21526
+ "description": "Updates the ariaChecked property when the checked property changes.",
21527
+ "inheritedFrom": {
21528
+ "name": "ListboxOption",
21529
+ "module": "src/listbox-option/listbox-option.ts"
21582
21530
  }
21583
21531
  },
21584
21532
  {
21585
21533
  "kind": "field",
21586
- "name": "typeAheadExpired",
21534
+ "name": "content",
21535
+ "type": {
21536
+ "text": "Node[]"
21537
+ },
21538
+ "privacy": "public",
21539
+ "description": "The default slotted content.",
21540
+ "inheritedFrom": {
21541
+ "name": "ListboxOption",
21542
+ "module": "src/listbox-option/listbox-option.ts"
21543
+ }
21544
+ },
21545
+ {
21546
+ "kind": "field",
21547
+ "name": "defaultSelected",
21548
+ "type": {
21549
+ "text": "boolean"
21550
+ },
21551
+ "privacy": "public",
21552
+ "default": "false",
21553
+ "description": "The defaultSelected state of the option.",
21554
+ "inheritedFrom": {
21555
+ "name": "ListboxOption",
21556
+ "module": "src/listbox-option/listbox-option.ts"
21557
+ }
21558
+ },
21559
+ {
21560
+ "kind": "method",
21561
+ "name": "defaultSelectedChanged",
21587
21562
  "privacy": "protected",
21563
+ "return": {
21564
+ "type": {
21565
+ "text": "void"
21566
+ }
21567
+ },
21588
21568
  "inheritedFrom": {
21589
- "name": "Listbox",
21590
- "module": "src/listbox/listbox.ts"
21569
+ "name": "ListboxOption",
21570
+ "module": "src/listbox-option/listbox-option.ts"
21591
21571
  }
21592
21572
  },
21593
21573
  {
@@ -21597,80 +21577,201 @@
21597
21577
  "text": "boolean"
21598
21578
  },
21599
21579
  "privacy": "public",
21600
- "description": "The disabled state of the listbox.",
21580
+ "description": "The disabled state of the option.",
21601
21581
  "inheritedFrom": {
21602
- "name": "Listbox",
21603
- "module": "src/listbox/listbox.ts"
21582
+ "name": "ListboxOption",
21583
+ "module": "src/listbox-option/listbox-option.ts"
21584
+ }
21585
+ },
21586
+ {
21587
+ "kind": "method",
21588
+ "name": "disabledChanged",
21589
+ "privacy": "protected",
21590
+ "return": {
21591
+ "type": {
21592
+ "text": "void"
21593
+ }
21594
+ },
21595
+ "parameters": [
21596
+ {
21597
+ "name": "prev",
21598
+ "type": {
21599
+ "text": "boolean"
21600
+ }
21601
+ },
21602
+ {
21603
+ "name": "next",
21604
+ "type": {
21605
+ "text": "boolean"
21606
+ }
21607
+ }
21608
+ ],
21609
+ "inheritedFrom": {
21610
+ "name": "ListboxOption",
21611
+ "module": "src/listbox-option/listbox-option.ts"
21604
21612
  }
21605
21613
  },
21606
21614
  {
21607
21615
  "kind": "field",
21608
- "name": "selectedIndex",
21616
+ "name": "selectedAttribute",
21609
21617
  "type": {
21610
- "text": "number"
21618
+ "text": "boolean"
21611
21619
  },
21612
21620
  "privacy": "public",
21613
- "default": "-1",
21614
- "description": "The index of the selected option.",
21621
+ "description": "The selected attribute value. This sets the initial selected value.",
21615
21622
  "inheritedFrom": {
21616
- "name": "Listbox",
21617
- "module": "src/listbox/listbox.ts"
21623
+ "name": "ListboxOption",
21624
+ "module": "src/listbox-option/listbox-option.ts"
21625
+ }
21626
+ },
21627
+ {
21628
+ "kind": "method",
21629
+ "name": "selectedAttributeChanged",
21630
+ "privacy": "protected",
21631
+ "return": {
21632
+ "type": {
21633
+ "text": "void"
21634
+ }
21635
+ },
21636
+ "inheritedFrom": {
21637
+ "name": "ListboxOption",
21638
+ "module": "src/listbox-option/listbox-option.ts"
21618
21639
  }
21619
21640
  },
21620
21641
  {
21621
21642
  "kind": "field",
21622
- "name": "selectedOptions",
21643
+ "name": "selected",
21623
21644
  "type": {
21624
- "text": "ListboxOption[]"
21645
+ "text": "boolean"
21625
21646
  },
21626
21647
  "privacy": "public",
21627
- "default": "[]",
21628
- "description": "A collection of the selected options.",
21648
+ "description": "The checked state of the control.",
21629
21649
  "inheritedFrom": {
21630
- "name": "Listbox",
21631
- "module": "src/listbox/listbox.ts"
21650
+ "name": "ListboxOption",
21651
+ "module": "src/listbox-option/listbox-option.ts"
21652
+ }
21653
+ },
21654
+ {
21655
+ "kind": "method",
21656
+ "name": "selectedChanged",
21657
+ "privacy": "protected",
21658
+ "return": {
21659
+ "type": {
21660
+ "text": "void"
21661
+ }
21662
+ },
21663
+ "inheritedFrom": {
21664
+ "name": "ListboxOption",
21665
+ "module": "src/listbox-option/listbox-option.ts"
21632
21666
  }
21633
21667
  },
21634
21668
  {
21635
21669
  "kind": "field",
21636
- "name": "slottedOptionFilter",
21670
+ "name": "dirtyValue",
21671
+ "type": {
21672
+ "text": "boolean"
21673
+ },
21637
21674
  "privacy": "public",
21638
- "static": true,
21639
- "description": "A static filter to include only selectable options.",
21640
- "parameters": [
21641
- {
21642
- "description": "element to filter",
21643
- "name": "n"
21644
- }
21645
- ],
21675
+ "default": "false",
21676
+ "description": "Track whether the value has been changed from the initial value",
21646
21677
  "inheritedFrom": {
21647
- "name": "Listbox",
21648
- "module": "src/listbox/listbox.ts"
21678
+ "name": "ListboxOption",
21679
+ "module": "src/listbox-option/listbox-option.ts"
21680
+ }
21681
+ },
21682
+ {
21683
+ "kind": "field",
21684
+ "name": "initialValue",
21685
+ "type": {
21686
+ "text": "string"
21687
+ },
21688
+ "privacy": "protected",
21689
+ "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
21690
+ "inheritedFrom": {
21691
+ "name": "ListboxOption",
21692
+ "module": "src/listbox-option/listbox-option.ts"
21649
21693
  }
21650
21694
  },
21651
21695
  {
21652
21696
  "kind": "method",
21653
- "name": "selectFirstOption",
21697
+ "name": "initialValueChanged",
21654
21698
  "privacy": "public",
21655
21699
  "return": {
21656
21700
  "type": {
21657
21701
  "text": "void"
21658
21702
  }
21659
21703
  },
21660
- "description": "Moves focus to the first selectable option.",
21704
+ "parameters": [
21705
+ {
21706
+ "name": "previous",
21707
+ "type": {
21708
+ "text": "string"
21709
+ }
21710
+ },
21711
+ {
21712
+ "name": "next",
21713
+ "type": {
21714
+ "text": "string"
21715
+ }
21716
+ }
21717
+ ],
21661
21718
  "inheritedFrom": {
21662
- "name": "Listbox",
21663
- "module": "src/listbox/listbox.ts"
21719
+ "name": "ListboxOption",
21720
+ "module": "src/listbox-option/listbox-option.ts"
21664
21721
  }
21665
21722
  },
21666
21723
  {
21667
- "kind": "method",
21668
- "name": "setSelectedOptions",
21724
+ "kind": "field",
21725
+ "name": "label",
21669
21726
  "privacy": "public",
21670
- "description": "Sets an option as selected and gives it focus.",
21671
21727
  "inheritedFrom": {
21672
- "name": "Listbox",
21673
- "module": "src/listbox/listbox.ts"
21728
+ "name": "ListboxOption",
21729
+ "module": "src/listbox-option/listbox-option.ts"
21730
+ }
21731
+ },
21732
+ {
21733
+ "kind": "field",
21734
+ "name": "text",
21735
+ "type": {
21736
+ "text": "string"
21737
+ },
21738
+ "privacy": "public",
21739
+ "inheritedFrom": {
21740
+ "name": "ListboxOption",
21741
+ "module": "src/listbox-option/listbox-option.ts"
21742
+ }
21743
+ },
21744
+ {
21745
+ "kind": "field",
21746
+ "name": "value",
21747
+ "privacy": "public",
21748
+ "type": {
21749
+ "text": "string"
21750
+ },
21751
+ "inheritedFrom": {
21752
+ "name": "ListboxOption",
21753
+ "module": "src/listbox-option/listbox-option.ts"
21754
+ }
21755
+ },
21756
+ {
21757
+ "kind": "field",
21758
+ "name": "form",
21759
+ "type": {
21760
+ "text": "HTMLFormElement | null"
21761
+ },
21762
+ "privacy": "public",
21763
+ "inheritedFrom": {
21764
+ "name": "ListboxOption",
21765
+ "module": "src/listbox-option/listbox-option.ts"
21766
+ }
21767
+ },
21768
+ {
21769
+ "kind": "field",
21770
+ "name": "proxy",
21771
+ "default": "new Option(\n `${this.textContent}`,\n this.initialValue,\n this.defaultSelected,\n this.selected\n )",
21772
+ "inheritedFrom": {
21773
+ "name": "ListboxOption",
21774
+ "module": "src/listbox-option/listbox-option.ts"
21674
21775
  }
21675
21776
  },
21676
21777
  {
@@ -21788,7 +21889,7 @@
21788
21889
  },
21789
21890
  {
21790
21891
  "kind": "variable",
21791
- "name": "foundationListboxShadowOptions",
21892
+ "name": "foundationListboxOptionShadowOptions",
21792
21893
  "type": {
21793
21894
  "text": "ShadowRootInit"
21794
21895
  },
@@ -21796,7 +21897,7 @@
21796
21897
  },
21797
21898
  {
21798
21899
  "kind": "variable",
21799
- "name": "defaultListboxConfig",
21900
+ "name": "defaultListboxOptionConfig",
21800
21901
  "type": {
21801
21902
  "text": "object"
21802
21903
  },
@@ -21804,82 +21905,51 @@
21804
21905
  },
21805
21906
  {
21806
21907
  "kind": "variable",
21807
- "name": "foundationListbox"
21908
+ "name": "foundationListboxOption"
21808
21909
  }
21809
21910
  ],
21810
21911
  "exports": [
21811
21912
  {
21812
21913
  "kind": "js",
21813
- "name": "Listbox",
21814
- "declaration": {
21815
- "name": "Listbox",
21816
- "module": "src/listbox/listbox.ts"
21817
- }
21818
- },
21819
- {
21820
- "kind": "js",
21821
- "name": "foundationListboxShadowOptions",
21822
- "declaration": {
21823
- "name": "foundationListboxShadowOptions",
21824
- "module": "src/listbox/listbox.ts"
21825
- }
21826
- },
21827
- {
21828
- "kind": "js",
21829
- "name": "defaultListboxConfig",
21914
+ "name": "ListboxOption",
21830
21915
  "declaration": {
21831
- "name": "defaultListboxConfig",
21832
- "module": "src/listbox/listbox.ts"
21916
+ "name": "ListboxOption",
21917
+ "module": "src/listbox-option/listbox-option.ts"
21833
21918
  }
21834
21919
  },
21835
21920
  {
21836
21921
  "kind": "js",
21837
- "name": "foundationListbox",
21838
- "declaration": {
21839
- "name": "foundationListbox",
21840
- "module": "src/listbox/listbox.ts"
21841
- }
21842
- }
21843
- ]
21844
- },
21845
- {
21846
- "kind": "javascript-module",
21847
- "path": "src/listbox-option/index.ts",
21848
- "declarations": [],
21849
- "exports": [
21850
- {
21851
- "kind": "js",
21852
- "name": "*",
21922
+ "name": "foundationListboxOptionShadowOptions",
21853
21923
  "declaration": {
21854
- "name": "*",
21855
- "package": "./listbox-option.template"
21924
+ "name": "foundationListboxOptionShadowOptions",
21925
+ "module": "src/listbox-option/listbox-option.ts"
21856
21926
  }
21857
21927
  },
21858
21928
  {
21859
21929
  "kind": "js",
21860
- "name": "*",
21930
+ "name": "defaultListboxOptionConfig",
21861
21931
  "declaration": {
21862
- "name": "*",
21863
- "package": "./listbox-option.styles"
21932
+ "name": "defaultListboxOptionConfig",
21933
+ "module": "src/listbox-option/listbox-option.ts"
21864
21934
  }
21865
21935
  },
21866
21936
  {
21867
21937
  "kind": "js",
21868
- "name": "*",
21938
+ "name": "foundationListboxOption",
21869
21939
  "declaration": {
21870
- "name": "*",
21871
- "package": "./listbox-option"
21940
+ "name": "foundationListboxOption",
21941
+ "module": "src/listbox-option/listbox-option.ts"
21872
21942
  }
21873
21943
  }
21874
21944
  ]
21875
21945
  },
21876
21946
  {
21877
21947
  "kind": "javascript-module",
21878
- "path": "src/listbox-option/listbox-option.styles.ts",
21948
+ "path": "src/icon/icon.styles.ts",
21879
21949
  "declarations": [
21880
21950
  {
21881
21951
  "kind": "function",
21882
- "name": "foundationListboxOptionStyles",
21952
+ "name": "foundationIconStyles",
21883
21953
  "return": {
21884
21954
  "type": {
21885
21955
  "text": "ElementStyles"
@@ -21904,394 +21974,222 @@
21904
21974
  "exports": [
21905
21975
  {
21906
21976
  "kind": "js",
21907
- "name": "foundationListboxOptionStyles",
21977
+ "name": "foundationIconStyles",
21908
21978
  "declaration": {
21909
- "name": "foundationListboxOptionStyles",
21910
- "module": "src/listbox-option/listbox-option.styles.ts"
21979
+ "name": "foundationIconStyles",
21980
+ "module": "src/icon/icon.styles.ts"
21911
21981
  }
21912
21982
  }
21913
21983
  ]
21914
21984
  },
21915
21985
  {
21916
21986
  "kind": "javascript-module",
21917
- "path": "src/listbox-option/listbox-option.template.ts",
21987
+ "path": "src/icon/icon.template.ts",
21918
21988
  "declarations": [
21919
21989
  {
21920
21990
  "kind": "function",
21921
- "name": "foundationListboxOptionTemplate",
21991
+ "name": "getPrefixedIcon",
21922
21992
  "return": {
21923
21993
  "type": {
21924
- "text": "ViewTemplate<ListboxOption>"
21994
+ "text": "ViewTemplate"
21925
21995
  }
21926
21996
  },
21927
21997
  "parameters": [
21928
21998
  {
21929
- "name": "context",
21930
- "type": {
21931
- "text": "ElementDefinitionContext"
21932
- }
21933
- },
21934
- {
21935
- "name": "definition",
21999
+ "name": "prefix",
21936
22000
  "type": {
21937
- "text": "FoundationElementDefinition"
22001
+ "text": "string"
21938
22002
  }
21939
22003
  }
21940
22004
  ]
22005
+ },
22006
+ {
22007
+ "kind": "variable",
22008
+ "name": "foundationIconTemplate",
22009
+ "default": "html<Icon>`\n ${(x) => getPrefixedIcon(getPrefix(x))}\n`"
21941
22010
  }
21942
22011
  ],
21943
22012
  "exports": [
21944
22013
  {
21945
22014
  "kind": "js",
21946
- "name": "foundationListboxOptionTemplate",
22015
+ "name": "getPrefixedIcon",
21947
22016
  "declaration": {
21948
- "name": "foundationListboxOptionTemplate",
21949
- "module": "src/listbox-option/listbox-option.template.ts"
22017
+ "name": "getPrefixedIcon",
22018
+ "module": "src/icon/icon.template.ts"
22019
+ }
22020
+ },
22021
+ {
22022
+ "kind": "js",
22023
+ "name": "foundationIconTemplate",
22024
+ "declaration": {
22025
+ "name": "foundationIconTemplate",
22026
+ "module": "src/icon/icon.template.ts"
21950
22027
  }
21951
22028
  }
21952
22029
  ]
21953
22030
  },
21954
22031
  {
21955
22032
  "kind": "javascript-module",
21956
- "path": "src/listbox-option/listbox-option.ts",
22033
+ "path": "src/icon/icon.ts",
21957
22034
  "declarations": [
22035
+ {
22036
+ "kind": "variable",
22037
+ "name": "foundationIconShadowOptions",
22038
+ "type": {
22039
+ "text": "ShadowRootInit"
22040
+ },
22041
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
22042
+ },
22043
+ {
22044
+ "kind": "variable",
22045
+ "name": "defaultIconConfig",
22046
+ "type": {
22047
+ "text": "object"
22048
+ },
22049
+ "default": "{}"
22050
+ },
22051
+ {
22052
+ "kind": "variable",
22053
+ "name": "faSizeValueDefault",
22054
+ "type": {
22055
+ "text": "'1x'"
22056
+ },
22057
+ "default": "'1x'"
22058
+ },
22059
+ {
22060
+ "kind": "variable",
22061
+ "name": "faSizeValues",
22062
+ "type": {
22063
+ "text": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
22064
+ },
22065
+ "default": "[\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n faSizeValueDefault,\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n 'stack-1x',\n 'stack-2x',\n]"
22066
+ },
21958
22067
  {
21959
22068
  "kind": "class",
21960
22069
  "description": "",
21961
- "name": "ListboxOption",
21962
- "superclass": {
21963
- "name": "FASTListboxOption",
21964
- "package": "@microsoft/fast-components"
21965
- },
21966
- "tagName": "%%prefix%%-option",
21967
- "customElement": true,
21968
- "attributes": [
22070
+ "name": "Icon",
22071
+ "members": [
21969
22072
  {
22073
+ "kind": "field",
22074
+ "name": "iElement",
21970
22075
  "type": {
21971
- "text": "boolean"
21972
- },
21973
- "description": "The disabled state of the option.",
21974
- "fieldName": "disabled",
21975
- "inheritedFrom": {
21976
- "name": "ListboxOption",
21977
- "module": "src/listbox-option/listbox-option.ts"
22076
+ "text": "HTMLElement"
21978
22077
  }
21979
22078
  },
21980
22079
  {
21981
- "name": "selected",
22080
+ "kind": "field",
22081
+ "name": "uuid",
21982
22082
  "type": {
21983
- "text": "boolean"
21984
- },
21985
- "description": "The selected attribute value. This sets the initial selected value.",
21986
- "fieldName": "selectedAttribute",
21987
- "inheritedFrom": {
21988
- "name": "ListboxOption",
21989
- "module": "src/listbox-option/listbox-option.ts"
22083
+ "text": "UUID"
21990
22084
  }
21991
22085
  },
21992
- {
21993
- "name": "value",
21994
- "type": {
21995
- "text": "string"
21996
- },
21997
- "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
21998
- "fieldName": "initialValue",
21999
- "inheritedFrom": {
22000
- "name": "ListboxOption",
22001
- "module": "src/listbox-option/listbox-option.ts"
22002
- }
22003
- }
22004
- ],
22005
- "members": [
22006
22086
  {
22007
22087
  "kind": "field",
22008
- "name": "checked",
22088
+ "name": "tooltipId",
22009
22089
  "type": {
22010
- "text": "boolean | undefined"
22011
- },
22012
- "privacy": "public",
22013
- "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.",
22014
- "inheritedFrom": {
22015
- "name": "ListboxOption",
22016
- "module": "src/listbox-option/listbox-option.ts"
22017
- }
22018
- },
22019
- {
22020
- "kind": "method",
22021
- "name": "checkedChanged",
22022
- "privacy": "public",
22023
- "return": {
22024
- "type": {
22025
- "text": "void"
22026
- }
22027
- },
22028
- "parameters": [
22029
- {
22030
- "name": "prev",
22031
- "type": {
22032
- "text": "boolean | unknown"
22033
- },
22034
- "description": "the previous checked value"
22035
- },
22036
- {
22037
- "name": "next",
22038
- "optional": true,
22039
- "type": {
22040
- "text": "boolean"
22041
- },
22042
- "description": "the current checked value"
22043
- }
22044
- ],
22045
- "description": "Updates the ariaChecked property when the checked property changes.",
22046
- "inheritedFrom": {
22047
- "name": "ListboxOption",
22048
- "module": "src/listbox-option/listbox-option.ts"
22090
+ "text": "string"
22049
22091
  }
22050
22092
  },
22051
22093
  {
22052
22094
  "kind": "field",
22053
- "name": "content",
22095
+ "name": "tooltip",
22054
22096
  "type": {
22055
- "text": "Node[]"
22056
- },
22057
- "privacy": "public",
22058
- "description": "The default slotted content.",
22059
- "inheritedFrom": {
22060
- "name": "ListboxOption",
22061
- "module": "src/listbox-option/listbox-option.ts"
22097
+ "text": "string"
22062
22098
  }
22063
22099
  },
22064
22100
  {
22065
22101
  "kind": "field",
22066
- "name": "defaultSelected",
22102
+ "name": "isError",
22067
22103
  "type": {
22068
22104
  "text": "boolean"
22069
22105
  },
22070
- "privacy": "public",
22071
- "default": "false",
22072
- "description": "The defaultSelected state of the option.",
22073
- "inheritedFrom": {
22074
- "name": "ListboxOption",
22075
- "module": "src/listbox-option/listbox-option.ts"
22076
- }
22077
- },
22078
- {
22079
- "kind": "method",
22080
- "name": "defaultSelectedChanged",
22081
- "privacy": "protected",
22082
- "return": {
22083
- "type": {
22084
- "text": "void"
22085
- }
22086
- },
22087
- "inheritedFrom": {
22088
- "name": "ListboxOption",
22089
- "module": "src/listbox-option/listbox-option.ts"
22090
- }
22106
+ "default": "false"
22091
22107
  },
22092
22108
  {
22093
22109
  "kind": "field",
22094
- "name": "disabled",
22110
+ "name": "name",
22095
22111
  "type": {
22096
- "text": "boolean"
22097
- },
22098
- "privacy": "public",
22099
- "description": "The disabled state of the option.",
22100
- "inheritedFrom": {
22101
- "name": "ListboxOption",
22102
- "module": "src/listbox-option/listbox-option.ts"
22112
+ "text": "IconName"
22103
22113
  }
22104
22114
  },
22105
22115
  {
22106
22116
  "kind": "method",
22107
- "name": "disabledChanged",
22108
- "privacy": "protected",
22109
- "return": {
22110
- "type": {
22111
- "text": "void"
22112
- }
22113
- },
22117
+ "name": "nameChanged",
22114
22118
  "parameters": [
22115
22119
  {
22116
- "name": "prev",
22120
+ "name": "oldValue",
22117
22121
  "type": {
22118
- "text": "boolean"
22122
+ "text": "string"
22119
22123
  }
22120
22124
  },
22121
22125
  {
22122
- "name": "next",
22126
+ "name": "newValue",
22123
22127
  "type": {
22124
- "text": "boolean"
22128
+ "text": "string"
22125
22129
  }
22126
22130
  }
22127
- ],
22128
- "inheritedFrom": {
22129
- "name": "ListboxOption",
22130
- "module": "src/listbox-option/listbox-option.ts"
22131
- }
22132
- },
22133
- {
22134
- "kind": "field",
22135
- "name": "selectedAttribute",
22136
- "type": {
22137
- "text": "boolean"
22138
- },
22139
- "privacy": "public",
22140
- "description": "The selected attribute value. This sets the initial selected value.",
22141
- "inheritedFrom": {
22142
- "name": "ListboxOption",
22143
- "module": "src/listbox-option/listbox-option.ts"
22144
- }
22145
- },
22146
- {
22147
- "kind": "method",
22148
- "name": "selectedAttributeChanged",
22149
- "privacy": "protected",
22150
- "return": {
22151
- "type": {
22152
- "text": "void"
22153
- }
22154
- },
22155
- "inheritedFrom": {
22156
- "name": "ListboxOption",
22157
- "module": "src/listbox-option/listbox-option.ts"
22158
- }
22131
+ ]
22159
22132
  },
22160
22133
  {
22161
22134
  "kind": "field",
22162
- "name": "selected",
22135
+ "name": "size",
22163
22136
  "type": {
22164
- "text": "boolean"
22137
+ "text": "FaSize"
22165
22138
  },
22166
- "privacy": "public",
22167
- "description": "The checked state of the control.",
22168
- "inheritedFrom": {
22169
- "name": "ListboxOption",
22170
- "module": "src/listbox-option/listbox-option.ts"
22171
- }
22139
+ "default": "'sm'"
22172
22140
  },
22173
22141
  {
22174
22142
  "kind": "method",
22175
- "name": "selectedChanged",
22176
- "privacy": "protected",
22177
- "return": {
22178
- "type": {
22179
- "text": "void"
22143
+ "name": "sizeChanged",
22144
+ "parameters": [
22145
+ {
22146
+ "name": "oldValue",
22147
+ "type": {
22148
+ "text": "string"
22149
+ }
22150
+ },
22151
+ {
22152
+ "name": "newValue",
22153
+ "type": {
22154
+ "text": "string"
22155
+ }
22180
22156
  }
22181
- },
22182
- "inheritedFrom": {
22183
- "name": "ListboxOption",
22184
- "module": "src/listbox-option/listbox-option.ts"
22185
- }
22186
- },
22187
- {
22188
- "kind": "field",
22189
- "name": "dirtyValue",
22190
- "type": {
22191
- "text": "boolean"
22192
- },
22193
- "privacy": "public",
22194
- "default": "false",
22195
- "description": "Track whether the value has been changed from the initial value",
22196
- "inheritedFrom": {
22197
- "name": "ListboxOption",
22198
- "module": "src/listbox-option/listbox-option.ts"
22199
- }
22157
+ ]
22200
22158
  },
22201
22159
  {
22202
22160
  "kind": "field",
22203
- "name": "initialValue",
22161
+ "name": "variant",
22204
22162
  "type": {
22205
- "text": "string"
22163
+ "text": "IconStyle"
22206
22164
  },
22207
- "privacy": "protected",
22208
- "description": "The initial value of the option. This value sets the `value` property\nonly when the `value` property has not been explicitly set.",
22209
- "inheritedFrom": {
22210
- "name": "ListboxOption",
22211
- "module": "src/listbox-option/listbox-option.ts"
22212
- }
22165
+ "default": "'solid'"
22213
22166
  },
22214
22167
  {
22215
22168
  "kind": "method",
22216
- "name": "initialValueChanged",
22217
- "privacy": "public",
22218
- "return": {
22219
- "type": {
22220
- "text": "void"
22221
- }
22222
- },
22169
+ "name": "variantChanged",
22223
22170
  "parameters": [
22224
22171
  {
22225
- "name": "previous",
22172
+ "name": "oldValue",
22226
22173
  "type": {
22227
22174
  "text": "string"
22228
22175
  }
22229
22176
  },
22230
22177
  {
22231
- "name": "next",
22178
+ "name": "newValue",
22232
22179
  "type": {
22233
22180
  "text": "string"
22234
22181
  }
22235
22182
  }
22236
- ],
22237
- "inheritedFrom": {
22238
- "name": "ListboxOption",
22239
- "module": "src/listbox-option/listbox-option.ts"
22240
- }
22241
- },
22242
- {
22243
- "kind": "field",
22244
- "name": "label",
22245
- "privacy": "public",
22246
- "inheritedFrom": {
22247
- "name": "ListboxOption",
22248
- "module": "src/listbox-option/listbox-option.ts"
22249
- }
22250
- },
22251
- {
22252
- "kind": "field",
22253
- "name": "text",
22254
- "type": {
22255
- "text": "string"
22256
- },
22257
- "privacy": "public",
22258
- "inheritedFrom": {
22259
- "name": "ListboxOption",
22260
- "module": "src/listbox-option/listbox-option.ts"
22261
- }
22262
- },
22263
- {
22264
- "kind": "field",
22265
- "name": "value",
22266
- "privacy": "public",
22267
- "type": {
22268
- "text": "string"
22269
- },
22270
- "inheritedFrom": {
22271
- "name": "ListboxOption",
22272
- "module": "src/listbox-option/listbox-option.ts"
22273
- }
22183
+ ]
22274
22184
  },
22275
22185
  {
22276
- "kind": "field",
22277
- "name": "form",
22278
- "type": {
22279
- "text": "HTMLFormElement | null"
22280
- },
22281
- "privacy": "public",
22282
- "inheritedFrom": {
22283
- "name": "ListboxOption",
22284
- "module": "src/listbox-option/listbox-option.ts"
22285
- }
22186
+ "kind": "method",
22187
+ "name": "getDefaultTooltipConfig"
22286
22188
  },
22287
22189
  {
22288
- "kind": "field",
22289
- "name": "proxy",
22290
- "default": "new Option(\n `${this.textContent}`,\n this.initialValue,\n this.defaultSelected,\n this.selected\n )",
22291
- "inheritedFrom": {
22292
- "name": "ListboxOption",
22293
- "module": "src/listbox-option/listbox-option.ts"
22294
- }
22190
+ "kind": "method",
22191
+ "name": "loadIcon",
22192
+ "privacy": "public"
22295
22193
  },
22296
22194
  {
22297
22195
  "kind": "field",
@@ -22404,60 +22302,162 @@
22404
22302
  "module": "src/foundation-element/foundation-element.ts"
22405
22303
  }
22406
22304
  }
22407
- ]
22408
- },
22409
- {
22410
- "kind": "variable",
22411
- "name": "foundationListboxOptionShadowOptions",
22412
- "type": {
22413
- "text": "ShadowRootInit"
22414
- },
22415
- "default": "undefined"
22416
- },
22417
- {
22418
- "kind": "variable",
22419
- "name": "defaultListboxOptionConfig",
22420
- "type": {
22421
- "text": "object"
22305
+ ],
22306
+ "attributes": [
22307
+ {
22308
+ "name": "tooltip-id",
22309
+ "type": {
22310
+ "text": "string"
22311
+ },
22312
+ "fieldName": "tooltipId"
22313
+ },
22314
+ {
22315
+ "name": "tooltip",
22316
+ "type": {
22317
+ "text": "string"
22318
+ },
22319
+ "fieldName": "tooltip"
22320
+ },
22321
+ {
22322
+ "name": "error",
22323
+ "type": {
22324
+ "text": "boolean"
22325
+ },
22326
+ "default": "false",
22327
+ "fieldName": "isError"
22328
+ },
22329
+ {
22330
+ "name": "name",
22331
+ "type": {
22332
+ "text": "IconName"
22333
+ },
22334
+ "fieldName": "name"
22335
+ },
22336
+ {
22337
+ "name": "size",
22338
+ "type": {
22339
+ "text": "FaSize"
22340
+ },
22341
+ "default": "'sm'",
22342
+ "fieldName": "size"
22343
+ },
22344
+ {
22345
+ "name": "variant",
22346
+ "type": {
22347
+ "text": "IconStyle"
22348
+ },
22349
+ "default": "'solid'",
22350
+ "fieldName": "variant"
22351
+ }
22352
+ ],
22353
+ "superclass": {
22354
+ "name": "FoundationElement",
22355
+ "package": "@microsoft/fast-foundation"
22422
22356
  },
22423
- "default": "{}"
22357
+ "tagName": "%%prefix%%-icon",
22358
+ "customElement": true
22424
22359
  },
22425
22360
  {
22426
22361
  "kind": "variable",
22427
- "name": "foundationListboxOption"
22362
+ "name": "foundationIcon",
22363
+ "description": "The Foundation Icon",
22364
+ "privacy": "public"
22428
22365
  }
22429
22366
  ],
22430
22367
  "exports": [
22431
22368
  {
22432
22369
  "kind": "js",
22433
- "name": "ListboxOption",
22370
+ "name": "IconName",
22434
22371
  "declaration": {
22435
- "name": "ListboxOption",
22436
- "module": "src/listbox-option/listbox-option.ts"
22372
+ "name": "IconName",
22373
+ "module": "src/icon/icon.ts"
22437
22374
  }
22438
22375
  },
22439
22376
  {
22440
22377
  "kind": "js",
22441
- "name": "foundationListboxOptionShadowOptions",
22378
+ "name": "IconStyle",
22442
22379
  "declaration": {
22443
- "name": "foundationListboxOptionShadowOptions",
22444
- "module": "src/listbox-option/listbox-option.ts"
22380
+ "name": "IconStyle",
22381
+ "module": "src/icon/icon.ts"
22445
22382
  }
22446
22383
  },
22447
22384
  {
22448
22385
  "kind": "js",
22449
- "name": "defaultListboxOptionConfig",
22386
+ "name": "foundationIconShadowOptions",
22450
22387
  "declaration": {
22451
- "name": "defaultListboxOptionConfig",
22452
- "module": "src/listbox-option/listbox-option.ts"
22388
+ "name": "foundationIconShadowOptions",
22389
+ "module": "src/icon/icon.ts"
22453
22390
  }
22454
22391
  },
22455
22392
  {
22456
22393
  "kind": "js",
22457
- "name": "foundationListboxOption",
22394
+ "name": "defaultIconConfig",
22458
22395
  "declaration": {
22459
- "name": "foundationListboxOption",
22460
- "module": "src/listbox-option/listbox-option.ts"
22396
+ "name": "defaultIconConfig",
22397
+ "module": "src/icon/icon.ts"
22398
+ }
22399
+ },
22400
+ {
22401
+ "kind": "js",
22402
+ "name": "faSizeValueDefault",
22403
+ "declaration": {
22404
+ "name": "faSizeValueDefault",
22405
+ "module": "src/icon/icon.ts"
22406
+ }
22407
+ },
22408
+ {
22409
+ "kind": "js",
22410
+ "name": "faSizeValues",
22411
+ "declaration": {
22412
+ "name": "faSizeValues",
22413
+ "module": "src/icon/icon.ts"
22414
+ }
22415
+ },
22416
+ {
22417
+ "kind": "js",
22418
+ "name": "Icon",
22419
+ "declaration": {
22420
+ "name": "Icon",
22421
+ "module": "src/icon/icon.ts"
22422
+ }
22423
+ },
22424
+ {
22425
+ "kind": "js",
22426
+ "name": "foundationIcon",
22427
+ "declaration": {
22428
+ "name": "foundationIcon",
22429
+ "module": "src/icon/icon.ts"
22430
+ }
22431
+ }
22432
+ ]
22433
+ },
22434
+ {
22435
+ "kind": "javascript-module",
22436
+ "path": "src/icon/index.ts",
22437
+ "declarations": [],
22438
+ "exports": [
22439
+ {
22440
+ "kind": "js",
22441
+ "name": "*",
22442
+ "declaration": {
22443
+ "name": "*",
22444
+ "package": "./icon.styles"
22445
+ }
22446
+ },
22447
+ {
22448
+ "kind": "js",
22449
+ "name": "*",
22450
+ "declaration": {
22451
+ "name": "*",
22452
+ "package": "./icon.template"
22453
+ }
22454
+ },
22455
+ {
22456
+ "kind": "js",
22457
+ "name": "*",
22458
+ "declaration": {
22459
+ "name": "*",
22460
+ "package": "./icon"
22461
22461
  }
22462
22462
  }
22463
22463
  ]
@@ -23457,6 +23457,468 @@
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
+ },
23460
23922
  {
23461
23923
  "kind": "javascript-module",
23462
23924
  "path": "src/multiselect/index.ts",
@@ -24199,402 +24661,84 @@
24199
24661
  "fieldName": "async"
24200
24662
  },
24201
24663
  {
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",
24664
+ "name": "debounce",
24482
24665
  "type": {
24483
- "text": "ElementStyles | void | null"
24666
+ "text": "number"
24484
24667
  },
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
- }
24668
+ "default": "DEBOUNCE_TIME",
24669
+ "resolveInitializer": {
24670
+ "module": "src/multiselect/multiselect.ts"
24500
24671
  },
24501
- "inheritedFrom": {
24502
- "name": "FoundationElement",
24503
- "module": "src/foundation-element/foundation-element.ts"
24504
- }
24672
+ "fieldName": "debounce"
24505
24673
  },
24506
24674
  {
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
- }
24675
+ "name": "filter-by-contains",
24676
+ "type": {
24677
+ "text": "boolean"
24515
24678
  },
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"
24679
+ "default": "false",
24680
+ "description": "Tells if the filter uses a contains; if FALSE, will filter using a starts-with check",
24681
+ "fieldName": "filterByContains"
24543
24682
  },
24544
24683
  {
24545
- "name": "close-timeout",
24684
+ "name": "position",
24546
24685
  "type": {
24547
- "text": "number"
24686
+ "text": "Position"
24548
24687
  },
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"
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"
24552
24690
  }
24553
24691
  ],
24554
24692
  "superclass": {
24555
24693
  "name": "FoundationElement",
24556
24694
  "package": "@microsoft/fast-foundation"
24557
24695
  },
24558
- "tagName": "%%prefix%%-notification-listener",
24696
+ "tagName": "%%prefix%%-multiselect",
24559
24697
  "customElement": true
24560
24698
  },
24561
24699
  {
24562
24700
  "kind": "variable",
24563
- "name": "foundationNotificationListener",
24564
- "description": "The Foundation Notification Listener",
24565
- "privacy": "public"
24701
+ "name": "foundationMultiselect"
24566
24702
  }
24567
24703
  ],
24568
24704
  "exports": [
24569
24705
  {
24570
24706
  "kind": "js",
24571
- "name": "foundationNotificationListenerShadowOptions",
24707
+ "name": "foundationMultiselectShadowOptions",
24572
24708
  "declaration": {
24573
- "name": "foundationNotificationListenerShadowOptions",
24574
- "module": "src/notification-listener/notification-listener.ts"
24709
+ "name": "foundationMultiselectShadowOptions",
24710
+ "module": "src/multiselect/multiselect.ts"
24575
24711
  }
24576
24712
  },
24577
24713
  {
24578
24714
  "kind": "js",
24579
- "name": "NotificationListener",
24715
+ "name": "defaultMultiselectConfig",
24580
24716
  "declaration": {
24581
- "name": "NotificationListener",
24582
- "module": "src/notification-listener/notification-listener.ts"
24717
+ "name": "defaultMultiselectConfig",
24718
+ "module": "src/multiselect/multiselect.ts"
24583
24719
  }
24584
24720
  },
24585
24721
  {
24586
24722
  "kind": "js",
24587
- "name": "foundationNotificationListener",
24723
+ "name": "Multiselect",
24588
24724
  "declaration": {
24589
- "name": "foundationNotificationListener",
24590
- "module": "src/notification-listener/notification-listener.ts"
24725
+ "name": "Multiselect",
24726
+ "module": "src/multiselect/multiselect.ts"
24727
+ }
24728
+ },
24729
+ {
24730
+ "kind": "js",
24731
+ "name": "foundationMultiselect",
24732
+ "declaration": {
24733
+ "name": "foundationMultiselect",
24734
+ "module": "src/multiselect/multiselect.ts"
24591
24735
  }
24592
24736
  }
24593
24737
  ]
24594
24738
  },
24595
24739
  {
24596
24740
  "kind": "javascript-module",
24597
- "path": "src/modal/index.ts",
24741
+ "path": "src/notification-listener/index.ts",
24598
24742
  "declarations": [],
24599
24743
  "exports": [
24600
24744
  {
@@ -24602,15 +24746,7 @@
24602
24746
  "name": "*",
24603
24747
  "declaration": {
24604
24748
  "name": "*",
24605
- "package": "./modal.styles"
24606
- }
24607
- },
24608
- {
24609
- "kind": "js",
24610
- "name": "*",
24611
- "declaration": {
24612
- "name": "*",
24613
- "package": "./modal.template"
24749
+ "package": "./notification-listener.template"
24614
24750
  }
24615
24751
  },
24616
24752
  {
@@ -24618,241 +24754,136 @@
24618
24754
  "name": "*",
24619
24755
  "declaration": {
24620
24756
  "name": "*",
24621
- "package": "./modal"
24622
- }
24623
- }
24624
- ]
24625
- },
24626
- {
24627
- "kind": "javascript-module",
24628
- "path": "src/modal/modal.styles.ts",
24629
- "declarations": [
24630
- {
24631
- "kind": "variable",
24632
- "name": "foundationModalStyles",
24633
- "type": {
24634
- "text": "ElementStyles"
24635
- },
24636
- "default": "css`\n ${foundationDialogStyles}\n`"
24637
- }
24638
- ],
24639
- "exports": [
24640
- {
24641
- "kind": "js",
24642
- "name": "foundationModalStyles",
24643
- "declaration": {
24644
- "name": "foundationModalStyles",
24645
- "module": "src/modal/modal.styles.ts"
24757
+ "package": "./notification-listener"
24646
24758
  }
24647
24759
  }
24648
24760
  ]
24649
24761
  },
24650
24762
  {
24651
24763
  "kind": "javascript-module",
24652
- "path": "src/modal/modal.template.ts",
24764
+ "path": "src/notification-listener/notification-listener.template.ts",
24653
24765
  "declarations": [
24654
24766
  {
24655
24767
  "kind": "variable",
24656
- "name": "foundationModalTemplate",
24768
+ "name": "foundationNotificationListenerTemplate",
24657
24769
  "type": {
24658
- "text": "ViewTemplate<Modal>"
24770
+ "text": "ViewTemplate<NotificationListener>"
24659
24771
  },
24660
- "default": "html`\n ${foundationDialogTemplate}\n`"
24772
+ "default": "html<NotificationListener>`\n <template ${ref('notificationListener')}>\n <slot></slot>\n </template>\n`"
24661
24773
  }
24662
24774
  ],
24663
24775
  "exports": [
24664
24776
  {
24665
24777
  "kind": "js",
24666
- "name": "foundationModalTemplate",
24778
+ "name": "foundationNotificationListenerTemplate",
24667
24779
  "declaration": {
24668
- "name": "foundationModalTemplate",
24669
- "module": "src/modal/modal.template.ts"
24780
+ "name": "foundationNotificationListenerTemplate",
24781
+ "module": "src/notification-listener/notification-listener.template.ts"
24670
24782
  }
24671
24783
  }
24672
24784
  ]
24673
24785
  },
24674
24786
  {
24675
24787
  "kind": "javascript-module",
24676
- "path": "src/modal/modal.ts",
24788
+ "path": "src/notification-listener/notification-listener.ts",
24677
24789
  "declarations": [
24678
24790
  {
24679
24791
  "kind": "variable",
24680
- "name": "foundationModalShadowOptions",
24792
+ "name": "foundationNotificationListenerShadowOptions",
24681
24793
  "type": {
24682
24794
  "text": "ShadowRootInit"
24683
24795
  },
24684
24796
  "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
24685
24797
  },
24686
- {
24687
- "kind": "variable",
24688
- "name": "defaultModalConfig",
24689
- "type": {
24690
- "text": "object"
24691
- },
24692
- "default": "{}"
24693
- },
24694
24798
  {
24695
24799
  "kind": "class",
24696
24800
  "description": "",
24697
- "name": "Modal",
24801
+ "name": "NotificationListener",
24698
24802
  "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
- },
24713
- {
24714
- "kind": "field",
24715
- "name": "mainElement",
24716
- "type": {
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"
24723
- }
24724
- },
24725
- {
24726
- "kind": "field",
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
- }
24743
- },
24744
24803
  {
24745
24804
  "kind": "field",
24746
- "name": "type",
24805
+ "name": "notificationListener",
24747
24806
  "type": {
24748
- "text": "DialogType"
24749
- },
24750
- "default": "'default'",
24751
- "inheritedFrom": {
24752
- "name": "<local>_DialogElement",
24753
- "module": "src/dialog/dialog.ts"
24807
+ "text": "HTMLElement"
24754
24808
  }
24755
24809
  },
24756
24810
  {
24757
24811
  "kind": "field",
24758
- "name": "position",
24759
- "type": {
24760
- "text": "DialogPosition"
24761
- },
24762
- "default": "'center'",
24763
- "inheritedFrom": {
24764
- "name": "<local>_DialogElement",
24765
- "module": "src/dialog/dialog.ts"
24766
- }
24812
+ "name": "resourceName",
24813
+ "description": "The resource name holding new and existing notifications",
24814
+ "privacy": "public"
24767
24815
  },
24768
24816
  {
24769
24817
  "kind": "field",
24770
- "name": "showCloseIcon",
24818
+ "name": "closeTimeout",
24771
24819
  "type": {
24772
- "text": "boolean"
24820
+ "text": "number"
24773
24821
  },
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
- }
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"
24780
24825
  },
24781
24826
  {
24782
24827
  "kind": "field",
24783
- "name": "onShowCallback",
24828
+ "name": "toastButtons",
24784
24829
  "type": {
24785
- "text": "() => void"
24830
+ "text": "ToastButton[]"
24786
24831
  },
24787
- "description": "Callback to run *before* HTMLDialogElement is shown",
24788
- "inheritedFrom": {
24789
- "name": "<local>_DialogElement",
24790
- "module": "src/dialog/dialog.ts"
24791
- }
24832
+ "default": "[]",
24833
+ "description": "Array of buttons for notification toasts",
24834
+ "privacy": "public"
24792
24835
  },
24793
24836
  {
24794
24837
  "kind": "field",
24795
- "name": "onCloseCallback",
24838
+ "name": "dataSub",
24796
24839
  "type": {
24797
- "text": "() => void"
24840
+ "text": "Subscription"
24798
24841
  },
24799
- "description": "Callback to run *after* HTMLDialogElement is closed",
24800
- "inheritedFrom": {
24801
- "name": "<local>_DialogElement",
24802
- "module": "src/dialog/dialog.ts"
24803
- }
24842
+ "privacy": "protected"
24804
24843
  },
24805
24844
  {
24806
24845
  "kind": "field",
24807
- "name": "open",
24846
+ "name": "datasource",
24808
24847
  "type": {
24809
- "text": "boolean"
24848
+ "text": "Datasource"
24810
24849
  },
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
- }
24850
+ "privacy": "private"
24817
24851
  },
24818
24852
  {
24819
24853
  "kind": "method",
24820
- "name": "close",
24854
+ "name": "handleStreamUpdate",
24855
+ "privacy": "private",
24821
24856
  "return": {
24822
24857
  "type": {
24823
24858
  "text": "void"
24824
24859
  }
24825
24860
  },
24826
- "description": "Remove the HTMLDialogElement from display",
24827
- "inheritedFrom": {
24828
- "name": "<local>_DialogElement",
24829
- "module": "src/dialog/dialog.ts"
24830
- }
24831
- },
24832
- {
24833
- "kind": "method",
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
- }
24861
+ "parameters": [
24862
+ {
24863
+ "name": "dataServerResult",
24864
+ "type": {
24865
+ "text": "any"
24866
+ }
24867
+ }
24868
+ ]
24841
24869
  },
24842
24870
  {
24843
24871
  "kind": "method",
24844
- "name": "closeDialog",
24845
- "privacy": "public",
24872
+ "name": "showNotificationToast",
24873
+ "privacy": "protected",
24846
24874
  "return": {
24847
24875
  "type": {
24848
24876
  "text": "void"
24849
24877
  }
24850
24878
  },
24851
- "description": "Dismiss the Dialog from display.",
24852
- "inheritedFrom": {
24853
- "name": "<local>_DialogElement",
24854
- "module": "src/dialog/dialog.ts"
24855
- }
24879
+ "parameters": [
24880
+ {
24881
+ "name": "row",
24882
+ "type": {
24883
+ "text": "NotificationDataRow"
24884
+ }
24885
+ }
24886
+ ]
24856
24887
  },
24857
24888
  {
24858
24889
  "kind": "field",
@@ -24966,90 +24997,59 @@
24966
24997
  }
24967
24998
  }
24968
24999
  ],
24969
- "superclass": {
24970
- "name": "DialogElement",
24971
- "module": "/src/dialog"
24972
- },
24973
- "tagName": "%%prefix%%-modal",
24974
- "customElement": true,
24975
25000
  "attributes": [
24976
25001
  {
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
- }
24987
- },
24988
- {
24989
- "name": "position",
24990
- "type": {
24991
- "text": "DialogPosition"
24992
- },
24993
- "default": "'center'",
24994
- "fieldName": "position",
24995
- "inheritedFrom": {
24996
- "name": "<local>_DialogElement",
24997
- "module": "src/dialog/dialog.ts"
24998
- }
25002
+ "name": "resource-name",
25003
+ "description": "The resource name holding new and existing notifications",
25004
+ "fieldName": "resourceName"
24999
25005
  },
25000
25006
  {
25001
- "name": "show-close-icon",
25007
+ "name": "close-timeout",
25002
25008
  "type": {
25003
- "text": "boolean"
25009
+ "text": "number"
25004
25010
  },
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
- }
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"
25012
25014
  }
25013
- ]
25015
+ ],
25016
+ "superclass": {
25017
+ "name": "FoundationElement",
25018
+ "package": "@microsoft/fast-foundation"
25019
+ },
25020
+ "tagName": "%%prefix%%-notification-listener",
25021
+ "customElement": true
25014
25022
  },
25015
25023
  {
25016
25024
  "kind": "variable",
25017
- "name": "foundationModal",
25018
- "description": "The Foundation Modal",
25025
+ "name": "foundationNotificationListener",
25026
+ "description": "The Foundation Notification Listener",
25019
25027
  "privacy": "public"
25020
25028
  }
25021
25029
  ],
25022
25030
  "exports": [
25023
25031
  {
25024
25032
  "kind": "js",
25025
- "name": "foundationModalShadowOptions",
25026
- "declaration": {
25027
- "name": "foundationModalShadowOptions",
25028
- "module": "src/modal/modal.ts"
25029
- }
25030
- },
25031
- {
25032
- "kind": "js",
25033
- "name": "defaultModalConfig",
25033
+ "name": "foundationNotificationListenerShadowOptions",
25034
25034
  "declaration": {
25035
- "name": "defaultModalConfig",
25036
- "module": "src/modal/modal.ts"
25035
+ "name": "foundationNotificationListenerShadowOptions",
25036
+ "module": "src/notification-listener/notification-listener.ts"
25037
25037
  }
25038
25038
  },
25039
25039
  {
25040
25040
  "kind": "js",
25041
- "name": "Modal",
25041
+ "name": "NotificationListener",
25042
25042
  "declaration": {
25043
- "name": "Modal",
25044
- "module": "src/modal/modal.ts"
25043
+ "name": "NotificationListener",
25044
+ "module": "src/notification-listener/notification-listener.ts"
25045
25045
  }
25046
25046
  },
25047
25047
  {
25048
25048
  "kind": "js",
25049
- "name": "foundationModal",
25049
+ "name": "foundationNotificationListener",
25050
25050
  "declaration": {
25051
- "name": "foundationModal",
25052
- "module": "src/modal/modal.ts"
25051
+ "name": "foundationNotificationListener",
25052
+ "module": "src/notification-listener/notification-listener.ts"
25053
25053
  }
25054
25054
  }
25055
25055
  ]
@@ -44301,55 +44301,6 @@
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
- },
44353
44304
  {
44354
44305
  "kind": "javascript-module",
44355
44306
  "path": "src/_config/values/color.ts",
@@ -44499,6 +44450,55 @@
44499
44450
  "declarations": [],
44500
44451
  "exports": []
44501
44452
  },
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",