@arc-ui/components 10.6.0 → 10.7.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 (34) hide show
  1. package/dist/Base/index.js +5 -2
  2. package/dist/Breadcrumbs/index.js +17 -10
  3. package/dist/Button/index.d.ts +1 -1
  4. package/dist/Button/index.js +3 -3
  5. package/dist/Card/index.d.ts +4 -0
  6. package/dist/Card/index.js +2 -2
  7. package/dist/Icon/index.d.ts +1 -1
  8. package/dist/Icon/index.js +2 -2
  9. package/dist/Poster/index.d.ts +5 -0
  10. package/dist/SiteFooter/index.js +1 -1
  11. package/dist/SiteHeader/index.js +3 -3
  12. package/dist/VisuallyHidden/index.js +1 -1
  13. package/dist/_shared/{Button-39e56303.d.ts → Button-2fcbd4ed.d.ts} +0 -0
  14. package/dist/_shared/{Button-39e56303.js → Button-2fcbd4ed.js} +1 -1
  15. package/dist/_shared/{Icon-cef09451.d.ts → Icon-b053f03d.d.ts} +0 -0
  16. package/dist/_shared/{Icon-cef09451.js → Icon-b053f03d.js} +1 -1
  17. package/dist/_shared/index.es-ff960629.js +286 -0
  18. package/dist/index.es.js +299 -289
  19. package/dist/index.es.js.map +1 -1
  20. package/dist/index.js +299 -289
  21. package/dist/index.js.map +1 -1
  22. package/dist/styles.css +1 -1
  23. package/dist/types/components/Base/Base.d.ts +2 -1
  24. package/dist/types/components/Card/Card.d.ts +4 -0
  25. package/dist/types/components/Modal/Modal.d.ts +28 -0
  26. package/dist/types/components/Modal/index.d.ts +1 -0
  27. package/dist/types/components/Poster/PosterImage.d.ts +5 -1
  28. package/dist/types/components/Select/Select.d.ts +21 -0
  29. package/dist/types/components/Select/index.d.ts +1 -0
  30. package/dist/types/components/Switch/Switch.d.ts +34 -0
  31. package/dist/types/components/Switch/index.d.ts +1 -0
  32. package/dist/types/styles.d.ts +5 -0
  33. package/package.json +12 -5
  34. package/dist/_shared/index.es-793935a1.js +0 -286
package/dist/index.es.js CHANGED
@@ -302,12 +302,15 @@ var AlignItem = function (_a) {
302
302
  return React.createElement("div", { className: "arc-Align-item" }, children);
303
303
  };
304
304
 
305
+ var ArcRootElementContext = createContext(null);
305
306
  /**
306
307
  * Use `Base` as the root component of the arc system.
307
308
  */
308
309
  var Base = function (_a) {
309
310
  var _b = _a.brand, brand = _b === void 0 ? "bt" : _b, children = _a.children, props = __rest(_a, ["brand", "children"]);
310
- return (React.createElement("div", __assign({ className: "arc".concat(brand ? " arc-".concat(brand) : "") }, filterDataAttrs(props)), children));
311
+ var _c = React.useState(null), arcRoot = _c[0], setArcRoot = _c[1];
312
+ return (React.createElement("div", __assign({ id: "arc-root", ref: setArcRoot, className: "arc".concat(brand ? " arc-".concat(brand) : "") }, filterDataAttrs(props)),
313
+ React.createElement(ArcRootElementContext.Provider, { value: arcRoot }, children)));
311
314
  };
312
315
 
313
316
  /**
@@ -853,285 +856,285 @@ var debounce_1 = debounce;
853
856
  * Do not edit directly
854
857
  * Generated file
855
858
  */
856
- const ArcBreakpointM = 768;
857
- const ArcBreakpointL = 1024;
858
- const iconsSelected = [
859
- "bt3GFill",
860
- "bt4GFill",
861
- "bt5GFill",
862
- "btAccessibilityFill",
863
- "btAddFill",
864
- "btAlertFill",
865
- "btAlertTriangleFill",
866
- "btAnswerPointFill",
867
- "btArchitectureFill",
868
- "btArchiveFill",
869
- "btArrowAltDownFill",
870
- "btArrowAltLeftFill",
871
- "btArrowAltLeftRightFill",
872
- "btArrowAltRightFill",
873
- "btArrowAltUpFill",
874
- "btArrowDownFill",
875
- "btArrowLeftFill",
876
- "btArrowLeftRightFill",
877
- "btArrowRightFill",
878
- "btArrowUpFill",
879
- "btAttachmentAltFill",
880
- "btAttachmentFill",
881
- "btBagFill",
882
- "btBasketFill",
883
- "btBinFill",
884
- "btBlockedNumberFill",
885
- "btBoatFill",
886
- "btBroadbandFill",
887
- "btBuildingFill",
888
- "btBurgerMenuFill",
889
- "btCakeFill",
890
- "btCalenderAcceptedFill",
891
- "btCalenderAddEventFill",
892
- "btCalenderFill",
893
- "btCalenderPaymentPlanAltFill",
894
- "btCalenderPaymentPlanFill",
895
- "btCalenderSpecialDateFill",
896
- "btCallRoutingFill",
897
- "btCallerIdFill",
898
- "btChatFill",
899
- "btChatMessageFill",
900
- "btChatTypingFill",
901
- "btClipboardFill",
902
- "btClipboardTickFill",
903
- "btClockFill",
904
- "btCloudAlertFill",
905
- "btCloudDesktopFill",
906
- "btCloudFill",
907
- "btCloudLinkFill",
908
- "btCloudMeetingFill",
909
- "btCloudPhoneFill",
910
- "btCloudSecurityFill",
911
- "btCloudUploadFill",
912
- "btCloudUserFill",
913
- "btCollapseFill",
914
- "btCompareFill",
915
- "btComputerChipFill",
916
- "btConnectedCareFill",
917
- "btContactDetailsFill",
918
- "btContactNoDetailsFill",
919
- "btContactsFill",
920
- "btCreditCardFill",
921
- "btCrossAlt2pxFill",
922
- "btCrossAltFill",
923
- "btCrossFill",
924
- "btDashboardFill",
925
- "btDepositFill",
926
- "btDesignFill",
927
- "btDeskPhoneFill",
928
- "btDetailsFill",
929
- "btDetailsGroupFill",
930
- "btDexterityFill",
931
- "btDialPadFill",
932
- "btDialPadWithHandFill",
933
- "btDialledNumberDestinationFill",
934
- "btDigitalCollaborationFill",
935
- "btDisabilityFill",
936
- "btDiscountFill",
937
- "btDivertOnBusyFill",
938
- "btDocumentAndPencilFill",
939
- "btDocumentArticleFill",
940
- "btDocumentBillsFill",
941
- "btDocumentDownloadFill",
942
- "btDocumentFill",
943
- "btDocumentPdfFill",
944
- "btDocumentWithCopyCrossedOutFill",
945
- "btDocumentWithCopyFill",
946
- "btDynamicCollaborationFill",
947
- "btEducationFill",
948
- "btEmailReadFill",
949
- "btEmailUnreadFill",
950
- "btEngagedFill",
951
- "btEthernetFill",
952
- "btFaceHappyFill",
953
- "btFaceNeutralFill",
954
- "btFaceSadFill",
955
- "btFaceVeryHappyFill",
956
- "btFirstAidFill",
957
- "btFolderFill",
958
- "btGamingFill",
959
- "btGenderFemaleAndMaleFill",
960
- "btGenderFemaleFill",
961
- "btGenderMaleFill",
962
- "btGenderNeutralFill",
963
- "btGiftFill",
964
- "btGlobalConnectivityFill",
965
- "btGlobeFill",
966
- "btGlossaryFill",
967
- "btGondolaFill",
968
- "btGraphBarAndPlotFill",
969
- "btGraphBarChartFill",
970
- "btGraphDownFill",
971
- "btGraphUpAndDownFill",
972
- "btGraphUpFill",
973
- "btHeadsetFill",
974
- "btHeartBrokenFill",
975
- "btHeartCareFill",
976
- "btHeartFill",
977
- "btHoldingHeartFill",
978
- "btHomeFill",
979
- "btHomeTechExpertFill",
980
- "btHometownFill",
981
- "btHubAndMobileFill",
982
- "btHubFill",
983
- "btHubOldFill",
984
- "btIpFill",
985
- "btIPv6Fill",
986
- "btIdeaFill",
987
- "btInfoFill",
988
- "btJsonFill",
989
- "btJigsawFill",
990
- "btJourneyFill",
991
- "btKeyFill",
992
- "btKnifeAndForkFill",
993
- "btLanFill",
994
- "btLaptopAndMobileFill",
995
- "btLaptopConnectAndShareFill",
996
- "btLaptopDetectionFill",
997
- "btLaptopFill",
998
- "btLaptopSecureFill",
999
- "btLaptopVideoConferenceFill",
1000
- "btLaptopUsersFill",
1001
- "btLayoutGridLargeFill",
1002
- "btLayoutGridMediumFill",
1003
- "btLayoutGridSmallFill",
1004
- "btLayoutRowsLargeFill",
1005
- "btLayoutRowsMediumFill",
1006
- "btLayoutRowsSmallFill",
1007
- "btLeadershipFill",
1008
- "btLinkFill",
1009
- "btLiteracyNumeracyFill",
1010
- "btLocationFill",
1011
- "btLockedFill",
1012
- "btLogoutFill",
1013
- "btMedalFill",
1014
- "btMedalWithStarFill",
1015
- "btMeetingSpaceFill",
1016
- "btMegaphoneFill",
1017
- "btMicrophoneFill",
1018
- "btMobileFill",
1019
- "btMobileTransferCallFill",
1020
- "btMobileWithHandFill",
1021
- "btMobilityFill",
1022
- "btMoneyFill",
1023
- "btMonitorFill",
1024
- "btMonitorTickFill",
1025
- "btMoonFill",
1026
- "btMouseFill",
1027
- "btNamingFill",
1028
- "btNewWindowFill",
1029
- "btNoHearingFill",
1030
- "btNoHearingOrSpeechFill",
1031
- "btNoSpeechFill",
1032
- "btNoViewFill",
1033
- "btNotificationFill",
1034
- "btPaperTowelFill",
1035
- "btPasswordFIll",
1036
- "btPaymentMethodFill",
1037
- "btPayphoneFill",
1038
- "btPhoneBarredFill",
1039
- "btPhoneFill",
1040
- "btPictureFill",
1041
- "btPinAltFill",
1042
- "btPinFill",
1043
- "btPlaneFill",
1044
- "btPlanningFill",
1045
- "btPlantFill",
1046
- "btPlayFill",
1047
- "btPodcastFill",
1048
- "btPresentationFill",
1049
- "btPriceFill",
1050
- "btPrinterFill",
1051
- "btProcessFill",
1052
- "btProcessMiningFill",
1053
- "btProcessRolesFill",
1054
- "btProportionalCallDistributionFill",
1055
- "btQuestionFill",
1056
- "btRecyclingFill",
1057
- "btRefreshFill",
1058
- "btRefundFill",
1059
- "btReleaseFill",
1060
- "btResolution4KFill",
1061
- "btResolutionHdFill",
1062
- "btResolutionSdFill",
1063
- "btScaleFill",
1064
- "btSearchFill",
1065
- "btServerFill",
1066
- "btSettingsAlt2Fill",
1067
- "btSettingsAltFill",
1068
- "btSettingsFill",
1069
- "btShieldAddFill",
1070
- "btShieldFill",
1071
- "btShieldQuestionMarkFIll",
1072
- "btShieldSecurityFill",
1073
- "btShieldTickFill",
1074
- "btShipFill",
1075
- "btSignalFill",
1076
- "btSignatureFill",
1077
- "btSignpostFill",
1078
- "btSimFill",
1079
- "btSimpleFill",
1080
- "btSkiingFill",
1081
- "btSkisFill",
1082
- "btSnowboardingFill",
1083
- "btSpannerFill",
1084
- "btSpeakerFullVolumeFill",
1085
- "btSpeakerHalfVolumeFill",
1086
- "btSpeakerLowVolumeFill",
1087
- "btSpeakerMuteFill",
1088
- "btSpeedFasterFill",
1089
- "btSpeedFastestFill",
1090
- "btSpeedGuaranteeFill",
1091
- "btSpeedSlowFill",
1092
- "btSportFootballFill",
1093
- "btStarFill",
1094
- "btStopFill",
1095
- "btStopAltFill",
1096
- "btSuitcaseFill",
1097
- "btSunFill",
1098
- "btSwitchFill",
1099
- "btTvArialFill",
1100
- "btTvFill",
1101
- "btTvAndHubFill",
1102
- "btTvAndHubAndPhoneFill",
1103
- "btTabletFill",
1104
- "btTabletWithKeyboardFill",
1105
- "btTagFill",
1106
- "btTaxonomyFill",
1107
- "btTechBarFill",
1108
- "btTelemarkFill",
1109
- "btThumbsDownFill",
1110
- "btThumbsUpFill",
1111
- "btTickAlt2pxFill",
1112
- "btTickFill",
1113
- "btTickVariantFill",
1114
- "btTree1Fill",
1115
- "btTree2Fill",
1116
- "btTrophyFill",
1117
- "btUkFill",
1118
- "btUkHotspotsFill",
1119
- "btUsbFill",
1120
- "btUnlockedFill",
1121
- "btUserAddFill",
1122
- "btUserCloudFill",
1123
- "btUserDuplicateProfileFill",
1124
- "btUserFill",
1125
- "btUserGroupsFill",
1126
- "btUserParentAndChildFill",
1127
- "btUserWithQuestionmarkFill",
1128
- "btVanFill",
1129
- "btViewFill",
1130
- "btVirusFill",
1131
- "btWholeHomeWifiFill",
1132
- "btWiFiFill",
1133
- "btWizardFill",
1134
- "btWorkstationFill"
859
+ var ArcBreakpointM = 768;
860
+ var ArcBreakpointL = 1024;
861
+ var iconsSelected = [
862
+ "bt3GFill",
863
+ "bt4GFill",
864
+ "bt5GFill",
865
+ "btAccessibilityFill",
866
+ "btAddFill",
867
+ "btAlertFill",
868
+ "btAlertTriangleFill",
869
+ "btAnswerPointFill",
870
+ "btArchitectureFill",
871
+ "btArchiveFill",
872
+ "btArrowAltDownFill",
873
+ "btArrowAltLeftFill",
874
+ "btArrowAltLeftRightFill",
875
+ "btArrowAltRightFill",
876
+ "btArrowAltUpFill",
877
+ "btArrowDownFill",
878
+ "btArrowLeftFill",
879
+ "btArrowLeftRightFill",
880
+ "btArrowRightFill",
881
+ "btArrowUpFill",
882
+ "btAttachmentAltFill",
883
+ "btAttachmentFill",
884
+ "btBagFill",
885
+ "btBasketFill",
886
+ "btBinFill",
887
+ "btBlockedNumberFill",
888
+ "btBoatFill",
889
+ "btBroadbandFill",
890
+ "btBuildingFill",
891
+ "btBurgerMenuFill",
892
+ "btCakeFill",
893
+ "btCalenderAcceptedFill",
894
+ "btCalenderAddEventFill",
895
+ "btCalenderFill",
896
+ "btCalenderPaymentPlanAltFill",
897
+ "btCalenderPaymentPlanFill",
898
+ "btCalenderSpecialDateFill",
899
+ "btCallRoutingFill",
900
+ "btCallerIdFill",
901
+ "btChatFill",
902
+ "btChatMessageFill",
903
+ "btChatTypingFill",
904
+ "btClipboardFill",
905
+ "btClipboardTickFill",
906
+ "btClockFill",
907
+ "btCloudAlertFill",
908
+ "btCloudDesktopFill",
909
+ "btCloudFill",
910
+ "btCloudLinkFill",
911
+ "btCloudMeetingFill",
912
+ "btCloudPhoneFill",
913
+ "btCloudSecurityFill",
914
+ "btCloudUploadFill",
915
+ "btCloudUserFill",
916
+ "btCollapseFill",
917
+ "btCompareFill",
918
+ "btComputerChipFill",
919
+ "btConnectedCareFill",
920
+ "btContactDetailsFill",
921
+ "btContactNoDetailsFill",
922
+ "btContactsFill",
923
+ "btCreditCardFill",
924
+ "btCrossAlt2pxFill",
925
+ "btCrossAltFill",
926
+ "btCrossFill",
927
+ "btDashboardFill",
928
+ "btDepositFill",
929
+ "btDesignFill",
930
+ "btDeskPhoneFill",
931
+ "btDetailsFill",
932
+ "btDetailsGroupFill",
933
+ "btDexterityFill",
934
+ "btDialPadFill",
935
+ "btDialPadWithHandFill",
936
+ "btDialledNumberDestinationFill",
937
+ "btDigitalCollaborationFill",
938
+ "btDisabilityFill",
939
+ "btDiscountFill",
940
+ "btDivertOnBusyFill",
941
+ "btDocumentAndPencilFill",
942
+ "btDocumentArticleFill",
943
+ "btDocumentBillsFill",
944
+ "btDocumentDownloadFill",
945
+ "btDocumentFill",
946
+ "btDocumentPdfFill",
947
+ "btDocumentWithCopyCrossedOutFill",
948
+ "btDocumentWithCopyFill",
949
+ "btDynamicCollaborationFill",
950
+ "btEducationFill",
951
+ "btEmailReadFill",
952
+ "btEmailUnreadFill",
953
+ "btEngagedFill",
954
+ "btEthernetFill",
955
+ "btFaceHappyFill",
956
+ "btFaceNeutralFill",
957
+ "btFaceSadFill",
958
+ "btFaceVeryHappyFill",
959
+ "btFirstAidFill",
960
+ "btFolderFill",
961
+ "btGamingFill",
962
+ "btGenderFemaleAndMaleFill",
963
+ "btGenderFemaleFill",
964
+ "btGenderMaleFill",
965
+ "btGenderNeutralFill",
966
+ "btGiftFill",
967
+ "btGlobalConnectivityFill",
968
+ "btGlobeFill",
969
+ "btGlossaryFill",
970
+ "btGondolaFill",
971
+ "btGraphBarAndPlotFill",
972
+ "btGraphBarChartFill",
973
+ "btGraphDownFill",
974
+ "btGraphUpAndDownFill",
975
+ "btGraphUpFill",
976
+ "btHeadsetFill",
977
+ "btHeartBrokenFill",
978
+ "btHeartCareFill",
979
+ "btHeartFill",
980
+ "btHoldingHeartFill",
981
+ "btHomeFill",
982
+ "btHomeTechExpertFill",
983
+ "btHometownFill",
984
+ "btHubAndMobileFill",
985
+ "btHubFill",
986
+ "btHubOldFill",
987
+ "btIpFill",
988
+ "btIPv6Fill",
989
+ "btIdeaFill",
990
+ "btInfoFill",
991
+ "btJsonFill",
992
+ "btJigsawFill",
993
+ "btJourneyFill",
994
+ "btKeyFill",
995
+ "btKnifeAndForkFill",
996
+ "btLanFill",
997
+ "btLaptopAndMobileFill",
998
+ "btLaptopConnectAndShareFill",
999
+ "btLaptopDetectionFill",
1000
+ "btLaptopFill",
1001
+ "btLaptopSecureFill",
1002
+ "btLaptopVideoConferenceFill",
1003
+ "btLaptopUsersFill",
1004
+ "btLayoutGridLargeFill",
1005
+ "btLayoutGridMediumFill",
1006
+ "btLayoutGridSmallFill",
1007
+ "btLayoutRowsLargeFill",
1008
+ "btLayoutRowsMediumFill",
1009
+ "btLayoutRowsSmallFill",
1010
+ "btLeadershipFill",
1011
+ "btLinkFill",
1012
+ "btLiteracyNumeracyFill",
1013
+ "btLocationFill",
1014
+ "btLockedFill",
1015
+ "btLogoutFill",
1016
+ "btMedalFill",
1017
+ "btMedalWithStarFill",
1018
+ "btMeetingSpaceFill",
1019
+ "btMegaphoneFill",
1020
+ "btMicrophoneFill",
1021
+ "btMobileFill",
1022
+ "btMobileTransferCallFill",
1023
+ "btMobileWithHandFill",
1024
+ "btMobilityFill",
1025
+ "btMoneyFill",
1026
+ "btMonitorFill",
1027
+ "btMonitorTickFill",
1028
+ "btMoonFill",
1029
+ "btMouseFill",
1030
+ "btNamingFill",
1031
+ "btNewWindowFill",
1032
+ "btNoHearingFill",
1033
+ "btNoHearingOrSpeechFill",
1034
+ "btNoSpeechFill",
1035
+ "btNoViewFill",
1036
+ "btNotificationFill",
1037
+ "btPaperTowelFill",
1038
+ "btPasswordFIll",
1039
+ "btPaymentMethodFill",
1040
+ "btPayphoneFill",
1041
+ "btPhoneBarredFill",
1042
+ "btPhoneFill",
1043
+ "btPictureFill",
1044
+ "btPinAltFill",
1045
+ "btPinFill",
1046
+ "btPlaneFill",
1047
+ "btPlanningFill",
1048
+ "btPlantFill",
1049
+ "btPlayFill",
1050
+ "btPodcastFill",
1051
+ "btPresentationFill",
1052
+ "btPriceFill",
1053
+ "btPrinterFill",
1054
+ "btProcessFill",
1055
+ "btProcessMiningFill",
1056
+ "btProcessRolesFill",
1057
+ "btProportionalCallDistributionFill",
1058
+ "btQuestionFill",
1059
+ "btRecyclingFill",
1060
+ "btRefreshFill",
1061
+ "btRefundFill",
1062
+ "btReleaseFill",
1063
+ "btResolution4KFill",
1064
+ "btResolutionHdFill",
1065
+ "btResolutionSdFill",
1066
+ "btScaleFill",
1067
+ "btSearchFill",
1068
+ "btServerFill",
1069
+ "btSettingsAlt2Fill",
1070
+ "btSettingsAltFill",
1071
+ "btSettingsFill",
1072
+ "btShieldAddFill",
1073
+ "btShieldFill",
1074
+ "btShieldQuestionMarkFIll",
1075
+ "btShieldSecurityFill",
1076
+ "btShieldTickFill",
1077
+ "btShipFill",
1078
+ "btSignalFill",
1079
+ "btSignatureFill",
1080
+ "btSignpostFill",
1081
+ "btSimFill",
1082
+ "btSimpleFill",
1083
+ "btSkiingFill",
1084
+ "btSkisFill",
1085
+ "btSnowboardingFill",
1086
+ "btSpannerFill",
1087
+ "btSpeakerFullVolumeFill",
1088
+ "btSpeakerHalfVolumeFill",
1089
+ "btSpeakerLowVolumeFill",
1090
+ "btSpeakerMuteFill",
1091
+ "btSpeedFasterFill",
1092
+ "btSpeedFastestFill",
1093
+ "btSpeedGuaranteeFill",
1094
+ "btSpeedSlowFill",
1095
+ "btSportFootballFill",
1096
+ "btStarFill",
1097
+ "btStopFill",
1098
+ "btStopAltFill",
1099
+ "btSuitcaseFill",
1100
+ "btSunFill",
1101
+ "btSwitchFill",
1102
+ "btTvArialFill",
1103
+ "btTvFill",
1104
+ "btTvAndHubFill",
1105
+ "btTvAndHubAndPhoneFill",
1106
+ "btTabletFill",
1107
+ "btTabletWithKeyboardFill",
1108
+ "btTagFill",
1109
+ "btTaxonomyFill",
1110
+ "btTechBarFill",
1111
+ "btTelemarkFill",
1112
+ "btThumbsDownFill",
1113
+ "btThumbsUpFill",
1114
+ "btTickAlt2pxFill",
1115
+ "btTickFill",
1116
+ "btTickVariantFill",
1117
+ "btTree1Fill",
1118
+ "btTree2Fill",
1119
+ "btTrophyFill",
1120
+ "btUkFill",
1121
+ "btUkHotspotsFill",
1122
+ "btUsbFill",
1123
+ "btUnlockedFill",
1124
+ "btUserAddFill",
1125
+ "btUserCloudFill",
1126
+ "btUserDuplicateProfileFill",
1127
+ "btUserFill",
1128
+ "btUserGroupsFill",
1129
+ "btUserParentAndChildFill",
1130
+ "btUserWithQuestionmarkFill",
1131
+ "btVanFill",
1132
+ "btViewFill",
1133
+ "btVirusFill",
1134
+ "btWholeHomeWifiFill",
1135
+ "btWiFiFill",
1136
+ "btWizardFill",
1137
+ "btWorkstationFill"
1135
1138
  ];
1136
1139
 
1137
1140
  var defaultContext$3 = { surface: "light" };
@@ -1200,7 +1203,7 @@ var Icon = function (_a) {
1200
1203
  var BreadcrumbsItem = function (_a) {
1201
1204
  var spacerIconAfter = _a.spacerIconAfter, spacerIconBefore = _a.spacerIconBefore, children = _a.children;
1202
1205
  return (React.createElement("li", { className: "arc-Breadcrumbs-item" },
1203
- spacerIconBefore && (React.createElement("div", { className: "arc-Breadcrumbs-spacerIcon" },
1206
+ spacerIconBefore && (React.createElement("div", { className: "arc-Breadcrumbs-spacerIcon", "data-testid": "arc-chevron-left-2px" },
1204
1207
  React.createElement(Icon, { icon: "btChevronLeft2px" }))),
1205
1208
  children,
1206
1209
  spacerIconAfter && (React.createElement("div", { className: "arc-Breadcrumbs-spacerIcon" },
@@ -1250,6 +1253,9 @@ var Breadcrumbs = function (_a) {
1250
1253
  if (window.innerWidth < 426) {
1251
1254
  setShowBackTrail(true);
1252
1255
  }
1256
+ /**
1257
+ * TODO! Revise this if statement
1258
+ */
1253
1259
  if (children != null &&
1254
1260
  React.Children.count(children) > 2 &&
1255
1261
  breadcrumbsList.current != null &&
@@ -1274,19 +1280,23 @@ var Breadcrumbs = function (_a) {
1274
1280
  React.createElement("ul", { className: "arc-Breadcrumbs-list", ref: breadcrumbsList }, showBackTrail ? (React.createElement(React.Fragment, null, items.length < 3 ? (React.createElement(Breadcrumbs.Item, { spacerIconBefore: true }, items[0].props.children)) : (React.createElement(Breadcrumbs.Item, { spacerIconBefore: true }, items[items.length - 2].props.children)))) : (React.createElement(React.Fragment, null, isCompressed ? (React.createElement(React.Fragment, null,
1275
1281
  React.createElement(Breadcrumbs.Item, { spacerIconAfter: true }, items[0].props.children),
1276
1282
  React.createElement(Breadcrumbs.Item, { spacerIconAfter: true },
1277
- React.createElement("button", { className: "arc-Breadcrumbs-expand arc-Breadcrumbs-text", onClick: function () { return setIsCompressed(false); }, "aria-label": "Expand Breadcrumbs", type: "button" }, "...")),
1278
- React.createElement(Breadcrumbs.Item, null, React.cloneElement(items[items.length - 1].props.children, {
1279
- isActive: true
1280
- })))) : (React.createElement(React.Fragment, null,
1283
+ React.createElement("button", { className: "arc-Breadcrumbs-expand arc-Breadcrumbs-text", onClick: function () { return setIsCompressed(false); }, "aria-label": "Expand Breadcrumbs", type: "button", "data-testid": "expand-ellipsis" }, "...")),
1284
+ React.createElement(Breadcrumbs.Item, null, items[items.length - 1].props &&
1285
+ items[items.length - 1].props.children &&
1286
+ React.cloneElement(items[items.length - 1].props.children, {
1287
+ isActive: true
1288
+ })))) : (React.createElement(React.Fragment, null,
1281
1289
  items
1282
1290
  .slice(0, items.length - 1)
1283
1291
  .map(function (item, index) {
1284
1292
  return (React.createElement(React.Fragment, { key: "listItem-".concat(index) },
1285
1293
  React.createElement(Breadcrumbs.Item, { spacerIconAfter: true }, item.props.children)));
1286
1294
  }),
1287
- React.createElement(Breadcrumbs.Item, null, React.cloneElement(items[items.length - 1].props.children, {
1288
- isActive: items.length > 1
1289
- })))))))));
1295
+ React.createElement(Breadcrumbs.Item, null, items[items.length - 1].props &&
1296
+ items[items.length - 1].props.children &&
1297
+ React.cloneElement(items[items.length - 1].props.children, {
1298
+ isActive: items.length > 1
1299
+ })))))))));
1290
1300
  };
1291
1301
  BreadcrumbsItem.displayName = "Breadcrumbs.Item";
1292
1302
  BreadcrumbsLink.displayName = "Breadcrumbs.Link";
@@ -2761,7 +2771,7 @@ var VerticalSpace = function (_a) {
2761
2771
  */
2762
2772
  var VisuallyHidden = function (_a) {
2763
2773
  var children = _a.children;
2764
- return React.createElement("div", { className: "arc-VisuallyHidden" }, children);
2774
+ return (React.createElement("div", { "data-testid": "visually-hidden", className: "arc-VisuallyHidden" }, children));
2765
2775
  };
2766
2776
 
2767
2777
  export { Align, Base, BrandLogo, Breadcrumbs, Button, Card, Checkbox, Clock, Clock_rehydrator as ClockRehydrator, Columns, Curve, Disclosure, Elevation, FormControl, Group, Heading, Icon, Image, Markup, Poster, RadioGroup, Rule, Section, SiteFooter, SiteFooter_rehydrator as SiteFooterRehydrator, SiteHeader, SiteHeaderRehydrator, Surface, Context$3 as SurfaceContext, Text, TextInput, UniversalHeader, VerticalSpace, VisuallyHidden };