@thecb/components 9.2.0-beta.8 → 9.2.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.
package/dist/index.esm.js CHANGED
@@ -5011,6 +5011,7 @@ var INFO_BLUE = "#E4F4FD";
5011
5011
  var CORNFLOWER_BLUE = "#EBEFFB";
5012
5012
  var HOVER_LIGHT_BLUE = "#EFFAFF";
5013
5013
  var MATISSE_BLUE = "#15749D";
5014
+ var MATISSE_BLUE_DARK = "#105C7D";
5014
5015
  var ROYAL_BLUE = "#3181E3";
5015
5016
  var ROYAL_BLUE_VIVID = "#3B5BDB";
5016
5017
  var ASTRAL_BLUE = "#3176AA";
@@ -5146,6 +5147,7 @@ var colors = /*#__PURE__*/Object.freeze({
5146
5147
  BOSTON_BLUE: BOSTON_BLUE,
5147
5148
  HOVER_LIGHT_BLUE: HOVER_LIGHT_BLUE,
5148
5149
  MATISSE_BLUE: MATISSE_BLUE,
5150
+ MATISSE_BLUE_DARK: MATISSE_BLUE_DARK,
5149
5151
  ROYAL_BLUE: ROYAL_BLUE,
5150
5152
  ROYAL_BLUE_VIVID: ROYAL_BLUE_VIVID,
5151
5153
  ASTRAL_BLUE: ASTRAL_BLUE,
@@ -23692,9 +23694,11 @@ exportTypedArrayMethod$1('at', function at(index) {
23692
23694
 
23693
23695
  var selectedColor = "".concat(MATISSE_BLUE);
23694
23696
  var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
23697
+ var focusColor = "".concat(MATISSE_BLUE_DARK);
23695
23698
  var fallbackValues$f = {
23696
23699
  selectedColor: selectedColor,
23697
- hoverColor: hoverColor$3
23700
+ hoverColor: hoverColor$3,
23701
+ focusColor: focusColor
23698
23702
  };
23699
23703
 
23700
23704
  var IconWrapper = styled.div.withConfig({
@@ -23717,7 +23721,7 @@ var DropdownContentWrapper = styled.div.withConfig({
23717
23721
  var DropdownItemWrapper = styled.li.withConfig({
23718
23722
  displayName: "Dropdown__DropdownItemWrapper",
23719
23723
  componentId: "sc-pn6m0h-2"
23720
- })(["background-color:", ";text-align:start;border-width:0px;border-color:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;width:100%;list-style:none;cursor:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:none;}"], function (_ref4) {
23724
+ })(["text-align:start;border-width:2px;border-style:solid;border-color:", ";box-shadow:none;box-sizing:border-box;width:100%;list-style:none;cursor:", ";&:hover{border-color:", ";> *{background:", ";border-color:", ";}}&:focus{outline:none;border-color:", ";> *{background:", ";border-color:white;outline:none;}}"], function (_ref4) {
23721
23725
  var selected = _ref4.selected,
23722
23726
  themeValues = _ref4.themeValues;
23723
23727
  return selected ? themeValues.selectedColor : WHITE;
@@ -23725,44 +23729,69 @@ var DropdownItemWrapper = styled.li.withConfig({
23725
23729
  var disabled = _ref5.disabled;
23726
23730
  return disabled ? "default" : "pointer";
23727
23731
  }, function (_ref6) {
23728
- var selected = _ref6.selected,
23729
- disabled = _ref6.disabled,
23732
+ var disabled = _ref6.disabled,
23733
+ selected = _ref6.selected,
23730
23734
  themeValues = _ref6.themeValues;
23731
- return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
23735
+ return selected ? themeValues.focusColor : disabled ? WHITE : themeValues.hoverColor;
23732
23736
  }, function (_ref7) {
23733
23737
  var selected = _ref7.selected,
23734
23738
  disabled = _ref7.disabled,
23735
23739
  themeValues = _ref7.themeValues;
23736
- return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
23740
+ return selected ? themeValues.focusColor : disabled ? WHITE : themeValues.hoverColor;
23741
+ }, function (_ref8) {
23742
+ var selected = _ref8.selected,
23743
+ disabled = _ref8.disabled,
23744
+ themeValues = _ref8.themeValues;
23745
+ return selected ? themeValues.focusColor : disabled ? WHITE : themeValues.hoverColor;
23746
+ }, function (_ref9) {
23747
+ var themeValues = _ref9.themeValues;
23748
+ return themeValues.selectedColor;
23749
+ }, function (_ref10) {
23750
+ var selected = _ref10.selected,
23751
+ disabled = _ref10.disabled,
23752
+ themeValues = _ref10.themeValues;
23753
+ return selected ? themeValues.focusColor : disabled ? WHITE : themeValues.hoverColor;
23754
+ });
23755
+ var DropdownItemBorder = styled.div.withConfig({
23756
+ displayName: "Dropdown__DropdownItemBorder",
23757
+ componentId: "sc-pn6m0h-3"
23758
+ })(["background:", ";border-color:", ";border-width:2px;border-style:solid;padding:12px;"], function (_ref11) {
23759
+ var selected = _ref11.selected,
23760
+ themeValues = _ref11.themeValues;
23761
+ return selected ? themeValues.selectedColor : WHITE;
23762
+ }, function (_ref12) {
23763
+ var selected = _ref12.selected,
23764
+ themeValues = _ref12.themeValues;
23765
+ return selected ? themeValues.selectedColor : WHITE;
23737
23766
  });
23738
23767
 
23739
- var Dropdown = function Dropdown(_ref8) {
23740
- var placeholder = _ref8.placeholder,
23741
- options = _ref8.options,
23742
- value = _ref8.value,
23743
- isOpen = _ref8.isOpen,
23744
- isError = _ref8.isError,
23745
- onSelect = _ref8.onSelect,
23746
- _ref8$disabledValues = _ref8.disabledValues,
23747
- disabledValues = _ref8$disabledValues === void 0 ? [] : _ref8$disabledValues,
23748
- _ref8$onClick = _ref8.onClick,
23749
- _onClick = _ref8$onClick === void 0 ? noop : _ref8$onClick,
23750
- themeValues = _ref8.themeValues,
23751
- maxHeight = _ref8.maxHeight,
23752
- _ref8$widthFitOptions = _ref8.widthFitOptions,
23753
- widthFitOptions = _ref8$widthFitOptions === void 0 ? false : _ref8$widthFitOptions,
23754
- disabled = _ref8.disabled,
23755
- _ref8$hasTitles = _ref8.hasTitles,
23756
- hasTitles = _ref8$hasTitles === void 0 ? false : _ref8$hasTitles,
23757
- _ref8$autoEraseTypeAh = _ref8.autoEraseTypeAhead,
23758
- autoEraseTypeAhead = _ref8$autoEraseTypeAh === void 0 ? true : _ref8$autoEraseTypeAh,
23759
- ariaLabelledby = _ref8.ariaLabelledby,
23760
- ariaDescribedby = _ref8.ariaDescribedby,
23761
- autocompleteValue = _ref8.autocompleteValue,
23762
- _ref8$smoothScroll = _ref8.smoothScroll,
23763
- smoothScroll = _ref8$smoothScroll === void 0 ? true : _ref8$smoothScroll,
23764
- _ref8$ariaInvalid = _ref8.ariaInvalid,
23765
- ariaInvalid = _ref8$ariaInvalid === void 0 ? false : _ref8$ariaInvalid;
23768
+ var Dropdown = function Dropdown(_ref13) {
23769
+ var placeholder = _ref13.placeholder,
23770
+ options = _ref13.options,
23771
+ value = _ref13.value,
23772
+ isOpen = _ref13.isOpen,
23773
+ isError = _ref13.isError,
23774
+ onSelect = _ref13.onSelect,
23775
+ _ref13$disabledValues = _ref13.disabledValues,
23776
+ disabledValues = _ref13$disabledValues === void 0 ? [] : _ref13$disabledValues,
23777
+ _ref13$onClick = _ref13.onClick,
23778
+ _onClick = _ref13$onClick === void 0 ? noop : _ref13$onClick,
23779
+ themeValues = _ref13.themeValues,
23780
+ maxHeight = _ref13.maxHeight,
23781
+ _ref13$widthFitOption = _ref13.widthFitOptions,
23782
+ widthFitOptions = _ref13$widthFitOption === void 0 ? false : _ref13$widthFitOption,
23783
+ disabled = _ref13.disabled,
23784
+ _ref13$hasTitles = _ref13.hasTitles,
23785
+ hasTitles = _ref13$hasTitles === void 0 ? false : _ref13$hasTitles,
23786
+ _ref13$autoEraseTypeA = _ref13.autoEraseTypeAhead,
23787
+ autoEraseTypeAhead = _ref13$autoEraseTypeA === void 0 ? true : _ref13$autoEraseTypeA,
23788
+ ariaLabelledby = _ref13.ariaLabelledby,
23789
+ ariaDescribedby = _ref13.ariaDescribedby,
23790
+ autocompleteValue = _ref13.autocompleteValue,
23791
+ _ref13$smoothScroll = _ref13.smoothScroll,
23792
+ smoothScroll = _ref13$smoothScroll === void 0 ? true : _ref13$smoothScroll,
23793
+ _ref13$ariaInvalid = _ref13.ariaInvalid,
23794
+ ariaInvalid = _ref13$ariaInvalid === void 0 ? false : _ref13$ariaInvalid;
23766
23795
 
23767
23796
  var _useState = useState(""),
23768
23797
  _useState2 = _slicedToArray(_useState, 2),
@@ -24084,11 +24113,15 @@ var Dropdown = function Dropdown(_ref8) {
24084
24113
  onFocus: function onFocus() {
24085
24114
  return setFocusedRef(optionRefs.current[i]);
24086
24115
  }
24116
+ }, /*#__PURE__*/React.createElement(DropdownItemBorder, {
24117
+ disabled: disabledValues.includes(choice.value),
24118
+ selected: choice.value === value,
24119
+ themeValues: themeValues
24087
24120
  }, /*#__PURE__*/React.createElement(Text$1, {
24088
24121
  variant: "p",
24089
24122
  color: choice.value === value ? WHITE : disabledValues.includes(choice.value) ? STORM_GREY : MINESHAFT_GREY,
24090
- extraStyles: "padding-left: 16px;\n cursor: ".concat(disabledValues.includes(choice.value) ? "default" : "pointer", ";\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;")
24091
- }, choice.text));
24123
+ extraStyles: "padding-left: 16px;\n cursor: ".concat(disabledValues.includes(choice.value) ? "default" : "pointer", ";\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;")
24124
+ }, choice.text)));
24092
24125
  }))) : /*#__PURE__*/React.createElement(Fragment$1, null)));
24093
24126
  };
24094
24127
 
@@ -25203,6 +25236,346 @@ var DisplayBox = function DisplayBox(_ref) {
25203
25236
 
25204
25237
  var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$i);
25205
25238
 
25239
+ /*
25240
+ Hook that assigns a click event listener to the main document element
25241
+ Returns a ref to attach to another element (like an icon/button that triggers a popover)
25242
+ If a click event gets captured by the document and the assigned element isn't the target
25243
+ hook will run whatever handler is passed (eg a function that closes a popover)
25244
+
25245
+ See popover component for implementation
25246
+
25247
+ */
25248
+
25249
+ var useOutsideClickHook = function useOutsideClickHook(handler) {
25250
+ var ref = useRef();
25251
+ useEffect$1(function () {
25252
+ }, [ref]);
25253
+ return ref;
25254
+ };
25255
+
25256
+ /*
25257
+ Hook that takes an ID selector for an element on the screen
25258
+ And optionally values for top position, left position, smooth behavior
25259
+ Finds element on screen and scrolls it to the provided coordinates
25260
+
25261
+ (string, number, number, string, number) => undefined;
25262
+ */
25263
+ var useScrollTo = function useScrollTo(id) {
25264
+ var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
25265
+ var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
25266
+ var behavior = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "auto";
25267
+ var delay = arguments.length > 4 ? arguments[4] : undefined;
25268
+ var scrollItem;
25269
+
25270
+ if (delay) {
25271
+ setTimeout(function () {
25272
+ var _scrollItem;
25273
+
25274
+ scrollItem = document.getElementById(id);
25275
+ (_scrollItem = scrollItem) === null || _scrollItem === void 0 ? void 0 : _scrollItem.scrollTo({
25276
+ top: top,
25277
+ left: left,
25278
+ behavior: behavior
25279
+ });
25280
+ }, delay);
25281
+ } else {
25282
+ var _scrollItem2;
25283
+
25284
+ scrollItem = document.getElementById(id);
25285
+ (_scrollItem2 = scrollItem) === null || _scrollItem2 === void 0 ? void 0 : _scrollItem2.scrollTo({
25286
+ top: top,
25287
+ left: left,
25288
+ behavior: behavior
25289
+ });
25290
+ }
25291
+ };
25292
+
25293
+ var initialToastState = {
25294
+ isOpen: false,
25295
+ variant: "",
25296
+ message: ""
25297
+ };
25298
+
25299
+ var useToastNotification = function useToastNotification() {
25300
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
25301
+ _ref$timeout = _ref.timeout,
25302
+ timeout = _ref$timeout === void 0 ? 5000 : _ref$timeout;
25303
+
25304
+ var _useState = useState(initialToastState),
25305
+ _useState2 = _slicedToArray(_useState, 2),
25306
+ toastState = _useState2[0],
25307
+ setToastState = _useState2[1];
25308
+
25309
+ useEffect$1(function () {
25310
+ if (toastState.isOpen) {
25311
+ setTimeout(function () {
25312
+ setToastState(initialToastState);
25313
+ }, timeout);
25314
+ }
25315
+ }, [timeout, toastState.isOpen]);
25316
+
25317
+ var showToast = function showToast(_ref2) {
25318
+ var message = _ref2.message,
25319
+ variant = _ref2.variant;
25320
+ return setToastState({
25321
+ isOpen: true,
25322
+ variant: variant,
25323
+ message: message
25324
+ });
25325
+ };
25326
+
25327
+ var hideToast = function hideToast() {
25328
+ return setToastState(initialToastState);
25329
+ };
25330
+
25331
+ return {
25332
+ isToastOpen: toastState.isOpen,
25333
+ toastVariant: toastState.variant,
25334
+ toastMessage: toastState.message,
25335
+ showToast: showToast,
25336
+ hideToast: hideToast
25337
+ };
25338
+ };
25339
+
25340
+
25341
+
25342
+ var index$4 = /*#__PURE__*/Object.freeze({
25343
+ __proto__: null,
25344
+ useOutsideClick: useOutsideClickHook,
25345
+ useScrollTo: useScrollTo,
25346
+ useToastNotification: useToastNotification
25347
+ });
25348
+
25349
+ var hoverColor$4 = "#116285";
25350
+ var activeColor$4 = "#0E506D";
25351
+ var popoverTriggerColor = "#15749D";
25352
+ var fallbackValues$j = {
25353
+ hoverColor: hoverColor$4,
25354
+ activeColor: activeColor$4,
25355
+ popoverTriggerColor: popoverTriggerColor
25356
+ };
25357
+
25358
+ var arrowBorder = function arrowBorder(borderColor, direction) {
25359
+ var width = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "8px";
25360
+ var angle = "".concat(width, " solid transparent");
25361
+ var straight = "".concat(width, " solid ").concat(borderColor);
25362
+
25363
+ if (direction == "down") {
25364
+ return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-top: ").concat(straight);
25365
+ } else if (direction == "up") {
25366
+ return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-bottom: ").concat(straight);
25367
+ } else if (direction == "left") {
25368
+ return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-right: ").concat(straight);
25369
+ } else if (direction == "right") {
25370
+ return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-left: ").concat(straight);
25371
+ }
25372
+ };
25373
+
25374
+ var Popover = function Popover(_ref) {
25375
+ var themeValues = _ref.themeValues,
25376
+ _ref$triggerText = _ref.triggerText,
25377
+ triggerText = _ref$triggerText === void 0 ? "" : _ref$triggerText,
25378
+ _ref$content = _ref.content,
25379
+ content = _ref$content === void 0 ? "" : _ref$content,
25380
+ _ref$hasIcon = _ref.hasIcon,
25381
+ hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
25382
+ Icon = _ref.icon,
25383
+ _ref$iconHelpText = _ref.iconHelpText,
25384
+ iconHelpText = _ref$iconHelpText === void 0 ? "" : _ref$iconHelpText,
25385
+ _ref$popoverID = _ref.popoverID,
25386
+ popoverID = _ref$popoverID === void 0 ? 0 : _ref$popoverID,
25387
+ _ref$popoverFocus = _ref.popoverFocus,
25388
+ popoverFocus = _ref$popoverFocus === void 0 ? false : _ref$popoverFocus,
25389
+ extraStyles = _ref.extraStyles,
25390
+ textExtraStyles = _ref.textExtraStyles,
25391
+ _ref$minWidth = _ref.minWidth,
25392
+ minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
25393
+ _ref$maxWidth = _ref.maxWidth,
25394
+ maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
25395
+ _ref$height = _ref.height,
25396
+ height = _ref$height === void 0 ? "auto" : _ref$height,
25397
+ position = _ref.position,
25398
+ arrowPosition = _ref.arrowPosition,
25399
+ _ref$arrowDirection = _ref.arrowDirection,
25400
+ arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
25401
+ _ref$transform = _ref.transform,
25402
+ transform = _ref$transform === void 0 ? "none" : _ref$transform,
25403
+ buttonExtraStyles = _ref.buttonExtraStyles,
25404
+ _ref$backgroundColor = _ref.backgroundColor,
25405
+ backgroundColor = _ref$backgroundColor === void 0 ? "white" : _ref$backgroundColor,
25406
+ _ref$borderColor = _ref.borderColor,
25407
+ borderColor = _ref$borderColor === void 0 ? "rgba(255, 255, 255, 0.85)" : _ref$borderColor,
25408
+ popoverExtraStyles = _ref.popoverExtraStyles;
25409
+ var hoverColor = themeValues.hoverColor,
25410
+ activeColor = themeValues.activeColor,
25411
+ popoverTriggerColor = themeValues.popoverTriggerColor;
25412
+
25413
+ var _ref2 = position !== null && position !== void 0 ? position : {},
25414
+ _ref2$top = _ref2.top,
25415
+ top = _ref2$top === void 0 ? "-110px" : _ref2$top,
25416
+ _ref2$right = _ref2.right,
25417
+ right = _ref2$right === void 0 ? "auto" : _ref2$right,
25418
+ _ref2$bottom = _ref2.bottom,
25419
+ bottom = _ref2$bottom === void 0 ? "auto" : _ref2$bottom,
25420
+ _ref2$left = _ref2.left,
25421
+ left = _ref2$left === void 0 ? "-225px" : _ref2$left;
25422
+
25423
+ var _ref3 = arrowPosition !== null && arrowPosition !== void 0 ? arrowPosition : {},
25424
+ _ref3$arrowTop = _ref3.arrowTop,
25425
+ arrowTop = _ref3$arrowTop === void 0 ? "auto" : _ref3$arrowTop,
25426
+ _ref3$arrowRight = _ref3.arrowRight,
25427
+ arrowRight = _ref3$arrowRight === void 0 ? "10px" : _ref3$arrowRight,
25428
+ _ref3$arrowBottom = _ref3.arrowBottom,
25429
+ arrowBottom = _ref3$arrowBottom === void 0 ? "-8px" : _ref3$arrowBottom,
25430
+ _ref3$arrowLeft = _ref3.arrowLeft,
25431
+ arrowLeft = _ref3$arrowLeft === void 0 ? "auto" : _ref3$arrowLeft;
25432
+
25433
+ var _useState = useState(false),
25434
+ _useState2 = _slicedToArray(_useState, 2),
25435
+ popoverOpen = _useState2[0],
25436
+ togglePopover = _useState2[1];
25437
+
25438
+ var handleTogglePopover = function handleTogglePopover(popoverState) {
25439
+ if (popoverOpen !== popoverState) {
25440
+ togglePopover(popoverState);
25441
+ }
25442
+ };
25443
+
25444
+ var triggerRef = useOutsideClickHook();
25445
+ return /*#__PURE__*/React.createElement(Box, {
25446
+ padding: "0",
25447
+ extraStyles: "position: relative; ".concat(extraStyles)
25448
+ }, /*#__PURE__*/React.createElement(ButtonWithAction, {
25449
+ action: function action() {
25450
+ return noop;
25451
+ },
25452
+ onFocus: function onFocus() {
25453
+ handleTogglePopover(true);
25454
+ },
25455
+ onBlur: function onBlur() {
25456
+ handleTogglePopover(false);
25457
+ },
25458
+ onKeyDown: function onKeyDown(e) {
25459
+ if (e.keyCode === 27) {
25460
+ handleTogglePopover(false);
25461
+ }
25462
+ },
25463
+ onTouchStart: function onTouchStart() {
25464
+ return handleTogglePopover(true);
25465
+ },
25466
+ onTouchEnd: function onTouchEnd() {
25467
+ return handleTogglePopover(false);
25468
+ },
25469
+ onMouseEnter: function onMouseEnter() {
25470
+ return handleTogglePopover(true);
25471
+ },
25472
+ onMouseLeave: function onMouseLeave() {
25473
+ return handleTogglePopover(false);
25474
+ },
25475
+ contentOverride: true,
25476
+ variant: "smallGhost",
25477
+ tabIndex: "0",
25478
+ id: "btnPopover".concat(popoverID),
25479
+ "aria-expanded": popoverOpen,
25480
+ "aria-labelledby": "btnPopover".concat(popoverID, "_info Disclosure").concat(popoverID),
25481
+ "aria-describedby": "Disclosure".concat(popoverID),
25482
+ "aria-controls": "Disclosed".concat(popoverID),
25483
+ ref: triggerRef,
25484
+ extraStyles: buttonExtraStyles
25485
+ }, hasIcon && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, null), /*#__PURE__*/React.createElement(Box, {
25486
+ padding: "0",
25487
+ srOnly: true
25488
+ }, /*#__PURE__*/React.createElement(Text$1, {
25489
+ id: "btnPopover".concat(popoverID, "_info")
25490
+ }, iconHelpText))), !hasIcon && /*#__PURE__*/React.createElement(Text$1, {
25491
+ color: popoverTriggerColor,
25492
+ extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
25493
+ }, triggerText)), /*#__PURE__*/React.createElement(Box, {
25494
+ background: backgroundColor,
25495
+ borderRadius: "4px",
25496
+ boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
25497
+ id: "Disclosed".concat(popoverID),
25498
+ role: "region",
25499
+ "aria-describedby": "Disclosure".concat(popoverID),
25500
+ tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
25501
+ minWidth: minWidth,
25502
+ maxWidth: maxWidth,
25503
+ extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ").concat(popoverExtraStyles, ";\n ")
25504
+ }, /*#__PURE__*/React.createElement(Paragraph$1, null, content), /*#__PURE__*/React.createElement(Box, {
25505
+ padding: "0",
25506
+ extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
25507
+ })));
25508
+ };
25509
+
25510
+ var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$j);
25511
+
25512
+ var DisplayCard = function DisplayCard(_ref) {
25513
+ var title = _ref.title,
25514
+ item = _ref.item,
25515
+ buttonText = _ref.buttonText,
25516
+ buttonAction = _ref.buttonAction,
25517
+ url = _ref.url,
25518
+ _ref$link = _ref.link,
25519
+ link = _ref$link === void 0 ? false : _ref$link,
25520
+ helpText = _ref.helpText,
25521
+ _ref$hasPopover = _ref.hasPopover,
25522
+ hasPopover = _ref$hasPopover === void 0 ? false : _ref$hasPopover,
25523
+ _ref$popoverTriggerTe = _ref.popoverTriggerText,
25524
+ popoverTriggerText = _ref$popoverTriggerTe === void 0 ? "" : _ref$popoverTriggerTe,
25525
+ _ref$popoverContent = _ref.popoverContent,
25526
+ popoverContent = _ref$popoverContent === void 0 ? "" : _ref$popoverContent,
25527
+ popoverExtraStyles = _ref.popoverExtraStyles,
25528
+ popoverTextExtraStyles = _ref.popoverTextExtraStyles;
25529
+ return /*#__PURE__*/React.createElement(Box, {
25530
+ padding: "0 0 16px"
25531
+ }, /*#__PURE__*/React.createElement(Stack, {
25532
+ childGap: "0rem"
25533
+ }, /*#__PURE__*/React.createElement(Box, {
25534
+ padding: "0 0 8px 0"
25535
+ }, /*#__PURE__*/React.createElement(Cluster, {
25536
+ justify: "space-between",
25537
+ align: "center",
25538
+ overflow: true
25539
+ }, /*#__PURE__*/React.createElement(Paragraph$1, {
25540
+ variant: "pL",
25541
+ color: CHARADE_GREY,
25542
+ extraStyles: "letter-spacing: 0.29px"
25543
+ }, title), hasPopover && /*#__PURE__*/React.createElement(Popover$1, {
25544
+ triggerText: popoverTriggerText,
25545
+ content: popoverContent,
25546
+ popoverExtraStyles: popoverExtraStyles,
25547
+ popoverTextExtraStyles: popoverTextExtraStyles
25548
+ }))), /*#__PURE__*/React.createElement(Box, {
25549
+ padding: "0"
25550
+ }, /*#__PURE__*/React.createElement(Box, {
25551
+ padding: "24px",
25552
+ borderSize: "1px",
25553
+ borderRadius: "4px",
25554
+ background: WHITE,
25555
+ boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
25556
+ }, /*#__PURE__*/React.createElement(Cluster, {
25557
+ justify: "space-between",
25558
+ align: "center"
25559
+ }, /*#__PURE__*/React.createElement(Text$1, {
25560
+ color: CHARADE_GREY
25561
+ }, item), link ? /*#__PURE__*/React.createElement(ButtonWithLink, {
25562
+ text: buttonText,
25563
+ url: url,
25564
+ variant: "smallGhost",
25565
+ dataQa: buttonText,
25566
+ extraStyles: "min-width: 0;"
25567
+ }) : buttonAction ? /*#__PURE__*/React.createElement(ButtonWithAction, {
25568
+ text: buttonText,
25569
+ action: buttonAction,
25570
+ variant: "smallGhost",
25571
+ dataQa: buttonText,
25572
+ extraStyles: "min-width: 0;"
25573
+ }) : helpText ? /*#__PURE__*/React.createElement(Text$1, {
25574
+ color: STORM_GREY,
25575
+ extraStyles: "font-style: italic;"
25576
+ }, helpText) : /*#__PURE__*/React.createElement(Fragment$1, null))))));
25577
+ };
25578
+
25206
25579
  function _extends$2() {
25207
25580
  _extends$2 = Object.assign || function (target) {
25208
25581
  for (var i = 1; i < arguments.length; i++) {
@@ -25481,392 +25854,6 @@ var FormattedInput = function FormattedInput(_ref) {
25481
25854
  }));
25482
25855
  };
25483
25856
 
25484
- var formatDelimiter = "_";
25485
- var phoneFormats = ["", "_", "__", "(___) ", "(___) _", "(___) __", "(___) ___-", "(___) ___-_", "(___) ___-__", "(___) ___-___", "(___) ___-____"];
25486
- var zipFormats = ["", "_", "__", "___", "____", "_____", "______", "_____-__", "_____-___", "_____-____"];
25487
- var creditCardFormats = ["", "_", "__", "___", "____", "____ _", "____ __", "____ ___", "____ ____", "____ ____ _", "____ ____ __", "____ ____ ___", "____ ____ ____", "____ ____ ____ _", "____ ____ ____ __", "____ ____ ____ ___", "____ ____ ____ ____"];
25488
- var moneyFormats = ["", "$0.0_", "$0.__", "$_.__", "$__.__", "$___.__", "$_,___.__", "$__,___.__", "$___,___.__", "$_,___,___.__", "$__,___,___.__", "$___,___,___.__", "$_,___,___,___.__", "$__,___,___,___.__", "$___,___,___,___.__", "$_,___,___,___,___.__"];
25489
- var expirationDateFormats = ["", "_", "__/", "__/_", "__/__"];
25490
- var zipFormat = createFormat(zipFormats, formatDelimiter);
25491
- var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
25492
- var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
25493
- var phoneFormat = createFormat(phoneFormats, formatDelimiter);
25494
- var moneyFormat = createFormat(moneyFormats, formatDelimiter);
25495
- var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
25496
- var textAlign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "right";
25497
- var as = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "span";
25498
- var ACTIVE = "ACTIVE";
25499
- var EXPIRING_SOON = "EXPIRING_SOON";
25500
- var EXPIRED = "EXPIRED";
25501
- var textMargin = textAlign === "right" ? "auto" : "0";
25502
-
25503
- switch (expirationStatus) {
25504
- case ACTIVE:
25505
- return /*#__PURE__*/React.createElement(Text$1, {
25506
- as: as,
25507
- variant: "pXS",
25508
- color: ASH_GREY,
25509
- extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
25510
- }, "Exp Date ", expireDate);
25511
-
25512
- case EXPIRING_SOON:
25513
- return /*#__PURE__*/React.createElement(Text$1, {
25514
- as: as,
25515
- variant: "pXS",
25516
- color: FIRE_YELLOW,
25517
- extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
25518
- }, "Expiring Soon ", expireDate);
25519
-
25520
- case EXPIRED:
25521
- return /*#__PURE__*/React.createElement(Text$1, {
25522
- as: as,
25523
- variant: "pXS",
25524
- color: ASH_GREY,
25525
- extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
25526
- }, "Expired");
25527
- }
25528
- };
25529
-
25530
- var formats = /*#__PURE__*/Object.freeze({
25531
- __proto__: null,
25532
- formatDelimiter: formatDelimiter,
25533
- phoneFormats: phoneFormats,
25534
- moneyFormats: moneyFormats,
25535
- expirationDateFormats: expirationDateFormats,
25536
- zipFormat: zipFormat,
25537
- creditCardFormat: creditCardFormat,
25538
- expirationDateFormat: expirationDateFormat,
25539
- phoneFormat: phoneFormat,
25540
- moneyFormat: moneyFormat,
25541
- renderCardStatus: renderCardStatus
25542
- });
25543
-
25544
- var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
25545
- var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
25546
- // Only move focus when "hasErrors" is true
25547
- // "hasErrors" is managed by container page of form
25548
- // typically set to "true" on attempted form submission, if errors exist
25549
- // Reset errors, if provided, resets the error state tracking in order to properly re-run
25550
- useEffect$1(function () {
25551
- if (hasErrors) {
25552
- var _inputsWithErrors$;
25553
-
25554
- var inputsWithErrors = document.querySelectorAll("input[aria-invalid=true]");
25555
- inputsWithErrors === null || inputsWithErrors === void 0 ? void 0 : (_inputsWithErrors$ = inputsWithErrors[0]) === null || _inputsWithErrors$ === void 0 ? void 0 : _inputsWithErrors$.focus();
25556
- }
25557
-
25558
- return function () {
25559
- return resetHasErrors(false);
25560
- };
25561
- });
25562
- };
25563
-
25564
- /*
25565
- Hook that assigns a click event listener to the main document element
25566
- Returns a ref to attach to another element (like an icon/button that triggers a popover)
25567
- If a click event gets captured by the document and the assigned element isn't the target
25568
- hook will run whatever handler is passed (eg a function that closes a popover)
25569
-
25570
- See popover component for implementation
25571
-
25572
- */
25573
-
25574
- var useOutsideClickHook = function useOutsideClickHook(handler) {
25575
- var ref = useRef();
25576
- useEffect$1(function () {
25577
- }, [ref]);
25578
- return ref;
25579
- };
25580
-
25581
- var initialToastState = {
25582
- isOpen: false,
25583
- variant: "",
25584
- message: ""
25585
- };
25586
-
25587
- var useToastNotification = function useToastNotification() {
25588
- var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
25589
- _ref$timeout = _ref.timeout,
25590
- timeout = _ref$timeout === void 0 ? 5000 : _ref$timeout;
25591
-
25592
- var _useState = useState(initialToastState),
25593
- _useState2 = _slicedToArray(_useState, 2),
25594
- toastState = _useState2[0],
25595
- setToastState = _useState2[1];
25596
-
25597
- useEffect$1(function () {
25598
- if (toastState.isOpen) {
25599
- setTimeout(function () {
25600
- setToastState(initialToastState);
25601
- }, timeout);
25602
- }
25603
- }, [timeout, toastState.isOpen]);
25604
-
25605
- var showToast = function showToast(_ref2) {
25606
- var message = _ref2.message,
25607
- variant = _ref2.variant;
25608
- return setToastState({
25609
- isOpen: true,
25610
- variant: variant,
25611
- message: message
25612
- });
25613
- };
25614
-
25615
- var hideToast = function hideToast() {
25616
- return setToastState(initialToastState);
25617
- };
25618
-
25619
- return {
25620
- isToastOpen: toastState.isOpen,
25621
- toastVariant: toastState.variant,
25622
- toastMessage: toastState.message,
25623
- showToast: showToast,
25624
- hideToast: hideToast
25625
- };
25626
- };
25627
-
25628
-
25629
-
25630
- var index$4 = /*#__PURE__*/Object.freeze({
25631
- __proto__: null,
25632
- formats: formats,
25633
- general: general,
25634
- theme: themeUtils,
25635
- useFocusInvalidInput: useFocusInvalidInput,
25636
- useOutsideClick: useOutsideClickHook,
25637
- useToastNotification: useToastNotification
25638
- });
25639
-
25640
- var hoverColor$4 = "#116285";
25641
- var activeColor$4 = "#0E506D";
25642
- var popoverTriggerColor = "#15749D";
25643
- var fallbackValues$j = {
25644
- hoverColor: hoverColor$4,
25645
- activeColor: activeColor$4,
25646
- popoverTriggerColor: popoverTriggerColor
25647
- };
25648
-
25649
- var arrowBorder = function arrowBorder(borderColor, direction) {
25650
- var width = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "8px";
25651
- var angle = "".concat(width, " solid transparent");
25652
- var straight = "".concat(width, " solid ").concat(borderColor);
25653
-
25654
- if (direction == "down") {
25655
- return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-top: ").concat(straight);
25656
- } else if (direction == "up") {
25657
- return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-bottom: ").concat(straight);
25658
- } else if (direction == "left") {
25659
- return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-right: ").concat(straight);
25660
- } else if (direction == "right") {
25661
- return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-left: ").concat(straight);
25662
- }
25663
- };
25664
-
25665
- var Popover = function Popover(_ref) {
25666
- var themeValues = _ref.themeValues,
25667
- _ref$triggerText = _ref.triggerText,
25668
- triggerText = _ref$triggerText === void 0 ? "" : _ref$triggerText,
25669
- _ref$content = _ref.content,
25670
- content = _ref$content === void 0 ? "" : _ref$content,
25671
- _ref$hasIcon = _ref.hasIcon,
25672
- hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
25673
- Icon = _ref.icon,
25674
- _ref$iconHelpText = _ref.iconHelpText,
25675
- iconHelpText = _ref$iconHelpText === void 0 ? "" : _ref$iconHelpText,
25676
- _ref$popoverID = _ref.popoverID,
25677
- popoverID = _ref$popoverID === void 0 ? 0 : _ref$popoverID,
25678
- _ref$popoverFocus = _ref.popoverFocus,
25679
- popoverFocus = _ref$popoverFocus === void 0 ? false : _ref$popoverFocus,
25680
- extraStyles = _ref.extraStyles,
25681
- textExtraStyles = _ref.textExtraStyles,
25682
- _ref$minWidth = _ref.minWidth,
25683
- minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
25684
- _ref$maxWidth = _ref.maxWidth,
25685
- maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
25686
- _ref$height = _ref.height,
25687
- height = _ref$height === void 0 ? "auto" : _ref$height,
25688
- position = _ref.position,
25689
- arrowPosition = _ref.arrowPosition,
25690
- _ref$arrowDirection = _ref.arrowDirection,
25691
- arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
25692
- _ref$transform = _ref.transform,
25693
- transform = _ref$transform === void 0 ? "none" : _ref$transform,
25694
- buttonExtraStyles = _ref.buttonExtraStyles,
25695
- _ref$backgroundColor = _ref.backgroundColor,
25696
- backgroundColor = _ref$backgroundColor === void 0 ? "white" : _ref$backgroundColor,
25697
- _ref$borderColor = _ref.borderColor,
25698
- borderColor = _ref$borderColor === void 0 ? "rgba(255, 255, 255, 0.85)" : _ref$borderColor,
25699
- popoverExtraStyles = _ref.popoverExtraStyles;
25700
- var hoverColor = themeValues.hoverColor,
25701
- activeColor = themeValues.activeColor,
25702
- popoverTriggerColor = themeValues.popoverTriggerColor;
25703
-
25704
- var _ref2 = position !== null && position !== void 0 ? position : {},
25705
- _ref2$top = _ref2.top,
25706
- top = _ref2$top === void 0 ? "-110px" : _ref2$top,
25707
- _ref2$right = _ref2.right,
25708
- right = _ref2$right === void 0 ? "auto" : _ref2$right,
25709
- _ref2$bottom = _ref2.bottom,
25710
- bottom = _ref2$bottom === void 0 ? "auto" : _ref2$bottom,
25711
- _ref2$left = _ref2.left,
25712
- left = _ref2$left === void 0 ? "-225px" : _ref2$left;
25713
-
25714
- var _ref3 = arrowPosition !== null && arrowPosition !== void 0 ? arrowPosition : {},
25715
- _ref3$arrowTop = _ref3.arrowTop,
25716
- arrowTop = _ref3$arrowTop === void 0 ? "auto" : _ref3$arrowTop,
25717
- _ref3$arrowRight = _ref3.arrowRight,
25718
- arrowRight = _ref3$arrowRight === void 0 ? "10px" : _ref3$arrowRight,
25719
- _ref3$arrowBottom = _ref3.arrowBottom,
25720
- arrowBottom = _ref3$arrowBottom === void 0 ? "-8px" : _ref3$arrowBottom,
25721
- _ref3$arrowLeft = _ref3.arrowLeft,
25722
- arrowLeft = _ref3$arrowLeft === void 0 ? "auto" : _ref3$arrowLeft;
25723
-
25724
- var _useState = useState(false),
25725
- _useState2 = _slicedToArray(_useState, 2),
25726
- popoverOpen = _useState2[0],
25727
- togglePopover = _useState2[1];
25728
-
25729
- var handleTogglePopover = function handleTogglePopover(popoverState) {
25730
- if (popoverOpen !== popoverState) {
25731
- togglePopover(popoverState);
25732
- }
25733
- };
25734
-
25735
- var triggerRef = useOutsideClickHook();
25736
- return /*#__PURE__*/React.createElement(Box, {
25737
- padding: "0",
25738
- extraStyles: "position: relative; ".concat(extraStyles)
25739
- }, /*#__PURE__*/React.createElement(ButtonWithAction, {
25740
- action: function action() {
25741
- return noop;
25742
- },
25743
- onFocus: function onFocus() {
25744
- handleTogglePopover(true);
25745
- },
25746
- onBlur: function onBlur() {
25747
- handleTogglePopover(false);
25748
- },
25749
- onKeyDown: function onKeyDown(e) {
25750
- if (e.keyCode === 27) {
25751
- handleTogglePopover(false);
25752
- }
25753
- },
25754
- onTouchStart: function onTouchStart() {
25755
- return handleTogglePopover(true);
25756
- },
25757
- onTouchEnd: function onTouchEnd() {
25758
- return handleTogglePopover(false);
25759
- },
25760
- onMouseEnter: function onMouseEnter() {
25761
- return handleTogglePopover(true);
25762
- },
25763
- onMouseLeave: function onMouseLeave() {
25764
- return handleTogglePopover(false);
25765
- },
25766
- contentOverride: true,
25767
- variant: "smallGhost",
25768
- tabIndex: "0",
25769
- id: "btnPopover".concat(popoverID),
25770
- "aria-expanded": popoverOpen,
25771
- "aria-labelledby": "btnPopover".concat(popoverID, "_info Disclosure").concat(popoverID),
25772
- "aria-describedby": "Disclosure".concat(popoverID),
25773
- "aria-controls": "Disclosed".concat(popoverID),
25774
- ref: triggerRef,
25775
- extraStyles: buttonExtraStyles
25776
- }, hasIcon && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, null), /*#__PURE__*/React.createElement(Box, {
25777
- padding: "0",
25778
- srOnly: true
25779
- }, /*#__PURE__*/React.createElement(Text$1, {
25780
- id: "btnPopover".concat(popoverID, "_info")
25781
- }, iconHelpText))), !hasIcon && /*#__PURE__*/React.createElement(Text$1, {
25782
- color: popoverTriggerColor,
25783
- extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
25784
- }, triggerText)), /*#__PURE__*/React.createElement(Box, {
25785
- background: backgroundColor,
25786
- borderRadius: "4px",
25787
- boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
25788
- id: "Disclosed".concat(popoverID),
25789
- role: "region",
25790
- "aria-describedby": "Disclosure".concat(popoverID),
25791
- tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
25792
- minWidth: minWidth,
25793
- maxWidth: maxWidth,
25794
- extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ").concat(popoverExtraStyles, ";\n ")
25795
- }, /*#__PURE__*/React.createElement(Paragraph$1, null, content), /*#__PURE__*/React.createElement(Box, {
25796
- padding: "0",
25797
- extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
25798
- })));
25799
- };
25800
-
25801
- var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$j);
25802
-
25803
- var DisplayCard = function DisplayCard(_ref) {
25804
- var title = _ref.title,
25805
- item = _ref.item,
25806
- buttonText = _ref.buttonText,
25807
- buttonAction = _ref.buttonAction,
25808
- url = _ref.url,
25809
- _ref$link = _ref.link,
25810
- link = _ref$link === void 0 ? false : _ref$link,
25811
- helpText = _ref.helpText,
25812
- _ref$hasPopover = _ref.hasPopover,
25813
- hasPopover = _ref$hasPopover === void 0 ? false : _ref$hasPopover,
25814
- _ref$popoverTriggerTe = _ref.popoverTriggerText,
25815
- popoverTriggerText = _ref$popoverTriggerTe === void 0 ? "" : _ref$popoverTriggerTe,
25816
- _ref$popoverContent = _ref.popoverContent,
25817
- popoverContent = _ref$popoverContent === void 0 ? "" : _ref$popoverContent,
25818
- popoverExtraStyles = _ref.popoverExtraStyles,
25819
- popoverTextExtraStyles = _ref.popoverTextExtraStyles;
25820
- return /*#__PURE__*/React.createElement(Box, {
25821
- padding: "0 0 16px"
25822
- }, /*#__PURE__*/React.createElement(Stack, {
25823
- childGap: "0rem"
25824
- }, /*#__PURE__*/React.createElement(Box, {
25825
- padding: "0 0 8px 0"
25826
- }, /*#__PURE__*/React.createElement(Cluster, {
25827
- justify: "space-between",
25828
- align: "center",
25829
- overflow: true
25830
- }, /*#__PURE__*/React.createElement(Paragraph$1, {
25831
- variant: "pL",
25832
- color: CHARADE_GREY,
25833
- extraStyles: "letter-spacing: 0.29px"
25834
- }, title), hasPopover && /*#__PURE__*/React.createElement(Popover$1, {
25835
- triggerText: popoverTriggerText,
25836
- content: popoverContent,
25837
- popoverExtraStyles: popoverExtraStyles,
25838
- popoverTextExtraStyles: popoverTextExtraStyles
25839
- }))), /*#__PURE__*/React.createElement(Box, {
25840
- padding: "0"
25841
- }, /*#__PURE__*/React.createElement(Box, {
25842
- padding: "24px",
25843
- borderSize: "1px",
25844
- borderRadius: "4px",
25845
- background: WHITE,
25846
- boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
25847
- }, /*#__PURE__*/React.createElement(Cluster, {
25848
- justify: "space-between",
25849
- align: "center"
25850
- }, /*#__PURE__*/React.createElement(Text$1, {
25851
- color: CHARADE_GREY
25852
- }, item), link ? /*#__PURE__*/React.createElement(ButtonWithLink, {
25853
- text: buttonText,
25854
- url: url,
25855
- variant: "smallGhost",
25856
- dataQa: buttonText,
25857
- extraStyles: "min-width: 0;"
25858
- }) : buttonAction ? /*#__PURE__*/React.createElement(ButtonWithAction, {
25859
- text: buttonText,
25860
- action: buttonAction,
25861
- variant: "smallGhost",
25862
- dataQa: buttonText,
25863
- extraStyles: "min-width: 0;"
25864
- }) : helpText ? /*#__PURE__*/React.createElement(Text$1, {
25865
- color: STORM_GREY,
25866
- extraStyles: "font-style: italic;"
25867
- }, helpText) : /*#__PURE__*/React.createElement(Fragment$1, null))))));
25868
- };
25869
-
25870
25857
  var linkColor$2 = {
25871
25858
  "default": "".concat(MATISSE_BLUE),
25872
25859
  disabled: "".concat(MATISSE_BLUE)
@@ -26333,6 +26320,66 @@ var fallbackValues$n = {
26333
26320
  autopayTextColor: autopayTextColor$1
26334
26321
  };
26335
26322
 
26323
+ var formatDelimiter = "_";
26324
+ var phoneFormats = ["", "_", "__", "(___) ", "(___) _", "(___) __", "(___) ___-", "(___) ___-_", "(___) ___-__", "(___) ___-___", "(___) ___-____"];
26325
+ var zipFormats = ["", "_", "__", "___", "____", "_____", "______", "_____-__", "_____-___", "_____-____"];
26326
+ var creditCardFormats = ["", "_", "__", "___", "____", "____ _", "____ __", "____ ___", "____ ____", "____ ____ _", "____ ____ __", "____ ____ ___", "____ ____ ____", "____ ____ ____ _", "____ ____ ____ __", "____ ____ ____ ___", "____ ____ ____ ____"];
26327
+ var moneyFormats = ["", "$0.0_", "$0.__", "$_.__", "$__.__", "$___.__", "$_,___.__", "$__,___.__", "$___,___.__", "$_,___,___.__", "$__,___,___.__", "$___,___,___.__", "$_,___,___,___.__", "$__,___,___,___.__", "$___,___,___,___.__", "$_,___,___,___,___.__"];
26328
+ var expirationDateFormats = ["", "_", "__/", "__/_", "__/__"];
26329
+ var zipFormat = createFormat(zipFormats, formatDelimiter);
26330
+ var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
26331
+ var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
26332
+ var phoneFormat = createFormat(phoneFormats, formatDelimiter);
26333
+ var moneyFormat = createFormat(moneyFormats, formatDelimiter);
26334
+ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
26335
+ var textAlign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "right";
26336
+ var as = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "span";
26337
+ var ACTIVE = "ACTIVE";
26338
+ var EXPIRING_SOON = "EXPIRING_SOON";
26339
+ var EXPIRED = "EXPIRED";
26340
+ var textMargin = textAlign === "right" ? "auto" : "0";
26341
+
26342
+ switch (expirationStatus) {
26343
+ case ACTIVE:
26344
+ return /*#__PURE__*/React.createElement(Text$1, {
26345
+ as: as,
26346
+ variant: "pXS",
26347
+ color: ASH_GREY,
26348
+ extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26349
+ }, "Exp Date ", expireDate);
26350
+
26351
+ case EXPIRING_SOON:
26352
+ return /*#__PURE__*/React.createElement(Text$1, {
26353
+ as: as,
26354
+ variant: "pXS",
26355
+ color: FIRE_YELLOW,
26356
+ extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26357
+ }, "Expiring Soon ", expireDate);
26358
+
26359
+ case EXPIRED:
26360
+ return /*#__PURE__*/React.createElement(Text$1, {
26361
+ as: as,
26362
+ variant: "pXS",
26363
+ color: ASH_GREY,
26364
+ extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
26365
+ }, "Expired");
26366
+ }
26367
+ };
26368
+
26369
+ var formats = /*#__PURE__*/Object.freeze({
26370
+ __proto__: null,
26371
+ formatDelimiter: formatDelimiter,
26372
+ phoneFormats: phoneFormats,
26373
+ moneyFormats: moneyFormats,
26374
+ expirationDateFormats: expirationDateFormats,
26375
+ zipFormat: zipFormat,
26376
+ creditCardFormat: creditCardFormat,
26377
+ expirationDateFormat: expirationDateFormat,
26378
+ phoneFormat: phoneFormat,
26379
+ moneyFormat: moneyFormat,
26380
+ renderCardStatus: renderCardStatus
26381
+ });
26382
+
26336
26383
  var CreditCardWrapper = styled.div.withConfig({
26337
26384
  displayName: "FormattedCreditCard__CreditCardWrapper",
26338
26385
  componentId: "sc-s0ta5l-0"
@@ -27277,7 +27324,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
27277
27324
  var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$u);
27278
27325
 
27279
27326
  var activeColor$6 = "".concat(MATISSE_BLUE);
27280
- var inactiveColor = "".concat(GREY_CHATEAU);
27327
+ var inactiveColor = "".concat(STORM_GREY);
27281
27328
  var fallbackValues$v = {
27282
27329
  activeColor: activeColor$6,
27283
27330
  inactiveColor: inactiveColor
@@ -27310,19 +27357,21 @@ var RadioButton$1 = function RadioButton(_ref2) {
27310
27357
  var buttonBorder = {
27311
27358
  onFocused: {
27312
27359
  borderColor: themeValues.activeColor,
27313
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27360
+ outline: "3px solid ".concat(themeValues.activeColor),
27361
+ outlineOffset: "2px"
27314
27362
  },
27315
27363
  offFocused: {
27316
27364
  borderColor: themeValues.activeColor,
27317
- boxShadow: "0px 0px 4px 0px ".concat(themeValues.activeColor)
27365
+ outline: "3px solid ".concat(themeValues.activeColor),
27366
+ outlineOffset: "2px"
27318
27367
  },
27319
27368
  on: {
27320
27369
  borderColor: themeValues.activeColor,
27321
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27370
+ outline: "0"
27322
27371
  },
27323
27372
  off: {
27324
27373
  borderColor: themeValues.inactiveColor,
27325
- boxShadow: "0px 0px 0px 0px #FFFFFF"
27374
+ outline: "0"
27326
27375
  }
27327
27376
  };
27328
27377
  var buttonCenter = {
@@ -27371,7 +27420,7 @@ var RadioButton$1 = function RadioButton(_ref2) {
27371
27420
  borderWidth: "1px",
27372
27421
  borderStyle: "solid",
27373
27422
  borderRadius: "12px",
27374
- margin: "4px 14px 4px 4px",
27423
+ margin: "6px 14px 6px 6px",
27375
27424
  height: "24px",
27376
27425
  width: "24px",
27377
27426
  variants: buttonBorder,
@@ -48858,43 +48907,6 @@ var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
48858
48907
  })))));
48859
48908
  };
48860
48909
 
48861
- /*
48862
- Hook that takes an ID selector for an element on the screen
48863
- And optionally values for top position, left position, smooth behavior
48864
- Finds element on screen and scrolls it to the provided coordinates
48865
-
48866
- (string, number, number, string, number) => undefined;
48867
- */
48868
- var useScrollTo = function useScrollTo(id) {
48869
- var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
48870
- var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
48871
- var behavior = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "auto";
48872
- var delay = arguments.length > 4 ? arguments[4] : undefined;
48873
- var scrollItem;
48874
-
48875
- if (delay) {
48876
- setTimeout(function () {
48877
- var _scrollItem;
48878
-
48879
- scrollItem = document.getElementById(id);
48880
- (_scrollItem = scrollItem) === null || _scrollItem === void 0 ? void 0 : _scrollItem.scrollTo({
48881
- top: top,
48882
- left: left,
48883
- behavior: behavior
48884
- });
48885
- }, delay);
48886
- } else {
48887
- var _scrollItem2;
48888
-
48889
- scrollItem = document.getElementById(id);
48890
- (_scrollItem2 = scrollItem) === null || _scrollItem2 === void 0 ? void 0 : _scrollItem2.scrollTo({
48891
- top: top,
48892
- left: left,
48893
- behavior: behavior
48894
- });
48895
- }
48896
- };
48897
-
48898
48910
  var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
48899
48911
  var _ref$showCheckbox = _ref.showCheckbox,
48900
48912
  showCheckbox = _ref$showCheckbox === void 0 ? true : _ref$showCheckbox,
@@ -50356,19 +50368,19 @@ var ToastNotification = function ToastNotification(_ref) {
50356
50368
  backgroundColor = _ref.backgroundColor;
50357
50369
  return /*#__PURE__*/React.createElement(Box, {
50358
50370
  onClick: closeToastNotification,
50359
- background: backgroundColor ? backgroundColor : variant === VARIANTS.SUCCESS ? HINT_GREEN : variant === "error" ? ERROR_BACKGROUND_COLOR : WHITE,
50371
+ background: backgroundColor ? backgroundColor : variant === VARIANTS.SUCCESS ? HINT_GREEN : variant === VARIANTS.ERROR ? ERROR_BACKGROUND_COLOR : WHITE,
50360
50372
  minWidth: minWidth,
50361
50373
  minHeight: height && parseInt(height) < 100 ? height : "100px",
50362
50374
  height: height ? height : "auto",
50363
50375
  tabIndex: toastOpen ? "-1" : "0",
50364
50376
  padding: "0rem 1rem",
50365
50377
  borderRadius: "4px",
50366
- boxShadow: "0px 4px 4px rgba(41, 42, 51, 0.15), 0px 1px 7px rgba(41, 42, 51, 0.2), 0px 7px 12px rgba(41, 42, 51, 0.15)",
50378
+ boxShadow: generateShadows().standard.base,
50367
50379
  extraStyles: "\n display: ".concat(toastOpen ? "block" : "none", ";\n position: fixed; bottom: 4rem; left: 4rem;\n ").concat(extraStyles, ";\n cursor: pointer;\n ")
50368
50380
  }, /*#__PURE__*/React.createElement(Cluster, {
50369
50381
  align: "center",
50370
50382
  childGap: childGap
50371
- }, variant === "success" && /*#__PURE__*/React.createElement(SuccessfulIconMedium, null), variant === "error" && /*#__PURE__*/React.createElement(ErroredIcon, null), /*#__PURE__*/React.createElement(Box, {
50383
+ }, variant === VARIANTS.SUCCESS && /*#__PURE__*/React.createElement(SuccessfulIconMedium, null), variant === VARIANTS.ERROR && /*#__PURE__*/React.createElement(ErroredIcon, null), /*#__PURE__*/React.createElement(Box, {
50372
50384
  padding: "1rem 0",
50373
50385
  maxWidth: maxWidth
50374
50386
  }, /*#__PURE__*/React.createElement(Paragraph$1, {
@@ -50749,5 +50761,37 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
50749
50761
 
50750
50762
  var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$U));
50751
50763
 
50752
- export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$5 as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$4 as util, withWindowSize };
50764
+ var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
50765
+ var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
50766
+ // Only move focus when "hasErrors" is true
50767
+ // "hasErrors" is managed by container page of form
50768
+ // typically set to "true" on attempted form submission, if errors exist
50769
+ // Reset errors, if provided, resets the error state tracking in order to properly re-run
50770
+ useEffect$1(function () {
50771
+ if (hasErrors) {
50772
+ var _inputsWithErrors$;
50773
+
50774
+ var inputsWithErrors = document.querySelectorAll("input[aria-invalid=true]");
50775
+ inputsWithErrors === null || inputsWithErrors === void 0 ? void 0 : (_inputsWithErrors$ = inputsWithErrors[0]) === null || _inputsWithErrors$ === void 0 ? void 0 : _inputsWithErrors$.focus();
50776
+ }
50777
+
50778
+ return function () {
50779
+ return resetHasErrors(false);
50780
+ };
50781
+ });
50782
+ };
50783
+
50784
+
50785
+
50786
+ var index$6 = /*#__PURE__*/Object.freeze({
50787
+ __proto__: null,
50788
+ formats: formats,
50789
+ general: general,
50790
+ theme: themeUtils,
50791
+ useFocusInvalidInput: useFocusInvalidInput,
50792
+ useOutsideClick: useOutsideClickHook,
50793
+ useToastNotification: useToastNotification
50794
+ });
50795
+
50796
+ export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, PointOfSaleImage, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RevenueManagementImage, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading_styled as TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index$5 as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$4 as hooks, index$6 as util, withWindowSize };
50753
50797
  //# sourceMappingURL=index.esm.js.map