@genesislcap/foundation-ui 14.214.1 → 14.214.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.
@@ -819,67 +819,19 @@
819
819
  },
820
820
  {
821
821
  "kind": "javascript-module",
822
- "path": "src/accordion-item/accordion-item.styles.ts",
823
- "declarations": [
824
- {
825
- "kind": "function",
826
- "name": "foundationAccordionItemStyles",
827
- "return": {
828
- "type": {
829
- "text": "ElementStyles"
830
- }
831
- },
832
- "parameters": [
833
- {
834
- "name": "context",
835
- "type": {
836
- "text": "ElementDefinitionContext"
837
- }
838
- },
839
- {
840
- "name": "definition",
841
- "type": {
842
- "text": "FoundationElementDefinition"
843
- }
844
- }
845
- ]
846
- }
847
- ],
848
- "exports": [
849
- {
850
- "kind": "js",
851
- "name": "foundationAccordionItemStyles",
852
- "declaration": {
853
- "name": "foundationAccordionItemStyles",
854
- "module": "src/accordion-item/accordion-item.styles.ts"
855
- }
856
- }
857
- ]
858
- },
859
- {
860
- "kind": "javascript-module",
861
- "path": "src/accordion-item/accordion-item.template.ts",
822
+ "path": "src/_common/icons.ts",
862
823
  "declarations": [
863
824
  {
864
825
  "kind": "function",
865
- "name": "foundationAccordionItemTemplate",
866
- "return": {
867
- "type": {
868
- "text": "ViewTemplate<AccordionItem>"
869
- }
870
- },
826
+ "name": "closeIcon",
871
827
  "parameters": [
872
828
  {
873
- "name": "context",
874
- "type": {
875
- "text": "ElementDefinitionContext"
876
- }
829
+ "name": "slot",
830
+ "default": "'start'"
877
831
  },
878
832
  {
879
- "name": "definition",
880
- "type": {
881
- "text": "FoundationElementDefinition"
882
- }
833
+ "name": "fill",
834
+ "default": "'#879ba6'"
883
835
  }
884
836
  ]
885
837
  }
@@ -887,302 +839,32 @@
887
839
  "exports": [
888
840
  {
889
841
  "kind": "js",
890
- "name": "foundationAccordionItemTemplate",
842
+ "name": "closeIcon",
891
843
  "declaration": {
892
- "name": "foundationAccordionItemTemplate",
893
- "module": "src/accordion-item/accordion-item.template.ts"
844
+ "name": "closeIcon",
845
+ "module": "src/_common/icons.ts"
894
846
  }
895
847
  }
896
848
  ]
897
849
  },
898
850
  {
899
851
  "kind": "javascript-module",
900
- "path": "src/accordion-item/accordion-item.ts",
901
- "declarations": [
902
- {
903
- "kind": "class",
904
- "description": "",
905
- "name": "AccordionItem",
906
- "superclass": {
907
- "name": "FASTAccordionItem",
908
- "package": "@microsoft/fast-components"
909
- },
910
- "tagName": "%%prefix%%-accordion-item",
911
- "customElement": true,
912
- "attributes": [
913
- {
914
- "name": "heading-level",
915
- "type": {
916
- "text": "1 | 2 | 3 | 4 | 5 | 6"
917
- },
918
- "default": "2",
919
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
920
- "fieldName": "headinglevel",
921
- "inheritedFrom": {
922
- "name": "AccordionItem",
923
- "module": "src/accordion-item/accordion-item.ts"
924
- }
925
- },
926
- {
927
- "type": {
928
- "text": "boolean"
929
- },
930
- "default": "false",
931
- "description": "Expands or collapses the item.",
932
- "fieldName": "expanded",
933
- "inheritedFrom": {
934
- "name": "AccordionItem",
935
- "module": "src/accordion-item/accordion-item.ts"
936
- }
937
- },
938
- {
939
- "name": "id",
940
- "type": {
941
- "text": "string"
942
- },
943
- "description": "The item ID",
944
- "fieldName": "id",
945
- "inheritedFrom": {
946
- "name": "AccordionItem",
947
- "module": "src/accordion-item/accordion-item.ts"
948
- }
949
- }
950
- ],
951
- "members": [
952
- {
953
- "kind": "field",
954
- "name": "headinglevel",
955
- "type": {
956
- "text": "1 | 2 | 3 | 4 | 5 | 6"
957
- },
958
- "privacy": "public",
959
- "default": "2",
960
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
961
- "inheritedFrom": {
962
- "name": "AccordionItem",
963
- "module": "src/accordion-item/accordion-item.ts"
964
- }
965
- },
966
- {
967
- "kind": "field",
968
- "name": "expanded",
969
- "type": {
970
- "text": "boolean"
971
- },
972
- "privacy": "public",
973
- "default": "false",
974
- "description": "Expands or collapses the item.",
975
- "inheritedFrom": {
976
- "name": "AccordionItem",
977
- "module": "src/accordion-item/accordion-item.ts"
978
- }
979
- },
980
- {
981
- "kind": "field",
982
- "name": "id",
983
- "type": {
984
- "text": "string"
985
- },
986
- "privacy": "public",
987
- "description": "The item ID",
988
- "inheritedFrom": {
989
- "name": "AccordionItem",
990
- "module": "src/accordion-item/accordion-item.ts"
991
- }
992
- },
993
- {
994
- "kind": "field",
995
- "name": "change",
996
- "privacy": "private",
997
- "inheritedFrom": {
998
- "name": "AccordionItem",
999
- "module": "src/accordion-item/accordion-item.ts"
1000
- }
1001
- },
1002
- {
1003
- "kind": "field",
1004
- "name": "_presentation",
1005
- "type": {
1006
- "text": "ComponentPresentation | null | undefined"
1007
- },
1008
- "privacy": "private",
1009
- "default": "void 0",
1010
- "inheritedFrom": {
1011
- "name": "FoundationElement",
1012
- "module": "src/foundation-element/foundation-element.ts"
1013
- }
1014
- },
1015
- {
1016
- "kind": "field",
1017
- "name": "$presentation",
1018
- "type": {
1019
- "text": "ComponentPresentation | null"
1020
- },
1021
- "privacy": "public",
1022
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1023
- "inheritedFrom": {
1024
- "name": "FoundationElement",
1025
- "module": "src/foundation-element/foundation-element.ts"
1026
- }
1027
- },
1028
- {
1029
- "kind": "field",
1030
- "name": "template",
1031
- "type": {
1032
- "text": "ElementViewTemplate | void | null"
1033
- },
1034
- "privacy": "public",
1035
- "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.",
1036
- "inheritedFrom": {
1037
- "name": "FoundationElement",
1038
- "module": "src/foundation-element/foundation-element.ts"
1039
- }
1040
- },
1041
- {
1042
- "kind": "method",
1043
- "name": "templateChanged",
1044
- "privacy": "protected",
1045
- "return": {
1046
- "type": {
1047
- "text": "void"
1048
- }
1049
- },
1050
- "inheritedFrom": {
1051
- "name": "FoundationElement",
1052
- "module": "src/foundation-element/foundation-element.ts"
1053
- }
1054
- },
1055
- {
1056
- "kind": "field",
1057
- "name": "styles",
1058
- "type": {
1059
- "text": "ElementStyles | void | null"
1060
- },
1061
- "privacy": "public",
1062
- "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.",
1063
- "inheritedFrom": {
1064
- "name": "FoundationElement",
1065
- "module": "src/foundation-element/foundation-element.ts"
1066
- }
1067
- },
1068
- {
1069
- "kind": "method",
1070
- "name": "stylesChanged",
1071
- "privacy": "protected",
1072
- "return": {
1073
- "type": {
1074
- "text": "void"
1075
- }
1076
- },
1077
- "inheritedFrom": {
1078
- "name": "FoundationElement",
1079
- "module": "src/foundation-element/foundation-element.ts"
1080
- }
1081
- },
1082
- {
1083
- "kind": "method",
1084
- "name": "compose",
1085
- "privacy": "public",
1086
- "static": true,
1087
- "return": {
1088
- "type": {
1089
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1090
- }
1091
- },
1092
- "parameters": [
1093
- {
1094
- "name": "this",
1095
- "type": {
1096
- "text": "K"
1097
- }
1098
- },
1099
- {
1100
- "name": "elementDefinition",
1101
- "type": {
1102
- "text": "T"
1103
- },
1104
- "description": "The definition of the element to create the registry\nfunction for."
1105
- }
1106
- ],
1107
- "description": "Defines an element registry function with a set of element definition defaults.",
1108
- "inheritedFrom": {
1109
- "name": "FoundationElement",
1110
- "module": "src/foundation-element/foundation-element.ts"
1111
- }
1112
- }
1113
- ],
1114
- "events": [
1115
- {
1116
- "description": "Fires a custom 'change' event when the button is invoked",
1117
- "name": "change",
1118
- "inheritedFrom": {
1119
- "name": "AccordionItem",
1120
- "module": "src/accordion-item/accordion-item.ts"
1121
- }
1122
- }
1123
- ]
1124
- },
1125
- {
1126
- "kind": "variable",
1127
- "name": "foundationAccordionItemShadowOptions",
1128
- "type": {
1129
- "text": "ShadowRootInit"
1130
- },
1131
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1132
- },
1133
- {
1134
- "kind": "variable",
1135
- "name": "defaultAccordionItemConfig",
1136
- "type": {
1137
- "text": "object"
1138
- },
1139
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1140
- },
1141
- {
1142
- "kind": "variable",
1143
- "name": "foundationAccordionItem",
1144
- "description": "The Foundation Accordion Item",
1145
- "privacy": "public"
1146
- }
1147
- ],
852
+ "path": "src/_common/index.ts",
853
+ "declarations": [],
1148
854
  "exports": [
1149
855
  {
1150
856
  "kind": "js",
1151
- "name": "AccordionItem",
1152
- "declaration": {
1153
- "name": "AccordionItem",
1154
- "module": "src/accordion-item/accordion-item.ts"
1155
- }
1156
- },
1157
- {
1158
- "kind": "js",
1159
- "name": "foundationAccordionItemShadowOptions",
1160
- "declaration": {
1161
- "name": "foundationAccordionItemShadowOptions",
1162
- "module": "src/accordion-item/accordion-item.ts"
1163
- }
1164
- },
1165
- {
1166
- "kind": "js",
1167
- "name": "defaultAccordionItemConfig",
1168
- "declaration": {
1169
- "name": "defaultAccordionItemConfig",
1170
- "module": "src/accordion-item/accordion-item.ts"
1171
- }
1172
- },
1173
- {
1174
- "kind": "js",
1175
- "name": "foundationAccordionItem",
857
+ "name": "*",
1176
858
  "declaration": {
1177
- "name": "foundationAccordionItem",
1178
- "module": "src/accordion-item/accordion-item.ts"
859
+ "name": "*",
860
+ "package": "./icons"
1179
861
  }
1180
862
  }
1181
863
  ]
1182
864
  },
1183
865
  {
1184
866
  "kind": "javascript-module",
1185
- "path": "src/accordion-item/index.ts",
867
+ "path": "src/_config/index.ts",
1186
868
  "declarations": [],
1187
869
  "exports": [
1188
870
  {
@@ -1190,7 +872,7 @@
1190
872
  "name": "*",
1191
873
  "declaration": {
1192
874
  "name": "*",
1193
- "package": "./accordion-item.template"
875
+ "package": "./styles"
1194
876
  }
1195
877
  },
1196
878
  {
@@ -1198,7 +880,7 @@
1198
880
  "name": "*",
1199
881
  "declaration": {
1200
882
  "name": "*",
1201
- "package": "./accordion-item.styles"
883
+ "package": "./tokens"
1202
884
  }
1203
885
  },
1204
886
  {
@@ -1206,7 +888,7 @@
1206
888
  "name": "*",
1207
889
  "declaration": {
1208
890
  "name": "*",
1209
- "package": "./accordion-item"
891
+ "package": "./values"
1210
892
  }
1211
893
  }
1212
894
  ]
@@ -1393,82 +1075,6 @@
1393
1075
  }
1394
1076
  ]
1395
1077
  },
1396
- {
1397
- "kind": "javascript-module",
1398
- "path": "src/_common/icons.ts",
1399
- "declarations": [
1400
- {
1401
- "kind": "function",
1402
- "name": "closeIcon",
1403
- "parameters": [
1404
- {
1405
- "name": "slot",
1406
- "default": "'start'"
1407
- },
1408
- {
1409
- "name": "fill",
1410
- "default": "'#879ba6'"
1411
- }
1412
- ]
1413
- }
1414
- ],
1415
- "exports": [
1416
- {
1417
- "kind": "js",
1418
- "name": "closeIcon",
1419
- "declaration": {
1420
- "name": "closeIcon",
1421
- "module": "src/_common/icons.ts"
1422
- }
1423
- }
1424
- ]
1425
- },
1426
- {
1427
- "kind": "javascript-module",
1428
- "path": "src/_common/index.ts",
1429
- "declarations": [],
1430
- "exports": [
1431
- {
1432
- "kind": "js",
1433
- "name": "*",
1434
- "declaration": {
1435
- "name": "*",
1436
- "package": "./icons"
1437
- }
1438
- }
1439
- ]
1440
- },
1441
- {
1442
- "kind": "javascript-module",
1443
- "path": "src/_config/index.ts",
1444
- "declarations": [],
1445
- "exports": [
1446
- {
1447
- "kind": "js",
1448
- "name": "*",
1449
- "declaration": {
1450
- "name": "*",
1451
- "package": "./styles"
1452
- }
1453
- },
1454
- {
1455
- "kind": "js",
1456
- "name": "*",
1457
- "declaration": {
1458
- "name": "*",
1459
- "package": "./tokens"
1460
- }
1461
- },
1462
- {
1463
- "kind": "js",
1464
- "name": "*",
1465
- "declaration": {
1466
- "name": "*",
1467
- "package": "./values"
1468
- }
1469
- }
1470
- ]
1471
- },
1472
1078
  {
1473
1079
  "kind": "javascript-module",
1474
1080
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -4140,11 +3746,11 @@
4140
3746
  },
4141
3747
  {
4142
3748
  "kind": "javascript-module",
4143
- "path": "src/avatar/avatar.styles.ts",
3749
+ "path": "src/accordion-item/accordion-item.styles.ts",
4144
3750
  "declarations": [
4145
3751
  {
4146
3752
  "kind": "function",
4147
- "name": "foundationAvatarStyles",
3753
+ "name": "foundationAccordionItemStyles",
4148
3754
  "return": {
4149
3755
  "type": {
4150
3756
  "text": "ElementStyles"
@@ -4169,24 +3775,24 @@
4169
3775
  "exports": [
4170
3776
  {
4171
3777
  "kind": "js",
4172
- "name": "foundationAvatarStyles",
3778
+ "name": "foundationAccordionItemStyles",
4173
3779
  "declaration": {
4174
- "name": "foundationAvatarStyles",
4175
- "module": "src/avatar/avatar.styles.ts"
3780
+ "name": "foundationAccordionItemStyles",
3781
+ "module": "src/accordion-item/accordion-item.styles.ts"
4176
3782
  }
4177
3783
  }
4178
3784
  ]
4179
3785
  },
4180
3786
  {
4181
3787
  "kind": "javascript-module",
4182
- "path": "src/avatar/avatar.template.ts",
3788
+ "path": "src/accordion-item/accordion-item.template.ts",
4183
3789
  "declarations": [
4184
3790
  {
4185
3791
  "kind": "function",
4186
- "name": "foundationAvatarTemplate",
3792
+ "name": "foundationAccordionItemTemplate",
4187
3793
  "return": {
4188
3794
  "type": {
4189
- "text": "ViewTemplate<Avatar>"
3795
+ "text": "ViewTemplate<AccordionItem>"
4190
3796
  }
4191
3797
  },
4192
3798
  "parameters": [
@@ -4203,147 +3809,121 @@
4203
3809
  }
4204
3810
  }
4205
3811
  ]
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
3812
  }
4212
3813
  ],
4213
3814
  "exports": [
4214
3815
  {
4215
3816
  "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",
3817
+ "name": "foundationAccordionItemTemplate",
4225
3818
  "declaration": {
4226
- "name": "media",
4227
- "module": "src/avatar/avatar.template.ts"
3819
+ "name": "foundationAccordionItemTemplate",
3820
+ "module": "src/accordion-item/accordion-item.template.ts"
4228
3821
  }
4229
3822
  }
4230
3823
  ]
4231
3824
  },
4232
3825
  {
4233
3826
  "kind": "javascript-module",
4234
- "path": "src/avatar/avatar.ts",
3827
+ "path": "src/accordion-item/accordion-item.ts",
4235
3828
  "declarations": [
4236
3829
  {
4237
3830
  "kind": "class",
4238
3831
  "description": "",
4239
- "name": "Avatar",
3832
+ "name": "AccordionItem",
4240
3833
  "superclass": {
4241
- "name": "FASTAvatar",
3834
+ "name": "FASTAccordionItem",
4242
3835
  "package": "@microsoft/fast-components"
4243
3836
  },
4244
- "tagName": "%%prefix%%-avatar",
3837
+ "tagName": "%%prefix%%-accordion-item",
4245
3838
  "customElement": true,
4246
3839
  "attributes": [
4247
3840
  {
4248
- "name": "fill",
3841
+ "name": "heading-level",
4249
3842
  "type": {
4250
- "text": "string"
3843
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
4251
3844
  },
4252
- "description": "Indicates the Avatar should have a color fill.",
4253
- "fieldName": "fill",
3845
+ "default": "2",
3846
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
3847
+ "fieldName": "headinglevel",
4254
3848
  "inheritedFrom": {
4255
- "name": "Avatar",
4256
- "module": "src/avatar/avatar.ts"
3849
+ "name": "AccordionItem",
3850
+ "module": "src/accordion-item/accordion-item.ts"
4257
3851
  }
4258
3852
  },
4259
3853
  {
4260
- "name": "color",
4261
3854
  "type": {
4262
- "text": "string"
3855
+ "text": "boolean"
4263
3856
  },
4264
- "description": "Indicates the Avatar should have a text color.",
4265
- "fieldName": "color",
3857
+ "default": "false",
3858
+ "description": "Expands or collapses the item.",
3859
+ "fieldName": "expanded",
4266
3860
  "inheritedFrom": {
4267
- "name": "Avatar",
4268
- "module": "src/avatar/avatar.ts"
3861
+ "name": "AccordionItem",
3862
+ "module": "src/accordion-item/accordion-item.ts"
4269
3863
  }
4270
3864
  },
4271
3865
  {
4272
- "name": "link",
3866
+ "name": "id",
4273
3867
  "type": {
4274
3868
  "text": "string"
4275
3869
  },
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",
3870
+ "description": "The item ID",
3871
+ "fieldName": "id",
4290
3872
  "inheritedFrom": {
4291
- "name": "Avatar",
4292
- "module": "src/avatar/avatar.ts"
3873
+ "name": "AccordionItem",
3874
+ "module": "src/accordion-item/accordion-item.ts"
4293
3875
  }
4294
3876
  }
4295
3877
  ],
4296
3878
  "members": [
4297
3879
  {
4298
3880
  "kind": "field",
4299
- "name": "fill",
3881
+ "name": "headinglevel",
4300
3882
  "type": {
4301
- "text": "string"
3883
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
4302
3884
  },
4303
3885
  "privacy": "public",
4304
- "description": "Indicates the Avatar should have a color fill.",
3886
+ "default": "2",
3887
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
4305
3888
  "inheritedFrom": {
4306
- "name": "Avatar",
4307
- "module": "src/avatar/avatar.ts"
3889
+ "name": "AccordionItem",
3890
+ "module": "src/accordion-item/accordion-item.ts"
4308
3891
  }
4309
3892
  },
4310
3893
  {
4311
3894
  "kind": "field",
4312
- "name": "color",
3895
+ "name": "expanded",
4313
3896
  "type": {
4314
- "text": "string"
3897
+ "text": "boolean"
4315
3898
  },
4316
3899
  "privacy": "public",
4317
- "description": "Indicates the Avatar should have a text color.",
3900
+ "default": "false",
3901
+ "description": "Expands or collapses the item.",
4318
3902
  "inheritedFrom": {
4319
- "name": "Avatar",
4320
- "module": "src/avatar/avatar.ts"
3903
+ "name": "AccordionItem",
3904
+ "module": "src/accordion-item/accordion-item.ts"
4321
3905
  }
4322
3906
  },
4323
3907
  {
4324
3908
  "kind": "field",
4325
- "name": "link",
3909
+ "name": "id",
4326
3910
  "type": {
4327
3911
  "text": "string"
4328
3912
  },
4329
3913
  "privacy": "public",
4330
- "description": "Indicates the Avatar should have url link",
3914
+ "description": "The item ID",
4331
3915
  "inheritedFrom": {
4332
- "name": "Avatar",
4333
- "module": "src/avatar/avatar.ts"
3916
+ "name": "AccordionItem",
3917
+ "module": "src/accordion-item/accordion-item.ts"
4334
3918
  }
4335
3919
  },
4336
3920
  {
4337
3921
  "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\".",
3922
+ "name": "change",
3923
+ "privacy": "private",
4344
3924
  "inheritedFrom": {
4345
- "name": "Avatar",
4346
- "module": "src/avatar/avatar.ts"
3925
+ "name": "AccordionItem",
3926
+ "module": "src/accordion-item/accordion-item.ts"
4347
3927
  }
4348
3928
  },
4349
3929
  {
@@ -4457,11 +4037,21 @@
4457
4037
  "module": "src/foundation-element/foundation-element.ts"
4458
4038
  }
4459
4039
  }
4040
+ ],
4041
+ "events": [
4042
+ {
4043
+ "description": "Fires a custom 'change' event when the button is invoked",
4044
+ "name": "change",
4045
+ "inheritedFrom": {
4046
+ "name": "AccordionItem",
4047
+ "module": "src/accordion-item/accordion-item.ts"
4048
+ }
4049
+ }
4460
4050
  ]
4461
4051
  },
4462
4052
  {
4463
4053
  "kind": "variable",
4464
- "name": "foundationAvatarShadowOptions",
4054
+ "name": "foundationAccordionItemShadowOptions",
4465
4055
  "type": {
4466
4056
  "text": "ShadowRootInit"
4467
4057
  },
@@ -4469,57 +4059,57 @@
4469
4059
  },
4470
4060
  {
4471
4061
  "kind": "variable",
4472
- "name": "defaultAvatarConfig",
4062
+ "name": "defaultAccordionItemConfig",
4473
4063
  "type": {
4474
4064
  "text": "object"
4475
4065
  },
4476
- "default": "{\n media: mediaTemplate,\n}"
4066
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
4477
4067
  },
4478
4068
  {
4479
4069
  "kind": "variable",
4480
- "name": "foundationAvatar",
4481
- "description": "The Foundation Avatar",
4070
+ "name": "foundationAccordionItem",
4071
+ "description": "The Foundation Accordion Item",
4482
4072
  "privacy": "public"
4483
4073
  }
4484
4074
  ],
4485
4075
  "exports": [
4486
4076
  {
4487
4077
  "kind": "js",
4488
- "name": "Avatar",
4078
+ "name": "AccordionItem",
4489
4079
  "declaration": {
4490
- "name": "Avatar",
4491
- "module": "src/avatar/avatar.ts"
4080
+ "name": "AccordionItem",
4081
+ "module": "src/accordion-item/accordion-item.ts"
4492
4082
  }
4493
4083
  },
4494
4084
  {
4495
4085
  "kind": "js",
4496
- "name": "foundationAvatarShadowOptions",
4086
+ "name": "foundationAccordionItemShadowOptions",
4497
4087
  "declaration": {
4498
- "name": "foundationAvatarShadowOptions",
4499
- "module": "src/avatar/avatar.ts"
4088
+ "name": "foundationAccordionItemShadowOptions",
4089
+ "module": "src/accordion-item/accordion-item.ts"
4500
4090
  }
4501
4091
  },
4502
4092
  {
4503
4093
  "kind": "js",
4504
- "name": "defaultAvatarConfig",
4094
+ "name": "defaultAccordionItemConfig",
4505
4095
  "declaration": {
4506
- "name": "defaultAvatarConfig",
4507
- "module": "src/avatar/avatar.ts"
4096
+ "name": "defaultAccordionItemConfig",
4097
+ "module": "src/accordion-item/accordion-item.ts"
4508
4098
  }
4509
4099
  },
4510
4100
  {
4511
4101
  "kind": "js",
4512
- "name": "foundationAvatar",
4102
+ "name": "foundationAccordionItem",
4513
4103
  "declaration": {
4514
- "name": "foundationAvatar",
4515
- "module": "src/avatar/avatar.ts"
4104
+ "name": "foundationAccordionItem",
4105
+ "module": "src/accordion-item/accordion-item.ts"
4516
4106
  }
4517
4107
  }
4518
4108
  ]
4519
4109
  },
4520
4110
  {
4521
4111
  "kind": "javascript-module",
4522
- "path": "src/avatar/index.ts",
4112
+ "path": "src/accordion-item/index.ts",
4523
4113
  "declarations": [],
4524
4114
  "exports": [
4525
4115
  {
@@ -4527,7 +4117,7 @@
4527
4117
  "name": "*",
4528
4118
  "declaration": {
4529
4119
  "name": "*",
4530
- "package": "./avatar.template"
4120
+ "package": "./accordion-item.template"
4531
4121
  }
4532
4122
  },
4533
4123
  {
@@ -4535,7 +4125,7 @@
4535
4125
  "name": "*",
4536
4126
  "declaration": {
4537
4127
  "name": "*",
4538
- "package": "./avatar.styles"
4128
+ "package": "./accordion-item.styles"
4539
4129
  }
4540
4130
  },
4541
4131
  {
@@ -4543,18 +4133,18 @@
4543
4133
  "name": "*",
4544
4134
  "declaration": {
4545
4135
  "name": "*",
4546
- "package": "./avatar"
4136
+ "package": "./accordion-item"
4547
4137
  }
4548
4138
  }
4549
4139
  ]
4550
4140
  },
4551
4141
  {
4552
4142
  "kind": "javascript-module",
4553
- "path": "src/badge/badge.styles.ts",
4143
+ "path": "src/avatar/avatar.styles.ts",
4554
4144
  "declarations": [
4555
4145
  {
4556
4146
  "kind": "function",
4557
- "name": "foundationBadgeStyles",
4147
+ "name": "foundationAvatarStyles",
4558
4148
  "return": {
4559
4149
  "type": {
4560
4150
  "text": "ElementStyles"
@@ -4579,24 +4169,24 @@
4579
4169
  "exports": [
4580
4170
  {
4581
4171
  "kind": "js",
4582
- "name": "foundationBadgeStyles",
4172
+ "name": "foundationAvatarStyles",
4583
4173
  "declaration": {
4584
- "name": "foundationBadgeStyles",
4585
- "module": "src/badge/badge.styles.ts"
4174
+ "name": "foundationAvatarStyles",
4175
+ "module": "src/avatar/avatar.styles.ts"
4586
4176
  }
4587
4177
  }
4588
4178
  ]
4589
4179
  },
4590
4180
  {
4591
4181
  "kind": "javascript-module",
4592
- "path": "src/badge/badge.template.ts",
4182
+ "path": "src/avatar/avatar.template.ts",
4593
4183
  "declarations": [
4594
4184
  {
4595
4185
  "kind": "function",
4596
- "name": "foundationBadgeTemplate",
4186
+ "name": "foundationAvatarTemplate",
4597
4187
  "return": {
4598
4188
  "type": {
4599
- "text": "ViewTemplate<Badge>"
4189
+ "text": "ViewTemplate<Avatar>"
4600
4190
  }
4601
4191
  },
4602
4192
  "parameters": [
@@ -4613,32 +4203,45 @@
4613
4203
  }
4614
4204
  }
4615
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`"
4616
4211
  }
4617
4212
  ],
4618
4213
  "exports": [
4619
4214
  {
4620
4215
  "kind": "js",
4621
- "name": "foundationBadgeTemplate",
4216
+ "name": "foundationAvatarTemplate",
4622
4217
  "declaration": {
4623
- "name": "foundationBadgeTemplate",
4624
- "module": "src/badge/badge.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"
4625
4228
  }
4626
4229
  }
4627
4230
  ]
4628
4231
  },
4629
4232
  {
4630
4233
  "kind": "javascript-module",
4631
- "path": "src/badge/badge.ts",
4234
+ "path": "src/avatar/avatar.ts",
4632
4235
  "declarations": [
4633
4236
  {
4634
4237
  "kind": "class",
4635
4238
  "description": "",
4636
- "name": "Badge",
4239
+ "name": "Avatar",
4637
4240
  "superclass": {
4638
- "name": "FASTBadge",
4241
+ "name": "FASTAvatar",
4639
4242
  "package": "@microsoft/fast-components"
4640
4243
  },
4641
- "tagName": "%%prefix%%-badge",
4244
+ "tagName": "%%prefix%%-avatar",
4642
4245
  "customElement": true,
4643
4246
  "attributes": [
4644
4247
  {
@@ -4646,11 +4249,11 @@
4646
4249
  "type": {
4647
4250
  "text": "string"
4648
4251
  },
4649
- "description": "Indicates the badge should have a filled style.",
4252
+ "description": "Indicates the Avatar should have a color fill.",
4650
4253
  "fieldName": "fill",
4651
4254
  "inheritedFrom": {
4652
- "name": "Badge",
4653
- "module": "src/badge/badge.ts"
4255
+ "name": "Avatar",
4256
+ "module": "src/avatar/avatar.ts"
4654
4257
  }
4655
4258
  },
4656
4259
  {
@@ -4658,22 +4261,35 @@
4658
4261
  "type": {
4659
4262
  "text": "string"
4660
4263
  },
4661
- "description": "Indicates the badge should have a filled style.",
4264
+ "description": "Indicates the Avatar should have a text color.",
4662
4265
  "fieldName": "color",
4663
4266
  "inheritedFrom": {
4664
- "name": "Badge",
4665
- "module": "src/badge/badge.ts"
4267
+ "name": "Avatar",
4268
+ "module": "src/avatar/avatar.ts"
4666
4269
  }
4667
4270
  },
4668
4271
  {
4272
+ "name": "link",
4669
4273
  "type": {
4670
- "text": "boolean"
4274
+ "text": "string"
4671
4275
  },
4672
- "description": "Indicates the element should be circular",
4673
- "fieldName": "circular",
4276
+ "description": "Indicates the Avatar should have url link",
4277
+ "fieldName": "link",
4674
4278
  "inheritedFrom": {
4675
- "name": "Badge",
4676
- "module": "src/badge/badge.ts"
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"
4677
4293
  }
4678
4294
  }
4679
4295
  ],
@@ -4685,10 +4301,10 @@
4685
4301
  "text": "string"
4686
4302
  },
4687
4303
  "privacy": "public",
4688
- "description": "Indicates the badge should have a filled style.",
4304
+ "description": "Indicates the Avatar should have a color fill.",
4689
4305
  "inheritedFrom": {
4690
- "name": "Badge",
4691
- "module": "src/badge/badge.ts"
4306
+ "name": "Avatar",
4307
+ "module": "src/avatar/avatar.ts"
4692
4308
  }
4693
4309
  },
4694
4310
  {
@@ -4698,32 +4314,416 @@
4698
4314
  "text": "string"
4699
4315
  },
4700
4316
  "privacy": "public",
4701
- "description": "Indicates the badge should have a filled style.",
4317
+ "description": "Indicates the Avatar should have a text color.",
4702
4318
  "inheritedFrom": {
4703
- "name": "Badge",
4704
- "module": "src/badge/badge.ts"
4319
+ "name": "Avatar",
4320
+ "module": "src/avatar/avatar.ts"
4705
4321
  }
4706
4322
  },
4707
4323
  {
4708
4324
  "kind": "field",
4709
- "name": "circular",
4325
+ "name": "link",
4710
4326
  "type": {
4711
- "text": "boolean"
4327
+ "text": "string"
4712
4328
  },
4713
4329
  "privacy": "public",
4714
- "description": "Indicates the element should be circular",
4330
+ "description": "Indicates the Avatar should have url link",
4715
4331
  "inheritedFrom": {
4716
- "name": "Badge",
4717
- "module": "src/badge/badge.ts"
4332
+ "name": "Avatar",
4333
+ "module": "src/avatar/avatar.ts"
4718
4334
  }
4719
4335
  },
4720
4336
  {
4721
4337
  "kind": "field",
4722
- "name": "generateBadgeStyle",
4338
+ "name": "shape",
4339
+ "type": {
4340
+ "text": "AvatarShape"
4341
+ },
4723
4342
  "privacy": "public",
4343
+ "description": "Indicates the Avatar shape should be. By default it will be set to \"circle\".",
4724
4344
  "inheritedFrom": {
4725
- "name": "Badge",
4726
- "module": "src/badge/badge.ts"
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",
4558
+ "return": {
4559
+ "type": {
4560
+ "text": "ElementStyles"
4561
+ }
4562
+ },
4563
+ "parameters": [
4564
+ {
4565
+ "name": "context",
4566
+ "type": {
4567
+ "text": "ElementDefinitionContext"
4568
+ }
4569
+ },
4570
+ {
4571
+ "name": "definition",
4572
+ "type": {
4573
+ "text": "FoundationElementDefinition"
4574
+ }
4575
+ }
4576
+ ]
4577
+ }
4578
+ ],
4579
+ "exports": [
4580
+ {
4581
+ "kind": "js",
4582
+ "name": "foundationBadgeStyles",
4583
+ "declaration": {
4584
+ "name": "foundationBadgeStyles",
4585
+ "module": "src/badge/badge.styles.ts"
4586
+ }
4587
+ }
4588
+ ]
4589
+ },
4590
+ {
4591
+ "kind": "javascript-module",
4592
+ "path": "src/badge/badge.template.ts",
4593
+ "declarations": [
4594
+ {
4595
+ "kind": "function",
4596
+ "name": "foundationBadgeTemplate",
4597
+ "return": {
4598
+ "type": {
4599
+ "text": "ViewTemplate<Badge>"
4600
+ }
4601
+ },
4602
+ "parameters": [
4603
+ {
4604
+ "name": "context",
4605
+ "type": {
4606
+ "text": "ElementDefinitionContext"
4607
+ }
4608
+ },
4609
+ {
4610
+ "name": "definition",
4611
+ "type": {
4612
+ "text": "FoundationElementDefinition"
4613
+ }
4614
+ }
4615
+ ]
4616
+ }
4617
+ ],
4618
+ "exports": [
4619
+ {
4620
+ "kind": "js",
4621
+ "name": "foundationBadgeTemplate",
4622
+ "declaration": {
4623
+ "name": "foundationBadgeTemplate",
4624
+ "module": "src/badge/badge.template.ts"
4625
+ }
4626
+ }
4627
+ ]
4628
+ },
4629
+ {
4630
+ "kind": "javascript-module",
4631
+ "path": "src/badge/badge.ts",
4632
+ "declarations": [
4633
+ {
4634
+ "kind": "class",
4635
+ "description": "",
4636
+ "name": "Badge",
4637
+ "superclass": {
4638
+ "name": "FASTBadge",
4639
+ "package": "@microsoft/fast-components"
4640
+ },
4641
+ "tagName": "%%prefix%%-badge",
4642
+ "customElement": true,
4643
+ "attributes": [
4644
+ {
4645
+ "name": "fill",
4646
+ "type": {
4647
+ "text": "string"
4648
+ },
4649
+ "description": "Indicates the badge should have a filled style.",
4650
+ "fieldName": "fill",
4651
+ "inheritedFrom": {
4652
+ "name": "Badge",
4653
+ "module": "src/badge/badge.ts"
4654
+ }
4655
+ },
4656
+ {
4657
+ "name": "color",
4658
+ "type": {
4659
+ "text": "string"
4660
+ },
4661
+ "description": "Indicates the badge should have a filled style.",
4662
+ "fieldName": "color",
4663
+ "inheritedFrom": {
4664
+ "name": "Badge",
4665
+ "module": "src/badge/badge.ts"
4666
+ }
4667
+ },
4668
+ {
4669
+ "type": {
4670
+ "text": "boolean"
4671
+ },
4672
+ "description": "Indicates the element should be circular",
4673
+ "fieldName": "circular",
4674
+ "inheritedFrom": {
4675
+ "name": "Badge",
4676
+ "module": "src/badge/badge.ts"
4677
+ }
4678
+ }
4679
+ ],
4680
+ "members": [
4681
+ {
4682
+ "kind": "field",
4683
+ "name": "fill",
4684
+ "type": {
4685
+ "text": "string"
4686
+ },
4687
+ "privacy": "public",
4688
+ "description": "Indicates the badge should have a filled style.",
4689
+ "inheritedFrom": {
4690
+ "name": "Badge",
4691
+ "module": "src/badge/badge.ts"
4692
+ }
4693
+ },
4694
+ {
4695
+ "kind": "field",
4696
+ "name": "color",
4697
+ "type": {
4698
+ "text": "string"
4699
+ },
4700
+ "privacy": "public",
4701
+ "description": "Indicates the badge should have a filled style.",
4702
+ "inheritedFrom": {
4703
+ "name": "Badge",
4704
+ "module": "src/badge/badge.ts"
4705
+ }
4706
+ },
4707
+ {
4708
+ "kind": "field",
4709
+ "name": "circular",
4710
+ "type": {
4711
+ "text": "boolean"
4712
+ },
4713
+ "privacy": "public",
4714
+ "description": "Indicates the element should be circular",
4715
+ "inheritedFrom": {
4716
+ "name": "Badge",
4717
+ "module": "src/badge/badge.ts"
4718
+ }
4719
+ },
4720
+ {
4721
+ "kind": "field",
4722
+ "name": "generateBadgeStyle",
4723
+ "privacy": "public",
4724
+ "inheritedFrom": {
4725
+ "name": "Badge",
4726
+ "module": "src/badge/badge.ts"
4727
4727
  }
4728
4728
  },
4729
4729
  {
@@ -34081,475 +34081,6 @@
34081
34081
  }
34082
34082
  ]
34083
34083
  },
34084
- {
34085
- "kind": "javascript-module",
34086
- "path": "src/snackbar/index.ts",
34087
- "declarations": [],
34088
- "exports": [
34089
- {
34090
- "kind": "js",
34091
- "name": "*",
34092
- "declaration": {
34093
- "name": "*",
34094
- "package": "./snackbar.types"
34095
- }
34096
- },
34097
- {
34098
- "kind": "js",
34099
- "name": "*",
34100
- "declaration": {
34101
- "name": "*",
34102
- "package": "./snackbar.config"
34103
- }
34104
- },
34105
- {
34106
- "kind": "js",
34107
- "name": "*",
34108
- "declaration": {
34109
- "name": "*",
34110
- "package": "./snackbar.styles"
34111
- }
34112
- },
34113
- {
34114
- "kind": "js",
34115
- "name": "*",
34116
- "declaration": {
34117
- "name": "*",
34118
- "package": "./snackbar.template"
34119
- }
34120
- },
34121
- {
34122
- "kind": "js",
34123
- "name": "*",
34124
- "declaration": {
34125
- "name": "*",
34126
- "package": "./snackbar"
34127
- }
34128
- }
34129
- ]
34130
- },
34131
- {
34132
- "kind": "javascript-module",
34133
- "path": "src/snackbar/snackbar.styles.ts",
34134
- "declarations": [
34135
- {
34136
- "kind": "variable",
34137
- "name": "foundationSnackbarStyles",
34138
- "type": {
34139
- "text": "ElementStyles"
34140
- },
34141
- "default": "css`\n @keyframes append-from-left-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-from-left-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n @keyframes append-from-top-animate {\n from {\n transform: translateY(-100%);\n opacity: 0%;\n }\n\n to {\n transform: translateY(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-from-top-animate {\n from {\n transform: translateY(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateY(-100%);\n opacity: 0%;\n }\n }\n\n @keyframes delete-fade-animate {\n from {\n opacity: 100%;\n }\n\n to {\n opacity: 0%;\n }\n }\n\n :host {\n --snackbar-min-width: 356px;\n --snackbar-min-height: 55px;\n --snackbar-max-width: 496px;\n --snackbar-max-height: auto;\n --snackbar-animation-name: append-from-left-animate;\n --snackbar-animation-delete-name: delete-from-left-animate;\n }\n\n .snackbar {\n animation: var(--snackbar-animation-name) 0.3s linear;\n max-width: var(--snackbar-max-width);\n min-width: var(--snackbar-min-width);\n min-height: var(--snackbar-min-height);\n max-height: var(--snackbar-max-height);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-fill-rest);\n box-shadow: 0 2px 5px 0 rgb(0 0 0 / 35%);\n box-sizing: border-box;\n display: flex;\n position: relative;\n bottom: 5px;\n flex-direction: row;\n padding: 2px 16px;\n }\n\n .snackbar-delete {\n animation: var(--snackbar-animation-delete-name) 0.3s linear;\n opacity: 0%;\n }\n\n .snackbar::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 0;\n height: calc(100% - 2px);\n width: 2px;\n border-radius: 2px;\n }\n\n .content {\n display: flex;\n align-items: center;\n flex: 2;\n font-size: 12px;\n overflow: hidden;\n overflow-wrap: anywhere;\n }\n\n .action {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n gap: 10px;\n flex: 1;\n overflow: hidden;\n }\n`"
34142
- }
34143
- ],
34144
- "exports": [
34145
- {
34146
- "kind": "js",
34147
- "name": "foundationSnackbarStyles",
34148
- "declaration": {
34149
- "name": "foundationSnackbarStyles",
34150
- "module": "src/snackbar/snackbar.styles.ts"
34151
- }
34152
- }
34153
- ]
34154
- },
34155
- {
34156
- "kind": "javascript-module",
34157
- "path": "src/snackbar/snackbar.template.ts",
34158
- "declarations": [
34159
- {
34160
- "kind": "function",
34161
- "name": "getPrefixedSnackbar",
34162
- "parameters": [
34163
- {
34164
- "name": "prefix",
34165
- "type": {
34166
- "text": "string"
34167
- }
34168
- }
34169
- ]
34170
- },
34171
- {
34172
- "kind": "variable",
34173
- "name": "foundationSnackbarTemplate",
34174
- "default": "html<Snackbar>`\n ${(x) => getPrefixedSnackbar(getPrefix(x))}\n`"
34175
- }
34176
- ],
34177
- "exports": [
34178
- {
34179
- "kind": "js",
34180
- "name": "getPrefixedSnackbar",
34181
- "declaration": {
34182
- "name": "getPrefixedSnackbar",
34183
- "module": "src/snackbar/snackbar.template.ts"
34184
- }
34185
- },
34186
- {
34187
- "kind": "js",
34188
- "name": "foundationSnackbarTemplate",
34189
- "declaration": {
34190
- "name": "foundationSnackbarTemplate",
34191
- "module": "src/snackbar/snackbar.template.ts"
34192
- }
34193
- }
34194
- ]
34195
- },
34196
- {
34197
- "kind": "javascript-module",
34198
- "path": "src/snackbar/snackbar.ts",
34199
- "declarations": [
34200
- {
34201
- "kind": "variable",
34202
- "name": "foundationSnackbarShadowOptions",
34203
- "type": {
34204
- "text": "ShadowRootInit"
34205
- },
34206
- "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
34207
- },
34208
- {
34209
- "kind": "class",
34210
- "description": "",
34211
- "name": "Snackbar",
34212
- "members": [
34213
- {
34214
- "kind": "field",
34215
- "name": "snackbar",
34216
- "type": {
34217
- "text": "HTMLElement"
34218
- },
34219
- "privacy": "public"
34220
- },
34221
- {
34222
- "kind": "field",
34223
- "name": "error",
34224
- "type": {
34225
- "text": "ErrorStructure"
34226
- }
34227
- },
34228
- {
34229
- "kind": "field",
34230
- "name": "notification",
34231
- "type": {
34232
- "text": "NotificationStructure"
34233
- }
34234
- },
34235
- {
34236
- "kind": "field",
34237
- "name": "deleteAnimation",
34238
- "type": {
34239
- "text": "string"
34240
- },
34241
- "default": "''"
34242
- },
34243
- {
34244
- "kind": "field",
34245
- "name": "identifier",
34246
- "type": {
34247
- "text": "string"
34248
- }
34249
- },
34250
- {
34251
- "kind": "field",
34252
- "name": "closeTimeout",
34253
- "type": {
34254
- "text": "number"
34255
- },
34256
- "default": "SNACKBAR_CLOSE_TIMEOUT"
34257
- },
34258
- {
34259
- "kind": "field",
34260
- "name": "autoClose",
34261
- "type": {
34262
- "text": "boolean"
34263
- },
34264
- "default": "true"
34265
- },
34266
- {
34267
- "kind": "method",
34268
- "name": "autoCloseChanged"
34269
- },
34270
- {
34271
- "kind": "field",
34272
- "name": "type",
34273
- "type": {
34274
- "text": "SnackbarType"
34275
- },
34276
- "default": "SNACKBAR_TYPE_DEFAULT"
34277
- },
34278
- {
34279
- "kind": "field",
34280
- "name": "timeoutRef",
34281
- "type": {
34282
- "text": "ReturnType<typeof setTimeout>"
34283
- },
34284
- "privacy": "private"
34285
- },
34286
- {
34287
- "kind": "field",
34288
- "name": "dismissEventListener",
34289
- "privacy": "private"
34290
- },
34291
- {
34292
- "kind": "method",
34293
- "name": "errorChanged",
34294
- "parameters": [
34295
- {
34296
- "name": "oldValue",
34297
- "type": {
34298
- "text": "ErrorStructure"
34299
- }
34300
- },
34301
- {
34302
- "name": "newValue",
34303
- "type": {
34304
- "text": "ErrorStructure"
34305
- }
34306
- }
34307
- ]
34308
- },
34309
- {
34310
- "kind": "method",
34311
- "name": "notificationChanged",
34312
- "parameters": [
34313
- {
34314
- "name": "oldValue",
34315
- "type": {
34316
- "text": "NotificationStructure"
34317
- }
34318
- },
34319
- {
34320
- "name": "newValue",
34321
- "type": {
34322
- "text": "NotificationStructure"
34323
- }
34324
- }
34325
- ]
34326
- },
34327
- {
34328
- "kind": "method",
34329
- "name": "handleDissmis",
34330
- "privacy": "public",
34331
- "parameters": [
34332
- {
34333
- "name": "autoDissmis",
34334
- "default": "false",
34335
- "type": {
34336
- "text": "boolean"
34337
- }
34338
- }
34339
- ],
34340
- "description": "Helper for remove snackbar from display with animation"
34341
- },
34342
- {
34343
- "kind": "method",
34344
- "name": "dismiss",
34345
- "privacy": "public",
34346
- "description": "Remove the snackbar from display."
34347
- },
34348
- {
34349
- "kind": "field",
34350
- "name": "_presentation",
34351
- "type": {
34352
- "text": "ComponentPresentation | null | undefined"
34353
- },
34354
- "privacy": "private",
34355
- "default": "void 0",
34356
- "inheritedFrom": {
34357
- "name": "FoundationElement",
34358
- "module": "src/foundation-element/foundation-element.ts"
34359
- }
34360
- },
34361
- {
34362
- "kind": "field",
34363
- "name": "$presentation",
34364
- "type": {
34365
- "text": "ComponentPresentation | null"
34366
- },
34367
- "privacy": "public",
34368
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
34369
- "inheritedFrom": {
34370
- "name": "FoundationElement",
34371
- "module": "src/foundation-element/foundation-element.ts"
34372
- }
34373
- },
34374
- {
34375
- "kind": "field",
34376
- "name": "template",
34377
- "type": {
34378
- "text": "ElementViewTemplate | void | null"
34379
- },
34380
- "privacy": "public",
34381
- "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.",
34382
- "inheritedFrom": {
34383
- "name": "FoundationElement",
34384
- "module": "src/foundation-element/foundation-element.ts"
34385
- }
34386
- },
34387
- {
34388
- "kind": "method",
34389
- "name": "templateChanged",
34390
- "privacy": "protected",
34391
- "return": {
34392
- "type": {
34393
- "text": "void"
34394
- }
34395
- },
34396
- "inheritedFrom": {
34397
- "name": "FoundationElement",
34398
- "module": "src/foundation-element/foundation-element.ts"
34399
- }
34400
- },
34401
- {
34402
- "kind": "field",
34403
- "name": "styles",
34404
- "type": {
34405
- "text": "ElementStyles | void | null"
34406
- },
34407
- "privacy": "public",
34408
- "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.",
34409
- "inheritedFrom": {
34410
- "name": "FoundationElement",
34411
- "module": "src/foundation-element/foundation-element.ts"
34412
- }
34413
- },
34414
- {
34415
- "kind": "method",
34416
- "name": "stylesChanged",
34417
- "privacy": "protected",
34418
- "return": {
34419
- "type": {
34420
- "text": "void"
34421
- }
34422
- },
34423
- "inheritedFrom": {
34424
- "name": "FoundationElement",
34425
- "module": "src/foundation-element/foundation-element.ts"
34426
- }
34427
- },
34428
- {
34429
- "kind": "method",
34430
- "name": "compose",
34431
- "privacy": "public",
34432
- "static": true,
34433
- "return": {
34434
- "type": {
34435
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
34436
- }
34437
- },
34438
- "parameters": [
34439
- {
34440
- "name": "this",
34441
- "type": {
34442
- "text": "K"
34443
- }
34444
- },
34445
- {
34446
- "name": "elementDefinition",
34447
- "type": {
34448
- "text": "T"
34449
- },
34450
- "description": "The definition of the element to create the registry\nfunction for."
34451
- }
34452
- ],
34453
- "description": "Defines an element registry function with a set of element definition defaults.",
34454
- "inheritedFrom": {
34455
- "name": "FoundationElement",
34456
- "module": "src/foundation-element/foundation-element.ts"
34457
- }
34458
- }
34459
- ],
34460
- "events": [
34461
- {
34462
- "type": {
34463
- "text": "CustomEvent"
34464
- }
34465
- }
34466
- ],
34467
- "attributes": [
34468
- {
34469
- "name": "identifier",
34470
- "type": {
34471
- "text": "string"
34472
- },
34473
- "fieldName": "identifier"
34474
- },
34475
- {
34476
- "name": "close-timeout",
34477
- "type": {
34478
- "text": "number"
34479
- },
34480
- "default": "SNACKBAR_CLOSE_TIMEOUT",
34481
- "resolveInitializer": {
34482
- "module": "/src/snackbar/snackbar.config"
34483
- },
34484
- "fieldName": "closeTimeout"
34485
- },
34486
- {
34487
- "name": "auto-close",
34488
- "type": {
34489
- "text": "boolean"
34490
- },
34491
- "default": "true",
34492
- "fieldName": "autoClose"
34493
- },
34494
- {
34495
- "name": "type",
34496
- "type": {
34497
- "text": "SnackbarType"
34498
- },
34499
- "default": "SNACKBAR_TYPE_DEFAULT",
34500
- "resolveInitializer": {
34501
- "module": "/src/snackbar/snackbar.config"
34502
- },
34503
- "fieldName": "type"
34504
- }
34505
- ],
34506
- "superclass": {
34507
- "name": "FoundationElement",
34508
- "package": "@microsoft/fast-foundation"
34509
- },
34510
- "tagName": "%%prefix%%-snackbar",
34511
- "customElement": true
34512
- },
34513
- {
34514
- "kind": "variable",
34515
- "name": "foundationSnackbar",
34516
- "description": "The Foundation Snackbar",
34517
- "privacy": "public"
34518
- }
34519
- ],
34520
- "exports": [
34521
- {
34522
- "kind": "js",
34523
- "name": "foundationSnackbarShadowOptions",
34524
- "declaration": {
34525
- "name": "foundationSnackbarShadowOptions",
34526
- "module": "src/snackbar/snackbar.ts"
34527
- }
34528
- },
34529
- {
34530
- "kind": "js",
34531
- "name": "Snackbar",
34532
- "declaration": {
34533
- "name": "Snackbar",
34534
- "module": "src/snackbar/snackbar.ts"
34535
- }
34536
- },
34537
- {
34538
- "kind": "js",
34539
- "name": "foundationSnackbar",
34540
- "declaration": {
34541
- "name": "foundationSnackbar",
34542
- "module": "src/snackbar/snackbar.ts"
34543
- }
34544
- }
34545
- ]
34546
- },
34547
- {
34548
- "kind": "javascript-module",
34549
- "path": "src/snackbar/snackbar.types.ts",
34550
- "declarations": [],
34551
- "exports": []
34552
- },
34553
34084
  {
34554
34085
  "kind": "javascript-module",
34555
34086
  "path": "src/stacking-icons/index.ts",
@@ -35769,6 +35300,475 @@
35769
35300
  }
35770
35301
  ]
35771
35302
  },
35303
+ {
35304
+ "kind": "javascript-module",
35305
+ "path": "src/snackbar/index.ts",
35306
+ "declarations": [],
35307
+ "exports": [
35308
+ {
35309
+ "kind": "js",
35310
+ "name": "*",
35311
+ "declaration": {
35312
+ "name": "*",
35313
+ "package": "./snackbar.types"
35314
+ }
35315
+ },
35316
+ {
35317
+ "kind": "js",
35318
+ "name": "*",
35319
+ "declaration": {
35320
+ "name": "*",
35321
+ "package": "./snackbar.config"
35322
+ }
35323
+ },
35324
+ {
35325
+ "kind": "js",
35326
+ "name": "*",
35327
+ "declaration": {
35328
+ "name": "*",
35329
+ "package": "./snackbar.styles"
35330
+ }
35331
+ },
35332
+ {
35333
+ "kind": "js",
35334
+ "name": "*",
35335
+ "declaration": {
35336
+ "name": "*",
35337
+ "package": "./snackbar.template"
35338
+ }
35339
+ },
35340
+ {
35341
+ "kind": "js",
35342
+ "name": "*",
35343
+ "declaration": {
35344
+ "name": "*",
35345
+ "package": "./snackbar"
35346
+ }
35347
+ }
35348
+ ]
35349
+ },
35350
+ {
35351
+ "kind": "javascript-module",
35352
+ "path": "src/snackbar/snackbar.styles.ts",
35353
+ "declarations": [
35354
+ {
35355
+ "kind": "variable",
35356
+ "name": "foundationSnackbarStyles",
35357
+ "type": {
35358
+ "text": "ElementStyles"
35359
+ },
35360
+ "default": "css`\n @keyframes append-from-left-animate {\n from {\n transform: translateX(100%);\n opacity: 0%;\n }\n\n to {\n transform: translateX(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-from-left-animate {\n from {\n transform: translateX(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateX(100%);\n opacity: 0%;\n }\n }\n\n @keyframes append-from-top-animate {\n from {\n transform: translateY(-100%);\n opacity: 0%;\n }\n\n to {\n transform: translateY(0%);\n opacity: 100%;\n }\n }\n\n @keyframes delete-from-top-animate {\n from {\n transform: translateY(0%);\n opacity: 100%;\n }\n\n to {\n transform: translateY(-100%);\n opacity: 0%;\n }\n }\n\n @keyframes delete-fade-animate {\n from {\n opacity: 100%;\n }\n\n to {\n opacity: 0%;\n }\n }\n\n :host {\n --snackbar-min-width: 356px;\n --snackbar-min-height: 55px;\n --snackbar-max-width: 496px;\n --snackbar-max-height: auto;\n --snackbar-animation-name: append-from-left-animate;\n --snackbar-animation-delete-name: delete-from-left-animate;\n }\n\n .snackbar {\n animation: var(--snackbar-animation-name) 0.3s linear;\n max-width: var(--snackbar-max-width);\n min-width: var(--snackbar-min-width);\n min-height: var(--snackbar-min-height);\n max-height: var(--snackbar-max-height);\n background-color: var(--fill-color);\n border-radius: calc(var(--control-corner-radius) * 1px);\n border-width: thin;\n border-color: var(--neutral-fill-rest);\n box-shadow: 0 2px 5px 0 rgb(0 0 0 / 35%);\n box-sizing: border-box;\n display: flex;\n position: relative;\n bottom: 5px;\n flex-direction: row;\n padding: 2px 16px;\n }\n\n .snackbar-delete {\n animation: var(--snackbar-animation-delete-name) 0.3s linear;\n opacity: 0%;\n }\n\n .snackbar::after {\n content: '';\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n left: 0;\n height: calc(100% - 2px);\n width: 2px;\n border-radius: 2px;\n }\n\n .content {\n display: flex;\n align-items: center;\n flex: 2;\n font-size: 12px;\n overflow: hidden;\n overflow-wrap: anywhere;\n }\n\n .action {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n gap: 10px;\n flex: 1;\n overflow: hidden;\n }\n`"
35361
+ }
35362
+ ],
35363
+ "exports": [
35364
+ {
35365
+ "kind": "js",
35366
+ "name": "foundationSnackbarStyles",
35367
+ "declaration": {
35368
+ "name": "foundationSnackbarStyles",
35369
+ "module": "src/snackbar/snackbar.styles.ts"
35370
+ }
35371
+ }
35372
+ ]
35373
+ },
35374
+ {
35375
+ "kind": "javascript-module",
35376
+ "path": "src/snackbar/snackbar.template.ts",
35377
+ "declarations": [
35378
+ {
35379
+ "kind": "function",
35380
+ "name": "getPrefixedSnackbar",
35381
+ "parameters": [
35382
+ {
35383
+ "name": "prefix",
35384
+ "type": {
35385
+ "text": "string"
35386
+ }
35387
+ }
35388
+ ]
35389
+ },
35390
+ {
35391
+ "kind": "variable",
35392
+ "name": "foundationSnackbarTemplate",
35393
+ "default": "html<Snackbar>`\n ${(x) => getPrefixedSnackbar(getPrefix(x))}\n`"
35394
+ }
35395
+ ],
35396
+ "exports": [
35397
+ {
35398
+ "kind": "js",
35399
+ "name": "getPrefixedSnackbar",
35400
+ "declaration": {
35401
+ "name": "getPrefixedSnackbar",
35402
+ "module": "src/snackbar/snackbar.template.ts"
35403
+ }
35404
+ },
35405
+ {
35406
+ "kind": "js",
35407
+ "name": "foundationSnackbarTemplate",
35408
+ "declaration": {
35409
+ "name": "foundationSnackbarTemplate",
35410
+ "module": "src/snackbar/snackbar.template.ts"
35411
+ }
35412
+ }
35413
+ ]
35414
+ },
35415
+ {
35416
+ "kind": "javascript-module",
35417
+ "path": "src/snackbar/snackbar.ts",
35418
+ "declarations": [
35419
+ {
35420
+ "kind": "variable",
35421
+ "name": "foundationSnackbarShadowOptions",
35422
+ "type": {
35423
+ "text": "ShadowRootInit"
35424
+ },
35425
+ "default": "{\n mode: 'open',\n delegatesFocus: true,\n}"
35426
+ },
35427
+ {
35428
+ "kind": "class",
35429
+ "description": "",
35430
+ "name": "Snackbar",
35431
+ "members": [
35432
+ {
35433
+ "kind": "field",
35434
+ "name": "snackbar",
35435
+ "type": {
35436
+ "text": "HTMLElement"
35437
+ },
35438
+ "privacy": "public"
35439
+ },
35440
+ {
35441
+ "kind": "field",
35442
+ "name": "error",
35443
+ "type": {
35444
+ "text": "ErrorStructure"
35445
+ }
35446
+ },
35447
+ {
35448
+ "kind": "field",
35449
+ "name": "notification",
35450
+ "type": {
35451
+ "text": "NotificationStructure"
35452
+ }
35453
+ },
35454
+ {
35455
+ "kind": "field",
35456
+ "name": "deleteAnimation",
35457
+ "type": {
35458
+ "text": "string"
35459
+ },
35460
+ "default": "''"
35461
+ },
35462
+ {
35463
+ "kind": "field",
35464
+ "name": "identifier",
35465
+ "type": {
35466
+ "text": "string"
35467
+ }
35468
+ },
35469
+ {
35470
+ "kind": "field",
35471
+ "name": "closeTimeout",
35472
+ "type": {
35473
+ "text": "number"
35474
+ },
35475
+ "default": "SNACKBAR_CLOSE_TIMEOUT"
35476
+ },
35477
+ {
35478
+ "kind": "field",
35479
+ "name": "autoClose",
35480
+ "type": {
35481
+ "text": "boolean"
35482
+ },
35483
+ "default": "true"
35484
+ },
35485
+ {
35486
+ "kind": "method",
35487
+ "name": "autoCloseChanged"
35488
+ },
35489
+ {
35490
+ "kind": "field",
35491
+ "name": "type",
35492
+ "type": {
35493
+ "text": "SnackbarType"
35494
+ },
35495
+ "default": "SNACKBAR_TYPE_DEFAULT"
35496
+ },
35497
+ {
35498
+ "kind": "field",
35499
+ "name": "timeoutRef",
35500
+ "type": {
35501
+ "text": "ReturnType<typeof setTimeout>"
35502
+ },
35503
+ "privacy": "private"
35504
+ },
35505
+ {
35506
+ "kind": "field",
35507
+ "name": "dismissEventListener",
35508
+ "privacy": "private"
35509
+ },
35510
+ {
35511
+ "kind": "method",
35512
+ "name": "errorChanged",
35513
+ "parameters": [
35514
+ {
35515
+ "name": "oldValue",
35516
+ "type": {
35517
+ "text": "ErrorStructure"
35518
+ }
35519
+ },
35520
+ {
35521
+ "name": "newValue",
35522
+ "type": {
35523
+ "text": "ErrorStructure"
35524
+ }
35525
+ }
35526
+ ]
35527
+ },
35528
+ {
35529
+ "kind": "method",
35530
+ "name": "notificationChanged",
35531
+ "parameters": [
35532
+ {
35533
+ "name": "oldValue",
35534
+ "type": {
35535
+ "text": "NotificationStructure"
35536
+ }
35537
+ },
35538
+ {
35539
+ "name": "newValue",
35540
+ "type": {
35541
+ "text": "NotificationStructure"
35542
+ }
35543
+ }
35544
+ ]
35545
+ },
35546
+ {
35547
+ "kind": "method",
35548
+ "name": "handleDissmis",
35549
+ "privacy": "public",
35550
+ "parameters": [
35551
+ {
35552
+ "name": "autoDissmis",
35553
+ "default": "false",
35554
+ "type": {
35555
+ "text": "boolean"
35556
+ }
35557
+ }
35558
+ ],
35559
+ "description": "Helper for remove snackbar from display with animation"
35560
+ },
35561
+ {
35562
+ "kind": "method",
35563
+ "name": "dismiss",
35564
+ "privacy": "public",
35565
+ "description": "Remove the snackbar from display."
35566
+ },
35567
+ {
35568
+ "kind": "field",
35569
+ "name": "_presentation",
35570
+ "type": {
35571
+ "text": "ComponentPresentation | null | undefined"
35572
+ },
35573
+ "privacy": "private",
35574
+ "default": "void 0",
35575
+ "inheritedFrom": {
35576
+ "name": "FoundationElement",
35577
+ "module": "src/foundation-element/foundation-element.ts"
35578
+ }
35579
+ },
35580
+ {
35581
+ "kind": "field",
35582
+ "name": "$presentation",
35583
+ "type": {
35584
+ "text": "ComponentPresentation | null"
35585
+ },
35586
+ "privacy": "public",
35587
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
35588
+ "inheritedFrom": {
35589
+ "name": "FoundationElement",
35590
+ "module": "src/foundation-element/foundation-element.ts"
35591
+ }
35592
+ },
35593
+ {
35594
+ "kind": "field",
35595
+ "name": "template",
35596
+ "type": {
35597
+ "text": "ElementViewTemplate | void | null"
35598
+ },
35599
+ "privacy": "public",
35600
+ "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.",
35601
+ "inheritedFrom": {
35602
+ "name": "FoundationElement",
35603
+ "module": "src/foundation-element/foundation-element.ts"
35604
+ }
35605
+ },
35606
+ {
35607
+ "kind": "method",
35608
+ "name": "templateChanged",
35609
+ "privacy": "protected",
35610
+ "return": {
35611
+ "type": {
35612
+ "text": "void"
35613
+ }
35614
+ },
35615
+ "inheritedFrom": {
35616
+ "name": "FoundationElement",
35617
+ "module": "src/foundation-element/foundation-element.ts"
35618
+ }
35619
+ },
35620
+ {
35621
+ "kind": "field",
35622
+ "name": "styles",
35623
+ "type": {
35624
+ "text": "ElementStyles | void | null"
35625
+ },
35626
+ "privacy": "public",
35627
+ "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.",
35628
+ "inheritedFrom": {
35629
+ "name": "FoundationElement",
35630
+ "module": "src/foundation-element/foundation-element.ts"
35631
+ }
35632
+ },
35633
+ {
35634
+ "kind": "method",
35635
+ "name": "stylesChanged",
35636
+ "privacy": "protected",
35637
+ "return": {
35638
+ "type": {
35639
+ "text": "void"
35640
+ }
35641
+ },
35642
+ "inheritedFrom": {
35643
+ "name": "FoundationElement",
35644
+ "module": "src/foundation-element/foundation-element.ts"
35645
+ }
35646
+ },
35647
+ {
35648
+ "kind": "method",
35649
+ "name": "compose",
35650
+ "privacy": "public",
35651
+ "static": true,
35652
+ "return": {
35653
+ "type": {
35654
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
35655
+ }
35656
+ },
35657
+ "parameters": [
35658
+ {
35659
+ "name": "this",
35660
+ "type": {
35661
+ "text": "K"
35662
+ }
35663
+ },
35664
+ {
35665
+ "name": "elementDefinition",
35666
+ "type": {
35667
+ "text": "T"
35668
+ },
35669
+ "description": "The definition of the element to create the registry\nfunction for."
35670
+ }
35671
+ ],
35672
+ "description": "Defines an element registry function with a set of element definition defaults.",
35673
+ "inheritedFrom": {
35674
+ "name": "FoundationElement",
35675
+ "module": "src/foundation-element/foundation-element.ts"
35676
+ }
35677
+ }
35678
+ ],
35679
+ "events": [
35680
+ {
35681
+ "type": {
35682
+ "text": "CustomEvent"
35683
+ }
35684
+ }
35685
+ ],
35686
+ "attributes": [
35687
+ {
35688
+ "name": "identifier",
35689
+ "type": {
35690
+ "text": "string"
35691
+ },
35692
+ "fieldName": "identifier"
35693
+ },
35694
+ {
35695
+ "name": "close-timeout",
35696
+ "type": {
35697
+ "text": "number"
35698
+ },
35699
+ "default": "SNACKBAR_CLOSE_TIMEOUT",
35700
+ "resolveInitializer": {
35701
+ "module": "/src/snackbar/snackbar.config"
35702
+ },
35703
+ "fieldName": "closeTimeout"
35704
+ },
35705
+ {
35706
+ "name": "auto-close",
35707
+ "type": {
35708
+ "text": "boolean"
35709
+ },
35710
+ "default": "true",
35711
+ "fieldName": "autoClose"
35712
+ },
35713
+ {
35714
+ "name": "type",
35715
+ "type": {
35716
+ "text": "SnackbarType"
35717
+ },
35718
+ "default": "SNACKBAR_TYPE_DEFAULT",
35719
+ "resolveInitializer": {
35720
+ "module": "/src/snackbar/snackbar.config"
35721
+ },
35722
+ "fieldName": "type"
35723
+ }
35724
+ ],
35725
+ "superclass": {
35726
+ "name": "FoundationElement",
35727
+ "package": "@microsoft/fast-foundation"
35728
+ },
35729
+ "tagName": "%%prefix%%-snackbar",
35730
+ "customElement": true
35731
+ },
35732
+ {
35733
+ "kind": "variable",
35734
+ "name": "foundationSnackbar",
35735
+ "description": "The Foundation Snackbar",
35736
+ "privacy": "public"
35737
+ }
35738
+ ],
35739
+ "exports": [
35740
+ {
35741
+ "kind": "js",
35742
+ "name": "foundationSnackbarShadowOptions",
35743
+ "declaration": {
35744
+ "name": "foundationSnackbarShadowOptions",
35745
+ "module": "src/snackbar/snackbar.ts"
35746
+ }
35747
+ },
35748
+ {
35749
+ "kind": "js",
35750
+ "name": "Snackbar",
35751
+ "declaration": {
35752
+ "name": "Snackbar",
35753
+ "module": "src/snackbar/snackbar.ts"
35754
+ }
35755
+ },
35756
+ {
35757
+ "kind": "js",
35758
+ "name": "foundationSnackbar",
35759
+ "declaration": {
35760
+ "name": "foundationSnackbar",
35761
+ "module": "src/snackbar/snackbar.ts"
35762
+ }
35763
+ }
35764
+ ]
35765
+ },
35766
+ {
35767
+ "kind": "javascript-module",
35768
+ "path": "src/snackbar/snackbar.types.ts",
35769
+ "declarations": [],
35770
+ "exports": []
35771
+ },
35772
35772
  {
35773
35773
  "kind": "javascript-module",
35774
35774
  "path": "src/stepper-tab-panel/index.ts",