@genesislcap/foundation-ui 14.188.0-FUI-2012.1 → 14.188.0-FUI-2012-tabulator.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +977 -977
  2. package/package.json +16 -16
@@ -817,6 +817,264 @@
817
817
  }
818
818
  ]
819
819
  },
820
+ {
821
+ "kind": "javascript-module",
822
+ "path": "src/_common/icons.ts",
823
+ "declarations": [
824
+ {
825
+ "kind": "function",
826
+ "name": "closeIcon",
827
+ "parameters": [
828
+ {
829
+ "name": "slot",
830
+ "default": "'start'"
831
+ },
832
+ {
833
+ "name": "fill",
834
+ "default": "'#879ba6'"
835
+ }
836
+ ]
837
+ }
838
+ ],
839
+ "exports": [
840
+ {
841
+ "kind": "js",
842
+ "name": "closeIcon",
843
+ "declaration": {
844
+ "name": "closeIcon",
845
+ "module": "src/_common/icons.ts"
846
+ }
847
+ }
848
+ ]
849
+ },
850
+ {
851
+ "kind": "javascript-module",
852
+ "path": "src/_common/index.ts",
853
+ "declarations": [],
854
+ "exports": [
855
+ {
856
+ "kind": "js",
857
+ "name": "*",
858
+ "declaration": {
859
+ "name": "*",
860
+ "package": "./icons"
861
+ }
862
+ }
863
+ ]
864
+ },
865
+ {
866
+ "kind": "javascript-module",
867
+ "path": "src/accordion/accordion.styles.ts",
868
+ "declarations": [
869
+ {
870
+ "kind": "function",
871
+ "name": "foundationAccordionStyles",
872
+ "return": {
873
+ "type": {
874
+ "text": "ElementStyles"
875
+ }
876
+ },
877
+ "parameters": [
878
+ {
879
+ "name": "context",
880
+ "type": {
881
+ "text": "ElementDefinitionContext"
882
+ }
883
+ },
884
+ {
885
+ "name": "definition",
886
+ "type": {
887
+ "text": "FoundationElementDefinition"
888
+ }
889
+ }
890
+ ]
891
+ }
892
+ ],
893
+ "exports": [
894
+ {
895
+ "kind": "js",
896
+ "name": "foundationAccordionStyles",
897
+ "declaration": {
898
+ "name": "foundationAccordionStyles",
899
+ "module": "src/accordion/accordion.styles.ts"
900
+ }
901
+ }
902
+ ]
903
+ },
904
+ {
905
+ "kind": "javascript-module",
906
+ "path": "src/accordion/accordion.template.ts",
907
+ "declarations": [
908
+ {
909
+ "kind": "function",
910
+ "name": "foundationAccordionTemplate",
911
+ "return": {
912
+ "type": {
913
+ "text": "ViewTemplate<Accordion>"
914
+ }
915
+ },
916
+ "parameters": [
917
+ {
918
+ "name": "context",
919
+ "type": {
920
+ "text": "ElementDefinitionContext"
921
+ }
922
+ },
923
+ {
924
+ "name": "definition",
925
+ "type": {
926
+ "text": "FoundationElementDefinition"
927
+ }
928
+ }
929
+ ]
930
+ }
931
+ ],
932
+ "exports": [
933
+ {
934
+ "kind": "js",
935
+ "name": "foundationAccordionTemplate",
936
+ "declaration": {
937
+ "name": "foundationAccordionTemplate",
938
+ "module": "src/accordion/accordion.template.ts"
939
+ }
940
+ }
941
+ ]
942
+ },
943
+ {
944
+ "kind": "javascript-module",
945
+ "path": "src/accordion/accordion.ts",
946
+ "declarations": [
947
+ {
948
+ "kind": "class",
949
+ "description": "",
950
+ "name": "Accordion",
951
+ "superclass": {
952
+ "name": "FASTAccordion",
953
+ "package": "@microsoft/fast-foundation"
954
+ },
955
+ "tagName": "%%prefix%%-accordion",
956
+ "customElement": true
957
+ },
958
+ {
959
+ "kind": "variable",
960
+ "name": "foundationAccordionShadowOptions",
961
+ "type": {
962
+ "text": "ShadowRootInit"
963
+ },
964
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
965
+ },
966
+ {
967
+ "kind": "variable",
968
+ "name": "defaultAccordionConfig",
969
+ "type": {
970
+ "text": "object"
971
+ },
972
+ "default": "{}"
973
+ },
974
+ {
975
+ "kind": "variable",
976
+ "name": "foundationAccordion",
977
+ "description": "The Foundation Accordion",
978
+ "privacy": "public"
979
+ }
980
+ ],
981
+ "exports": [
982
+ {
983
+ "kind": "js",
984
+ "name": "Accordion",
985
+ "declaration": {
986
+ "name": "Accordion",
987
+ "module": "src/accordion/accordion.ts"
988
+ }
989
+ },
990
+ {
991
+ "kind": "js",
992
+ "name": "foundationAccordionShadowOptions",
993
+ "declaration": {
994
+ "name": "foundationAccordionShadowOptions",
995
+ "module": "src/accordion/accordion.ts"
996
+ }
997
+ },
998
+ {
999
+ "kind": "js",
1000
+ "name": "defaultAccordionConfig",
1001
+ "declaration": {
1002
+ "name": "defaultAccordionConfig",
1003
+ "module": "src/accordion/accordion.ts"
1004
+ }
1005
+ },
1006
+ {
1007
+ "kind": "js",
1008
+ "name": "foundationAccordion",
1009
+ "declaration": {
1010
+ "name": "foundationAccordion",
1011
+ "module": "src/accordion/accordion.ts"
1012
+ }
1013
+ }
1014
+ ]
1015
+ },
1016
+ {
1017
+ "kind": "javascript-module",
1018
+ "path": "src/accordion/index.ts",
1019
+ "declarations": [],
1020
+ "exports": [
1021
+ {
1022
+ "kind": "js",
1023
+ "name": "*",
1024
+ "declaration": {
1025
+ "name": "*",
1026
+ "package": "./accordion.template"
1027
+ }
1028
+ },
1029
+ {
1030
+ "kind": "js",
1031
+ "name": "*",
1032
+ "declaration": {
1033
+ "name": "*",
1034
+ "package": "./accordion.styles"
1035
+ }
1036
+ },
1037
+ {
1038
+ "kind": "js",
1039
+ "name": "*",
1040
+ "declaration": {
1041
+ "name": "*",
1042
+ "package": "./accordion"
1043
+ }
1044
+ }
1045
+ ]
1046
+ },
1047
+ {
1048
+ "kind": "javascript-module",
1049
+ "path": "src/_config/index.ts",
1050
+ "declarations": [],
1051
+ "exports": [
1052
+ {
1053
+ "kind": "js",
1054
+ "name": "*",
1055
+ "declaration": {
1056
+ "name": "*",
1057
+ "package": "./styles"
1058
+ }
1059
+ },
1060
+ {
1061
+ "kind": "js",
1062
+ "name": "*",
1063
+ "declaration": {
1064
+ "name": "*",
1065
+ "package": "./tokens"
1066
+ }
1067
+ },
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "*",
1071
+ "declaration": {
1072
+ "name": "*",
1073
+ "package": "./values"
1074
+ }
1075
+ }
1076
+ ]
1077
+ },
820
1078
  {
821
1079
  "kind": "javascript-module",
822
1080
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1211,37 +1469,6 @@
1211
1469
  }
1212
1470
  ]
1213
1471
  },
1214
- {
1215
- "kind": "javascript-module",
1216
- "path": "src/_config/index.ts",
1217
- "declarations": [],
1218
- "exports": [
1219
- {
1220
- "kind": "js",
1221
- "name": "*",
1222
- "declaration": {
1223
- "name": "*",
1224
- "package": "./styles"
1225
- }
1226
- },
1227
- {
1228
- "kind": "js",
1229
- "name": "*",
1230
- "declaration": {
1231
- "name": "*",
1232
- "package": "./tokens"
1233
- }
1234
- },
1235
- {
1236
- "kind": "js",
1237
- "name": "*",
1238
- "declaration": {
1239
- "name": "*",
1240
- "package": "./values"
1241
- }
1242
- }
1243
- ]
1244
- },
1245
1472
  {
1246
1473
  "kind": "javascript-module",
1247
1474
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2321,51 +2548,6 @@
2321
2548
  }
2322
2549
  ]
2323
2550
  },
2324
- {
2325
- "kind": "javascript-module",
2326
- "path": "src/_common/icons.ts",
2327
- "declarations": [
2328
- {
2329
- "kind": "function",
2330
- "name": "closeIcon",
2331
- "parameters": [
2332
- {
2333
- "name": "slot",
2334
- "default": "'start'"
2335
- },
2336
- {
2337
- "name": "fill",
2338
- "default": "'#879ba6'"
2339
- }
2340
- ]
2341
- }
2342
- ],
2343
- "exports": [
2344
- {
2345
- "kind": "js",
2346
- "name": "closeIcon",
2347
- "declaration": {
2348
- "name": "closeIcon",
2349
- "module": "src/_common/icons.ts"
2350
- }
2351
- }
2352
- ]
2353
- },
2354
- {
2355
- "kind": "javascript-module",
2356
- "path": "src/_common/index.ts",
2357
- "declarations": [],
2358
- "exports": [
2359
- {
2360
- "kind": "js",
2361
- "name": "*",
2362
- "declaration": {
2363
- "name": "*",
2364
- "package": "./icons"
2365
- }
2366
- }
2367
- ]
2368
- },
2369
2551
  {
2370
2552
  "kind": "javascript-module",
2371
2553
  "path": "src/anchored-region/anchor-region.template.ts",
@@ -3958,11 +4140,11 @@
3958
4140
  },
3959
4141
  {
3960
4142
  "kind": "javascript-module",
3961
- "path": "src/accordion/accordion.styles.ts",
4143
+ "path": "src/avatar/avatar.styles.ts",
3962
4144
  "declarations": [
3963
4145
  {
3964
4146
  "kind": "function",
3965
- "name": "foundationAccordionStyles",
4147
+ "name": "foundationAvatarStyles",
3966
4148
  "return": {
3967
4149
  "type": {
3968
4150
  "text": "ElementStyles"
@@ -3987,24 +4169,24 @@
3987
4169
  "exports": [
3988
4170
  {
3989
4171
  "kind": "js",
3990
- "name": "foundationAccordionStyles",
4172
+ "name": "foundationAvatarStyles",
3991
4173
  "declaration": {
3992
- "name": "foundationAccordionStyles",
3993
- "module": "src/accordion/accordion.styles.ts"
4174
+ "name": "foundationAvatarStyles",
4175
+ "module": "src/avatar/avatar.styles.ts"
3994
4176
  }
3995
4177
  }
3996
4178
  ]
3997
4179
  },
3998
4180
  {
3999
4181
  "kind": "javascript-module",
4000
- "path": "src/accordion/accordion.template.ts",
4182
+ "path": "src/avatar/avatar.template.ts",
4001
4183
  "declarations": [
4002
4184
  {
4003
4185
  "kind": "function",
4004
- "name": "foundationAccordionTemplate",
4186
+ "name": "foundationAvatarTemplate",
4005
4187
  "return": {
4006
4188
  "type": {
4007
- "text": "ViewTemplate<Accordion>"
4189
+ "text": "ViewTemplate<Avatar>"
4008
4190
  }
4009
4191
  },
4010
4192
  "parameters": [
@@ -4021,37 +4203,265 @@
4021
4203
  }
4022
4204
  }
4023
4205
  ]
4206
+ },
4207
+ {
4208
+ "kind": "variable",
4209
+ "name": "media",
4210
+ "default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
4024
4211
  }
4025
4212
  ],
4026
4213
  "exports": [
4027
4214
  {
4028
4215
  "kind": "js",
4029
- "name": "foundationAccordionTemplate",
4216
+ "name": "foundationAvatarTemplate",
4030
4217
  "declaration": {
4031
- "name": "foundationAccordionTemplate",
4032
- "module": "src/accordion/accordion.template.ts"
4218
+ "name": "foundationAvatarTemplate",
4219
+ "module": "src/avatar/avatar.template.ts"
4220
+ }
4221
+ },
4222
+ {
4223
+ "kind": "js",
4224
+ "name": "media",
4225
+ "declaration": {
4226
+ "name": "media",
4227
+ "module": "src/avatar/avatar.template.ts"
4033
4228
  }
4034
4229
  }
4035
4230
  ]
4036
4231
  },
4037
4232
  {
4038
4233
  "kind": "javascript-module",
4039
- "path": "src/accordion/accordion.ts",
4234
+ "path": "src/avatar/avatar.ts",
4040
4235
  "declarations": [
4041
4236
  {
4042
4237
  "kind": "class",
4043
4238
  "description": "",
4044
- "name": "Accordion",
4239
+ "name": "Avatar",
4045
4240
  "superclass": {
4046
- "name": "FASTAccordion",
4047
- "package": "@microsoft/fast-foundation"
4241
+ "name": "FASTAvatar",
4242
+ "package": "@microsoft/fast-components"
4048
4243
  },
4049
- "tagName": "%%prefix%%-accordion",
4050
- "customElement": true
4244
+ "tagName": "%%prefix%%-avatar",
4245
+ "customElement": true,
4246
+ "attributes": [
4247
+ {
4248
+ "name": "fill",
4249
+ "type": {
4250
+ "text": "string"
4251
+ },
4252
+ "description": "Indicates the Avatar should have a color fill.",
4253
+ "fieldName": "fill",
4254
+ "inheritedFrom": {
4255
+ "name": "Avatar",
4256
+ "module": "src/avatar/avatar.ts"
4257
+ }
4258
+ },
4259
+ {
4260
+ "name": "color",
4261
+ "type": {
4262
+ "text": "string"
4263
+ },
4264
+ "description": "Indicates the Avatar should have a text color.",
4265
+ "fieldName": "color",
4266
+ "inheritedFrom": {
4267
+ "name": "Avatar",
4268
+ "module": "src/avatar/avatar.ts"
4269
+ }
4270
+ },
4271
+ {
4272
+ "name": "link",
4273
+ "type": {
4274
+ "text": "string"
4275
+ },
4276
+ "description": "Indicates the Avatar should have url link",
4277
+ "fieldName": "link",
4278
+ "inheritedFrom": {
4279
+ "name": "Avatar",
4280
+ "module": "src/avatar/avatar.ts"
4281
+ }
4282
+ },
4283
+ {
4284
+ "name": "shape",
4285
+ "type": {
4286
+ "text": "AvatarShape"
4287
+ },
4288
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4289
+ "fieldName": "shape",
4290
+ "inheritedFrom": {
4291
+ "name": "Avatar",
4292
+ "module": "src/avatar/avatar.ts"
4293
+ }
4294
+ }
4295
+ ],
4296
+ "members": [
4297
+ {
4298
+ "kind": "field",
4299
+ "name": "fill",
4300
+ "type": {
4301
+ "text": "string"
4302
+ },
4303
+ "privacy": "public",
4304
+ "description": "Indicates the Avatar should have a color fill.",
4305
+ "inheritedFrom": {
4306
+ "name": "Avatar",
4307
+ "module": "src/avatar/avatar.ts"
4308
+ }
4309
+ },
4310
+ {
4311
+ "kind": "field",
4312
+ "name": "color",
4313
+ "type": {
4314
+ "text": "string"
4315
+ },
4316
+ "privacy": "public",
4317
+ "description": "Indicates the Avatar should have a text color.",
4318
+ "inheritedFrom": {
4319
+ "name": "Avatar",
4320
+ "module": "src/avatar/avatar.ts"
4321
+ }
4322
+ },
4323
+ {
4324
+ "kind": "field",
4325
+ "name": "link",
4326
+ "type": {
4327
+ "text": "string"
4328
+ },
4329
+ "privacy": "public",
4330
+ "description": "Indicates the Avatar should have url link",
4331
+ "inheritedFrom": {
4332
+ "name": "Avatar",
4333
+ "module": "src/avatar/avatar.ts"
4334
+ }
4335
+ },
4336
+ {
4337
+ "kind": "field",
4338
+ "name": "shape",
4339
+ "type": {
4340
+ "text": "AvatarShape"
4341
+ },
4342
+ "privacy": "public",
4343
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4344
+ "inheritedFrom": {
4345
+ "name": "Avatar",
4346
+ "module": "src/avatar/avatar.ts"
4347
+ }
4348
+ },
4349
+ {
4350
+ "kind": "field",
4351
+ "name": "_presentation",
4352
+ "type": {
4353
+ "text": "ComponentPresentation | null | undefined"
4354
+ },
4355
+ "privacy": "private",
4356
+ "default": "void 0",
4357
+ "inheritedFrom": {
4358
+ "name": "FoundationElement",
4359
+ "module": "src/foundation-element/foundation-element.ts"
4360
+ }
4361
+ },
4362
+ {
4363
+ "kind": "field",
4364
+ "name": "$presentation",
4365
+ "type": {
4366
+ "text": "ComponentPresentation | null"
4367
+ },
4368
+ "privacy": "public",
4369
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4370
+ "inheritedFrom": {
4371
+ "name": "FoundationElement",
4372
+ "module": "src/foundation-element/foundation-element.ts"
4373
+ }
4374
+ },
4375
+ {
4376
+ "kind": "field",
4377
+ "name": "template",
4378
+ "type": {
4379
+ "text": "ElementViewTemplate | void | null"
4380
+ },
4381
+ "privacy": "public",
4382
+ "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.",
4383
+ "inheritedFrom": {
4384
+ "name": "FoundationElement",
4385
+ "module": "src/foundation-element/foundation-element.ts"
4386
+ }
4387
+ },
4388
+ {
4389
+ "kind": "method",
4390
+ "name": "templateChanged",
4391
+ "privacy": "protected",
4392
+ "return": {
4393
+ "type": {
4394
+ "text": "void"
4395
+ }
4396
+ },
4397
+ "inheritedFrom": {
4398
+ "name": "FoundationElement",
4399
+ "module": "src/foundation-element/foundation-element.ts"
4400
+ }
4401
+ },
4402
+ {
4403
+ "kind": "field",
4404
+ "name": "styles",
4405
+ "type": {
4406
+ "text": "ElementStyles | void | null"
4407
+ },
4408
+ "privacy": "public",
4409
+ "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.",
4410
+ "inheritedFrom": {
4411
+ "name": "FoundationElement",
4412
+ "module": "src/foundation-element/foundation-element.ts"
4413
+ }
4414
+ },
4415
+ {
4416
+ "kind": "method",
4417
+ "name": "stylesChanged",
4418
+ "privacy": "protected",
4419
+ "return": {
4420
+ "type": {
4421
+ "text": "void"
4422
+ }
4423
+ },
4424
+ "inheritedFrom": {
4425
+ "name": "FoundationElement",
4426
+ "module": "src/foundation-element/foundation-element.ts"
4427
+ }
4428
+ },
4429
+ {
4430
+ "kind": "method",
4431
+ "name": "compose",
4432
+ "privacy": "public",
4433
+ "static": true,
4434
+ "return": {
4435
+ "type": {
4436
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4437
+ }
4438
+ },
4439
+ "parameters": [
4440
+ {
4441
+ "name": "this",
4442
+ "type": {
4443
+ "text": "K"
4444
+ }
4445
+ },
4446
+ {
4447
+ "name": "elementDefinition",
4448
+ "type": {
4449
+ "text": "T"
4450
+ },
4451
+ "description": "The definition of the element to create the registry\nfunction for."
4452
+ }
4453
+ ],
4454
+ "description": "Defines an element registry function with a set of element definition defaults.",
4455
+ "inheritedFrom": {
4456
+ "name": "FoundationElement",
4457
+ "module": "src/foundation-element/foundation-element.ts"
4458
+ }
4459
+ }
4460
+ ]
4051
4461
  },
4052
4462
  {
4053
4463
  "kind": "variable",
4054
- "name": "foundationAccordionShadowOptions",
4464
+ "name": "foundationAvatarShadowOptions",
4055
4465
  "type": {
4056
4466
  "text": "ShadowRootInit"
4057
4467
  },
@@ -4059,57 +4469,57 @@
4059
4469
  },
4060
4470
  {
4061
4471
  "kind": "variable",
4062
- "name": "defaultAccordionConfig",
4472
+ "name": "defaultAvatarConfig",
4063
4473
  "type": {
4064
4474
  "text": "object"
4065
4475
  },
4066
- "default": "{}"
4476
+ "default": "{\n media: mediaTemplate,\n}"
4067
4477
  },
4068
4478
  {
4069
4479
  "kind": "variable",
4070
- "name": "foundationAccordion",
4071
- "description": "The Foundation Accordion",
4480
+ "name": "foundationAvatar",
4481
+ "description": "The Foundation Avatar",
4072
4482
  "privacy": "public"
4073
4483
  }
4074
4484
  ],
4075
4485
  "exports": [
4076
4486
  {
4077
4487
  "kind": "js",
4078
- "name": "Accordion",
4488
+ "name": "Avatar",
4079
4489
  "declaration": {
4080
- "name": "Accordion",
4081
- "module": "src/accordion/accordion.ts"
4490
+ "name": "Avatar",
4491
+ "module": "src/avatar/avatar.ts"
4082
4492
  }
4083
4493
  },
4084
4494
  {
4085
4495
  "kind": "js",
4086
- "name": "foundationAccordionShadowOptions",
4496
+ "name": "foundationAvatarShadowOptions",
4087
4497
  "declaration": {
4088
- "name": "foundationAccordionShadowOptions",
4089
- "module": "src/accordion/accordion.ts"
4498
+ "name": "foundationAvatarShadowOptions",
4499
+ "module": "src/avatar/avatar.ts"
4090
4500
  }
4091
4501
  },
4092
4502
  {
4093
4503
  "kind": "js",
4094
- "name": "defaultAccordionConfig",
4504
+ "name": "defaultAvatarConfig",
4095
4505
  "declaration": {
4096
- "name": "defaultAccordionConfig",
4097
- "module": "src/accordion/accordion.ts"
4506
+ "name": "defaultAvatarConfig",
4507
+ "module": "src/avatar/avatar.ts"
4098
4508
  }
4099
4509
  },
4100
4510
  {
4101
4511
  "kind": "js",
4102
- "name": "foundationAccordion",
4512
+ "name": "foundationAvatar",
4103
4513
  "declaration": {
4104
- "name": "foundationAccordion",
4105
- "module": "src/accordion/accordion.ts"
4514
+ "name": "foundationAvatar",
4515
+ "module": "src/avatar/avatar.ts"
4106
4516
  }
4107
4517
  }
4108
4518
  ]
4109
4519
  },
4110
4520
  {
4111
4521
  "kind": "javascript-module",
4112
- "path": "src/accordion/index.ts",
4522
+ "path": "src/avatar/index.ts",
4113
4523
  "declarations": [],
4114
4524
  "exports": [
4115
4525
  {
@@ -4117,7 +4527,7 @@
4117
4527
  "name": "*",
4118
4528
  "declaration": {
4119
4529
  "name": "*",
4120
- "package": "./accordion.template"
4530
+ "package": "./avatar.template"
4121
4531
  }
4122
4532
  },
4123
4533
  {
@@ -4125,7 +4535,7 @@
4125
4535
  "name": "*",
4126
4536
  "declaration": {
4127
4537
  "name": "*",
4128
- "package": "./accordion.styles"
4538
+ "package": "./avatar.styles"
4129
4539
  }
4130
4540
  },
4131
4541
  {
@@ -4133,428 +4543,18 @@
4133
4543
  "name": "*",
4134
4544
  "declaration": {
4135
4545
  "name": "*",
4136
- "package": "./accordion"
4546
+ "package": "./avatar"
4137
4547
  }
4138
4548
  }
4139
4549
  ]
4140
4550
  },
4141
4551
  {
4142
4552
  "kind": "javascript-module",
4143
- "path": "src/avatar/avatar.styles.ts",
4553
+ "path": "src/badge/badge.styles.ts",
4144
4554
  "declarations": [
4145
4555
  {
4146
4556
  "kind": "function",
4147
- "name": "foundationAvatarStyles",
4148
- "return": {
4149
- "type": {
4150
- "text": "ElementStyles"
4151
- }
4152
- },
4153
- "parameters": [
4154
- {
4155
- "name": "context",
4156
- "type": {
4157
- "text": "ElementDefinitionContext"
4158
- }
4159
- },
4160
- {
4161
- "name": "definition",
4162
- "type": {
4163
- "text": "FoundationElementDefinition"
4164
- }
4165
- }
4166
- ]
4167
- }
4168
- ],
4169
- "exports": [
4170
- {
4171
- "kind": "js",
4172
- "name": "foundationAvatarStyles",
4173
- "declaration": {
4174
- "name": "foundationAvatarStyles",
4175
- "module": "src/avatar/avatar.styles.ts"
4176
- }
4177
- }
4178
- ]
4179
- },
4180
- {
4181
- "kind": "javascript-module",
4182
- "path": "src/avatar/avatar.template.ts",
4183
- "declarations": [
4184
- {
4185
- "kind": "function",
4186
- "name": "foundationAvatarTemplate",
4187
- "return": {
4188
- "type": {
4189
- "text": "ViewTemplate<Avatar>"
4190
- }
4191
- },
4192
- "parameters": [
4193
- {
4194
- "name": "context",
4195
- "type": {
4196
- "text": "ElementDefinitionContext"
4197
- }
4198
- },
4199
- {
4200
- "name": "definition",
4201
- "type": {
4202
- "text": "FoundationElementDefinition"
4203
- }
4204
- }
4205
- ]
4206
- },
4207
- {
4208
- "kind": "variable",
4209
- "name": "media",
4210
- "default": "html<Avatar>`\n ${when(\n (x) => x.imgSrc,\n html<Avatar>`\n <img src=\"${(x) => x.imgSrc}\" alt=\"${(x) => x.alt}\" slot=\"media\" class=\"media\" part=\"media\" />\n `,\n )}\n`"
4211
- }
4212
- ],
4213
- "exports": [
4214
- {
4215
- "kind": "js",
4216
- "name": "foundationAvatarTemplate",
4217
- "declaration": {
4218
- "name": "foundationAvatarTemplate",
4219
- "module": "src/avatar/avatar.template.ts"
4220
- }
4221
- },
4222
- {
4223
- "kind": "js",
4224
- "name": "media",
4225
- "declaration": {
4226
- "name": "media",
4227
- "module": "src/avatar/avatar.template.ts"
4228
- }
4229
- }
4230
- ]
4231
- },
4232
- {
4233
- "kind": "javascript-module",
4234
- "path": "src/avatar/avatar.ts",
4235
- "declarations": [
4236
- {
4237
- "kind": "class",
4238
- "description": "",
4239
- "name": "Avatar",
4240
- "superclass": {
4241
- "name": "FASTAvatar",
4242
- "package": "@microsoft/fast-components"
4243
- },
4244
- "tagName": "%%prefix%%-avatar",
4245
- "customElement": true,
4246
- "attributes": [
4247
- {
4248
- "name": "fill",
4249
- "type": {
4250
- "text": "string"
4251
- },
4252
- "description": "Indicates the Avatar should have a color fill.",
4253
- "fieldName": "fill",
4254
- "inheritedFrom": {
4255
- "name": "Avatar",
4256
- "module": "src/avatar/avatar.ts"
4257
- }
4258
- },
4259
- {
4260
- "name": "color",
4261
- "type": {
4262
- "text": "string"
4263
- },
4264
- "description": "Indicates the Avatar should have a text color.",
4265
- "fieldName": "color",
4266
- "inheritedFrom": {
4267
- "name": "Avatar",
4268
- "module": "src/avatar/avatar.ts"
4269
- }
4270
- },
4271
- {
4272
- "name": "link",
4273
- "type": {
4274
- "text": "string"
4275
- },
4276
- "description": "Indicates the Avatar should have url link",
4277
- "fieldName": "link",
4278
- "inheritedFrom": {
4279
- "name": "Avatar",
4280
- "module": "src/avatar/avatar.ts"
4281
- }
4282
- },
4283
- {
4284
- "name": "shape",
4285
- "type": {
4286
- "text": "AvatarShape"
4287
- },
4288
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4289
- "fieldName": "shape",
4290
- "inheritedFrom": {
4291
- "name": "Avatar",
4292
- "module": "src/avatar/avatar.ts"
4293
- }
4294
- }
4295
- ],
4296
- "members": [
4297
- {
4298
- "kind": "field",
4299
- "name": "fill",
4300
- "type": {
4301
- "text": "string"
4302
- },
4303
- "privacy": "public",
4304
- "description": "Indicates the Avatar should have a color fill.",
4305
- "inheritedFrom": {
4306
- "name": "Avatar",
4307
- "module": "src/avatar/avatar.ts"
4308
- }
4309
- },
4310
- {
4311
- "kind": "field",
4312
- "name": "color",
4313
- "type": {
4314
- "text": "string"
4315
- },
4316
- "privacy": "public",
4317
- "description": "Indicates the Avatar should have a text color.",
4318
- "inheritedFrom": {
4319
- "name": "Avatar",
4320
- "module": "src/avatar/avatar.ts"
4321
- }
4322
- },
4323
- {
4324
- "kind": "field",
4325
- "name": "link",
4326
- "type": {
4327
- "text": "string"
4328
- },
4329
- "privacy": "public",
4330
- "description": "Indicates the Avatar should have url link",
4331
- "inheritedFrom": {
4332
- "name": "Avatar",
4333
- "module": "src/avatar/avatar.ts"
4334
- }
4335
- },
4336
- {
4337
- "kind": "field",
4338
- "name": "shape",
4339
- "type": {
4340
- "text": "AvatarShape"
4341
- },
4342
- "privacy": "public",
4343
- "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4344
- "inheritedFrom": {
4345
- "name": "Avatar",
4346
- "module": "src/avatar/avatar.ts"
4347
- }
4348
- },
4349
- {
4350
- "kind": "field",
4351
- "name": "_presentation",
4352
- "type": {
4353
- "text": "ComponentPresentation | null | undefined"
4354
- },
4355
- "privacy": "private",
4356
- "default": "void 0",
4357
- "inheritedFrom": {
4358
- "name": "FoundationElement",
4359
- "module": "src/foundation-element/foundation-element.ts"
4360
- }
4361
- },
4362
- {
4363
- "kind": "field",
4364
- "name": "$presentation",
4365
- "type": {
4366
- "text": "ComponentPresentation | null"
4367
- },
4368
- "privacy": "public",
4369
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
4370
- "inheritedFrom": {
4371
- "name": "FoundationElement",
4372
- "module": "src/foundation-element/foundation-element.ts"
4373
- }
4374
- },
4375
- {
4376
- "kind": "field",
4377
- "name": "template",
4378
- "type": {
4379
- "text": "ElementViewTemplate | void | null"
4380
- },
4381
- "privacy": "public",
4382
- "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.",
4383
- "inheritedFrom": {
4384
- "name": "FoundationElement",
4385
- "module": "src/foundation-element/foundation-element.ts"
4386
- }
4387
- },
4388
- {
4389
- "kind": "method",
4390
- "name": "templateChanged",
4391
- "privacy": "protected",
4392
- "return": {
4393
- "type": {
4394
- "text": "void"
4395
- }
4396
- },
4397
- "inheritedFrom": {
4398
- "name": "FoundationElement",
4399
- "module": "src/foundation-element/foundation-element.ts"
4400
- }
4401
- },
4402
- {
4403
- "kind": "field",
4404
- "name": "styles",
4405
- "type": {
4406
- "text": "ElementStyles | void | null"
4407
- },
4408
- "privacy": "public",
4409
- "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.",
4410
- "inheritedFrom": {
4411
- "name": "FoundationElement",
4412
- "module": "src/foundation-element/foundation-element.ts"
4413
- }
4414
- },
4415
- {
4416
- "kind": "method",
4417
- "name": "stylesChanged",
4418
- "privacy": "protected",
4419
- "return": {
4420
- "type": {
4421
- "text": "void"
4422
- }
4423
- },
4424
- "inheritedFrom": {
4425
- "name": "FoundationElement",
4426
- "module": "src/foundation-element/foundation-element.ts"
4427
- }
4428
- },
4429
- {
4430
- "kind": "method",
4431
- "name": "compose",
4432
- "privacy": "public",
4433
- "static": true,
4434
- "return": {
4435
- "type": {
4436
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
4437
- }
4438
- },
4439
- "parameters": [
4440
- {
4441
- "name": "this",
4442
- "type": {
4443
- "text": "K"
4444
- }
4445
- },
4446
- {
4447
- "name": "elementDefinition",
4448
- "type": {
4449
- "text": "T"
4450
- },
4451
- "description": "The definition of the element to create the registry\nfunction for."
4452
- }
4453
- ],
4454
- "description": "Defines an element registry function with a set of element definition defaults.",
4455
- "inheritedFrom": {
4456
- "name": "FoundationElement",
4457
- "module": "src/foundation-element/foundation-element.ts"
4458
- }
4459
- }
4460
- ]
4461
- },
4462
- {
4463
- "kind": "variable",
4464
- "name": "foundationAvatarShadowOptions",
4465
- "type": {
4466
- "text": "ShadowRootInit"
4467
- },
4468
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
4469
- },
4470
- {
4471
- "kind": "variable",
4472
- "name": "defaultAvatarConfig",
4473
- "type": {
4474
- "text": "object"
4475
- },
4476
- "default": "{\n media: mediaTemplate,\n}"
4477
- },
4478
- {
4479
- "kind": "variable",
4480
- "name": "foundationAvatar",
4481
- "description": "The Foundation Avatar",
4482
- "privacy": "public"
4483
- }
4484
- ],
4485
- "exports": [
4486
- {
4487
- "kind": "js",
4488
- "name": "Avatar",
4489
- "declaration": {
4490
- "name": "Avatar",
4491
- "module": "src/avatar/avatar.ts"
4492
- }
4493
- },
4494
- {
4495
- "kind": "js",
4496
- "name": "foundationAvatarShadowOptions",
4497
- "declaration": {
4498
- "name": "foundationAvatarShadowOptions",
4499
- "module": "src/avatar/avatar.ts"
4500
- }
4501
- },
4502
- {
4503
- "kind": "js",
4504
- "name": "defaultAvatarConfig",
4505
- "declaration": {
4506
- "name": "defaultAvatarConfig",
4507
- "module": "src/avatar/avatar.ts"
4508
- }
4509
- },
4510
- {
4511
- "kind": "js",
4512
- "name": "foundationAvatar",
4513
- "declaration": {
4514
- "name": "foundationAvatar",
4515
- "module": "src/avatar/avatar.ts"
4516
- }
4517
- }
4518
- ]
4519
- },
4520
- {
4521
- "kind": "javascript-module",
4522
- "path": "src/avatar/index.ts",
4523
- "declarations": [],
4524
- "exports": [
4525
- {
4526
- "kind": "js",
4527
- "name": "*",
4528
- "declaration": {
4529
- "name": "*",
4530
- "package": "./avatar.template"
4531
- }
4532
- },
4533
- {
4534
- "kind": "js",
4535
- "name": "*",
4536
- "declaration": {
4537
- "name": "*",
4538
- "package": "./avatar.styles"
4539
- }
4540
- },
4541
- {
4542
- "kind": "js",
4543
- "name": "*",
4544
- "declaration": {
4545
- "name": "*",
4546
- "package": "./avatar"
4547
- }
4548
- }
4549
- ]
4550
- },
4551
- {
4552
- "kind": "javascript-module",
4553
- "path": "src/badge/badge.styles.ts",
4554
- "declarations": [
4555
- {
4556
- "kind": "function",
4557
- "name": "foundationBadgeStyles",
4557
+ "name": "foundationBadgeStyles",
4558
4558
  "return": {
4559
4559
  "type": {
4560
4560
  "text": "ElementStyles"
@@ -39450,6 +39450,457 @@
39450
39450
  }
39451
39451
  ]
39452
39452
  },
39453
+ {
39454
+ "kind": "javascript-module",
39455
+ "path": "src/tree-item/index.ts",
39456
+ "declarations": [],
39457
+ "exports": [
39458
+ {
39459
+ "kind": "js",
39460
+ "name": "*",
39461
+ "declaration": {
39462
+ "name": "*",
39463
+ "package": "./tree-item.template"
39464
+ }
39465
+ },
39466
+ {
39467
+ "kind": "js",
39468
+ "name": "*",
39469
+ "declaration": {
39470
+ "name": "*",
39471
+ "package": "./tree-item.styles"
39472
+ }
39473
+ },
39474
+ {
39475
+ "kind": "js",
39476
+ "name": "*",
39477
+ "declaration": {
39478
+ "name": "*",
39479
+ "package": "./tree-item"
39480
+ }
39481
+ }
39482
+ ]
39483
+ },
39484
+ {
39485
+ "kind": "javascript-module",
39486
+ "path": "src/tree-item/tree-item.styles.ts",
39487
+ "declarations": [
39488
+ {
39489
+ "kind": "function",
39490
+ "name": "foundationTreeItemStyles",
39491
+ "return": {
39492
+ "type": {
39493
+ "text": "ElementStyles"
39494
+ }
39495
+ },
39496
+ "parameters": [
39497
+ {
39498
+ "name": "context",
39499
+ "type": {
39500
+ "text": "ElementDefinitionContext"
39501
+ }
39502
+ },
39503
+ {
39504
+ "name": "definition",
39505
+ "type": {
39506
+ "text": "FoundationElementDefinition"
39507
+ }
39508
+ }
39509
+ ]
39510
+ }
39511
+ ],
39512
+ "exports": [
39513
+ {
39514
+ "kind": "js",
39515
+ "name": "foundationTreeItemStyles",
39516
+ "declaration": {
39517
+ "name": "foundationTreeItemStyles",
39518
+ "module": "src/tree-item/tree-item.styles.ts"
39519
+ }
39520
+ }
39521
+ ]
39522
+ },
39523
+ {
39524
+ "kind": "javascript-module",
39525
+ "path": "src/tree-item/tree-item.template.ts",
39526
+ "declarations": [
39527
+ {
39528
+ "kind": "function",
39529
+ "name": "foundationTreeItemTemplate",
39530
+ "return": {
39531
+ "type": {
39532
+ "text": "ViewTemplate<TreeItem>"
39533
+ }
39534
+ },
39535
+ "parameters": [
39536
+ {
39537
+ "name": "context",
39538
+ "type": {
39539
+ "text": "ElementDefinitionContext"
39540
+ }
39541
+ },
39542
+ {
39543
+ "name": "definition",
39544
+ "type": {
39545
+ "text": "FoundationElementDefinition"
39546
+ }
39547
+ }
39548
+ ]
39549
+ }
39550
+ ],
39551
+ "exports": [
39552
+ {
39553
+ "kind": "js",
39554
+ "name": "foundationTreeItemTemplate",
39555
+ "declaration": {
39556
+ "name": "foundationTreeItemTemplate",
39557
+ "module": "src/tree-item/tree-item.template.ts"
39558
+ }
39559
+ }
39560
+ ]
39561
+ },
39562
+ {
39563
+ "kind": "javascript-module",
39564
+ "path": "src/tree-item/tree-item.ts",
39565
+ "declarations": [
39566
+ {
39567
+ "kind": "class",
39568
+ "description": "%%prefix%%-tree-item",
39569
+ "name": "TreeItem",
39570
+ "superclass": {
39571
+ "name": "FASTTreeItem",
39572
+ "package": "@microsoft/fast-components"
39573
+ },
39574
+ "attributes": [
39575
+ {
39576
+ "type": {
39577
+ "text": "boolean"
39578
+ },
39579
+ "description": "When true, the control will be appear expanded by user interaction.",
39580
+ "fieldName": "expanded",
39581
+ "default": "false",
39582
+ "inheritedFrom": {
39583
+ "name": "TreeItem",
39584
+ "module": "src/tree-item/tree-item.ts"
39585
+ }
39586
+ }
39587
+ ],
39588
+ "members": [
39589
+ {
39590
+ "kind": "field",
39591
+ "name": "expanded",
39592
+ "type": {
39593
+ "text": "boolean"
39594
+ },
39595
+ "privacy": "public",
39596
+ "default": "false",
39597
+ "description": "When true, the control will be appear expanded by user interaction.",
39598
+ "inheritedFrom": {
39599
+ "name": "TreeItem",
39600
+ "module": "src/tree-item/tree-item.ts"
39601
+ }
39602
+ },
39603
+ {
39604
+ "kind": "method",
39605
+ "name": "expandedChanged",
39606
+ "privacy": "private",
39607
+ "return": {
39608
+ "type": {
39609
+ "text": "void"
39610
+ }
39611
+ },
39612
+ "inheritedFrom": {
39613
+ "name": "TreeItem",
39614
+ "module": "src/tree-item/tree-item.ts"
39615
+ }
39616
+ },
39617
+ {
39618
+ "kind": "field",
39619
+ "name": "selected",
39620
+ "type": {
39621
+ "text": "boolean"
39622
+ },
39623
+ "privacy": "public",
39624
+ "description": "When true, the control will appear selected by user interaction.",
39625
+ "inheritedFrom": {
39626
+ "name": "TreeItem",
39627
+ "module": "src/tree-item/tree-item.ts"
39628
+ }
39629
+ },
39630
+ {
39631
+ "kind": "method",
39632
+ "name": "selectedChanged",
39633
+ "privacy": "private",
39634
+ "return": {
39635
+ "type": {
39636
+ "text": "void"
39637
+ }
39638
+ },
39639
+ "inheritedFrom": {
39640
+ "name": "TreeItem",
39641
+ "module": "src/tree-item/tree-item.ts"
39642
+ }
39643
+ },
39644
+ {
39645
+ "kind": "field",
39646
+ "name": "disabled",
39647
+ "type": {
39648
+ "text": "boolean"
39649
+ },
39650
+ "privacy": "public",
39651
+ "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute} for more information.",
39652
+ "inheritedFrom": {
39653
+ "name": "TreeItem",
39654
+ "module": "src/tree-item/tree-item.ts"
39655
+ }
39656
+ },
39657
+ {
39658
+ "kind": "method",
39659
+ "name": "itemsChanged",
39660
+ "privacy": "private",
39661
+ "return": {
39662
+ "type": {
39663
+ "text": "void"
39664
+ }
39665
+ },
39666
+ "parameters": [
39667
+ {
39668
+ "name": "oldValue",
39669
+ "type": {
39670
+ "text": "unknown"
39671
+ }
39672
+ },
39673
+ {
39674
+ "name": "newValue",
39675
+ "type": {
39676
+ "text": "HTMLElement[]"
39677
+ }
39678
+ }
39679
+ ],
39680
+ "inheritedFrom": {
39681
+ "name": "TreeItem",
39682
+ "module": "src/tree-item/tree-item.ts"
39683
+ }
39684
+ },
39685
+ {
39686
+ "kind": "method",
39687
+ "name": "focusItem",
39688
+ "privacy": "public",
39689
+ "static": true,
39690
+ "parameters": [
39691
+ {
39692
+ "name": "el",
39693
+ "type": {
39694
+ "text": "HTMLElement"
39695
+ },
39696
+ "description": "the element to focus"
39697
+ }
39698
+ ],
39699
+ "description": "Places document focus on a tree item",
39700
+ "inheritedFrom": {
39701
+ "name": "TreeItem",
39702
+ "module": "src/tree-item/tree-item.ts"
39703
+ }
39704
+ },
39705
+ {
39706
+ "kind": "field",
39707
+ "name": "isNestedItem",
39708
+ "privacy": "public",
39709
+ "description": "Whether the tree is nested",
39710
+ "inheritedFrom": {
39711
+ "name": "TreeItem",
39712
+ "module": "src/tree-item/tree-item.ts"
39713
+ }
39714
+ },
39715
+ {
39716
+ "kind": "field",
39717
+ "name": "_presentation",
39718
+ "type": {
39719
+ "text": "ComponentPresentation | null | undefined"
39720
+ },
39721
+ "privacy": "private",
39722
+ "default": "void 0",
39723
+ "inheritedFrom": {
39724
+ "name": "FoundationElement",
39725
+ "module": "src/foundation-element/foundation-element.ts"
39726
+ }
39727
+ },
39728
+ {
39729
+ "kind": "field",
39730
+ "name": "$presentation",
39731
+ "type": {
39732
+ "text": "ComponentPresentation | null"
39733
+ },
39734
+ "privacy": "public",
39735
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
39736
+ "inheritedFrom": {
39737
+ "name": "FoundationElement",
39738
+ "module": "src/foundation-element/foundation-element.ts"
39739
+ }
39740
+ },
39741
+ {
39742
+ "kind": "field",
39743
+ "name": "template",
39744
+ "type": {
39745
+ "text": "ElementViewTemplate | void | null"
39746
+ },
39747
+ "privacy": "public",
39748
+ "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.",
39749
+ "inheritedFrom": {
39750
+ "name": "FoundationElement",
39751
+ "module": "src/foundation-element/foundation-element.ts"
39752
+ }
39753
+ },
39754
+ {
39755
+ "kind": "method",
39756
+ "name": "templateChanged",
39757
+ "privacy": "protected",
39758
+ "return": {
39759
+ "type": {
39760
+ "text": "void"
39761
+ }
39762
+ },
39763
+ "inheritedFrom": {
39764
+ "name": "FoundationElement",
39765
+ "module": "src/foundation-element/foundation-element.ts"
39766
+ }
39767
+ },
39768
+ {
39769
+ "kind": "field",
39770
+ "name": "styles",
39771
+ "type": {
39772
+ "text": "ElementStyles | void | null"
39773
+ },
39774
+ "privacy": "public",
39775
+ "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.",
39776
+ "inheritedFrom": {
39777
+ "name": "FoundationElement",
39778
+ "module": "src/foundation-element/foundation-element.ts"
39779
+ }
39780
+ },
39781
+ {
39782
+ "kind": "method",
39783
+ "name": "stylesChanged",
39784
+ "privacy": "protected",
39785
+ "return": {
39786
+ "type": {
39787
+ "text": "void"
39788
+ }
39789
+ },
39790
+ "inheritedFrom": {
39791
+ "name": "FoundationElement",
39792
+ "module": "src/foundation-element/foundation-element.ts"
39793
+ }
39794
+ },
39795
+ {
39796
+ "kind": "method",
39797
+ "name": "compose",
39798
+ "privacy": "public",
39799
+ "static": true,
39800
+ "return": {
39801
+ "type": {
39802
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
39803
+ }
39804
+ },
39805
+ "parameters": [
39806
+ {
39807
+ "name": "this",
39808
+ "type": {
39809
+ "text": "K"
39810
+ }
39811
+ },
39812
+ {
39813
+ "name": "elementDefinition",
39814
+ "type": {
39815
+ "text": "T"
39816
+ },
39817
+ "description": "The definition of the element to create the registry\nfunction for."
39818
+ }
39819
+ ],
39820
+ "description": "Defines an element registry function with a set of element definition defaults.",
39821
+ "inheritedFrom": {
39822
+ "name": "FoundationElement",
39823
+ "module": "src/foundation-element/foundation-element.ts"
39824
+ }
39825
+ }
39826
+ ],
39827
+ "events": [
39828
+ {
39829
+ "description": "Fires a custom 'expanded-change' event when the expanded state changes",
39830
+ "name": "expanded-change",
39831
+ "inheritedFrom": {
39832
+ "name": "TreeItem",
39833
+ "module": "src/tree-item/tree-item.ts"
39834
+ }
39835
+ },
39836
+ {
39837
+ "description": "Fires a custom 'selected-change' event when the selected state changes",
39838
+ "name": "selected-change",
39839
+ "inheritedFrom": {
39840
+ "name": "TreeItem",
39841
+ "module": "src/tree-item/tree-item.ts"
39842
+ }
39843
+ }
39844
+ ]
39845
+ },
39846
+ {
39847
+ "kind": "variable",
39848
+ "name": "foundationTreeItemShadowOptions",
39849
+ "type": {
39850
+ "text": "ShadowRootInit"
39851
+ },
39852
+ "default": "undefined"
39853
+ },
39854
+ {
39855
+ "kind": "variable",
39856
+ "name": "defaultTreeItemConfig",
39857
+ "type": {
39858
+ "text": "object"
39859
+ },
39860
+ "default": "{\n expandCollapseGlyph: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" class=\"expand-collapse-glyph\">\n <path d=\"M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z\"></path>\n </svg>`,\n}"
39861
+ },
39862
+ {
39863
+ "kind": "variable",
39864
+ "name": "foundationTreeItem",
39865
+ "description": "The Foundation Tree item",
39866
+ "privacy": "public"
39867
+ }
39868
+ ],
39869
+ "exports": [
39870
+ {
39871
+ "kind": "js",
39872
+ "name": "TreeItem",
39873
+ "declaration": {
39874
+ "name": "TreeItem",
39875
+ "module": "src/tree-item/tree-item.ts"
39876
+ }
39877
+ },
39878
+ {
39879
+ "kind": "js",
39880
+ "name": "foundationTreeItemShadowOptions",
39881
+ "declaration": {
39882
+ "name": "foundationTreeItemShadowOptions",
39883
+ "module": "src/tree-item/tree-item.ts"
39884
+ }
39885
+ },
39886
+ {
39887
+ "kind": "js",
39888
+ "name": "defaultTreeItemConfig",
39889
+ "declaration": {
39890
+ "name": "defaultTreeItemConfig",
39891
+ "module": "src/tree-item/tree-item.ts"
39892
+ }
39893
+ },
39894
+ {
39895
+ "kind": "js",
39896
+ "name": "foundationTreeItem",
39897
+ "declaration": {
39898
+ "name": "foundationTreeItem",
39899
+ "module": "src/tree-item/tree-item.ts"
39900
+ }
39901
+ }
39902
+ ]
39903
+ },
39453
39904
  {
39454
39905
  "kind": "javascript-module",
39455
39906
  "path": "src/tooltip/index.ts",
@@ -40270,457 +40721,6 @@
40270
40721
  }
40271
40722
  ]
40272
40723
  },
40273
- {
40274
- "kind": "javascript-module",
40275
- "path": "src/tree-item/index.ts",
40276
- "declarations": [],
40277
- "exports": [
40278
- {
40279
- "kind": "js",
40280
- "name": "*",
40281
- "declaration": {
40282
- "name": "*",
40283
- "package": "./tree-item.template"
40284
- }
40285
- },
40286
- {
40287
- "kind": "js",
40288
- "name": "*",
40289
- "declaration": {
40290
- "name": "*",
40291
- "package": "./tree-item.styles"
40292
- }
40293
- },
40294
- {
40295
- "kind": "js",
40296
- "name": "*",
40297
- "declaration": {
40298
- "name": "*",
40299
- "package": "./tree-item"
40300
- }
40301
- }
40302
- ]
40303
- },
40304
- {
40305
- "kind": "javascript-module",
40306
- "path": "src/tree-item/tree-item.styles.ts",
40307
- "declarations": [
40308
- {
40309
- "kind": "function",
40310
- "name": "foundationTreeItemStyles",
40311
- "return": {
40312
- "type": {
40313
- "text": "ElementStyles"
40314
- }
40315
- },
40316
- "parameters": [
40317
- {
40318
- "name": "context",
40319
- "type": {
40320
- "text": "ElementDefinitionContext"
40321
- }
40322
- },
40323
- {
40324
- "name": "definition",
40325
- "type": {
40326
- "text": "FoundationElementDefinition"
40327
- }
40328
- }
40329
- ]
40330
- }
40331
- ],
40332
- "exports": [
40333
- {
40334
- "kind": "js",
40335
- "name": "foundationTreeItemStyles",
40336
- "declaration": {
40337
- "name": "foundationTreeItemStyles",
40338
- "module": "src/tree-item/tree-item.styles.ts"
40339
- }
40340
- }
40341
- ]
40342
- },
40343
- {
40344
- "kind": "javascript-module",
40345
- "path": "src/tree-item/tree-item.template.ts",
40346
- "declarations": [
40347
- {
40348
- "kind": "function",
40349
- "name": "foundationTreeItemTemplate",
40350
- "return": {
40351
- "type": {
40352
- "text": "ViewTemplate<TreeItem>"
40353
- }
40354
- },
40355
- "parameters": [
40356
- {
40357
- "name": "context",
40358
- "type": {
40359
- "text": "ElementDefinitionContext"
40360
- }
40361
- },
40362
- {
40363
- "name": "definition",
40364
- "type": {
40365
- "text": "FoundationElementDefinition"
40366
- }
40367
- }
40368
- ]
40369
- }
40370
- ],
40371
- "exports": [
40372
- {
40373
- "kind": "js",
40374
- "name": "foundationTreeItemTemplate",
40375
- "declaration": {
40376
- "name": "foundationTreeItemTemplate",
40377
- "module": "src/tree-item/tree-item.template.ts"
40378
- }
40379
- }
40380
- ]
40381
- },
40382
- {
40383
- "kind": "javascript-module",
40384
- "path": "src/tree-item/tree-item.ts",
40385
- "declarations": [
40386
- {
40387
- "kind": "class",
40388
- "description": "%%prefix%%-tree-item",
40389
- "name": "TreeItem",
40390
- "superclass": {
40391
- "name": "FASTTreeItem",
40392
- "package": "@microsoft/fast-components"
40393
- },
40394
- "attributes": [
40395
- {
40396
- "type": {
40397
- "text": "boolean"
40398
- },
40399
- "description": "When true, the control will be appear expanded by user interaction.",
40400
- "fieldName": "expanded",
40401
- "default": "false",
40402
- "inheritedFrom": {
40403
- "name": "TreeItem",
40404
- "module": "src/tree-item/tree-item.ts"
40405
- }
40406
- }
40407
- ],
40408
- "members": [
40409
- {
40410
- "kind": "field",
40411
- "name": "expanded",
40412
- "type": {
40413
- "text": "boolean"
40414
- },
40415
- "privacy": "public",
40416
- "default": "false",
40417
- "description": "When true, the control will be appear expanded by user interaction.",
40418
- "inheritedFrom": {
40419
- "name": "TreeItem",
40420
- "module": "src/tree-item/tree-item.ts"
40421
- }
40422
- },
40423
- {
40424
- "kind": "method",
40425
- "name": "expandedChanged",
40426
- "privacy": "private",
40427
- "return": {
40428
- "type": {
40429
- "text": "void"
40430
- }
40431
- },
40432
- "inheritedFrom": {
40433
- "name": "TreeItem",
40434
- "module": "src/tree-item/tree-item.ts"
40435
- }
40436
- },
40437
- {
40438
- "kind": "field",
40439
- "name": "selected",
40440
- "type": {
40441
- "text": "boolean"
40442
- },
40443
- "privacy": "public",
40444
- "description": "When true, the control will appear selected by user interaction.",
40445
- "inheritedFrom": {
40446
- "name": "TreeItem",
40447
- "module": "src/tree-item/tree-item.ts"
40448
- }
40449
- },
40450
- {
40451
- "kind": "method",
40452
- "name": "selectedChanged",
40453
- "privacy": "private",
40454
- "return": {
40455
- "type": {
40456
- "text": "void"
40457
- }
40458
- },
40459
- "inheritedFrom": {
40460
- "name": "TreeItem",
40461
- "module": "src/tree-item/tree-item.ts"
40462
- }
40463
- },
40464
- {
40465
- "kind": "field",
40466
- "name": "disabled",
40467
- "type": {
40468
- "text": "boolean"
40469
- },
40470
- "privacy": "public",
40471
- "description": "When true, the control will be immutable by user interaction. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/disabled | disabled HTML attribute} for more information.",
40472
- "inheritedFrom": {
40473
- "name": "TreeItem",
40474
- "module": "src/tree-item/tree-item.ts"
40475
- }
40476
- },
40477
- {
40478
- "kind": "method",
40479
- "name": "itemsChanged",
40480
- "privacy": "private",
40481
- "return": {
40482
- "type": {
40483
- "text": "void"
40484
- }
40485
- },
40486
- "parameters": [
40487
- {
40488
- "name": "oldValue",
40489
- "type": {
40490
- "text": "unknown"
40491
- }
40492
- },
40493
- {
40494
- "name": "newValue",
40495
- "type": {
40496
- "text": "HTMLElement[]"
40497
- }
40498
- }
40499
- ],
40500
- "inheritedFrom": {
40501
- "name": "TreeItem",
40502
- "module": "src/tree-item/tree-item.ts"
40503
- }
40504
- },
40505
- {
40506
- "kind": "method",
40507
- "name": "focusItem",
40508
- "privacy": "public",
40509
- "static": true,
40510
- "parameters": [
40511
- {
40512
- "name": "el",
40513
- "type": {
40514
- "text": "HTMLElement"
40515
- },
40516
- "description": "the element to focus"
40517
- }
40518
- ],
40519
- "description": "Places document focus on a tree item",
40520
- "inheritedFrom": {
40521
- "name": "TreeItem",
40522
- "module": "src/tree-item/tree-item.ts"
40523
- }
40524
- },
40525
- {
40526
- "kind": "field",
40527
- "name": "isNestedItem",
40528
- "privacy": "public",
40529
- "description": "Whether the tree is nested",
40530
- "inheritedFrom": {
40531
- "name": "TreeItem",
40532
- "module": "src/tree-item/tree-item.ts"
40533
- }
40534
- },
40535
- {
40536
- "kind": "field",
40537
- "name": "_presentation",
40538
- "type": {
40539
- "text": "ComponentPresentation | null | undefined"
40540
- },
40541
- "privacy": "private",
40542
- "default": "void 0",
40543
- "inheritedFrom": {
40544
- "name": "FoundationElement",
40545
- "module": "src/foundation-element/foundation-element.ts"
40546
- }
40547
- },
40548
- {
40549
- "kind": "field",
40550
- "name": "$presentation",
40551
- "type": {
40552
- "text": "ComponentPresentation | null"
40553
- },
40554
- "privacy": "public",
40555
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
40556
- "inheritedFrom": {
40557
- "name": "FoundationElement",
40558
- "module": "src/foundation-element/foundation-element.ts"
40559
- }
40560
- },
40561
- {
40562
- "kind": "field",
40563
- "name": "template",
40564
- "type": {
40565
- "text": "ElementViewTemplate | void | null"
40566
- },
40567
- "privacy": "public",
40568
- "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.",
40569
- "inheritedFrom": {
40570
- "name": "FoundationElement",
40571
- "module": "src/foundation-element/foundation-element.ts"
40572
- }
40573
- },
40574
- {
40575
- "kind": "method",
40576
- "name": "templateChanged",
40577
- "privacy": "protected",
40578
- "return": {
40579
- "type": {
40580
- "text": "void"
40581
- }
40582
- },
40583
- "inheritedFrom": {
40584
- "name": "FoundationElement",
40585
- "module": "src/foundation-element/foundation-element.ts"
40586
- }
40587
- },
40588
- {
40589
- "kind": "field",
40590
- "name": "styles",
40591
- "type": {
40592
- "text": "ElementStyles | void | null"
40593
- },
40594
- "privacy": "public",
40595
- "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.",
40596
- "inheritedFrom": {
40597
- "name": "FoundationElement",
40598
- "module": "src/foundation-element/foundation-element.ts"
40599
- }
40600
- },
40601
- {
40602
- "kind": "method",
40603
- "name": "stylesChanged",
40604
- "privacy": "protected",
40605
- "return": {
40606
- "type": {
40607
- "text": "void"
40608
- }
40609
- },
40610
- "inheritedFrom": {
40611
- "name": "FoundationElement",
40612
- "module": "src/foundation-element/foundation-element.ts"
40613
- }
40614
- },
40615
- {
40616
- "kind": "method",
40617
- "name": "compose",
40618
- "privacy": "public",
40619
- "static": true,
40620
- "return": {
40621
- "type": {
40622
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
40623
- }
40624
- },
40625
- "parameters": [
40626
- {
40627
- "name": "this",
40628
- "type": {
40629
- "text": "K"
40630
- }
40631
- },
40632
- {
40633
- "name": "elementDefinition",
40634
- "type": {
40635
- "text": "T"
40636
- },
40637
- "description": "The definition of the element to create the registry\nfunction for."
40638
- }
40639
- ],
40640
- "description": "Defines an element registry function with a set of element definition defaults.",
40641
- "inheritedFrom": {
40642
- "name": "FoundationElement",
40643
- "module": "src/foundation-element/foundation-element.ts"
40644
- }
40645
- }
40646
- ],
40647
- "events": [
40648
- {
40649
- "description": "Fires a custom 'expanded-change' event when the expanded state changes",
40650
- "name": "expanded-change",
40651
- "inheritedFrom": {
40652
- "name": "TreeItem",
40653
- "module": "src/tree-item/tree-item.ts"
40654
- }
40655
- },
40656
- {
40657
- "description": "Fires a custom 'selected-change' event when the selected state changes",
40658
- "name": "selected-change",
40659
- "inheritedFrom": {
40660
- "name": "TreeItem",
40661
- "module": "src/tree-item/tree-item.ts"
40662
- }
40663
- }
40664
- ]
40665
- },
40666
- {
40667
- "kind": "variable",
40668
- "name": "foundationTreeItemShadowOptions",
40669
- "type": {
40670
- "text": "ShadowRootInit"
40671
- },
40672
- "default": "undefined"
40673
- },
40674
- {
40675
- "kind": "variable",
40676
- "name": "defaultTreeItemConfig",
40677
- "type": {
40678
- "text": "object"
40679
- },
40680
- "default": "{\n expandCollapseGlyph: `\n <svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\" class=\"expand-collapse-glyph\">\n <path d=\"M5.00001 12.3263C5.00124 12.5147 5.05566 12.699 5.15699 12.8578C5.25831 13.0167 5.40243 13.1437 5.57273 13.2242C5.74304 13.3047 5.9326 13.3354 6.11959 13.3128C6.30659 13.2902 6.4834 13.2152 6.62967 13.0965L10.8988 8.83532C11.0739 8.69473 11.2153 8.51658 11.3124 8.31402C11.4096 8.11146 11.46 7.88966 11.46 7.66499C11.46 7.44033 11.4096 7.21853 11.3124 7.01597C11.2153 6.81341 11.0739 6.63526 10.8988 6.49467L6.62967 2.22347C6.48274 2.10422 6.30501 2.02912 6.11712 2.00691C5.92923 1.9847 5.73889 2.01628 5.56823 2.09799C5.39757 2.17969 5.25358 2.30817 5.153 2.46849C5.05241 2.62882 4.99936 2.8144 5.00001 3.00369V12.3263Z\"></path>\n </svg>`,\n}"
40681
- },
40682
- {
40683
- "kind": "variable",
40684
- "name": "foundationTreeItem",
40685
- "description": "The Foundation Tree item",
40686
- "privacy": "public"
40687
- }
40688
- ],
40689
- "exports": [
40690
- {
40691
- "kind": "js",
40692
- "name": "TreeItem",
40693
- "declaration": {
40694
- "name": "TreeItem",
40695
- "module": "src/tree-item/tree-item.ts"
40696
- }
40697
- },
40698
- {
40699
- "kind": "js",
40700
- "name": "foundationTreeItemShadowOptions",
40701
- "declaration": {
40702
- "name": "foundationTreeItemShadowOptions",
40703
- "module": "src/tree-item/tree-item.ts"
40704
- }
40705
- },
40706
- {
40707
- "kind": "js",
40708
- "name": "defaultTreeItemConfig",
40709
- "declaration": {
40710
- "name": "defaultTreeItemConfig",
40711
- "module": "src/tree-item/tree-item.ts"
40712
- }
40713
- },
40714
- {
40715
- "kind": "js",
40716
- "name": "foundationTreeItem",
40717
- "declaration": {
40718
- "name": "foundationTreeItem",
40719
- "module": "src/tree-item/tree-item.ts"
40720
- }
40721
- }
40722
- ]
40723
- },
40724
40724
  {
40725
40725
  "kind": "javascript-module",
40726
40726
  "path": "src/tree-view/index.ts",