@genesislcap/foundation-ui 14.139.2 → 14.141.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 +743 -743
  2. package/package.json +10 -10
@@ -826,219 +826,6 @@
826
826
  }
827
827
  ]
828
828
  },
829
- {
830
- "kind": "javascript-module",
831
- "path": "src/_config/index.ts",
832
- "declarations": [],
833
- "exports": [
834
- {
835
- "kind": "js",
836
- "name": "*",
837
- "declaration": {
838
- "name": "*",
839
- "package": "./styles"
840
- }
841
- },
842
- {
843
- "kind": "js",
844
- "name": "*",
845
- "declaration": {
846
- "name": "*",
847
- "package": "./tokens"
848
- }
849
- },
850
- {
851
- "kind": "js",
852
- "name": "*",
853
- "declaration": {
854
- "name": "*",
855
- "package": "./values"
856
- }
857
- }
858
- ]
859
- },
860
- {
861
- "kind": "javascript-module",
862
- "path": "src/accordion/accordion.styles.ts",
863
- "declarations": [
864
- {
865
- "kind": "function",
866
- "name": "foundationAccordionStyles",
867
- "return": {
868
- "type": {
869
- "text": "ElementStyles"
870
- }
871
- },
872
- "parameters": [
873
- {
874
- "name": "context",
875
- "type": {
876
- "text": "ElementDefinitionContext"
877
- }
878
- },
879
- {
880
- "name": "definition",
881
- "type": {
882
- "text": "FoundationElementDefinition"
883
- }
884
- }
885
- ]
886
- }
887
- ],
888
- "exports": [
889
- {
890
- "kind": "js",
891
- "name": "foundationAccordionStyles",
892
- "declaration": {
893
- "name": "foundationAccordionStyles",
894
- "module": "src/accordion/accordion.styles.ts"
895
- }
896
- }
897
- ]
898
- },
899
- {
900
- "kind": "javascript-module",
901
- "path": "src/accordion/accordion.template.ts",
902
- "declarations": [
903
- {
904
- "kind": "function",
905
- "name": "foundationAccordionTemplate",
906
- "return": {
907
- "type": {
908
- "text": "ViewTemplate<Accordion>"
909
- }
910
- },
911
- "parameters": [
912
- {
913
- "name": "context",
914
- "type": {
915
- "text": "ElementDefinitionContext"
916
- }
917
- },
918
- {
919
- "name": "definition",
920
- "type": {
921
- "text": "FoundationElementDefinition"
922
- }
923
- }
924
- ]
925
- }
926
- ],
927
- "exports": [
928
- {
929
- "kind": "js",
930
- "name": "foundationAccordionTemplate",
931
- "declaration": {
932
- "name": "foundationAccordionTemplate",
933
- "module": "src/accordion/accordion.template.ts"
934
- }
935
- }
936
- ]
937
- },
938
- {
939
- "kind": "javascript-module",
940
- "path": "src/accordion/accordion.ts",
941
- "declarations": [
942
- {
943
- "kind": "class",
944
- "description": "",
945
- "name": "Accordion",
946
- "superclass": {
947
- "name": "FASTAccordion",
948
- "package": "@microsoft/fast-foundation"
949
- },
950
- "tagName": "%%prefix%%-accordion",
951
- "customElement": true
952
- },
953
- {
954
- "kind": "variable",
955
- "name": "foundationAccordionShadowOptions",
956
- "type": {
957
- "text": "ShadowRootInit"
958
- },
959
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
960
- },
961
- {
962
- "kind": "variable",
963
- "name": "defaultAccordionConfig",
964
- "type": {
965
- "text": "object"
966
- },
967
- "default": "{}"
968
- },
969
- {
970
- "kind": "variable",
971
- "name": "foundationAccordion",
972
- "description": "The Foundation Accordion",
973
- "privacy": "public"
974
- }
975
- ],
976
- "exports": [
977
- {
978
- "kind": "js",
979
- "name": "Accordion",
980
- "declaration": {
981
- "name": "Accordion",
982
- "module": "src/accordion/accordion.ts"
983
- }
984
- },
985
- {
986
- "kind": "js",
987
- "name": "foundationAccordionShadowOptions",
988
- "declaration": {
989
- "name": "foundationAccordionShadowOptions",
990
- "module": "src/accordion/accordion.ts"
991
- }
992
- },
993
- {
994
- "kind": "js",
995
- "name": "defaultAccordionConfig",
996
- "declaration": {
997
- "name": "defaultAccordionConfig",
998
- "module": "src/accordion/accordion.ts"
999
- }
1000
- },
1001
- {
1002
- "kind": "js",
1003
- "name": "foundationAccordion",
1004
- "declaration": {
1005
- "name": "foundationAccordion",
1006
- "module": "src/accordion/accordion.ts"
1007
- }
1008
- }
1009
- ]
1010
- },
1011
- {
1012
- "kind": "javascript-module",
1013
- "path": "src/accordion/index.ts",
1014
- "declarations": [],
1015
- "exports": [
1016
- {
1017
- "kind": "js",
1018
- "name": "*",
1019
- "declaration": {
1020
- "name": "*",
1021
- "package": "./accordion.template"
1022
- }
1023
- },
1024
- {
1025
- "kind": "js",
1026
- "name": "*",
1027
- "declaration": {
1028
- "name": "*",
1029
- "package": "./accordion.styles"
1030
- }
1031
- },
1032
- {
1033
- "kind": "js",
1034
- "name": "*",
1035
- "declaration": {
1036
- "name": "*",
1037
- "package": "./accordion"
1038
- }
1039
- }
1040
- ]
1041
- },
1042
829
  {
1043
830
  "kind": "javascript-module",
1044
831
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1435,11 +1222,42 @@
1435
1222
  },
1436
1223
  {
1437
1224
  "kind": "javascript-module",
1438
- "path": "src/actions-menu/actions-menu.styles.ts",
1225
+ "path": "src/_config/index.ts",
1226
+ "declarations": [],
1227
+ "exports": [
1228
+ {
1229
+ "kind": "js",
1230
+ "name": "*",
1231
+ "declaration": {
1232
+ "name": "*",
1233
+ "package": "./styles"
1234
+ }
1235
+ },
1236
+ {
1237
+ "kind": "js",
1238
+ "name": "*",
1239
+ "declaration": {
1240
+ "name": "*",
1241
+ "package": "./tokens"
1242
+ }
1243
+ },
1244
+ {
1245
+ "kind": "js",
1246
+ "name": "*",
1247
+ "declaration": {
1248
+ "name": "*",
1249
+ "package": "./values"
1250
+ }
1251
+ }
1252
+ ]
1253
+ },
1254
+ {
1255
+ "kind": "javascript-module",
1256
+ "path": "src/accordion/accordion.styles.ts",
1439
1257
  "declarations": [
1440
1258
  {
1441
1259
  "kind": "function",
1442
- "name": "actionsMenuBaseStyles",
1260
+ "name": "foundationAccordionStyles",
1443
1261
  "return": {
1444
1262
  "type": {
1445
1263
  "text": "ElementStyles"
@@ -1459,12 +1277,194 @@
1459
1277
  }
1460
1278
  }
1461
1279
  ]
1462
- },
1280
+ }
1281
+ ],
1282
+ "exports": [
1463
1283
  {
1464
- "kind": "function",
1465
- "name": "foundationActionsMenuStyles",
1466
- "return": {
1467
- "type": {
1284
+ "kind": "js",
1285
+ "name": "foundationAccordionStyles",
1286
+ "declaration": {
1287
+ "name": "foundationAccordionStyles",
1288
+ "module": "src/accordion/accordion.styles.ts"
1289
+ }
1290
+ }
1291
+ ]
1292
+ },
1293
+ {
1294
+ "kind": "javascript-module",
1295
+ "path": "src/accordion/accordion.template.ts",
1296
+ "declarations": [
1297
+ {
1298
+ "kind": "function",
1299
+ "name": "foundationAccordionTemplate",
1300
+ "return": {
1301
+ "type": {
1302
+ "text": "ViewTemplate<Accordion>"
1303
+ }
1304
+ },
1305
+ "parameters": [
1306
+ {
1307
+ "name": "context",
1308
+ "type": {
1309
+ "text": "ElementDefinitionContext"
1310
+ }
1311
+ },
1312
+ {
1313
+ "name": "definition",
1314
+ "type": {
1315
+ "text": "FoundationElementDefinition"
1316
+ }
1317
+ }
1318
+ ]
1319
+ }
1320
+ ],
1321
+ "exports": [
1322
+ {
1323
+ "kind": "js",
1324
+ "name": "foundationAccordionTemplate",
1325
+ "declaration": {
1326
+ "name": "foundationAccordionTemplate",
1327
+ "module": "src/accordion/accordion.template.ts"
1328
+ }
1329
+ }
1330
+ ]
1331
+ },
1332
+ {
1333
+ "kind": "javascript-module",
1334
+ "path": "src/accordion/accordion.ts",
1335
+ "declarations": [
1336
+ {
1337
+ "kind": "class",
1338
+ "description": "",
1339
+ "name": "Accordion",
1340
+ "superclass": {
1341
+ "name": "FASTAccordion",
1342
+ "package": "@microsoft/fast-foundation"
1343
+ },
1344
+ "tagName": "%%prefix%%-accordion",
1345
+ "customElement": true
1346
+ },
1347
+ {
1348
+ "kind": "variable",
1349
+ "name": "foundationAccordionShadowOptions",
1350
+ "type": {
1351
+ "text": "ShadowRootInit"
1352
+ },
1353
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1354
+ },
1355
+ {
1356
+ "kind": "variable",
1357
+ "name": "defaultAccordionConfig",
1358
+ "type": {
1359
+ "text": "object"
1360
+ },
1361
+ "default": "{}"
1362
+ },
1363
+ {
1364
+ "kind": "variable",
1365
+ "name": "foundationAccordion",
1366
+ "description": "The Foundation Accordion",
1367
+ "privacy": "public"
1368
+ }
1369
+ ],
1370
+ "exports": [
1371
+ {
1372
+ "kind": "js",
1373
+ "name": "Accordion",
1374
+ "declaration": {
1375
+ "name": "Accordion",
1376
+ "module": "src/accordion/accordion.ts"
1377
+ }
1378
+ },
1379
+ {
1380
+ "kind": "js",
1381
+ "name": "foundationAccordionShadowOptions",
1382
+ "declaration": {
1383
+ "name": "foundationAccordionShadowOptions",
1384
+ "module": "src/accordion/accordion.ts"
1385
+ }
1386
+ },
1387
+ {
1388
+ "kind": "js",
1389
+ "name": "defaultAccordionConfig",
1390
+ "declaration": {
1391
+ "name": "defaultAccordionConfig",
1392
+ "module": "src/accordion/accordion.ts"
1393
+ }
1394
+ },
1395
+ {
1396
+ "kind": "js",
1397
+ "name": "foundationAccordion",
1398
+ "declaration": {
1399
+ "name": "foundationAccordion",
1400
+ "module": "src/accordion/accordion.ts"
1401
+ }
1402
+ }
1403
+ ]
1404
+ },
1405
+ {
1406
+ "kind": "javascript-module",
1407
+ "path": "src/accordion/index.ts",
1408
+ "declarations": [],
1409
+ "exports": [
1410
+ {
1411
+ "kind": "js",
1412
+ "name": "*",
1413
+ "declaration": {
1414
+ "name": "*",
1415
+ "package": "./accordion.template"
1416
+ }
1417
+ },
1418
+ {
1419
+ "kind": "js",
1420
+ "name": "*",
1421
+ "declaration": {
1422
+ "name": "*",
1423
+ "package": "./accordion.styles"
1424
+ }
1425
+ },
1426
+ {
1427
+ "kind": "js",
1428
+ "name": "*",
1429
+ "declaration": {
1430
+ "name": "*",
1431
+ "package": "./accordion"
1432
+ }
1433
+ }
1434
+ ]
1435
+ },
1436
+ {
1437
+ "kind": "javascript-module",
1438
+ "path": "src/actions-menu/actions-menu.styles.ts",
1439
+ "declarations": [
1440
+ {
1441
+ "kind": "function",
1442
+ "name": "actionsMenuBaseStyles",
1443
+ "return": {
1444
+ "type": {
1445
+ "text": "ElementStyles"
1446
+ }
1447
+ },
1448
+ "parameters": [
1449
+ {
1450
+ "name": "context",
1451
+ "type": {
1452
+ "text": "ElementDefinitionContext"
1453
+ }
1454
+ },
1455
+ {
1456
+ "name": "definition",
1457
+ "type": {
1458
+ "text": "FoundationElementDefinition"
1459
+ }
1460
+ }
1461
+ ]
1462
+ },
1463
+ {
1464
+ "kind": "function",
1465
+ "name": "foundationActionsMenuStyles",
1466
+ "return": {
1467
+ "type": {
1468
1468
  "text": "ElementStyles"
1469
1469
  }
1470
1470
  },
@@ -30246,7 +30246,7 @@
30246
30246
  },
30247
30247
  {
30248
30248
  "kind": "javascript-module",
30249
- "path": "src/select/index.ts",
30249
+ "path": "src/segmented-item/index.ts",
30250
30250
  "declarations": [],
30251
30251
  "exports": [
30252
30252
  {
@@ -30254,7 +30254,7 @@
30254
30254
  "name": "*",
30255
30255
  "declaration": {
30256
30256
  "name": "*",
30257
- "package": "./select.template"
30257
+ "package": "./segmented-item.template"
30258
30258
  }
30259
30259
  },
30260
30260
  {
@@ -30262,7 +30262,7 @@
30262
30262
  "name": "*",
30263
30263
  "declaration": {
30264
30264
  "name": "*",
30265
- "package": "./select.styles"
30265
+ "package": "./segmented-item.styles"
30266
30266
  }
30267
30267
  },
30268
30268
  {
@@ -30270,18 +30270,18 @@
30270
30270
  "name": "*",
30271
30271
  "declaration": {
30272
30272
  "name": "*",
30273
- "package": "./select"
30273
+ "package": "./segmented-item"
30274
30274
  }
30275
30275
  }
30276
30276
  ]
30277
30277
  },
30278
30278
  {
30279
30279
  "kind": "javascript-module",
30280
- "path": "src/select/select.styles.ts",
30280
+ "path": "src/segmented-item/segmented-item.styles.ts",
30281
30281
  "declarations": [
30282
30282
  {
30283
30283
  "kind": "function",
30284
- "name": "foundationSelectStyles",
30284
+ "name": "foundationSegmentedItemStyles",
30285
30285
  "return": {
30286
30286
  "type": {
30287
30287
  "text": "ElementStyles"
@@ -30297,7 +30297,7 @@
30297
30297
  {
30298
30298
  "name": "definition",
30299
30299
  "type": {
30300
- "text": "FoundationElementDefinition"
30300
+ "text": "RadioOptions"
30301
30301
  }
30302
30302
  }
30303
30303
  ]
@@ -30306,26 +30306,21 @@
30306
30306
  "exports": [
30307
30307
  {
30308
30308
  "kind": "js",
30309
- "name": "foundationSelectStyles",
30309
+ "name": "foundationSegmentedItemStyles",
30310
30310
  "declaration": {
30311
- "name": "foundationSelectStyles",
30312
- "module": "src/select/select.styles.ts"
30311
+ "name": "foundationSegmentedItemStyles",
30312
+ "module": "src/segmented-item/segmented-item.styles.ts"
30313
30313
  }
30314
30314
  }
30315
30315
  ]
30316
30316
  },
30317
30317
  {
30318
30318
  "kind": "javascript-module",
30319
- "path": "src/select/select.template.ts",
30319
+ "path": "src/segmented-item/segmented-item.template.ts",
30320
30320
  "declarations": [
30321
30321
  {
30322
30322
  "kind": "function",
30323
- "name": "foundationSelectTemplate",
30324
- "return": {
30325
- "type": {
30326
- "text": "ViewTemplate<Select>"
30327
- }
30328
- },
30323
+ "name": "foundationSegmentedItemTemplate",
30329
30324
  "parameters": [
30330
30325
  {
30331
30326
  "name": "context",
@@ -30336,7 +30331,7 @@
30336
30331
  {
30337
30332
  "name": "definition",
30338
30333
  "type": {
30339
- "text": "FoundationElementDefinition"
30334
+ "text": "RadioOptions"
30340
30335
  }
30341
30336
  }
30342
30337
  ]
@@ -30345,372 +30340,457 @@
30345
30340
  "exports": [
30346
30341
  {
30347
30342
  "kind": "js",
30348
- "name": "foundationSelectTemplate",
30343
+ "name": "foundationSegmentedItemTemplate",
30349
30344
  "declaration": {
30350
- "name": "foundationSelectTemplate",
30351
- "module": "src/select/select.template.ts"
30345
+ "name": "foundationSegmentedItemTemplate",
30346
+ "module": "src/segmented-item/segmented-item.template.ts"
30352
30347
  }
30353
30348
  }
30354
30349
  ]
30355
30350
  },
30356
30351
  {
30357
30352
  "kind": "javascript-module",
30358
- "path": "src/select/select.ts",
30353
+ "path": "src/segmented-item/segmented-item.ts",
30359
30354
  "declarations": [
30360
30355
  {
30361
30356
  "kind": "class",
30362
30357
  "description": "",
30363
- "name": "Select",
30358
+ "name": "SegmentedItem",
30364
30359
  "superclass": {
30365
- "name": "FASTSelect",
30360
+ "name": "FASTRadio",
30366
30361
  "package": "@microsoft/fast-components"
30367
30362
  },
30368
- "tagName": "%%prefix%%-select",
30363
+ "tagName": "%%prefix%%-segmented-item",
30369
30364
  "customElement": true,
30370
30365
  "attributes": [
30371
30366
  {
30372
- "name": "open",
30367
+ "name": "readonly",
30373
30368
  "type": {
30374
30369
  "text": "boolean"
30375
30370
  },
30376
- "default": "false",
30377
- "description": "The open attribute.",
30378
- "fieldName": "open",
30371
+ "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
30372
+ "fieldName": "readOnly",
30379
30373
  "inheritedFrom": {
30380
- "name": "Select",
30381
- "module": "src/select/select.ts"
30374
+ "name": "Radio",
30375
+ "module": "src/radio/radio.ts"
30382
30376
  }
30383
- },
30377
+ }
30378
+ ],
30379
+ "members": [
30384
30380
  {
30385
- "name": "position",
30381
+ "kind": "field",
30382
+ "name": "readOnly",
30386
30383
  "type": {
30387
- "text": "SelectPosition | undefined"
30384
+ "text": "boolean"
30388
30385
  },
30389
- "description": "Reflects the placement for the listbox when the select is open.",
30390
- "fieldName": "positionAttribute",
30386
+ "privacy": "public",
30387
+ "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
30391
30388
  "inheritedFrom": {
30392
- "name": "Select",
30393
- "module": "src/select/select.ts"
30394
- }
30389
+ "name": "Radio",
30390
+ "module": "src/radio/radio.ts"
30391
+ }
30395
30392
  },
30396
30393
  {
30397
- "type": {
30398
- "text": "boolean"
30394
+ "kind": "method",
30395
+ "name": "readOnlyChanged",
30396
+ "privacy": "private",
30397
+ "return": {
30398
+ "type": {
30399
+ "text": "void"
30400
+ }
30399
30401
  },
30400
- "description": "Indicates if the listbox is in multi-selection mode.",
30401
- "fieldName": "multiple",
30402
30402
  "inheritedFrom": {
30403
- "name": "Select",
30404
- "module": "src/select/select.ts"
30403
+ "name": "Radio",
30404
+ "module": "src/radio/radio.ts"
30405
30405
  }
30406
- }
30407
- ],
30408
- "members": [
30406
+ },
30409
30407
  {
30410
30408
  "kind": "field",
30411
- "name": "open",
30409
+ "name": "name",
30412
30410
  "type": {
30413
- "text": "boolean"
30411
+ "text": "string"
30414
30412
  },
30415
30413
  "privacy": "public",
30416
- "default": "false",
30417
- "description": "The open attribute.",
30414
+ "description": "The name of the radio. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname | name attribute} for more info.",
30418
30415
  "inheritedFrom": {
30419
- "name": "Select",
30420
- "module": "src/select/select.ts"
30416
+ "name": "Radio",
30417
+ "module": "src/radio/radio.ts"
30418
+ }
30419
+ },
30420
+ {
30421
+ "kind": "method",
30422
+ "name": "isInsideRadioGroup",
30423
+ "privacy": "private",
30424
+ "return": {
30425
+ "type": {
30426
+ "text": "boolean"
30427
+ }
30428
+ },
30429
+ "inheritedFrom": {
30430
+ "name": "Radio",
30431
+ "module": "src/radio/radio.ts"
30421
30432
  }
30422
30433
  },
30423
30434
  {
30424
30435
  "kind": "field",
30425
- "name": "value",
30426
- "privacy": "public",
30427
- "description": "The value property.",
30436
+ "name": "proxy",
30428
30437
  "inheritedFrom": {
30429
- "name": "Select",
30430
- "module": "src/select/select.ts"
30438
+ "name": "Radio",
30439
+ "module": "src/radio/radio.ts"
30431
30440
  }
30432
30441
  },
30433
30442
  {
30434
30443
  "kind": "field",
30435
- "name": "positionAttribute",
30444
+ "name": "_presentation",
30436
30445
  "type": {
30437
- "text": "SelectPosition | undefined"
30446
+ "text": "ComponentPresentation | null | undefined"
30438
30447
  },
30439
- "privacy": "public",
30440
- "description": "Reflects the placement for the listbox when the select is open.",
30448
+ "privacy": "private",
30449
+ "default": "void 0",
30441
30450
  "inheritedFrom": {
30442
- "name": "Select",
30443
- "module": "src/select/select.ts"
30451
+ "name": "Radio",
30452
+ "module": "src/radio/radio.ts"
30444
30453
  }
30445
30454
  },
30446
30455
  {
30447
30456
  "kind": "field",
30448
- "name": "position",
30457
+ "name": "$presentation",
30449
30458
  "type": {
30450
- "text": "SelectPosition | undefined"
30459
+ "text": "ComponentPresentation | null"
30451
30460
  },
30452
30461
  "privacy": "public",
30453
- "description": "Holds the current state for the calculated position of the listbox.",
30462
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
30454
30463
  "inheritedFrom": {
30455
- "name": "Select",
30456
- "module": "src/select/select.ts"
30464
+ "name": "Radio",
30465
+ "module": "src/radio/radio.ts"
30457
30466
  }
30458
30467
  },
30459
30468
  {
30460
- "kind": "method",
30461
- "name": "positionChanged",
30462
- "privacy": "protected",
30463
- "return": {
30464
- "type": {
30465
- "text": "void"
30466
- }
30469
+ "kind": "field",
30470
+ "name": "template",
30471
+ "type": {
30472
+ "text": "ElementViewTemplate | void | null"
30467
30473
  },
30468
- "parameters": [
30469
- {
30470
- "name": "prev",
30471
- "type": {
30472
- "text": "SelectPosition | undefined"
30473
- }
30474
- },
30475
- {
30476
- "name": "next",
30477
- "type": {
30478
- "text": "SelectPosition | undefined"
30479
- }
30480
- }
30481
- ],
30474
+ "privacy": "public",
30475
+ "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.",
30482
30476
  "inheritedFrom": {
30483
- "name": "Select",
30484
- "module": "src/select/select.ts"
30477
+ "name": "Radio",
30478
+ "module": "src/radio/radio.ts"
30485
30479
  }
30486
30480
  },
30487
30481
  {
30488
30482
  "kind": "method",
30489
- "name": "setPositioning",
30490
- "privacy": "public",
30483
+ "name": "templateChanged",
30484
+ "privacy": "protected",
30491
30485
  "return": {
30492
30486
  "type": {
30493
30487
  "text": "void"
30494
30488
  }
30495
30489
  },
30496
- "description": "Calculate and apply listbox positioning based on available viewport space.",
30497
30490
  "inheritedFrom": {
30498
- "name": "Select",
30499
- "module": "src/select/select.ts"
30491
+ "name": "Radio",
30492
+ "module": "src/radio/radio.ts"
30500
30493
  }
30501
30494
  },
30502
30495
  {
30503
30496
  "kind": "field",
30504
- "name": "displayValue",
30497
+ "name": "styles",
30505
30498
  "type": {
30506
- "text": "string"
30499
+ "text": "ElementStyles | void | null"
30507
30500
  },
30508
30501
  "privacy": "public",
30509
- "description": "The value displayed on the button.",
30502
+ "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.",
30510
30503
  "inheritedFrom": {
30511
- "name": "Select",
30512
- "module": "src/select/select.ts"
30504
+ "name": "Radio",
30505
+ "module": "src/radio/radio.ts"
30513
30506
  }
30514
30507
  },
30515
30508
  {
30516
30509
  "kind": "method",
30517
- "name": "multipleChanged",
30510
+ "name": "stylesChanged",
30511
+ "privacy": "protected",
30512
+ "return": {
30513
+ "type": {
30514
+ "text": "void"
30515
+ }
30516
+ },
30517
+ "inheritedFrom": {
30518
+ "name": "Radio",
30519
+ "module": "src/radio/radio.ts"
30520
+ }
30521
+ },
30522
+ {
30523
+ "kind": "method",
30524
+ "name": "compose",
30518
30525
  "privacy": "public",
30526
+ "static": true,
30527
+ "return": {
30528
+ "type": {
30529
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
30530
+ }
30531
+ },
30519
30532
  "parameters": [
30520
30533
  {
30521
- "name": "prev",
30534
+ "name": "this",
30522
30535
  "type": {
30523
- "text": "boolean | undefined"
30524
- },
30525
- "description": "the previous multiple value"
30536
+ "text": "K"
30537
+ }
30526
30538
  },
30527
30539
  {
30528
- "name": "next",
30540
+ "name": "elementDefinition",
30529
30541
  "type": {
30530
- "text": "boolean"
30542
+ "text": "T"
30531
30543
  },
30532
- "description": "the current multiple value"
30544
+ "description": "The definition of the element to create the registry\nfunction for."
30533
30545
  }
30534
30546
  ],
30535
- "description": "Sets the multiple property on the proxy element.",
30536
- "inheritedFrom": {
30537
- "name": "Select",
30538
- "module": "src/select/select.ts"
30539
- }
30540
- },
30541
- {
30542
- "kind": "field",
30543
- "name": "proxy",
30544
- "inheritedFrom": {
30545
- "name": "Select",
30546
- "module": "src/select/select.ts"
30547
- }
30548
- },
30549
- {
30550
- "kind": "field",
30551
- "name": "multiple",
30552
- "type": {
30553
- "text": "boolean"
30554
- },
30555
- "privacy": "public",
30556
- "description": "Indicates if the listbox is in multi-selection mode.",
30557
- "inheritedFrom": {
30558
- "name": "Select",
30559
- "module": "src/select/select.ts"
30560
- }
30561
- },
30562
- {
30563
- "kind": "field",
30564
- "name": "size",
30565
- "type": {
30566
- "text": "number"
30567
- },
30568
- "privacy": "public",
30569
- "description": "The maximum number of options to display.",
30570
- "inheritedFrom": {
30571
- "name": "Select",
30572
- "module": "src/select/select.ts"
30573
- }
30574
- },
30575
- {
30576
- "kind": "method",
30577
- "name": "setSelectedOptions",
30578
- "privacy": "public",
30579
- "description": "Sets an option as selected and gives it focus.",
30547
+ "description": "Defines an element registry function with a set of element definition defaults.",
30580
30548
  "inheritedFrom": {
30581
- "name": "Select",
30582
- "module": "src/select/select.ts"
30549
+ "name": "Radio",
30550
+ "module": "src/radio/radio.ts"
30583
30551
  }
30584
- },
30552
+ }
30553
+ ],
30554
+ "events": [
30585
30555
  {
30586
- "kind": "field",
30587
- "name": "length",
30588
- "type": {
30589
- "text": "number"
30590
- },
30591
- "privacy": "public",
30592
- "description": "The number of options.",
30556
+ "description": "Emits a custom change event when the checked state changes",
30557
+ "name": "change",
30593
30558
  "inheritedFrom": {
30594
- "name": "Select",
30595
- "module": "src/select/select.ts"
30559
+ "name": "Radio",
30560
+ "module": "src/radio/radio.ts"
30596
30561
  }
30597
- },
30562
+ }
30563
+ ]
30564
+ },
30565
+ {
30566
+ "kind": "variable",
30567
+ "name": "foundationSegmentedItemShadowOptions",
30568
+ "type": {
30569
+ "text": "ShadowRootInit"
30570
+ },
30571
+ "default": "undefined"
30572
+ },
30573
+ {
30574
+ "kind": "variable",
30575
+ "name": "defaultSegmentedItemConfig",
30576
+ "type": {
30577
+ "text": "object"
30578
+ },
30579
+ "default": "{}"
30580
+ },
30581
+ {
30582
+ "kind": "variable",
30583
+ "name": "foundationSegmentedItem",
30584
+ "description": "The Foundation Segmented item",
30585
+ "privacy": "public"
30586
+ }
30587
+ ],
30588
+ "exports": [
30589
+ {
30590
+ "kind": "js",
30591
+ "name": "SegmentedItem",
30592
+ "declaration": {
30593
+ "name": "SegmentedItem",
30594
+ "module": "src/segmented-item/segmented-item.ts"
30595
+ }
30596
+ },
30597
+ {
30598
+ "kind": "js",
30599
+ "name": "foundationSegmentedItemShadowOptions",
30600
+ "declaration": {
30601
+ "name": "foundationSegmentedItemShadowOptions",
30602
+ "module": "src/segmented-item/segmented-item.ts"
30603
+ }
30604
+ },
30605
+ {
30606
+ "kind": "js",
30607
+ "name": "defaultSegmentedItemConfig",
30608
+ "declaration": {
30609
+ "name": "defaultSegmentedItemConfig",
30610
+ "module": "src/segmented-item/segmented-item.ts"
30611
+ }
30612
+ },
30613
+ {
30614
+ "kind": "js",
30615
+ "name": "foundationSegmentedItem",
30616
+ "declaration": {
30617
+ "name": "foundationSegmentedItem",
30618
+ "module": "src/segmented-item/segmented-item.ts"
30619
+ }
30620
+ }
30621
+ ]
30622
+ },
30623
+ {
30624
+ "kind": "javascript-module",
30625
+ "path": "src/select/index.ts",
30626
+ "declarations": [],
30627
+ "exports": [
30628
+ {
30629
+ "kind": "js",
30630
+ "name": "*",
30631
+ "declaration": {
30632
+ "name": "*",
30633
+ "package": "./select.template"
30634
+ }
30635
+ },
30636
+ {
30637
+ "kind": "js",
30638
+ "name": "*",
30639
+ "declaration": {
30640
+ "name": "*",
30641
+ "package": "./select.styles"
30642
+ }
30643
+ },
30644
+ {
30645
+ "kind": "js",
30646
+ "name": "*",
30647
+ "declaration": {
30648
+ "name": "*",
30649
+ "package": "./select"
30650
+ }
30651
+ }
30652
+ ]
30653
+ },
30654
+ {
30655
+ "kind": "javascript-module",
30656
+ "path": "src/select/select.styles.ts",
30657
+ "declarations": [
30658
+ {
30659
+ "kind": "function",
30660
+ "name": "foundationSelectStyles",
30661
+ "return": {
30662
+ "type": {
30663
+ "text": "ElementStyles"
30664
+ }
30665
+ },
30666
+ "parameters": [
30598
30667
  {
30599
- "kind": "field",
30600
- "name": "options",
30668
+ "name": "context",
30601
30669
  "type": {
30602
- "text": "ListboxOption[]"
30603
- },
30604
- "privacy": "public",
30605
- "description": "The list of options.",
30606
- "inheritedFrom": {
30607
- "name": "Select",
30608
- "module": "src/select/select.ts"
30609
- }
30610
- },
30611
- {
30612
- "kind": "field",
30613
- "name": "typeAheadExpired",
30614
- "privacy": "protected",
30615
- "inheritedFrom": {
30616
- "name": "Select",
30617
- "module": "src/select/select.ts"
30670
+ "text": "ElementDefinitionContext"
30618
30671
  }
30619
30672
  },
30620
30673
  {
30621
- "kind": "field",
30622
- "name": "disabled",
30674
+ "name": "definition",
30623
30675
  "type": {
30624
- "text": "boolean"
30625
- },
30626
- "privacy": "public",
30627
- "description": "The disabled state of the listbox.",
30628
- "inheritedFrom": {
30629
- "name": "Select",
30630
- "module": "src/select/select.ts"
30676
+ "text": "FoundationElementDefinition"
30631
30677
  }
30632
- },
30678
+ }
30679
+ ]
30680
+ }
30681
+ ],
30682
+ "exports": [
30683
+ {
30684
+ "kind": "js",
30685
+ "name": "foundationSelectStyles",
30686
+ "declaration": {
30687
+ "name": "foundationSelectStyles",
30688
+ "module": "src/select/select.styles.ts"
30689
+ }
30690
+ }
30691
+ ]
30692
+ },
30693
+ {
30694
+ "kind": "javascript-module",
30695
+ "path": "src/select/select.template.ts",
30696
+ "declarations": [
30697
+ {
30698
+ "kind": "function",
30699
+ "name": "foundationSelectTemplate",
30700
+ "return": {
30701
+ "type": {
30702
+ "text": "ViewTemplate<Select>"
30703
+ }
30704
+ },
30705
+ "parameters": [
30633
30706
  {
30634
- "kind": "field",
30635
- "name": "selectedIndex",
30707
+ "name": "context",
30636
30708
  "type": {
30637
- "text": "number"
30638
- },
30639
- "privacy": "public",
30640
- "default": "-1",
30641
- "description": "The index of the selected option.",
30642
- "inheritedFrom": {
30643
- "name": "Select",
30644
- "module": "src/select/select.ts"
30709
+ "text": "ElementDefinitionContext"
30645
30710
  }
30646
30711
  },
30647
30712
  {
30648
- "kind": "field",
30649
- "name": "selectedOptions",
30713
+ "name": "definition",
30650
30714
  "type": {
30651
- "text": "ListboxOption[]"
30652
- },
30653
- "privacy": "public",
30654
- "default": "[]",
30655
- "description": "A collection of the selected options.",
30656
- "inheritedFrom": {
30657
- "name": "Select",
30658
- "module": "src/select/select.ts"
30715
+ "text": "FoundationElementDefinition"
30659
30716
  }
30660
- },
30717
+ }
30718
+ ]
30719
+ }
30720
+ ],
30721
+ "exports": [
30722
+ {
30723
+ "kind": "js",
30724
+ "name": "foundationSelectTemplate",
30725
+ "declaration": {
30726
+ "name": "foundationSelectTemplate",
30727
+ "module": "src/select/select.template.ts"
30728
+ }
30729
+ }
30730
+ ]
30731
+ },
30732
+ {
30733
+ "kind": "javascript-module",
30734
+ "path": "src/select/select.ts",
30735
+ "declarations": [
30736
+ {
30737
+ "kind": "class",
30738
+ "description": "",
30739
+ "name": "Select",
30740
+ "superclass": {
30741
+ "name": "FASTSelect",
30742
+ "package": "@microsoft/fast-components"
30743
+ },
30744
+ "tagName": "%%prefix%%-select",
30745
+ "customElement": true,
30746
+ "attributes": [
30661
30747
  {
30662
- "kind": "field",
30663
- "name": "slottedOptionFilter",
30664
- "privacy": "public",
30665
- "static": true,
30666
- "description": "A static filter to include only selectable options.",
30667
- "parameters": [
30668
- {
30669
- "description": "element to filter",
30670
- "name": "n"
30671
- }
30672
- ],
30748
+ "name": "open",
30749
+ "type": {
30750
+ "text": "boolean"
30751
+ },
30752
+ "default": "false",
30753
+ "description": "The open attribute.",
30754
+ "fieldName": "open",
30673
30755
  "inheritedFrom": {
30674
30756
  "name": "Select",
30675
30757
  "module": "src/select/select.ts"
30676
30758
  }
30677
30759
  },
30678
30760
  {
30679
- "kind": "method",
30680
- "name": "selectFirstOption",
30681
- "privacy": "public",
30682
- "return": {
30683
- "type": {
30684
- "text": "void"
30685
- }
30761
+ "name": "position",
30762
+ "type": {
30763
+ "text": "SelectPosition | undefined"
30686
30764
  },
30687
- "description": "Moves focus to the first selectable option.",
30765
+ "description": "Reflects the placement for the listbox when the select is open.",
30766
+ "fieldName": "positionAttribute",
30688
30767
  "inheritedFrom": {
30689
30768
  "name": "Select",
30690
30769
  "module": "src/select/select.ts"
30691
30770
  }
30692
30771
  },
30693
30772
  {
30694
- "kind": "field",
30695
- "name": "_presentation",
30696
30773
  "type": {
30697
- "text": "ComponentPresentation | null | undefined"
30774
+ "text": "boolean"
30698
30775
  },
30699
- "privacy": "private",
30700
- "default": "void 0",
30776
+ "description": "Indicates if the listbox is in multi-selection mode.",
30777
+ "fieldName": "multiple",
30701
30778
  "inheritedFrom": {
30702
30779
  "name": "Select",
30703
30780
  "module": "src/select/select.ts"
30704
30781
  }
30705
- },
30782
+ }
30783
+ ],
30784
+ "members": [
30706
30785
  {
30707
30786
  "kind": "field",
30708
- "name": "$presentation",
30787
+ "name": "open",
30709
30788
  "type": {
30710
- "text": "ComponentPresentation | null"
30789
+ "text": "boolean"
30711
30790
  },
30712
30791
  "privacy": "public",
30713
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
30792
+ "default": "false",
30793
+ "description": "The open attribute.",
30714
30794
  "inheritedFrom": {
30715
30795
  "name": "Select",
30716
30796
  "module": "src/select/select.ts"
@@ -30718,26 +30798,22 @@
30718
30798
  },
30719
30799
  {
30720
30800
  "kind": "field",
30721
- "name": "template",
30722
- "type": {
30723
- "text": "ElementViewTemplate | void | null"
30724
- },
30801
+ "name": "value",
30725
30802
  "privacy": "public",
30726
- "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.",
30803
+ "description": "The value property.",
30727
30804
  "inheritedFrom": {
30728
30805
  "name": "Select",
30729
30806
  "module": "src/select/select.ts"
30730
30807
  }
30731
30808
  },
30732
30809
  {
30733
- "kind": "method",
30734
- "name": "templateChanged",
30735
- "privacy": "protected",
30736
- "return": {
30737
- "type": {
30738
- "text": "void"
30739
- }
30810
+ "kind": "field",
30811
+ "name": "positionAttribute",
30812
+ "type": {
30813
+ "text": "SelectPosition | undefined"
30740
30814
  },
30815
+ "privacy": "public",
30816
+ "description": "Reflects the placement for the listbox when the select is open.",
30741
30817
  "inheritedFrom": {
30742
30818
  "name": "Select",
30743
30819
  "module": "src/select/select.ts"
@@ -30745,12 +30821,12 @@
30745
30821
  },
30746
30822
  {
30747
30823
  "kind": "field",
30748
- "name": "styles",
30824
+ "name": "position",
30749
30825
  "type": {
30750
- "text": "ElementStyles | void | null"
30826
+ "text": "SelectPosition | undefined"
30751
30827
  },
30752
30828
  "privacy": "public",
30753
- "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.",
30829
+ "description": "Holds the current state for the calculated position of the listbox.",
30754
30830
  "inheritedFrom": {
30755
30831
  "name": "Select",
30756
30832
  "module": "src/select/select.ts"
@@ -30758,13 +30834,27 @@
30758
30834
  },
30759
30835
  {
30760
30836
  "kind": "method",
30761
- "name": "stylesChanged",
30837
+ "name": "positionChanged",
30762
30838
  "privacy": "protected",
30763
30839
  "return": {
30764
30840
  "type": {
30765
30841
  "text": "void"
30766
30842
  }
30767
30843
  },
30844
+ "parameters": [
30845
+ {
30846
+ "name": "prev",
30847
+ "type": {
30848
+ "text": "SelectPosition | undefined"
30849
+ }
30850
+ },
30851
+ {
30852
+ "name": "next",
30853
+ "type": {
30854
+ "text": "SelectPosition | undefined"
30855
+ }
30856
+ }
30857
+ ],
30768
30858
  "inheritedFrom": {
30769
30859
  "name": "Select",
30770
30860
  "module": "src/select/select.ts"
@@ -30772,306 +30862,208 @@
30772
30862
  },
30773
30863
  {
30774
30864
  "kind": "method",
30775
- "name": "compose",
30865
+ "name": "setPositioning",
30776
30866
  "privacy": "public",
30777
- "static": true,
30778
30867
  "return": {
30779
30868
  "type": {
30780
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
30869
+ "text": "void"
30781
30870
  }
30782
30871
  },
30872
+ "description": "Calculate and apply listbox positioning based on available viewport space.",
30873
+ "inheritedFrom": {
30874
+ "name": "Select",
30875
+ "module": "src/select/select.ts"
30876
+ }
30877
+ },
30878
+ {
30879
+ "kind": "field",
30880
+ "name": "displayValue",
30881
+ "type": {
30882
+ "text": "string"
30883
+ },
30884
+ "privacy": "public",
30885
+ "description": "The value displayed on the button.",
30886
+ "inheritedFrom": {
30887
+ "name": "Select",
30888
+ "module": "src/select/select.ts"
30889
+ }
30890
+ },
30891
+ {
30892
+ "kind": "method",
30893
+ "name": "multipleChanged",
30894
+ "privacy": "public",
30783
30895
  "parameters": [
30784
30896
  {
30785
- "name": "this",
30897
+ "name": "prev",
30786
30898
  "type": {
30787
- "text": "K"
30788
- }
30899
+ "text": "boolean | undefined"
30900
+ },
30901
+ "description": "the previous multiple value"
30789
30902
  },
30790
30903
  {
30791
- "name": "elementDefinition",
30904
+ "name": "next",
30792
30905
  "type": {
30793
- "text": "T"
30906
+ "text": "boolean"
30794
30907
  },
30795
- "description": "The definition of the element to create the registry\nfunction for."
30908
+ "description": "the current multiple value"
30796
30909
  }
30797
30910
  ],
30798
- "description": "Defines an element registry function with a set of element definition defaults.",
30911
+ "description": "Sets the multiple property on the proxy element.",
30799
30912
  "inheritedFrom": {
30800
30913
  "name": "Select",
30801
30914
  "module": "src/select/select.ts"
30802
30915
  }
30803
- }
30804
- ],
30805
- "events": [
30916
+ },
30806
30917
  {
30807
- "description": "Fires a custom 'input' event when the value updates",
30808
- "name": "input",
30918
+ "kind": "field",
30919
+ "name": "proxy",
30809
30920
  "inheritedFrom": {
30810
30921
  "name": "Select",
30811
30922
  "module": "src/select/select.ts"
30812
30923
  }
30813
30924
  },
30814
30925
  {
30815
- "description": "Fires a custom 'change' event when the value updates",
30816
- "name": "change",
30926
+ "kind": "field",
30927
+ "name": "multiple",
30928
+ "type": {
30929
+ "text": "boolean"
30930
+ },
30931
+ "privacy": "public",
30932
+ "description": "Indicates if the listbox is in multi-selection mode.",
30817
30933
  "inheritedFrom": {
30818
30934
  "name": "Select",
30819
30935
  "module": "src/select/select.ts"
30820
30936
  }
30821
- }
30822
- ]
30823
- },
30824
- {
30825
- "kind": "variable",
30826
- "name": "foundationSelectShadowOptions",
30827
- "type": {
30828
- "text": "ShadowRootInit"
30829
- },
30830
- "default": "undefined"
30831
- },
30832
- {
30833
- "kind": "variable",
30834
- "name": "defaultSelectConfig",
30835
- "type": {
30836
- "text": "object"
30837
- },
30838
- "default": "{\n indicator: `\n <svg\n class=\"select-indicator\"\n part=\"select-indicator\"\n viewBox=\"0 0 12 7\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z\"\n />\n </svg>\n `,\n}"
30839
- },
30840
- {
30841
- "kind": "variable",
30842
- "name": "foundationSelect",
30843
- "description": "The Foundation Select",
30844
- "privacy": "public"
30845
- }
30846
- ],
30847
- "exports": [
30848
- {
30849
- "kind": "js",
30850
- "name": "Select",
30851
- "declaration": {
30852
- "name": "Select",
30853
- "module": "src/select/select.ts"
30854
- }
30855
- },
30856
- {
30857
- "kind": "js",
30858
- "name": "foundationSelectShadowOptions",
30859
- "declaration": {
30860
- "name": "foundationSelectShadowOptions",
30861
- "module": "src/select/select.ts"
30862
- }
30863
- },
30864
- {
30865
- "kind": "js",
30866
- "name": "defaultSelectConfig",
30867
- "declaration": {
30868
- "name": "defaultSelectConfig",
30869
- "module": "src/select/select.ts"
30870
- }
30871
- },
30872
- {
30873
- "kind": "js",
30874
- "name": "foundationSelect",
30875
- "declaration": {
30876
- "name": "foundationSelect",
30877
- "module": "src/select/select.ts"
30878
- }
30879
- }
30880
- ]
30881
- },
30882
- {
30883
- "kind": "javascript-module",
30884
- "path": "src/segmented-item/index.ts",
30885
- "declarations": [],
30886
- "exports": [
30887
- {
30888
- "kind": "js",
30889
- "name": "*",
30890
- "declaration": {
30891
- "name": "*",
30892
- "package": "./segmented-item.template"
30893
- }
30894
- },
30895
- {
30896
- "kind": "js",
30897
- "name": "*",
30898
- "declaration": {
30899
- "name": "*",
30900
- "package": "./segmented-item.styles"
30901
- }
30902
- },
30903
- {
30904
- "kind": "js",
30905
- "name": "*",
30906
- "declaration": {
30907
- "name": "*",
30908
- "package": "./segmented-item"
30909
- }
30910
- }
30911
- ]
30912
- },
30913
- {
30914
- "kind": "javascript-module",
30915
- "path": "src/segmented-item/segmented-item.styles.ts",
30916
- "declarations": [
30917
- {
30918
- "kind": "function",
30919
- "name": "foundationSegmentedItemStyles",
30920
- "return": {
30921
- "type": {
30922
- "text": "ElementStyles"
30923
- }
30924
- },
30925
- "parameters": [
30937
+ },
30938
+ {
30939
+ "kind": "field",
30940
+ "name": "size",
30941
+ "type": {
30942
+ "text": "number"
30943
+ },
30944
+ "privacy": "public",
30945
+ "description": "The maximum number of options to display.",
30946
+ "inheritedFrom": {
30947
+ "name": "Select",
30948
+ "module": "src/select/select.ts"
30949
+ }
30950
+ },
30926
30951
  {
30927
- "name": "context",
30928
- "type": {
30929
- "text": "ElementDefinitionContext"
30952
+ "kind": "method",
30953
+ "name": "setSelectedOptions",
30954
+ "privacy": "public",
30955
+ "description": "Sets an option as selected and gives it focus.",
30956
+ "inheritedFrom": {
30957
+ "name": "Select",
30958
+ "module": "src/select/select.ts"
30930
30959
  }
30931
30960
  },
30932
30961
  {
30933
- "name": "definition",
30962
+ "kind": "field",
30963
+ "name": "length",
30934
30964
  "type": {
30935
- "text": "RadioOptions"
30965
+ "text": "number"
30966
+ },
30967
+ "privacy": "public",
30968
+ "description": "The number of options.",
30969
+ "inheritedFrom": {
30970
+ "name": "Select",
30971
+ "module": "src/select/select.ts"
30936
30972
  }
30937
- }
30938
- ]
30939
- }
30940
- ],
30941
- "exports": [
30942
- {
30943
- "kind": "js",
30944
- "name": "foundationSegmentedItemStyles",
30945
- "declaration": {
30946
- "name": "foundationSegmentedItemStyles",
30947
- "module": "src/segmented-item/segmented-item.styles.ts"
30948
- }
30949
- }
30950
- ]
30951
- },
30952
- {
30953
- "kind": "javascript-module",
30954
- "path": "src/segmented-item/segmented-item.template.ts",
30955
- "declarations": [
30956
- {
30957
- "kind": "function",
30958
- "name": "foundationSegmentedItemTemplate",
30959
- "parameters": [
30973
+ },
30960
30974
  {
30961
- "name": "context",
30975
+ "kind": "field",
30976
+ "name": "options",
30962
30977
  "type": {
30963
- "text": "ElementDefinitionContext"
30978
+ "text": "ListboxOption[]"
30979
+ },
30980
+ "privacy": "public",
30981
+ "description": "The list of options.",
30982
+ "inheritedFrom": {
30983
+ "name": "Select",
30984
+ "module": "src/select/select.ts"
30964
30985
  }
30965
30986
  },
30966
30987
  {
30967
- "name": "definition",
30968
- "type": {
30969
- "text": "RadioOptions"
30988
+ "kind": "field",
30989
+ "name": "typeAheadExpired",
30990
+ "privacy": "protected",
30991
+ "inheritedFrom": {
30992
+ "name": "Select",
30993
+ "module": "src/select/select.ts"
30970
30994
  }
30971
- }
30972
- ]
30973
- }
30974
- ],
30975
- "exports": [
30976
- {
30977
- "kind": "js",
30978
- "name": "foundationSegmentedItemTemplate",
30979
- "declaration": {
30980
- "name": "foundationSegmentedItemTemplate",
30981
- "module": "src/segmented-item/segmented-item.template.ts"
30982
- }
30983
- }
30984
- ]
30985
- },
30986
- {
30987
- "kind": "javascript-module",
30988
- "path": "src/segmented-item/segmented-item.ts",
30989
- "declarations": [
30990
- {
30991
- "kind": "class",
30992
- "description": "",
30993
- "name": "SegmentedItem",
30994
- "superclass": {
30995
- "name": "FASTRadio",
30996
- "package": "@microsoft/fast-components"
30997
- },
30998
- "tagName": "%%prefix%%-segmented-item",
30999
- "customElement": true,
31000
- "attributes": [
30995
+ },
31001
30996
  {
31002
- "name": "readonly",
30997
+ "kind": "field",
30998
+ "name": "disabled",
31003
30999
  "type": {
31004
31000
  "text": "boolean"
31005
31001
  },
31006
- "description": "When true, the control will be immutable by user interaction. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute for more information.",
31007
- "fieldName": "readOnly",
31002
+ "privacy": "public",
31003
+ "description": "The disabled state of the listbox.",
31008
31004
  "inheritedFrom": {
31009
- "name": "Radio",
31010
- "module": "src/radio/radio.ts"
31005
+ "name": "Select",
31006
+ "module": "src/select/select.ts"
31011
31007
  }
31012
- }
31013
- ],
31014
- "members": [
31008
+ },
31015
31009
  {
31016
31010
  "kind": "field",
31017
- "name": "readOnly",
31011
+ "name": "selectedIndex",
31018
31012
  "type": {
31019
- "text": "boolean"
31013
+ "text": "number"
31020
31014
  },
31021
31015
  "privacy": "public",
31022
- "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/readonly | readonly HTML attribute} for more information.",
31016
+ "default": "-1",
31017
+ "description": "The index of the selected option.",
31023
31018
  "inheritedFrom": {
31024
- "name": "Radio",
31025
- "module": "src/radio/radio.ts"
31019
+ "name": "Select",
31020
+ "module": "src/select/select.ts"
31026
31021
  }
31027
31022
  },
31028
31023
  {
31029
- "kind": "method",
31030
- "name": "readOnlyChanged",
31031
- "privacy": "private",
31032
- "return": {
31033
- "type": {
31034
- "text": "void"
31035
- }
31024
+ "kind": "field",
31025
+ "name": "selectedOptions",
31026
+ "type": {
31027
+ "text": "ListboxOption[]"
31036
31028
  },
31029
+ "privacy": "public",
31030
+ "default": "[]",
31031
+ "description": "A collection of the selected options.",
31037
31032
  "inheritedFrom": {
31038
- "name": "Radio",
31039
- "module": "src/radio/radio.ts"
31033
+ "name": "Select",
31034
+ "module": "src/select/select.ts"
31040
31035
  }
31041
31036
  },
31042
31037
  {
31043
31038
  "kind": "field",
31044
- "name": "name",
31045
- "type": {
31046
- "text": "string"
31047
- },
31039
+ "name": "slottedOptionFilter",
31048
31040
  "privacy": "public",
31049
- "description": "The name of the radio. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname | name attribute} for more info.",
31041
+ "static": true,
31042
+ "description": "A static filter to include only selectable options.",
31043
+ "parameters": [
31044
+ {
31045
+ "description": "element to filter",
31046
+ "name": "n"
31047
+ }
31048
+ ],
31050
31049
  "inheritedFrom": {
31051
- "name": "Radio",
31052
- "module": "src/radio/radio.ts"
31050
+ "name": "Select",
31051
+ "module": "src/select/select.ts"
31053
31052
  }
31054
31053
  },
31055
31054
  {
31056
31055
  "kind": "method",
31057
- "name": "isInsideRadioGroup",
31058
- "privacy": "private",
31056
+ "name": "selectFirstOption",
31057
+ "privacy": "public",
31059
31058
  "return": {
31060
31059
  "type": {
31061
- "text": "boolean"
31060
+ "text": "void"
31062
31061
  }
31063
31062
  },
31063
+ "description": "Moves focus to the first selectable option.",
31064
31064
  "inheritedFrom": {
31065
- "name": "Radio",
31066
- "module": "src/radio/radio.ts"
31067
- }
31068
- },
31069
- {
31070
- "kind": "field",
31071
- "name": "proxy",
31072
- "inheritedFrom": {
31073
- "name": "Radio",
31074
- "module": "src/radio/radio.ts"
31065
+ "name": "Select",
31066
+ "module": "src/select/select.ts"
31075
31067
  }
31076
31068
  },
31077
31069
  {
@@ -31083,8 +31075,8 @@
31083
31075
  "privacy": "private",
31084
31076
  "default": "void 0",
31085
31077
  "inheritedFrom": {
31086
- "name": "Radio",
31087
- "module": "src/radio/radio.ts"
31078
+ "name": "Select",
31079
+ "module": "src/select/select.ts"
31088
31080
  }
31089
31081
  },
31090
31082
  {
@@ -31096,8 +31088,8 @@
31096
31088
  "privacy": "public",
31097
31089
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
31098
31090
  "inheritedFrom": {
31099
- "name": "Radio",
31100
- "module": "src/radio/radio.ts"
31091
+ "name": "Select",
31092
+ "module": "src/select/select.ts"
31101
31093
  }
31102
31094
  },
31103
31095
  {
@@ -31109,8 +31101,8 @@
31109
31101
  "privacy": "public",
31110
31102
  "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.",
31111
31103
  "inheritedFrom": {
31112
- "name": "Radio",
31113
- "module": "src/radio/radio.ts"
31104
+ "name": "Select",
31105
+ "module": "src/select/select.ts"
31114
31106
  }
31115
31107
  },
31116
31108
  {
@@ -31123,8 +31115,8 @@
31123
31115
  }
31124
31116
  },
31125
31117
  "inheritedFrom": {
31126
- "name": "Radio",
31127
- "module": "src/radio/radio.ts"
31118
+ "name": "Select",
31119
+ "module": "src/select/select.ts"
31128
31120
  }
31129
31121
  },
31130
31122
  {
@@ -31136,8 +31128,8 @@
31136
31128
  "privacy": "public",
31137
31129
  "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.",
31138
31130
  "inheritedFrom": {
31139
- "name": "Radio",
31140
- "module": "src/radio/radio.ts"
31131
+ "name": "Select",
31132
+ "module": "src/select/select.ts"
31141
31133
  }
31142
31134
  },
31143
31135
  {
@@ -31150,8 +31142,8 @@
31150
31142
  }
31151
31143
  },
31152
31144
  "inheritedFrom": {
31153
- "name": "Radio",
31154
- "module": "src/radio/radio.ts"
31145
+ "name": "Select",
31146
+ "module": "src/select/select.ts"
31155
31147
  }
31156
31148
  },
31157
31149
  {
@@ -31181,25 +31173,33 @@
31181
31173
  ],
31182
31174
  "description": "Defines an element registry function with a set of element definition defaults.",
31183
31175
  "inheritedFrom": {
31184
- "name": "Radio",
31185
- "module": "src/radio/radio.ts"
31176
+ "name": "Select",
31177
+ "module": "src/select/select.ts"
31186
31178
  }
31187
31179
  }
31188
31180
  ],
31189
31181
  "events": [
31190
31182
  {
31191
- "description": "Emits a custom change event when the checked state changes",
31183
+ "description": "Fires a custom 'input' event when the value updates",
31184
+ "name": "input",
31185
+ "inheritedFrom": {
31186
+ "name": "Select",
31187
+ "module": "src/select/select.ts"
31188
+ }
31189
+ },
31190
+ {
31191
+ "description": "Fires a custom 'change' event when the value updates",
31192
31192
  "name": "change",
31193
31193
  "inheritedFrom": {
31194
- "name": "Radio",
31195
- "module": "src/radio/radio.ts"
31194
+ "name": "Select",
31195
+ "module": "src/select/select.ts"
31196
31196
  }
31197
31197
  }
31198
31198
  ]
31199
31199
  },
31200
31200
  {
31201
31201
  "kind": "variable",
31202
- "name": "foundationSegmentedItemShadowOptions",
31202
+ "name": "foundationSelectShadowOptions",
31203
31203
  "type": {
31204
31204
  "text": "ShadowRootInit"
31205
31205
  },
@@ -31207,50 +31207,50 @@
31207
31207
  },
31208
31208
  {
31209
31209
  "kind": "variable",
31210
- "name": "defaultSegmentedItemConfig",
31210
+ "name": "defaultSelectConfig",
31211
31211
  "type": {
31212
31212
  "text": "object"
31213
31213
  },
31214
- "default": "{}"
31214
+ "default": "{\n indicator: `\n <svg\n class=\"select-indicator\"\n part=\"select-indicator\"\n viewBox=\"0 0 12 7\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z\"\n />\n </svg>\n `,\n}"
31215
31215
  },
31216
31216
  {
31217
31217
  "kind": "variable",
31218
- "name": "foundationSegmentedItem",
31219
- "description": "The Foundation Segmented item",
31218
+ "name": "foundationSelect",
31219
+ "description": "The Foundation Select",
31220
31220
  "privacy": "public"
31221
31221
  }
31222
31222
  ],
31223
31223
  "exports": [
31224
31224
  {
31225
31225
  "kind": "js",
31226
- "name": "SegmentedItem",
31226
+ "name": "Select",
31227
31227
  "declaration": {
31228
- "name": "SegmentedItem",
31229
- "module": "src/segmented-item/segmented-item.ts"
31228
+ "name": "Select",
31229
+ "module": "src/select/select.ts"
31230
31230
  }
31231
31231
  },
31232
31232
  {
31233
31233
  "kind": "js",
31234
- "name": "foundationSegmentedItemShadowOptions",
31234
+ "name": "foundationSelectShadowOptions",
31235
31235
  "declaration": {
31236
- "name": "foundationSegmentedItemShadowOptions",
31237
- "module": "src/segmented-item/segmented-item.ts"
31236
+ "name": "foundationSelectShadowOptions",
31237
+ "module": "src/select/select.ts"
31238
31238
  }
31239
31239
  },
31240
31240
  {
31241
31241
  "kind": "js",
31242
- "name": "defaultSegmentedItemConfig",
31242
+ "name": "defaultSelectConfig",
31243
31243
  "declaration": {
31244
- "name": "defaultSegmentedItemConfig",
31245
- "module": "src/segmented-item/segmented-item.ts"
31244
+ "name": "defaultSelectConfig",
31245
+ "module": "src/select/select.ts"
31246
31246
  }
31247
31247
  },
31248
31248
  {
31249
31249
  "kind": "js",
31250
- "name": "foundationSegmentedItem",
31250
+ "name": "foundationSelect",
31251
31251
  "declaration": {
31252
- "name": "foundationSegmentedItem",
31253
- "module": "src/segmented-item/segmented-item.ts"
31252
+ "name": "foundationSelect",
31253
+ "module": "src/select/select.ts"
31254
31254
  }
31255
31255
  }
31256
31256
  ]