@genesislcap/foundation-ui 14.234.2 → 14.235.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +378 -378
  2. package/package.json +16 -16
@@ -819,6 +819,51 @@
819
819
  }
820
820
  ]
821
821
  },
822
+ {
823
+ "kind": "javascript-module",
824
+ "path": "src/_common/icons.ts",
825
+ "declarations": [
826
+ {
827
+ "kind": "function",
828
+ "name": "closeIcon",
829
+ "parameters": [
830
+ {
831
+ "name": "slot",
832
+ "default": "'start'"
833
+ },
834
+ {
835
+ "name": "fill",
836
+ "default": "'#879ba6'"
837
+ }
838
+ ]
839
+ }
840
+ ],
841
+ "exports": [
842
+ {
843
+ "kind": "js",
844
+ "name": "closeIcon",
845
+ "declaration": {
846
+ "name": "closeIcon",
847
+ "module": "src/_common/icons.ts"
848
+ }
849
+ }
850
+ ]
851
+ },
852
+ {
853
+ "kind": "javascript-module",
854
+ "path": "src/_common/index.ts",
855
+ "declarations": [],
856
+ "exports": [
857
+ {
858
+ "kind": "js",
859
+ "name": "*",
860
+ "declaration": {
861
+ "name": "*",
862
+ "package": "./icons"
863
+ }
864
+ }
865
+ ]
866
+ },
822
867
  {
823
868
  "kind": "javascript-module",
824
869
  "path": "src/_config/index.ts",
@@ -850,6 +895,188 @@
850
895
  }
851
896
  ]
852
897
  },
898
+ {
899
+ "kind": "javascript-module",
900
+ "path": "src/accordion/accordion.styles.ts",
901
+ "declarations": [
902
+ {
903
+ "kind": "function",
904
+ "name": "foundationAccordionStyles",
905
+ "return": {
906
+ "type": {
907
+ "text": "ElementStyles"
908
+ }
909
+ },
910
+ "parameters": [
911
+ {
912
+ "name": "context",
913
+ "type": {
914
+ "text": "ElementDefinitionContext"
915
+ }
916
+ },
917
+ {
918
+ "name": "definition",
919
+ "type": {
920
+ "text": "FoundationElementDefinition"
921
+ }
922
+ }
923
+ ]
924
+ }
925
+ ],
926
+ "exports": [
927
+ {
928
+ "kind": "js",
929
+ "name": "foundationAccordionStyles",
930
+ "declaration": {
931
+ "name": "foundationAccordionStyles",
932
+ "module": "src/accordion/accordion.styles.ts"
933
+ }
934
+ }
935
+ ]
936
+ },
937
+ {
938
+ "kind": "javascript-module",
939
+ "path": "src/accordion/accordion.template.ts",
940
+ "declarations": [
941
+ {
942
+ "kind": "function",
943
+ "name": "foundationAccordionTemplate",
944
+ "return": {
945
+ "type": {
946
+ "text": "ViewTemplate<Accordion>"
947
+ }
948
+ },
949
+ "parameters": [
950
+ {
951
+ "name": "context",
952
+ "type": {
953
+ "text": "ElementDefinitionContext"
954
+ }
955
+ },
956
+ {
957
+ "name": "definition",
958
+ "type": {
959
+ "text": "FoundationElementDefinition"
960
+ }
961
+ }
962
+ ]
963
+ }
964
+ ],
965
+ "exports": [
966
+ {
967
+ "kind": "js",
968
+ "name": "foundationAccordionTemplate",
969
+ "declaration": {
970
+ "name": "foundationAccordionTemplate",
971
+ "module": "src/accordion/accordion.template.ts"
972
+ }
973
+ }
974
+ ]
975
+ },
976
+ {
977
+ "kind": "javascript-module",
978
+ "path": "src/accordion/accordion.ts",
979
+ "declarations": [
980
+ {
981
+ "kind": "class",
982
+ "description": "",
983
+ "name": "Accordion",
984
+ "superclass": {
985
+ "name": "FASTAccordion",
986
+ "package": "@microsoft/fast-foundation"
987
+ },
988
+ "tagName": "%%prefix%%-accordion",
989
+ "customElement": true
990
+ },
991
+ {
992
+ "kind": "variable",
993
+ "name": "foundationAccordionShadowOptions",
994
+ "type": {
995
+ "text": "ShadowRootInit"
996
+ },
997
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
998
+ },
999
+ {
1000
+ "kind": "variable",
1001
+ "name": "defaultAccordionConfig",
1002
+ "type": {
1003
+ "text": "object"
1004
+ },
1005
+ "default": "{}"
1006
+ },
1007
+ {
1008
+ "kind": "variable",
1009
+ "name": "foundationAccordion",
1010
+ "description": "The Foundation Accordion",
1011
+ "privacy": "public"
1012
+ }
1013
+ ],
1014
+ "exports": [
1015
+ {
1016
+ "kind": "js",
1017
+ "name": "Accordion",
1018
+ "declaration": {
1019
+ "name": "Accordion",
1020
+ "module": "src/accordion/accordion.ts"
1021
+ }
1022
+ },
1023
+ {
1024
+ "kind": "js",
1025
+ "name": "foundationAccordionShadowOptions",
1026
+ "declaration": {
1027
+ "name": "foundationAccordionShadowOptions",
1028
+ "module": "src/accordion/accordion.ts"
1029
+ }
1030
+ },
1031
+ {
1032
+ "kind": "js",
1033
+ "name": "defaultAccordionConfig",
1034
+ "declaration": {
1035
+ "name": "defaultAccordionConfig",
1036
+ "module": "src/accordion/accordion.ts"
1037
+ }
1038
+ },
1039
+ {
1040
+ "kind": "js",
1041
+ "name": "foundationAccordion",
1042
+ "declaration": {
1043
+ "name": "foundationAccordion",
1044
+ "module": "src/accordion/accordion.ts"
1045
+ }
1046
+ }
1047
+ ]
1048
+ },
1049
+ {
1050
+ "kind": "javascript-module",
1051
+ "path": "src/accordion/index.ts",
1052
+ "declarations": [],
1053
+ "exports": [
1054
+ {
1055
+ "kind": "js",
1056
+ "name": "*",
1057
+ "declaration": {
1058
+ "name": "*",
1059
+ "package": "./accordion.template"
1060
+ }
1061
+ },
1062
+ {
1063
+ "kind": "js",
1064
+ "name": "*",
1065
+ "declaration": {
1066
+ "name": "*",
1067
+ "package": "./accordion.styles"
1068
+ }
1069
+ },
1070
+ {
1071
+ "kind": "js",
1072
+ "name": "*",
1073
+ "declaration": {
1074
+ "name": "*",
1075
+ "package": "./accordion"
1076
+ }
1077
+ }
1078
+ ]
1079
+ },
853
1080
  {
854
1081
  "kind": "javascript-module",
855
1082
  "path": "src/accordion-item/accordion-item.styles.ts",
@@ -1246,11 +1473,11 @@
1246
1473
  },
1247
1474
  {
1248
1475
  "kind": "javascript-module",
1249
- "path": "src/accordion/accordion.styles.ts",
1476
+ "path": "src/actions-menu/actions-menu.styles.ts",
1250
1477
  "declarations": [
1251
1478
  {
1252
1479
  "kind": "function",
1253
- "name": "foundationAccordionStyles",
1480
+ "name": "actionsMenuBaseStyles",
1254
1481
  "return": {
1255
1482
  "type": {
1256
1483
  "text": "ElementStyles"
@@ -1270,29 +1497,13 @@
1270
1497
  }
1271
1498
  }
1272
1499
  ]
1273
- }
1274
- ],
1275
- "exports": [
1276
- {
1277
- "kind": "js",
1278
- "name": "foundationAccordionStyles",
1279
- "declaration": {
1280
- "name": "foundationAccordionStyles",
1281
- "module": "src/accordion/accordion.styles.ts"
1282
- }
1283
- }
1284
- ]
1285
- },
1286
- {
1287
- "kind": "javascript-module",
1288
- "path": "src/accordion/accordion.template.ts",
1289
- "declarations": [
1500
+ },
1290
1501
  {
1291
1502
  "kind": "function",
1292
- "name": "foundationAccordionTemplate",
1503
+ "name": "foundationActionsMenuStyles",
1293
1504
  "return": {
1294
1505
  "type": {
1295
- "text": "ViewTemplate<Accordion>"
1506
+ "text": "ElementStyles"
1296
1507
  }
1297
1508
  },
1298
1509
  "parameters": [
@@ -1314,218 +1525,7 @@
1314
1525
  "exports": [
1315
1526
  {
1316
1527
  "kind": "js",
1317
- "name": "foundationAccordionTemplate",
1318
- "declaration": {
1319
- "name": "foundationAccordionTemplate",
1320
- "module": "src/accordion/accordion.template.ts"
1321
- }
1322
- }
1323
- ]
1324
- },
1325
- {
1326
- "kind": "javascript-module",
1327
- "path": "src/accordion/accordion.ts",
1328
- "declarations": [
1329
- {
1330
- "kind": "class",
1331
- "description": "",
1332
- "name": "Accordion",
1333
- "superclass": {
1334
- "name": "FASTAccordion",
1335
- "package": "@microsoft/fast-foundation"
1336
- },
1337
- "tagName": "%%prefix%%-accordion",
1338
- "customElement": true
1339
- },
1340
- {
1341
- "kind": "variable",
1342
- "name": "foundationAccordionShadowOptions",
1343
- "type": {
1344
- "text": "ShadowRootInit"
1345
- },
1346
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1347
- },
1348
- {
1349
- "kind": "variable",
1350
- "name": "defaultAccordionConfig",
1351
- "type": {
1352
- "text": "object"
1353
- },
1354
- "default": "{}"
1355
- },
1356
- {
1357
- "kind": "variable",
1358
- "name": "foundationAccordion",
1359
- "description": "The Foundation Accordion",
1360
- "privacy": "public"
1361
- }
1362
- ],
1363
- "exports": [
1364
- {
1365
- "kind": "js",
1366
- "name": "Accordion",
1367
- "declaration": {
1368
- "name": "Accordion",
1369
- "module": "src/accordion/accordion.ts"
1370
- }
1371
- },
1372
- {
1373
- "kind": "js",
1374
- "name": "foundationAccordionShadowOptions",
1375
- "declaration": {
1376
- "name": "foundationAccordionShadowOptions",
1377
- "module": "src/accordion/accordion.ts"
1378
- }
1379
- },
1380
- {
1381
- "kind": "js",
1382
- "name": "defaultAccordionConfig",
1383
- "declaration": {
1384
- "name": "defaultAccordionConfig",
1385
- "module": "src/accordion/accordion.ts"
1386
- }
1387
- },
1388
- {
1389
- "kind": "js",
1390
- "name": "foundationAccordion",
1391
- "declaration": {
1392
- "name": "foundationAccordion",
1393
- "module": "src/accordion/accordion.ts"
1394
- }
1395
- }
1396
- ]
1397
- },
1398
- {
1399
- "kind": "javascript-module",
1400
- "path": "src/accordion/index.ts",
1401
- "declarations": [],
1402
- "exports": [
1403
- {
1404
- "kind": "js",
1405
- "name": "*",
1406
- "declaration": {
1407
- "name": "*",
1408
- "package": "./accordion.template"
1409
- }
1410
- },
1411
- {
1412
- "kind": "js",
1413
- "name": "*",
1414
- "declaration": {
1415
- "name": "*",
1416
- "package": "./accordion.styles"
1417
- }
1418
- },
1419
- {
1420
- "kind": "js",
1421
- "name": "*",
1422
- "declaration": {
1423
- "name": "*",
1424
- "package": "./accordion"
1425
- }
1426
- }
1427
- ]
1428
- },
1429
- {
1430
- "kind": "javascript-module",
1431
- "path": "src/_common/icons.ts",
1432
- "declarations": [
1433
- {
1434
- "kind": "function",
1435
- "name": "closeIcon",
1436
- "parameters": [
1437
- {
1438
- "name": "slot",
1439
- "default": "'start'"
1440
- },
1441
- {
1442
- "name": "fill",
1443
- "default": "'#879ba6'"
1444
- }
1445
- ]
1446
- }
1447
- ],
1448
- "exports": [
1449
- {
1450
- "kind": "js",
1451
- "name": "closeIcon",
1452
- "declaration": {
1453
- "name": "closeIcon",
1454
- "module": "src/_common/icons.ts"
1455
- }
1456
- }
1457
- ]
1458
- },
1459
- {
1460
- "kind": "javascript-module",
1461
- "path": "src/_common/index.ts",
1462
- "declarations": [],
1463
- "exports": [
1464
- {
1465
- "kind": "js",
1466
- "name": "*",
1467
- "declaration": {
1468
- "name": "*",
1469
- "package": "./icons"
1470
- }
1471
- }
1472
- ]
1473
- },
1474
- {
1475
- "kind": "javascript-module",
1476
- "path": "src/actions-menu/actions-menu.styles.ts",
1477
- "declarations": [
1478
- {
1479
- "kind": "function",
1480
- "name": "actionsMenuBaseStyles",
1481
- "return": {
1482
- "type": {
1483
- "text": "ElementStyles"
1484
- }
1485
- },
1486
- "parameters": [
1487
- {
1488
- "name": "context",
1489
- "type": {
1490
- "text": "ElementDefinitionContext"
1491
- }
1492
- },
1493
- {
1494
- "name": "definition",
1495
- "type": {
1496
- "text": "FoundationElementDefinition"
1497
- }
1498
- }
1499
- ]
1500
- },
1501
- {
1502
- "kind": "function",
1503
- "name": "foundationActionsMenuStyles",
1504
- "return": {
1505
- "type": {
1506
- "text": "ElementStyles"
1507
- }
1508
- },
1509
- "parameters": [
1510
- {
1511
- "name": "context",
1512
- "type": {
1513
- "text": "ElementDefinitionContext"
1514
- }
1515
- },
1516
- {
1517
- "name": "definition",
1518
- "type": {
1519
- "text": "FoundationElementDefinition"
1520
- }
1521
- }
1522
- ]
1523
- }
1524
- ],
1525
- "exports": [
1526
- {
1527
- "kind": "js",
1528
- "name": "actionsMenuBaseStyles",
1528
+ "name": "actionsMenuBaseStyles",
1529
1529
  "declaration": {
1530
1530
  "name": "actionsMenuBaseStyles",
1531
1531
  "module": "src/actions-menu/actions-menu.styles.ts"
@@ -15470,35 +15470,52 @@
15470
15470
  },
15471
15471
  {
15472
15472
  "kind": "javascript-module",
15473
- "path": "src/error-boundary/error-boundary.template.ts",
15473
+ "path": "src/error-banner/error-banner.template.ts",
15474
15474
  "declarations": [
15475
+ {
15476
+ "kind": "function",
15477
+ "name": "getPrefixedErrorBanner",
15478
+ "parameters": [
15479
+ {
15480
+ "name": "prefix",
15481
+ "type": {
15482
+ "text": "string"
15483
+ }
15484
+ }
15485
+ ]
15486
+ },
15475
15487
  {
15476
15488
  "kind": "variable",
15477
- "name": "foundationErrorBoundaryTemplate",
15478
- "type": {
15479
- "text": "ViewTemplate<ErrorBoundary>"
15480
- },
15481
- "default": "html`\n <template ${ref('errorBoundary')}>\n <slot></slot>\n </template>\n`"
15489
+ "name": "foundationErrorBannerTemplate",
15490
+ "default": "html<ErrorBanner>`\n ${(x) => getPrefixedErrorBanner(getPrefix(x))}\n`"
15482
15491
  }
15483
15492
  ],
15484
15493
  "exports": [
15485
15494
  {
15486
15495
  "kind": "js",
15487
- "name": "foundationErrorBoundaryTemplate",
15496
+ "name": "getPrefixedErrorBanner",
15488
15497
  "declaration": {
15489
- "name": "foundationErrorBoundaryTemplate",
15490
- "module": "src/error-boundary/error-boundary.template.ts"
15498
+ "name": "getPrefixedErrorBanner",
15499
+ "module": "src/error-banner/error-banner.template.ts"
15500
+ }
15501
+ },
15502
+ {
15503
+ "kind": "js",
15504
+ "name": "foundationErrorBannerTemplate",
15505
+ "declaration": {
15506
+ "name": "foundationErrorBannerTemplate",
15507
+ "module": "src/error-banner/error-banner.template.ts"
15491
15508
  }
15492
15509
  }
15493
15510
  ]
15494
15511
  },
15495
15512
  {
15496
15513
  "kind": "javascript-module",
15497
- "path": "src/error-boundary/error-boundary.ts",
15514
+ "path": "src/error-banner/error-banner.ts",
15498
15515
  "declarations": [
15499
15516
  {
15500
15517
  "kind": "variable",
15501
- "name": "foundationErrorBoundaryShadowOptions",
15518
+ "name": "foundationErrorBannerShadowOptions",
15502
15519
  "type": {
15503
15520
  "text": "ShadowRootInit"
15504
15521
  },
@@ -15507,51 +15524,35 @@
15507
15524
  {
15508
15525
  "kind": "class",
15509
15526
  "description": "",
15510
- "name": "ErrorBoundary",
15527
+ "name": "ErrorBanner",
15511
15528
  "members": [
15512
15529
  {
15513
15530
  "kind": "field",
15514
- "name": "logger",
15515
- "privacy": "private"
15516
- },
15517
- {
15518
- "kind": "field",
15519
- "name": "errorBoundary",
15531
+ "name": "banner",
15520
15532
  "type": {
15521
- "text": "HTMLElement"
15522
- }
15523
- },
15524
- {
15525
- "kind": "field",
15526
- "name": "resourceName",
15527
- "description": "The resource name holding new and existing notifications",
15533
+ "text": "HTMLElement & { dismiss: () => Promise<void> }"
15534
+ },
15528
15535
  "privacy": "public"
15529
15536
  },
15530
15537
  {
15531
15538
  "kind": "field",
15532
- "name": "closeTimeout",
15539
+ "name": "error",
15533
15540
  "type": {
15534
- "text": "number"
15535
- },
15536
- "default": "0",
15537
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15538
- "privacy": "public"
15541
+ "text": "ErrorStructure"
15542
+ }
15539
15543
  },
15540
15544
  {
15541
15545
  "kind": "field",
15542
- "name": "dataSub",
15546
+ "name": "notification",
15543
15547
  "type": {
15544
- "text": "Subscription"
15545
- },
15546
- "privacy": "protected"
15548
+ "text": "NotificationStructure"
15549
+ }
15547
15550
  },
15548
15551
  {
15549
- "kind": "field",
15550
- "name": "datasource",
15551
- "type": {
15552
- "text": "Datasource"
15553
- },
15554
- "privacy": "private"
15552
+ "kind": "method",
15553
+ "name": "dismiss",
15554
+ "privacy": "public",
15555
+ "description": "Dismiss the Error Banner from display."
15555
15556
  },
15556
15557
  {
15557
15558
  "kind": "field",
@@ -15665,67 +15666,51 @@
15665
15666
  }
15666
15667
  }
15667
15668
  ],
15668
- "attributes": [
15669
- {
15670
- "name": "resource-name",
15671
- "description": "The resource name holding new and existing notifications",
15672
- "fieldName": "resourceName"
15673
- },
15674
- {
15675
- "name": "close-timeout",
15676
- "type": {
15677
- "text": "number"
15678
- },
15679
- "default": "0",
15680
- "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15681
- "fieldName": "closeTimeout"
15682
- }
15683
- ],
15684
15669
  "superclass": {
15685
15670
  "name": "FoundationElement",
15686
15671
  "package": "@microsoft/fast-foundation"
15687
15672
  },
15673
+ "tagName": "%%prefix%%-error-banner",
15688
15674
  "deprecated": "true",
15689
- "tagName": "%%prefix%%-error-boundary",
15690
15675
  "customElement": true
15691
15676
  },
15692
15677
  {
15693
15678
  "kind": "variable",
15694
- "name": "foundationErrorBoundary",
15695
- "description": "The Foundation Error Boundary",
15679
+ "name": "foundationErrorBanner",
15680
+ "description": "The Foundation Error Banner",
15696
15681
  "privacy": "public"
15697
15682
  }
15698
15683
  ],
15699
15684
  "exports": [
15700
15685
  {
15701
15686
  "kind": "js",
15702
- "name": "foundationErrorBoundaryShadowOptions",
15687
+ "name": "foundationErrorBannerShadowOptions",
15703
15688
  "declaration": {
15704
- "name": "foundationErrorBoundaryShadowOptions",
15705
- "module": "src/error-boundary/error-boundary.ts"
15689
+ "name": "foundationErrorBannerShadowOptions",
15690
+ "module": "src/error-banner/error-banner.ts"
15706
15691
  }
15707
15692
  },
15708
15693
  {
15709
15694
  "kind": "js",
15710
- "name": "ErrorBoundary",
15695
+ "name": "ErrorBanner",
15711
15696
  "declaration": {
15712
- "name": "ErrorBoundary",
15713
- "module": "src/error-boundary/error-boundary.ts"
15697
+ "name": "ErrorBanner",
15698
+ "module": "src/error-banner/error-banner.ts"
15714
15699
  }
15715
15700
  },
15716
15701
  {
15717
15702
  "kind": "js",
15718
- "name": "foundationErrorBoundary",
15703
+ "name": "foundationErrorBanner",
15719
15704
  "declaration": {
15720
- "name": "foundationErrorBoundary",
15721
- "module": "src/error-boundary/error-boundary.ts"
15705
+ "name": "foundationErrorBanner",
15706
+ "module": "src/error-banner/error-banner.ts"
15722
15707
  }
15723
15708
  }
15724
15709
  ]
15725
15710
  },
15726
15711
  {
15727
15712
  "kind": "javascript-module",
15728
- "path": "src/error-boundary/index.ts",
15713
+ "path": "src/error-banner/index.ts",
15729
15714
  "declarations": [],
15730
15715
  "exports": [
15731
15716
  {
@@ -15733,7 +15718,7 @@
15733
15718
  "name": "*",
15734
15719
  "declaration": {
15735
15720
  "name": "*",
15736
- "package": "./error-boundary.template"
15721
+ "package": "./error-banner.template"
15737
15722
  }
15738
15723
  },
15739
15724
  {
@@ -15741,75 +15726,42 @@
15741
15726
  "name": "*",
15742
15727
  "declaration": {
15743
15728
  "name": "*",
15744
- "package": "./error-boundary"
15745
- }
15746
- },
15747
- {
15748
- "kind": "js",
15749
- "name": "ErrorBoundaryEvent",
15750
- "declaration": {
15751
- "name": "ErrorBoundaryEvent",
15752
- "package": "@genesislcap/foundation-errors"
15753
- }
15754
- },
15755
- {
15756
- "kind": "js",
15757
- "name": "ErrorStructure",
15758
- "declaration": {
15759
- "name": "ErrorStructure",
15760
- "package": "@genesislcap/foundation-errors"
15729
+ "package": "./error-banner"
15761
15730
  }
15762
15731
  }
15763
15732
  ]
15764
15733
  },
15765
15734
  {
15766
15735
  "kind": "javascript-module",
15767
- "path": "src/error-banner/error-banner.template.ts",
15736
+ "path": "src/error-boundary/error-boundary.template.ts",
15768
15737
  "declarations": [
15769
- {
15770
- "kind": "function",
15771
- "name": "getPrefixedErrorBanner",
15772
- "parameters": [
15773
- {
15774
- "name": "prefix",
15775
- "type": {
15776
- "text": "string"
15777
- }
15778
- }
15779
- ]
15780
- },
15781
15738
  {
15782
15739
  "kind": "variable",
15783
- "name": "foundationErrorBannerTemplate",
15784
- "default": "html<ErrorBanner>`\n ${(x) => getPrefixedErrorBanner(getPrefix(x))}\n`"
15740
+ "name": "foundationErrorBoundaryTemplate",
15741
+ "type": {
15742
+ "text": "ViewTemplate<ErrorBoundary>"
15743
+ },
15744
+ "default": "html`\n <template ${ref('errorBoundary')}>\n <slot></slot>\n </template>\n`"
15785
15745
  }
15786
15746
  ],
15787
15747
  "exports": [
15788
15748
  {
15789
15749
  "kind": "js",
15790
- "name": "getPrefixedErrorBanner",
15791
- "declaration": {
15792
- "name": "getPrefixedErrorBanner",
15793
- "module": "src/error-banner/error-banner.template.ts"
15794
- }
15795
- },
15796
- {
15797
- "kind": "js",
15798
- "name": "foundationErrorBannerTemplate",
15750
+ "name": "foundationErrorBoundaryTemplate",
15799
15751
  "declaration": {
15800
- "name": "foundationErrorBannerTemplate",
15801
- "module": "src/error-banner/error-banner.template.ts"
15752
+ "name": "foundationErrorBoundaryTemplate",
15753
+ "module": "src/error-boundary/error-boundary.template.ts"
15802
15754
  }
15803
15755
  }
15804
15756
  ]
15805
15757
  },
15806
15758
  {
15807
15759
  "kind": "javascript-module",
15808
- "path": "src/error-banner/error-banner.ts",
15760
+ "path": "src/error-boundary/error-boundary.ts",
15809
15761
  "declarations": [
15810
15762
  {
15811
15763
  "kind": "variable",
15812
- "name": "foundationErrorBannerShadowOptions",
15764
+ "name": "foundationErrorBoundaryShadowOptions",
15813
15765
  "type": {
15814
15766
  "text": "ShadowRootInit"
15815
15767
  },
@@ -15818,35 +15770,51 @@
15818
15770
  {
15819
15771
  "kind": "class",
15820
15772
  "description": "",
15821
- "name": "ErrorBanner",
15773
+ "name": "ErrorBoundary",
15822
15774
  "members": [
15823
15775
  {
15824
15776
  "kind": "field",
15825
- "name": "banner",
15777
+ "name": "logger",
15778
+ "privacy": "private"
15779
+ },
15780
+ {
15781
+ "kind": "field",
15782
+ "name": "errorBoundary",
15826
15783
  "type": {
15827
- "text": "HTMLElement & { dismiss: () => Promise<void> }"
15828
- },
15784
+ "text": "HTMLElement"
15785
+ }
15786
+ },
15787
+ {
15788
+ "kind": "field",
15789
+ "name": "resourceName",
15790
+ "description": "The resource name holding new and existing notifications",
15829
15791
  "privacy": "public"
15830
15792
  },
15831
15793
  {
15832
15794
  "kind": "field",
15833
- "name": "error",
15795
+ "name": "closeTimeout",
15834
15796
  "type": {
15835
- "text": "ErrorStructure"
15836
- }
15797
+ "text": "number"
15798
+ },
15799
+ "default": "0",
15800
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15801
+ "privacy": "public"
15837
15802
  },
15838
15803
  {
15839
15804
  "kind": "field",
15840
- "name": "notification",
15805
+ "name": "dataSub",
15841
15806
  "type": {
15842
- "text": "NotificationStructure"
15843
- }
15807
+ "text": "Subscription"
15808
+ },
15809
+ "privacy": "protected"
15844
15810
  },
15845
15811
  {
15846
- "kind": "method",
15847
- "name": "dismiss",
15848
- "privacy": "public",
15849
- "description": "Dismiss the Error Banner from display."
15812
+ "kind": "field",
15813
+ "name": "datasource",
15814
+ "type": {
15815
+ "text": "Datasource"
15816
+ },
15817
+ "privacy": "private"
15850
15818
  },
15851
15819
  {
15852
15820
  "kind": "field",
@@ -15960,51 +15928,67 @@
15960
15928
  }
15961
15929
  }
15962
15930
  ],
15931
+ "attributes": [
15932
+ {
15933
+ "name": "resource-name",
15934
+ "description": "The resource name holding new and existing notifications",
15935
+ "fieldName": "resourceName"
15936
+ },
15937
+ {
15938
+ "name": "close-timeout",
15939
+ "type": {
15940
+ "text": "number"
15941
+ },
15942
+ "default": "0",
15943
+ "description": "Number of milliseconds before toast will disappear. Leave empty or set to 0 to keep toast open indefinitely",
15944
+ "fieldName": "closeTimeout"
15945
+ }
15946
+ ],
15963
15947
  "superclass": {
15964
15948
  "name": "FoundationElement",
15965
15949
  "package": "@microsoft/fast-foundation"
15966
15950
  },
15967
- "tagName": "%%prefix%%-error-banner",
15968
15951
  "deprecated": "true",
15952
+ "tagName": "%%prefix%%-error-boundary",
15969
15953
  "customElement": true
15970
15954
  },
15971
15955
  {
15972
15956
  "kind": "variable",
15973
- "name": "foundationErrorBanner",
15974
- "description": "The Foundation Error Banner",
15957
+ "name": "foundationErrorBoundary",
15958
+ "description": "The Foundation Error Boundary",
15975
15959
  "privacy": "public"
15976
15960
  }
15977
15961
  ],
15978
15962
  "exports": [
15979
15963
  {
15980
15964
  "kind": "js",
15981
- "name": "foundationErrorBannerShadowOptions",
15965
+ "name": "foundationErrorBoundaryShadowOptions",
15982
15966
  "declaration": {
15983
- "name": "foundationErrorBannerShadowOptions",
15984
- "module": "src/error-banner/error-banner.ts"
15967
+ "name": "foundationErrorBoundaryShadowOptions",
15968
+ "module": "src/error-boundary/error-boundary.ts"
15985
15969
  }
15986
15970
  },
15987
15971
  {
15988
15972
  "kind": "js",
15989
- "name": "ErrorBanner",
15973
+ "name": "ErrorBoundary",
15990
15974
  "declaration": {
15991
- "name": "ErrorBanner",
15992
- "module": "src/error-banner/error-banner.ts"
15975
+ "name": "ErrorBoundary",
15976
+ "module": "src/error-boundary/error-boundary.ts"
15993
15977
  }
15994
15978
  },
15995
15979
  {
15996
15980
  "kind": "js",
15997
- "name": "foundationErrorBanner",
15981
+ "name": "foundationErrorBoundary",
15998
15982
  "declaration": {
15999
- "name": "foundationErrorBanner",
16000
- "module": "src/error-banner/error-banner.ts"
15983
+ "name": "foundationErrorBoundary",
15984
+ "module": "src/error-boundary/error-boundary.ts"
16001
15985
  }
16002
15986
  }
16003
15987
  ]
16004
15988
  },
16005
15989
  {
16006
15990
  "kind": "javascript-module",
16007
- "path": "src/error-banner/index.ts",
15991
+ "path": "src/error-boundary/index.ts",
16008
15992
  "declarations": [],
16009
15993
  "exports": [
16010
15994
  {
@@ -16012,7 +15996,7 @@
16012
15996
  "name": "*",
16013
15997
  "declaration": {
16014
15998
  "name": "*",
16015
- "package": "./error-banner.template"
15999
+ "package": "./error-boundary.template"
16016
16000
  }
16017
16001
  },
16018
16002
  {
@@ -16020,7 +16004,23 @@
16020
16004
  "name": "*",
16021
16005
  "declaration": {
16022
16006
  "name": "*",
16023
- "package": "./error-banner"
16007
+ "package": "./error-boundary"
16008
+ }
16009
+ },
16010
+ {
16011
+ "kind": "js",
16012
+ "name": "ErrorBoundaryEvent",
16013
+ "declaration": {
16014
+ "name": "ErrorBoundaryEvent",
16015
+ "package": "@genesislcap/foundation-errors"
16016
+ }
16017
+ },
16018
+ {
16019
+ "kind": "js",
16020
+ "name": "ErrorStructure",
16021
+ "declaration": {
16022
+ "name": "ErrorStructure",
16023
+ "package": "@genesislcap/foundation-errors"
16024
16024
  }
16025
16025
  }
16026
16026
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.234.2",
4
+ "version": "14.235.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -83,13 +83,13 @@
83
83
  }
84
84
  },
85
85
  "devDependencies": {
86
- "@genesislcap/foundation-testing": "14.234.2",
87
- "@genesislcap/genx": "14.234.2",
88
- "@genesislcap/rollup-builder": "14.234.2",
89
- "@genesislcap/ts-builder": "14.234.2",
90
- "@genesislcap/uvu-playwright-builder": "14.234.2",
91
- "@genesislcap/vite-builder": "14.234.2",
92
- "@genesislcap/webpack-builder": "14.234.2",
86
+ "@genesislcap/foundation-testing": "14.235.0",
87
+ "@genesislcap/genx": "14.235.0",
88
+ "@genesislcap/rollup-builder": "14.235.0",
89
+ "@genesislcap/ts-builder": "14.235.0",
90
+ "@genesislcap/uvu-playwright-builder": "14.235.0",
91
+ "@genesislcap/vite-builder": "14.235.0",
92
+ "@genesislcap/webpack-builder": "14.235.0",
93
93
  "copyfiles": "^2.4.1",
94
94
  "rimraf": "^5.0.0",
95
95
  "rxjs": "^7.5.4"
@@ -100,13 +100,13 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/foundation-comms": "14.234.2",
104
- "@genesislcap/foundation-criteria": "14.234.2",
105
- "@genesislcap/foundation-errors": "14.234.2",
106
- "@genesislcap/foundation-logger": "14.234.2",
107
- "@genesislcap/foundation-notifications": "14.234.2",
108
- "@genesislcap/foundation-user": "14.234.2",
109
- "@genesislcap/foundation-utils": "14.234.2",
103
+ "@genesislcap/foundation-comms": "14.235.0",
104
+ "@genesislcap/foundation-criteria": "14.235.0",
105
+ "@genesislcap/foundation-errors": "14.235.0",
106
+ "@genesislcap/foundation-logger": "14.235.0",
107
+ "@genesislcap/foundation-notifications": "14.235.0",
108
+ "@genesislcap/foundation-user": "14.235.0",
109
+ "@genesislcap/foundation-utils": "14.235.0",
110
110
  "@microsoft/fast-colors": "5.3.1",
111
111
  "@microsoft/fast-components": "2.30.6",
112
112
  "@microsoft/fast-element": "1.14.0",
@@ -128,5 +128,5 @@
128
128
  "access": "public"
129
129
  },
130
130
  "customElements": "dist/custom-elements.json",
131
- "gitHead": "d329fd897c731effd5b3fa570b77a5ab1f4b55bb"
131
+ "gitHead": "184d6dd5c5732cf9d206e25b1d94017438e16c40"
132
132
  }