@thecb/components 7.1.0-beta.2 → 7.1.1-beta.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.cjs.js +369 -50
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +88 -1
- package/dist/index.esm.js +367 -51
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/atoms/icons/ClipboardIcon.js +42 -0
- package/src/components/atoms/icons/{ExternalLinkIcon.js → ExternalLinkicon.js} +0 -0
- package/src/components/atoms/icons/WalletBannerIcon.js +52 -0
- package/src/components/atoms/icons/index.js +3 -1
- package/src/components/atoms/nav-tabs/NavTab.js +1 -1
- package/src/components/atoms/placeholder/Placeholder.js +20 -6
- package/src/components/molecules/banner/Banner.js +56 -0
- package/src/components/molecules/banner/Banner.stories.js +29 -0
- package/src/components/molecules/banner/Banner.theme.js +5 -0
- package/src/components/molecules/banner/index.js +3 -0
- package/src/components/molecules/collapsible-section/index.d.ts +25 -0
- package/src/components/molecules/copyable/Copyable.js +139 -0
- package/src/components/molecules/copyable/index.d.ts +18 -0
- package/src/components/molecules/copyable/index.js +3 -0
- package/src/components/molecules/editable-table/index.d.ts +23 -0
- package/src/components/molecules/index.d.ts +4 -0
- package/src/components/molecules/index.js +2 -0
- package/src/components/molecules/modal/Modal.js +8 -3
- package/src/components/molecules/popover/Popover.js +33 -3
- package/src/components/molecules/popover/index.d.ts +29 -0
package/dist/index.cjs.js
CHANGED
|
@@ -15631,6 +15631,42 @@ var CashIcon = function CashIcon() {
|
|
|
15631
15631
|
}));
|
|
15632
15632
|
};
|
|
15633
15633
|
|
|
15634
|
+
var WalletBannerIcon = function WalletBannerIcon(_ref) {
|
|
15635
|
+
var themeValues = _ref.themeValues;
|
|
15636
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15637
|
+
width: "317",
|
|
15638
|
+
height: "166",
|
|
15639
|
+
viewBox: "0 0 317 166",
|
|
15640
|
+
fill: "none",
|
|
15641
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
15642
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15643
|
+
opacity: "0.301503",
|
|
15644
|
+
fillRule: "evenodd",
|
|
15645
|
+
clipRule: "evenodd",
|
|
15646
|
+
d: "M157.432 143.31C173.852 143.31 187.163 146.266 187.163 149.912C187.163 153.558 173.852 156.514 157.432 156.514C141.012 156.514 127.701 153.558 127.701 149.912C127.701 146.266 141.012 143.31 157.432 143.31ZM41.3941 87.7459C46.9893 87.7459 51.584 92.0228 52.0911 97.4855C53.1543 96.7244 54.4526 96.2715 55.8593 96.2715C59.4395 96.2715 62.3423 99.1744 62.3423 102.755C62.3423 106.335 59.4395 109.238 55.8593 109.238H26.5139C22.3239 109.238 18.9268 105.841 18.9268 101.65C18.9268 97.4605 22.3239 94.0633 26.5139 94.0633C28.2175 94.0633 29.7842 94.6317 31.0509 95.5794C32.3211 91.0603 36.4686 87.7459 41.3941 87.7459ZM289.555 54.7295C291.057 54.7295 292.275 55.9473 292.275 57.4495V79.08C292.275 80.5822 291.057 81.8 289.555 81.8H252.252C250.75 81.8 249.532 80.5822 249.532 79.08V57.4495C249.532 55.9473 250.75 54.7295 252.252 54.7295H289.555ZM64.3171 53.0475C66.8713 53.0475 69.0467 54.6476 69.9112 56.8984C70.1319 56.8362 70.3633 56.8011 70.6035 56.8011C71.4206 56.8011 72.147 57.1854 72.6164 57.7815C73.0915 57.5674 73.6177 57.4452 74.1728 57.4452C76.2714 57.4452 77.9725 59.147 77.9725 61.2464C77.9725 63.3457 76.2714 65.0475 74.1728 65.0475H57.7722C55.6737 65.0475 53.9725 63.3457 53.9725 61.2464C53.9725 59.147 55.6737 57.4452 57.7722 57.4452C58.0293 57.4452 58.2802 57.4714 58.5227 57.5203C59.199 54.9474 61.5333 53.0475 64.3171 53.0475ZM194.464 27C200.473 27 205.344 31.8711 205.344 37.88V39.3591L93.4999 41.3254V34.48C93.4999 30.3489 96.8488 27 100.98 27H194.464ZM40.8804 21.0475C43.8206 21.0475 46.3247 22.8887 47.32 25.4787C47.574 25.4072 47.8403 25.3668 48.1169 25.3668C49.0574 25.3668 49.8936 25.8089 50.4339 26.4949C50.9809 26.2485 51.5866 26.108 52.2255 26.108C54.6413 26.108 56.5995 28.0662 56.5995 30.4819C56.5995 32.8976 54.6413 34.8559 52.2255 34.8559H33.3465C30.9307 34.8559 28.9725 32.8976 28.9725 30.4819C28.9725 28.0662 30.9307 26.108 33.3465 26.108C33.6424 26.108 33.9312 26.1381 34.2103 26.1943C34.9888 23.2337 37.676 21.0475 40.8804 21.0475ZM244.693 7C247.633 7 250.138 8.84119 251.133 11.4312C251.386 11.3597 251.653 11.3193 251.93 11.3193C252.871 11.3193 253.706 11.7614 254.246 12.4474C254.794 12.201 255.399 12.0604 256.038 12.0604C258.454 12.0604 260.412 14.0187 260.412 16.4344C260.412 18.8501 258.454 20.8084 256.038 20.8084H237.159C234.744 20.8084 232.785 18.8501 232.785 16.4344C232.785 14.0187 234.744 12.0604 237.159 12.0604C237.455 12.0604 237.744 12.0906 238.024 12.1468C238.802 9.18622 241.488 7 244.693 7Z",
|
|
15647
|
+
fill: themeValues.singleIconColor
|
|
15648
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
15649
|
+
d: "M214.62 39.3979H104.38C98.3711 39.3979 93.5 44.2691 93.5 50.278V125.518C93.5 131.527 98.3711 136.398 104.38 136.398H214.62C220.629 136.398 225.5 131.527 225.5 125.518V50.278C225.5 44.2691 220.629 39.3979 214.62 39.3979Z",
|
|
15650
|
+
fill: "white"
|
|
15651
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
15652
|
+
d: "M283.856 61.1409H246.553C245.051 61.1409 243.833 62.3587 243.833 63.8609V85.4913C243.833 86.9936 245.051 88.2113 246.553 88.2113H283.856C285.359 88.2113 286.576 86.9936 286.576 85.4913V63.8609C286.576 62.3587 285.359 61.1409 283.856 61.1409Z",
|
|
15653
|
+
fill: "#CACED8"
|
|
15654
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
15655
|
+
d: "M280.7 124.181C281.827 124.152 282.764 125.041 282.793 126.167C282.822 127.242 282.013 127.744 280.96 127.85L280.808 127.86L265.557 128.26C264.431 128.29 263.494 127.401 263.464 126.274C263.436 125.199 264.245 124.297 265.298 124.191L265.45 124.181H280.7ZM88.0248 124.181C89.1514 124.194 90.0536 125.119 90.04 126.245C90.0269 127.321 89.1841 128.192 88.1277 128.257L87.9754 128.261H64.9185C63.7919 128.247 62.8897 127.323 62.9033 126.196C62.9163 125.121 63.7591 124.25 64.8156 124.185L64.9679 124.181H88.0248ZM56.9822 126.116C57.0376 127.19 56.2519 128.112 55.2018 128.245L55.05 128.258H47.2912C46.166 128.316 45.2068 127.451 45.1488 126.326C45.0933 125.252 45.879 124.329 46.9291 124.197L47.0809 124.183H54.8397C55.9649 124.125 56.9241 124.99 56.9822 126.116ZM224.423 124.358L255.529 124.364C256.604 124.352 257.487 125.157 257.5 126.163C257.513 127.123 256.729 127.919 255.722 128L255.577 128.006L224.471 128C223.396 128.012 222.513 127.207 222.5 126.201C222.488 125.241 223.272 124.445 224.278 124.364L224.423 124.358ZM286.576 67.5523V73.2514H243.833V67.5523H286.576ZM148.315 70C150.89 70 153.143 71.6682 154.017 74.1055C154.37 75.0909 153.858 76.1762 152.872 76.5295C151.936 76.8651 150.91 76.4194 150.507 75.5291L150.448 75.3848C150.103 74.4209 149.252 73.791 148.315 73.791C147.432 73.791 146.626 74.349 146.247 75.2183L146.18 75.3848C145.827 76.3703 144.742 76.8827 143.756 76.5295C142.771 76.1762 142.259 75.0909 142.612 74.1055C143.486 71.6681 145.738 70 148.315 70ZM171.828 70C174.404 70 176.656 71.6682 177.53 74.1055C177.883 75.0909 177.371 76.1762 176.386 76.5295C175.449 76.8651 174.423 76.4194 174.02 75.5291L173.962 75.3848C173.616 74.4209 172.765 73.791 171.828 73.791C170.945 73.791 170.14 74.349 169.76 75.2183L169.694 75.3848C169.34 76.3703 168.255 76.8827 167.27 76.5295C166.284 76.1762 165.772 75.0909 166.125 74.1055C166.999 71.6681 169.252 70 171.828 70ZM195.464 24.96C202.496 24.96 208.216 30.578 208.38 37.5706L208.384 37.88L208.383 39H215.548C221.557 39 226.428 43.8711 226.428 49.88V126.429C226.428 132.437 221.557 137.309 215.548 137.309H103.38C97.3712 137.309 92.5001 132.437 92.5001 126.429V44.325L92.4601 44.3254V34.48C92.4601 29.3129 96.5767 25.1072 101.709 24.9637L101.98 24.96H195.464ZM215.548 43.08L96.5801 43.081V126.429C96.5801 130.104 99.4964 133.099 103.141 133.224L103.38 133.229H215.548C219.223 133.229 222.218 130.312 222.344 126.667L222.348 126.429V49.88C222.348 46.2043 219.431 43.2098 215.786 43.0841L215.548 43.08ZM170.148 92.5353C171.195 92.5353 172.044 93.3839 172.044 94.4308C172.044 97.3486 169.736 99.7275 166.846 99.8418L166.628 99.8461H153.123C150.133 99.8461 147.709 97.4214 147.709 94.4308C147.709 93.3839 148.557 92.5353 149.604 92.5353C150.601 92.5353 151.418 93.305 151.494 94.2826L151.5 94.4308C151.5 95.278 152.148 95.9738 152.976 96.0485L153.123 96.0551H166.628C167.475 96.0551 168.171 95.4064 168.246 94.5786L168.253 94.4308C168.253 93.3839 169.101 92.5353 170.148 92.5353ZM283.856 61.1409C285.359 61.1409 286.576 62.3587 286.576 63.8609V85.4914C286.576 86.9936 285.359 88.2114 283.856 88.2114H246.553C245.051 88.2114 243.833 86.9936 243.833 85.4914V63.8609C243.833 62.3587 245.051 61.1409 246.553 61.1409H283.856ZM283.856 63.1809H246.553C246.212 63.1809 245.929 63.4325 245.881 63.7604L245.873 63.8609V85.4914C245.873 85.8328 246.125 86.1154 246.453 86.164L246.553 86.1714H283.856C284.198 86.1714 284.48 85.9198 284.529 85.5919L284.536 85.4914V63.8609C284.536 63.5195 284.285 63.2369 283.957 63.1883L283.856 63.1809ZM279.61 79.508C280.361 79.508 280.97 80.1169 280.97 80.868V80.9975C280.97 81.7486 280.361 82.3575 279.61 82.3575H272.357C271.606 82.3575 270.997 81.7486 270.997 80.9975V80.868C270.997 80.1169 271.606 79.508 272.357 79.508H279.61ZM195.464 29.04H101.98C99.049 29.04 96.6593 31.3582 96.5444 34.2612L96.5401 34.48V39H204.303L204.304 37.88C204.304 33.0849 200.486 29.1816 195.725 29.0437L195.464 29.04Z",
|
|
15656
|
+
fill: "#3B414D"
|
|
15657
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
15658
|
+
d: "M163.125 136.938L163.125 147.186L169.17 147.186C170.245 147.186 171.126 148.018 171.204 149.074L171.21 149.226C171.21 150.301 170.378 151.183 169.322 151.26L169.17 151.266H161.085C160.01 151.266 159.128 150.434 159.051 149.378L159.045 149.226V136.938H163.125ZM155.206 136.938V148.828C155.206 149.903 154.373 150.784 153.318 150.862L153.166 150.868H145.081C143.954 150.868 143.041 149.954 143.041 148.828C143.041 147.752 143.873 146.871 144.928 146.793L145.081 146.788L151.125 146.787L151.126 136.938H155.206ZM92.5043 102.345C92.4966 102.35 92.494 102.988 92.4932 103.823L92.4925 106.265C92.4924 106.341 92.4923 106.416 92.4922 106.488L92.4914 106.896C92.4899 107.403 92.4869 107.742 92.481 107.747C90.9028 109.118 88.694 111.036 85.8547 113.501L101.261 118.91C102.288 117.146 104.199 115.96 106.387 115.96C107.514 115.96 108.427 116.873 108.427 118C108.427 119.075 107.595 119.957 106.539 120.034L106.387 120.04C105.367 120.04 104.54 120.867 104.54 121.887C104.54 122.859 105.29 123.656 106.243 123.73L106.387 123.735H109.783C110.91 123.735 111.823 124.649 111.823 125.775C111.823 126.851 110.991 127.732 109.936 127.81L109.783 127.815H106.387C103.489 127.815 101.077 125.736 100.562 122.987L81.8461 116.42C81.1978 116.193 80.7368 115.671 80.5604 115.057C80.0263 114.262 80.1207 113.19 80.7967 112.499L80.9186 112.384L92.297 102.503C92.3387 102.467 92.4374 102.395 92.488 102.358L92.5043 102.345ZM268.895 93.9879C270.022 93.9879 270.935 94.9013 270.935 96.0279C270.935 97.1034 270.103 97.9845 269.047 98.0623L268.895 98.0679L263.322 98.0681C263.251 98.144 263.174 98.2153 263.09 98.281L262.96 98.3742L236.748 115.767C236.067 116.219 235.187 116.218 234.51 115.778L234.369 115.678C230.885 112.971 228.272 110.941 226.529 109.587C226.52 109.58 226.514 109.172 226.511 108.363L226.51 108.019C226.51 107.958 226.51 107.895 226.51 107.83L226.51 106.728C226.51 106.646 226.51 106.562 226.51 106.476L226.511 105.939C226.512 105.473 226.513 104.964 226.515 104.409L235.713 111.556L256.041 98.0675L252.027 98.0679C250.9 98.0679 249.987 97.1546 249.987 96.0279C249.987 94.9525 250.819 94.0714 251.875 93.9935L252.027 93.9879H268.895ZM240.628 66.1276C245.545 66.1276 249.532 70.1144 249.532 75.0323C249.532 79.9503 245.545 83.9371 240.628 83.9371C235.71 83.9371 231.723 79.9503 231.723 75.0323C231.723 70.1144 235.71 66.1276 240.628 66.1276ZM289.555 53.7295C291.543 53.7295 293.167 55.2893 293.27 57.2519L293.275 57.4495V79.08C293.275 81.0682 291.715 82.6921 289.753 82.7948L289.555 82.8L286.249 82.7948V80.7948L289.555 80.8C290.455 80.8 291.194 80.1088 291.269 79.2284L291.275 79.08L291.274 67.8395L286.275 67.84V62.1409L291.274 62.1405L291.275 57.4495C291.275 56.5496 290.584 55.8111 289.704 55.7358L289.555 55.7295H252.252C251.352 55.7295 250.614 56.4206 250.539 57.3011L250.532 57.4495V61.1409H248.532V57.4495C248.532 55.4613 250.092 53.8373 252.055 53.7346L252.252 53.7295H289.555Z",
|
|
15659
|
+
fill: themeValues.singleIconColor
|
|
15660
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
15661
|
+
fillRule: "evenodd",
|
|
15662
|
+
clipRule: "evenodd",
|
|
15663
|
+
d: "M241.696 70.4019L241.696 73.9629L245.258 73.9638V76.1009L241.696 76.1009L241.696 79.6628H239.559L239.558 76.1009L235.997 76.1009V73.9638L239.558 73.9629L239.559 70.4019H241.696Z",
|
|
15664
|
+
fill: "white"
|
|
15665
|
+
}));
|
|
15666
|
+
};
|
|
15667
|
+
|
|
15668
|
+
var WalletBannerIcon$1 = themeComponent(WalletBannerIcon, "Icons", fallbackValues$2, "primary");
|
|
15669
|
+
|
|
15634
15670
|
var color$2 = "#15749D";
|
|
15635
15671
|
var hoverColor$1 = "#116285";
|
|
15636
15672
|
var activeColor$1 = "#0E506D";
|
|
@@ -22795,6 +22831,22 @@ var fallbackValues$i = {
|
|
|
22795
22831
|
popoverTriggerColor: popoverTriggerColor
|
|
22796
22832
|
};
|
|
22797
22833
|
|
|
22834
|
+
var arrowBorder = function arrowBorder(direction) {
|
|
22835
|
+
var width = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "8px";
|
|
22836
|
+
var angle = "".concat(width, " solid transparent");
|
|
22837
|
+
var straight = "".concat(width, " solid rgba(255, 255, 255, 0.85)");
|
|
22838
|
+
|
|
22839
|
+
if (direction == "down") {
|
|
22840
|
+
return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-top: ").concat(straight);
|
|
22841
|
+
} else if (direction == "up") {
|
|
22842
|
+
return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-bottom: ").concat(straight);
|
|
22843
|
+
} else if (direction == "left") {
|
|
22844
|
+
return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-right: ").concat(straight);
|
|
22845
|
+
} else if (direction == "right") {
|
|
22846
|
+
return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-left: ").concat(straight);
|
|
22847
|
+
}
|
|
22848
|
+
};
|
|
22849
|
+
|
|
22798
22850
|
var Popover = function Popover(_ref) {
|
|
22799
22851
|
var themeValues = _ref.themeValues,
|
|
22800
22852
|
_ref$triggerText = _ref.triggerText,
|
|
@@ -22819,7 +22871,12 @@ var Popover = function Popover(_ref) {
|
|
|
22819
22871
|
_ref$height = _ref.height,
|
|
22820
22872
|
height = _ref$height === void 0 ? "auto" : _ref$height,
|
|
22821
22873
|
position = _ref.position,
|
|
22822
|
-
arrowPosition = _ref.arrowPosition
|
|
22874
|
+
arrowPosition = _ref.arrowPosition,
|
|
22875
|
+
_ref$arrowDirection = _ref.arrowDirection,
|
|
22876
|
+
arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
|
|
22877
|
+
_ref$transform = _ref.transform,
|
|
22878
|
+
transform = _ref$transform === void 0 ? "none" : _ref$transform,
|
|
22879
|
+
buttonExtraStyles = _ref.buttonExtraStyles;
|
|
22823
22880
|
var hoverColor = themeValues.hoverColor,
|
|
22824
22881
|
activeColor = themeValues.activeColor,
|
|
22825
22882
|
popoverTriggerColor = themeValues.popoverTriggerColor;
|
|
@@ -22894,7 +22951,8 @@ var Popover = function Popover(_ref) {
|
|
|
22894
22951
|
"aria-labelledby": "btnPopover".concat(popoverID, "_info Disclosure").concat(popoverID),
|
|
22895
22952
|
"aria-describedby": "Disclosure".concat(popoverID),
|
|
22896
22953
|
"aria-controls": "Disclosed".concat(popoverID),
|
|
22897
|
-
ref: triggerRef
|
|
22954
|
+
ref: triggerRef,
|
|
22955
|
+
extraStyles: buttonExtraStyles
|
|
22898
22956
|
}, hasIcon && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Icon, null), /*#__PURE__*/React__default.createElement(Box, {
|
|
22899
22957
|
padding: "0",
|
|
22900
22958
|
srOnly: true
|
|
@@ -22913,10 +22971,10 @@ var Popover = function Popover(_ref) {
|
|
|
22913
22971
|
tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
|
|
22914
22972
|
minWidth: minWidth,
|
|
22915
22973
|
maxWidth: maxWidth,
|
|
22916
|
-
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, "
|
|
22974
|
+
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 ")
|
|
22917
22975
|
}, /*#__PURE__*/React__default.createElement(Paragraph$1, null, content), /*#__PURE__*/React__default.createElement(Box, {
|
|
22918
22976
|
padding: "0",
|
|
22919
|
-
extraStyles: "position: absolute
|
|
22977
|
+
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(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 ")
|
|
22920
22978
|
})));
|
|
22921
22979
|
};
|
|
22922
22980
|
|
|
@@ -24045,6 +24103,22 @@ var fallbackValues$q = {
|
|
|
24045
24103
|
height: height$1
|
|
24046
24104
|
};
|
|
24047
24105
|
|
|
24106
|
+
var getLargeIcon = function getLargeIcon(iconName) {
|
|
24107
|
+
switch (iconName) {
|
|
24108
|
+
case "accounts":
|
|
24109
|
+
return /*#__PURE__*/React__default.createElement(AccountsAddIcon$1, null);
|
|
24110
|
+
|
|
24111
|
+
case "properties":
|
|
24112
|
+
return /*#__PURE__*/React__default.createElement(PropertiesAddIcon$1, null);
|
|
24113
|
+
|
|
24114
|
+
case "payments":
|
|
24115
|
+
return /*#__PURE__*/React__default.createElement(PaymentMethodAddIcon$1, null);
|
|
24116
|
+
|
|
24117
|
+
default:
|
|
24118
|
+
return /*#__PURE__*/React__default.createElement(AccountsAddIcon$1, null);
|
|
24119
|
+
}
|
|
24120
|
+
};
|
|
24121
|
+
|
|
24048
24122
|
var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
24049
24123
|
var isLink = _ref.isLink,
|
|
24050
24124
|
action = _ref.action,
|
|
@@ -24112,7 +24186,7 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
24112
24186
|
extraStyles: ".fill { \n fill: ".concat(variant === "large" ? CHARADE_GREY : themeValues.color, "; \n } .stroke { \n stroke: ").concat(variant === "large" ? CHARADE_GREY : themeValues.color, "; \n }")
|
|
24113
24187
|
}, variant === "large" ? /*#__PURE__*/React__default.createElement(Center, {
|
|
24114
24188
|
intrinsic: true
|
|
24115
|
-
}, largeIcon
|
|
24189
|
+
}, getLargeIcon(largeIcon), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24116
24190
|
variant: "pS",
|
|
24117
24191
|
color: themeValues.color,
|
|
24118
24192
|
weight: FONT_WEIGHT_REGULAR,
|
|
@@ -35340,7 +35414,7 @@ var NavTab = function NavTab(_ref) {
|
|
|
35340
35414
|
}, /*#__PURE__*/React__default.createElement(InternalLink, {
|
|
35341
35415
|
color: isActive ? themeValues.activeColor : themeValues.linkColor,
|
|
35342
35416
|
to: path,
|
|
35343
|
-
extraStyles: "\n border-bottom: 3px solid transparent;\n font-family: ".concat(themeValues.fontFamily, ";\n text-decoration: none;\n ").concat(isActive && !isMobile ? border : "none", ";\n &:hover {\n text-decoration: none;\n color: ").concat(themeValues.activeColor, ";\n ").concat(isMobile ? "" : "".concat(border), "\n };\n padding: 1.25rem 0
|
|
35417
|
+
extraStyles: "\n border-bottom: 3px solid transparent;\n font-family: ".concat(themeValues.fontFamily, ";\n text-decoration: none;\n ").concat(isActive && !isMobile ? border : "none", ";\n &:hover {\n text-decoration: none;\n color: ").concat(themeValues.activeColor, ";\n ").concat(isMobile ? "" : "".concat(border), "\n };\n padding: 1.25rem 0;\n ")
|
|
35344
35418
|
}, label));
|
|
35345
35419
|
};
|
|
35346
35420
|
|
|
@@ -37309,6 +37383,61 @@ AddressForm.reducer = reducer;
|
|
|
37309
37383
|
AddressForm.mapStateToProps = mapStateToProps$1;
|
|
37310
37384
|
AddressForm.mapDispatchToProps = mapDispatchToProps;
|
|
37311
37385
|
|
|
37386
|
+
var backgroundColor$6 = "#ebeffb";
|
|
37387
|
+
var fallbackValues$z = {
|
|
37388
|
+
backgroundColor: backgroundColor$6
|
|
37389
|
+
};
|
|
37390
|
+
|
|
37391
|
+
var Banner = function Banner(_ref) {
|
|
37392
|
+
var themeValues = _ref.themeValues,
|
|
37393
|
+
heading = _ref.heading,
|
|
37394
|
+
subHeading = _ref.subHeading,
|
|
37395
|
+
Image = _ref.image,
|
|
37396
|
+
_ref$padding = _ref.padding,
|
|
37397
|
+
padding = _ref$padding === void 0 ? "0.5rem 1.5rem" : _ref$padding,
|
|
37398
|
+
_ref$mobilePadding = _ref.mobilePadding,
|
|
37399
|
+
mobilePadding = _ref$mobilePadding === void 0 ? "0.5rem 1rem" : _ref$mobilePadding,
|
|
37400
|
+
_ref$minWidth = _ref.minWidth,
|
|
37401
|
+
minWidth = _ref$minWidth === void 0 ? "100%" : _ref$minWidth,
|
|
37402
|
+
_ref$minHeight = _ref.minHeight,
|
|
37403
|
+
minHeight = _ref$minHeight === void 0 ? "auto" : _ref$minHeight,
|
|
37404
|
+
_ref$contentSpacing = _ref.contentSpacing,
|
|
37405
|
+
contentSpacing = _ref$contentSpacing === void 0 ? "3rem" : _ref$contentSpacing,
|
|
37406
|
+
_ref$mobileContentSpa = _ref.mobileContentSpacing,
|
|
37407
|
+
mobileContentSpacing = _ref$mobileContentSpa === void 0 ? "0.5rem" : _ref$mobileContentSpa;
|
|
37408
|
+
|
|
37409
|
+
var _useContext = React.useContext(styled.ThemeContext),
|
|
37410
|
+
isMobile = _useContext.isMobile;
|
|
37411
|
+
|
|
37412
|
+
return /*#__PURE__*/React__default.createElement(BoxWithShadow$1, {
|
|
37413
|
+
variant: "baseStandard",
|
|
37414
|
+
borderRadius: "4px",
|
|
37415
|
+
background: themeValues.backgroundColor,
|
|
37416
|
+
minWidth: minWidth,
|
|
37417
|
+
minHeight: minHeight,
|
|
37418
|
+
padding: isMobile ? mobilePadding : padding
|
|
37419
|
+
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
37420
|
+
childGap: isMobile ? mobileContentSpacing : contentSpacing,
|
|
37421
|
+
justify: "center",
|
|
37422
|
+
align: "center",
|
|
37423
|
+
nowrap: true
|
|
37424
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
37425
|
+
padding: "0",
|
|
37426
|
+
maxWidth: isMobile && "54%"
|
|
37427
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
37428
|
+
childGap: "0"
|
|
37429
|
+
}, /*#__PURE__*/React__default.createElement(Title$1, {
|
|
37430
|
+
variant: "small",
|
|
37431
|
+
as: "h2",
|
|
37432
|
+
weight: FONT_WEIGHT_SEMIBOLD
|
|
37433
|
+
}, heading), /*#__PURE__*/React__default.createElement(Paragraph$1, null, subHeading))), /*#__PURE__*/React__default.createElement(Box, {
|
|
37434
|
+
padding: "0",
|
|
37435
|
+
extraStyles: isMobile && "> svg { width: 176px; }"
|
|
37436
|
+
}, /*#__PURE__*/React__default.createElement(Image, null))));
|
|
37437
|
+
};
|
|
37438
|
+
|
|
37439
|
+
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$z);
|
|
37440
|
+
|
|
37312
37441
|
var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
37313
37442
|
var _newPasswordErrorMess;
|
|
37314
37443
|
|
|
@@ -37449,7 +37578,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
37449
37578
|
var titleColor$1 = "#292A33";
|
|
37450
37579
|
var headingBackgroundColor = "transparent";
|
|
37451
37580
|
var bodyBackgroundColor = "transparent";
|
|
37452
|
-
var fallbackValues$
|
|
37581
|
+
var fallbackValues$A = {
|
|
37453
37582
|
titleColor: titleColor$1,
|
|
37454
37583
|
headingBackgroundColor: headingBackgroundColor,
|
|
37455
37584
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -37576,7 +37705,187 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
37576
37705
|
}, children))));
|
|
37577
37706
|
};
|
|
37578
37707
|
|
|
37579
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
37708
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$A);
|
|
37709
|
+
|
|
37710
|
+
var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
37711
|
+
var themeValues = _ref.themeValues;
|
|
37712
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
37713
|
+
width: "24",
|
|
37714
|
+
height: "24",
|
|
37715
|
+
viewBox: "0 0 24 24",
|
|
37716
|
+
fill: "none",
|
|
37717
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
37718
|
+
}, /*#__PURE__*/React__default.createElement("mask", {
|
|
37719
|
+
id: "mask0_1104_623",
|
|
37720
|
+
style: {
|
|
37721
|
+
maskType: "alpha"
|
|
37722
|
+
},
|
|
37723
|
+
maskUnits: "userSpaceOnUse",
|
|
37724
|
+
x: "4",
|
|
37725
|
+
y: "2",
|
|
37726
|
+
width: "16",
|
|
37727
|
+
height: "18"
|
|
37728
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
37729
|
+
fillRule: "evenodd",
|
|
37730
|
+
clipRule: "evenodd",
|
|
37731
|
+
d: "M9.83929 3.43753H14.1607V5.59825H9.83929L9.83929 3.43753ZM8.75893 3.43753C8.75893 2.84087 9.24262 2.35718 9.83929 2.35718H14.1607C14.7574 2.35718 15.2411 2.84087 15.2411 3.43753V5.59825C15.2411 6.19491 14.7574 6.67861 14.1607 6.67861H9.83929C9.24262 6.67861 8.75893 6.19491 8.75893 5.59825V3.43753ZM6.59821 3.70762H7.94866V5.32816H6.59821C6.29988 5.32816 6.05804 5.57001 6.05804 5.86834V17.4822C6.05804 17.7805 6.29988 18.0224 6.59821 18.0224H17.4018C17.7001 18.0224 17.942 17.7805 17.942 17.4822V5.86834C17.942 5.57001 17.7001 5.32816 17.4018 5.32816H16.0513V3.70762H17.4018C18.5951 3.70762 19.5625 4.67501 19.5625 5.86834V17.4822C19.5625 18.6755 18.5951 19.6429 17.4018 19.6429H6.59821C5.40488 19.6429 4.4375 18.6755 4.4375 17.4822V5.86834C4.4375 4.67501 5.40488 3.70762 6.59821 3.70762Z",
|
|
37732
|
+
fill: themeValues.singleIconColor
|
|
37733
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
37734
|
+
mask: "url(#mask0_1104_623)"
|
|
37735
|
+
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
37736
|
+
width: "24",
|
|
37737
|
+
height: "24",
|
|
37738
|
+
fill: themeValues.singleIconColor
|
|
37739
|
+
})));
|
|
37740
|
+
};
|
|
37741
|
+
|
|
37742
|
+
var ClipboardIcon$1 = themeComponent(ClipboardIcon, "Icons", fallbackValues$2, "primary");
|
|
37743
|
+
|
|
37744
|
+
/*
|
|
37745
|
+
This component will render `content` and a clipboard icon.
|
|
37746
|
+
When hovered, a popover with content `initialPopoverContent` will be displayed.
|
|
37747
|
+
to the left of the content.
|
|
37748
|
+
|
|
37749
|
+
When clicked, `content` will be copied to the clipboard, the popover content
|
|
37750
|
+
will change to `copySuccessPopoverContent` for `copiedPopoverContentDuration`
|
|
37751
|
+
milliseconds, and the `onCopy` callback will be executed.
|
|
37752
|
+
|
|
37753
|
+
If the content was unable to be copied to the clipboard, the popover will instead
|
|
37754
|
+
display `copyErrorPopoverContent`
|
|
37755
|
+
|
|
37756
|
+
If you only want the copy to clipboard behaviour without a popover, pass the prop
|
|
37757
|
+
`hasPopover={false}`
|
|
37758
|
+
*/
|
|
37759
|
+
|
|
37760
|
+
var CopyableContent = function CopyableContent(_ref) {
|
|
37761
|
+
var content = _ref.content,
|
|
37762
|
+
onClick = _ref.onClick;
|
|
37763
|
+
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
37764
|
+
"data-testid": "copyable-trigger",
|
|
37765
|
+
contentOverride: true,
|
|
37766
|
+
action: onClick,
|
|
37767
|
+
variant: "ghost",
|
|
37768
|
+
extraStyles: "padding: 0; margin: 0; min-height: initial; min-width: initial"
|
|
37769
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
37770
|
+
direction: "row",
|
|
37771
|
+
childGap: "0.25rem"
|
|
37772
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, null, content), /*#__PURE__*/React__default.createElement(ClipboardIcon$1, null)));
|
|
37773
|
+
};
|
|
37774
|
+
|
|
37775
|
+
var Copyable = function Copyable(_ref2) {
|
|
37776
|
+
var content = _ref2.content,
|
|
37777
|
+
onCopy = _ref2.onCopy,
|
|
37778
|
+
_ref2$initialPopoverC = _ref2.initialPopoverContent,
|
|
37779
|
+
initialPopoverContent = _ref2$initialPopoverC === void 0 ? "Click to copy to clipboard" : _ref2$initialPopoverC,
|
|
37780
|
+
_ref2$copySuccessPopo = _ref2.copySuccessPopoverContent,
|
|
37781
|
+
copySuccessPopoverContent = _ref2$copySuccessPopo === void 0 ? "Copied!" : _ref2$copySuccessPopo,
|
|
37782
|
+
_ref2$copyErrorPopove = _ref2.copyErrorPopoverContent,
|
|
37783
|
+
copyErrorPopoverContent = _ref2$copyErrorPopove === void 0 ? "Unable to copy value" : _ref2$copyErrorPopove,
|
|
37784
|
+
_ref2$copiedPopoverCo = _ref2.copiedPopoverContentDuration,
|
|
37785
|
+
copiedPopoverContentDuration = _ref2$copiedPopoverCo === void 0 ? 1000 : _ref2$copiedPopoverCo,
|
|
37786
|
+
_ref2$hasPopover = _ref2.hasPopover,
|
|
37787
|
+
hasPopover = _ref2$hasPopover === void 0 ? true : _ref2$hasPopover,
|
|
37788
|
+
_ref2$popoverMinWidth = _ref2.popoverMinWidth,
|
|
37789
|
+
popoverMinWidth = _ref2$popoverMinWidth === void 0 ? "max-content" : _ref2$popoverMinWidth,
|
|
37790
|
+
_ref2$popoverID = _ref2.popoverID,
|
|
37791
|
+
popoverID = _ref2$popoverID === void 0 ? 0 : _ref2$popoverID,
|
|
37792
|
+
popoverExtraStyles = _ref2.popoverExtraStyles;
|
|
37793
|
+
|
|
37794
|
+
var _useState = React.useState(initialPopoverContent),
|
|
37795
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
37796
|
+
popoverContent = _useState2[0],
|
|
37797
|
+
setPopoverContent = _useState2[1];
|
|
37798
|
+
|
|
37799
|
+
var _useState3 = React.useState(false),
|
|
37800
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
37801
|
+
startTimer = _useState4[0],
|
|
37802
|
+
setStartTimer = _useState4[1];
|
|
37803
|
+
|
|
37804
|
+
var _useState5 = React.useState(false),
|
|
37805
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
37806
|
+
attemptCopy = _useState6[0],
|
|
37807
|
+
setAttemptCopy = _useState6[1];
|
|
37808
|
+
|
|
37809
|
+
var _useState7 = React.useState(null),
|
|
37810
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
37811
|
+
timeoutId = _useState8[0],
|
|
37812
|
+
setTimeoutId = _useState8[1];
|
|
37813
|
+
|
|
37814
|
+
var cleanup = function cleanup() {
|
|
37815
|
+
if (timeoutId) {
|
|
37816
|
+
clearTimeout(timeoutId);
|
|
37817
|
+
}
|
|
37818
|
+
};
|
|
37819
|
+
|
|
37820
|
+
React.useEffect(function () {
|
|
37821
|
+
if (startTimer) {
|
|
37822
|
+
if (timeoutId) {
|
|
37823
|
+
// If there's an active timeout, clean it up.
|
|
37824
|
+
cleanup();
|
|
37825
|
+
} // Start a timeout to restore popover content to the initial value.
|
|
37826
|
+
// Record the ID of the timeout so it can be cleaned up later.
|
|
37827
|
+
|
|
37828
|
+
|
|
37829
|
+
setTimeoutId(setTimeout(function () {
|
|
37830
|
+
setPopoverContent(initialPopoverContent);
|
|
37831
|
+
}, copiedPopoverContentDuration)); // Set startTimer to false immediately after starting the timer,
|
|
37832
|
+
// so subsequent clicks will start a new timer, refreshing the duration.
|
|
37833
|
+
|
|
37834
|
+
setStartTimer(false);
|
|
37835
|
+
} // Return cleanup function so timeout will be cleared when component unmounts.
|
|
37836
|
+
|
|
37837
|
+
|
|
37838
|
+
return cleanup;
|
|
37839
|
+
}, [startTimer]);
|
|
37840
|
+
React.useEffect(function () {
|
|
37841
|
+
if (attemptCopy) {
|
|
37842
|
+
navigator.clipboard.writeText(content).then(function () {
|
|
37843
|
+
setPopoverContent(copySuccessPopoverContent);
|
|
37844
|
+
onCopy === null || onCopy === void 0 ? void 0 : onCopy();
|
|
37845
|
+
setAttemptCopy(false);
|
|
37846
|
+
})["catch"](function (error) {
|
|
37847
|
+
console.error(error);
|
|
37848
|
+
setPopoverContent(copyErrorPopoverContent);
|
|
37849
|
+
setAttemptCopy(false);
|
|
37850
|
+
});
|
|
37851
|
+
}
|
|
37852
|
+
}, [attemptCopy]);
|
|
37853
|
+
|
|
37854
|
+
var onClick = function onClick() {
|
|
37855
|
+
setStartTimer(true);
|
|
37856
|
+
setAttemptCopy(true);
|
|
37857
|
+
};
|
|
37858
|
+
|
|
37859
|
+
var popoverArrowWidth = "8px";
|
|
37860
|
+
return hasPopover ? /*#__PURE__*/React__default.createElement(Popover$1, {
|
|
37861
|
+
minWidth: popoverMinWidth,
|
|
37862
|
+
position: {
|
|
37863
|
+
top: "auto",
|
|
37864
|
+
right: "auto",
|
|
37865
|
+
bottom: "auto",
|
|
37866
|
+
left: "calc(-".concat(popoverArrowWidth, " - 8px)")
|
|
37867
|
+
},
|
|
37868
|
+
arrowPosition: {
|
|
37869
|
+
arrowTop: "auto",
|
|
37870
|
+
arrowRight: "-8px",
|
|
37871
|
+
arrowBottom: "calc(50% - ".concat(popoverArrowWidth, ")"),
|
|
37872
|
+
arrowLeft: "auto"
|
|
37873
|
+
},
|
|
37874
|
+
transform: "translate(-100%, -75%)",
|
|
37875
|
+
arrowDirection: "right",
|
|
37876
|
+
popoverID: popoverID,
|
|
37877
|
+
buttonExtraStyles: "margin: 0;min-width:auto",
|
|
37878
|
+
extraStyles: popoverExtraStyles,
|
|
37879
|
+
triggerText: CopyableContent({
|
|
37880
|
+
content: content,
|
|
37881
|
+
onClick: onClick
|
|
37882
|
+
}),
|
|
37883
|
+
content: popoverContent
|
|
37884
|
+
}) : CopyableContent({
|
|
37885
|
+
content: content,
|
|
37886
|
+
onClick: onClick
|
|
37887
|
+
});
|
|
37888
|
+
};
|
|
37580
37889
|
|
|
37581
37890
|
var EditNameForm = function EditNameForm(_ref) {
|
|
37582
37891
|
var fields = _ref.fields,
|
|
@@ -37982,7 +38291,7 @@ EmailForm.mapDispatchToProps = mapDispatchToProps$3;
|
|
|
37982
38291
|
|
|
37983
38292
|
var footerBackgroundColor = BRIGHT_GREY;
|
|
37984
38293
|
var subfooterBackgroundColor = STORM_GREY;
|
|
37985
|
-
var fallbackValues$
|
|
38294
|
+
var fallbackValues$B = {
|
|
37986
38295
|
footerBackgroundColor: footerBackgroundColor,
|
|
37987
38296
|
subfooterBackgroundColor: subfooterBackgroundColor
|
|
37988
38297
|
};
|
|
@@ -38014,7 +38323,7 @@ var FooterWithSubfooter = function FooterWithSubfooter(_ref) {
|
|
|
38014
38323
|
}));
|
|
38015
38324
|
};
|
|
38016
38325
|
|
|
38017
|
-
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$
|
|
38326
|
+
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$B);
|
|
38018
38327
|
|
|
38019
38328
|
var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
38020
38329
|
var _EmailErrorMessages;
|
|
@@ -38065,10 +38374,10 @@ ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
|
|
|
38065
38374
|
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
38066
38375
|
|
|
38067
38376
|
var textColor$3 = "#ffffff";
|
|
38068
|
-
var backgroundColor$
|
|
38069
|
-
var fallbackValues$
|
|
38377
|
+
var backgroundColor$7 = "#182848";
|
|
38378
|
+
var fallbackValues$C = {
|
|
38070
38379
|
textColor: textColor$3,
|
|
38071
|
-
backgroundColor: backgroundColor$
|
|
38380
|
+
backgroundColor: backgroundColor$7
|
|
38072
38381
|
};
|
|
38073
38382
|
|
|
38074
38383
|
var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
@@ -38123,7 +38432,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
38123
38432
|
}), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
|
|
38124
38433
|
};
|
|
38125
38434
|
|
|
38126
|
-
var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
38435
|
+
var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$C));
|
|
38127
38436
|
|
|
38128
38437
|
var AccountBillIcon = function AccountBillIcon() {
|
|
38129
38438
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -43376,7 +43685,14 @@ var Modal$1 = function Modal(_ref) {
|
|
|
43376
43685
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
43377
43686
|
isMobile = _useContext.isMobile;
|
|
43378
43687
|
|
|
43379
|
-
|
|
43688
|
+
var modalContainerRef = React.useRef(null);
|
|
43689
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
43690
|
+
ref: modalContainerRef
|
|
43691
|
+
}, modalOpen && /*#__PURE__*/React__default.createElement(reactAriaModal // fallback to resolve Jest unit test errors when tabbable doesn't exist in jsdom https://github.com/focus-trap/focus-trap-react/issues/91
|
|
43692
|
+
, {
|
|
43693
|
+
focusTrapOptions: {
|
|
43694
|
+
fallbackFocus: modalContainerRef === null || modalContainerRef === void 0 ? void 0 : modalContainerRef.current
|
|
43695
|
+
},
|
|
43380
43696
|
onExit: onExit,
|
|
43381
43697
|
getApplicationNode: getApplicationNode,
|
|
43382
43698
|
titleText: modalHeaderText,
|
|
@@ -43526,12 +43842,12 @@ var borderRadius = {
|
|
|
43526
43842
|
largeTitle: "0.25rem",
|
|
43527
43843
|
small: "0.25rem"
|
|
43528
43844
|
};
|
|
43529
|
-
var backgroundColor$
|
|
43845
|
+
var backgroundColor$8 = {
|
|
43530
43846
|
"default": WHITE,
|
|
43531
43847
|
largeTitle: WHITE,
|
|
43532
43848
|
small: WHITE
|
|
43533
43849
|
};
|
|
43534
|
-
var fallbackValues$
|
|
43850
|
+
var fallbackValues$D = {
|
|
43535
43851
|
fontSize: fontSize$9,
|
|
43536
43852
|
fontWeight: fontWeight$5,
|
|
43537
43853
|
fontColor: fontColor,
|
|
@@ -43541,7 +43857,7 @@ var fallbackValues$C = {
|
|
|
43541
43857
|
titleSpacing: titleSpacing,
|
|
43542
43858
|
boxShadow: boxShadow$1,
|
|
43543
43859
|
borderRadius: borderRadius,
|
|
43544
|
-
backgroundColor: backgroundColor$
|
|
43860
|
+
backgroundColor: backgroundColor$8
|
|
43545
43861
|
};
|
|
43546
43862
|
|
|
43547
43863
|
/*
|
|
@@ -43590,9 +43906,9 @@ var Module = function Module(_ref) {
|
|
|
43590
43906
|
}, children)));
|
|
43591
43907
|
};
|
|
43592
43908
|
|
|
43593
|
-
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$
|
|
43909
|
+
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$D, "default"));
|
|
43594
43910
|
|
|
43595
|
-
var backgroundColor$
|
|
43911
|
+
var backgroundColor$9 = {
|
|
43596
43912
|
profile: "#3b414d",
|
|
43597
43913
|
cms: "#3b414d"
|
|
43598
43914
|
};
|
|
@@ -43600,8 +43916,8 @@ var shadowColor = {
|
|
|
43600
43916
|
profile: "#292A33",
|
|
43601
43917
|
cms: "#292A33"
|
|
43602
43918
|
};
|
|
43603
|
-
var fallbackValues$
|
|
43604
|
-
backgroundColor: backgroundColor$
|
|
43919
|
+
var fallbackValues$E = {
|
|
43920
|
+
backgroundColor: backgroundColor$9,
|
|
43605
43921
|
shadowColor: shadowColor
|
|
43606
43922
|
};
|
|
43607
43923
|
|
|
@@ -43641,7 +43957,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
43641
43957
|
}, menuContent));
|
|
43642
43958
|
};
|
|
43643
43959
|
|
|
43644
|
-
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$
|
|
43960
|
+
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$E, "profile");
|
|
43645
43961
|
|
|
43646
43962
|
var menu = posed.div({
|
|
43647
43963
|
invisible: {
|
|
@@ -43697,7 +44013,7 @@ var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
|
43697
44013
|
}, menuContent));
|
|
43698
44014
|
};
|
|
43699
44015
|
|
|
43700
|
-
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$
|
|
44016
|
+
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$E, "profile");
|
|
43701
44017
|
|
|
43702
44018
|
var IconsModule = function IconsModule(_ref) {
|
|
43703
44019
|
var icon = _ref.icon,
|
|
@@ -43754,7 +44070,7 @@ var activeColor$7 = "#0E506D";
|
|
|
43754
44070
|
var linkColor$4 = "#3176AA";
|
|
43755
44071
|
var fontWeight$6 = FONT_WEIGHT_REGULAR;
|
|
43756
44072
|
var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
|
|
43757
|
-
var fallbackValues$
|
|
44073
|
+
var fallbackValues$F = {
|
|
43758
44074
|
color: color$a,
|
|
43759
44075
|
hoverColor: hoverColor$5,
|
|
43760
44076
|
activeColor: activeColor$7,
|
|
@@ -43866,7 +44182,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
43866
44182
|
}, modalExtraProps), renderAutoPayControl());
|
|
43867
44183
|
};
|
|
43868
44184
|
|
|
43869
|
-
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$
|
|
44185
|
+
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$F);
|
|
43870
44186
|
|
|
43871
44187
|
var AmountModule = function AmountModule(_ref) {
|
|
43872
44188
|
var totalAmountDue = _ref.totalAmountDue,
|
|
@@ -44662,7 +44978,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
44662
44978
|
}, backButton, !hideForwardButton && /*#__PURE__*/React__default.createElement(React.Fragment, null, forwardButton))));
|
|
44663
44979
|
};
|
|
44664
44980
|
|
|
44665
|
-
var backgroundColor$
|
|
44981
|
+
var backgroundColor$a = {
|
|
44666
44982
|
"default": "transparent",
|
|
44667
44983
|
small: "transparent"
|
|
44668
44984
|
};
|
|
@@ -44678,8 +44994,8 @@ var labeledAmountTotal = {
|
|
|
44678
44994
|
"default": "h6",
|
|
44679
44995
|
small: "p"
|
|
44680
44996
|
};
|
|
44681
|
-
var fallbackValues$
|
|
44682
|
-
backgroundColor: backgroundColor$
|
|
44997
|
+
var fallbackValues$G = {
|
|
44998
|
+
backgroundColor: backgroundColor$a,
|
|
44683
44999
|
lineItem: lineItem,
|
|
44684
45000
|
labeledAmountSubtotal: labeledAmountSubtotal,
|
|
44685
45001
|
labeledAmountTotal: labeledAmountTotal
|
|
@@ -44929,7 +45245,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
44929
45245
|
});
|
|
44930
45246
|
};
|
|
44931
45247
|
|
|
44932
|
-
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$
|
|
45248
|
+
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$G, "default");
|
|
44933
45249
|
|
|
44934
45250
|
var linkColor$5 = {
|
|
44935
45251
|
"default": "#3176AA"
|
|
@@ -44946,7 +45262,7 @@ var fontWeight$7 = {
|
|
|
44946
45262
|
var modalLinkHoverFocus$1 = {
|
|
44947
45263
|
"default": "outline: none; text-decoration: underline;"
|
|
44948
45264
|
};
|
|
44949
|
-
var fallbackValues$
|
|
45265
|
+
var fallbackValues$H = {
|
|
44950
45266
|
linkColor: linkColor$5,
|
|
44951
45267
|
fontSize: fontSize$a,
|
|
44952
45268
|
lineHeight: lineHeight$4,
|
|
@@ -45005,7 +45321,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
45005
45321
|
}, link));
|
|
45006
45322
|
};
|
|
45007
45323
|
|
|
45008
|
-
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$
|
|
45324
|
+
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$H, "default");
|
|
45009
45325
|
|
|
45010
45326
|
var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
45011
45327
|
var _routingNumberErrors, _accountNumberErrors;
|
|
@@ -45562,7 +45878,7 @@ var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
|
45562
45878
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
45563
45879
|
var borderColor$3 = "".concat(GREY_CHATEAU);
|
|
45564
45880
|
var focusStyles = "outline: none;";
|
|
45565
|
-
var fallbackValues$
|
|
45881
|
+
var fallbackValues$I = {
|
|
45566
45882
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
45567
45883
|
headingDisabledColor: headingDisabledColor,
|
|
45568
45884
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
@@ -45781,7 +46097,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
45781
46097
|
})));
|
|
45782
46098
|
};
|
|
45783
46099
|
|
|
45784
|
-
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$
|
|
46100
|
+
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$I);
|
|
45785
46101
|
|
|
45786
46102
|
var RegistrationForm = function RegistrationForm(_ref) {
|
|
45787
46103
|
var _emailErrorMessages, _passwordErrorMessage;
|
|
@@ -46078,7 +46394,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
|
|
|
46078
46394
|
var activeTabBackground = "#FFFFFF";
|
|
46079
46395
|
var activeTabAccent = "#15749D";
|
|
46080
46396
|
var activeTabHover = "#B8D5E1";
|
|
46081
|
-
var fallbackValues$
|
|
46397
|
+
var fallbackValues$J = {
|
|
46082
46398
|
activeTabBackground: activeTabBackground,
|
|
46083
46399
|
activeTabAccent: activeTabAccent,
|
|
46084
46400
|
activeTabHover: activeTabHover
|
|
@@ -46157,12 +46473,12 @@ var Tabs = function Tabs(_ref) {
|
|
|
46157
46473
|
}))));
|
|
46158
46474
|
};
|
|
46159
46475
|
|
|
46160
|
-
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$
|
|
46476
|
+
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$J);
|
|
46161
46477
|
|
|
46162
46478
|
var activeTabBackground$1 = "#FFFFFF";
|
|
46163
46479
|
var activeTabAccent$1 = "#15749D";
|
|
46164
46480
|
var activeTabHover$1 = "#B8D5E1";
|
|
46165
|
-
var fallbackValues$
|
|
46481
|
+
var fallbackValues$K = {
|
|
46166
46482
|
activeTabBackground: activeTabBackground$1,
|
|
46167
46483
|
activeTabAccent: activeTabAccent$1,
|
|
46168
46484
|
activeTabHover: activeTabHover$1
|
|
@@ -46218,9 +46534,9 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
46218
46534
|
})));
|
|
46219
46535
|
};
|
|
46220
46536
|
|
|
46221
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
46537
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$K);
|
|
46222
46538
|
|
|
46223
|
-
var backgroundColor$
|
|
46539
|
+
var backgroundColor$b = {
|
|
46224
46540
|
"default": "#ffffff",
|
|
46225
46541
|
footer: "#ffffff"
|
|
46226
46542
|
};
|
|
@@ -46249,8 +46565,8 @@ var modalLinkHoverFocus$2 = {
|
|
|
46249
46565
|
"default": standardInteractionStyles,
|
|
46250
46566
|
footer: standardInteractionStyles
|
|
46251
46567
|
};
|
|
46252
|
-
var fallbackValues$
|
|
46253
|
-
backgroundColor: backgroundColor$
|
|
46568
|
+
var fallbackValues$L = {
|
|
46569
|
+
backgroundColor: backgroundColor$b,
|
|
46254
46570
|
linkColor: linkColor$6,
|
|
46255
46571
|
border: border$3,
|
|
46256
46572
|
fontSize: fontSize$b,
|
|
@@ -46311,7 +46627,7 @@ var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
|
46311
46627
|
}, link));
|
|
46312
46628
|
};
|
|
46313
46629
|
|
|
46314
|
-
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$
|
|
46630
|
+
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$L, "default");
|
|
46315
46631
|
|
|
46316
46632
|
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
46317
46633
|
var onCheck = _ref.onCheck,
|
|
@@ -46386,7 +46702,7 @@ var fontColor$1 = WHITE;
|
|
|
46386
46702
|
var textAlign$1 = "left";
|
|
46387
46703
|
var headerBackgroundColor$1 = BRIGHT_GREY;
|
|
46388
46704
|
var imageBackgroundColor$1 = MATISSE_BLUE;
|
|
46389
|
-
var fallbackValues$
|
|
46705
|
+
var fallbackValues$M = {
|
|
46390
46706
|
fontWeight: fontWeight$9,
|
|
46391
46707
|
fontColor: fontColor$1,
|
|
46392
46708
|
textAlign: textAlign$1,
|
|
@@ -46433,7 +46749,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
46433
46749
|
})))));
|
|
46434
46750
|
};
|
|
46435
46751
|
|
|
46436
|
-
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$
|
|
46752
|
+
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$M));
|
|
46437
46753
|
|
|
46438
46754
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
46439
46755
|
var _ref$workflowName = _ref.workflowName,
|
|
@@ -46483,7 +46799,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
46483
46799
|
};
|
|
46484
46800
|
|
|
46485
46801
|
var pageBackground = "#FBFCFD";
|
|
46486
|
-
var fallbackValues$
|
|
46802
|
+
var fallbackValues$N = {
|
|
46487
46803
|
pageBackground: pageBackground
|
|
46488
46804
|
};
|
|
46489
46805
|
|
|
@@ -46530,7 +46846,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
46530
46846
|
})));
|
|
46531
46847
|
};
|
|
46532
46848
|
|
|
46533
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
46849
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$N));
|
|
46534
46850
|
|
|
46535
46851
|
var CenterStack = function CenterStack(_ref) {
|
|
46536
46852
|
var header = _ref.header,
|
|
@@ -46572,7 +46888,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
46572
46888
|
})));
|
|
46573
46889
|
};
|
|
46574
46890
|
|
|
46575
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
46891
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$N));
|
|
46576
46892
|
|
|
46577
46893
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
46578
46894
|
var header = _ref.header,
|
|
@@ -46617,7 +46933,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
46617
46933
|
})));
|
|
46618
46934
|
};
|
|
46619
46935
|
|
|
46620
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
46936
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$N));
|
|
46621
46937
|
|
|
46622
46938
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
46623
46939
|
var header = _ref.header,
|
|
@@ -46671,7 +46987,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
46671
46987
|
})));
|
|
46672
46988
|
};
|
|
46673
46989
|
|
|
46674
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
46990
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$N));
|
|
46675
46991
|
|
|
46676
46992
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
46677
46993
|
var header = _ref.header,
|
|
@@ -46742,7 +47058,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
46742
47058
|
})));
|
|
46743
47059
|
};
|
|
46744
47060
|
|
|
46745
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
47061
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$N));
|
|
46746
47062
|
|
|
46747
47063
|
exports.AccountNumberImage = AccountNumberImage;
|
|
46748
47064
|
exports.AccountsAddIcon = AccountsAddIcon$1;
|
|
@@ -46756,6 +47072,7 @@ exports.AllocatedIcon = AllocatedIcon;
|
|
|
46756
47072
|
exports.AmountCallout = AmountCallout$1;
|
|
46757
47073
|
exports.AutopayOnIcon = AutopayOnIcon;
|
|
46758
47074
|
exports.BankIcon = BankIcon;
|
|
47075
|
+
exports.Banner = Banner$1;
|
|
46759
47076
|
exports.Box = Box;
|
|
46760
47077
|
exports.BoxWithShadow = BoxWithShadow$1;
|
|
46761
47078
|
exports.Breadcrumb = Breadcrumbs;
|
|
@@ -46778,6 +47095,7 @@ exports.CheckmarkIcon = CheckmarkIcon;
|
|
|
46778
47095
|
exports.ChevronIcon = ChevronIcon$1;
|
|
46779
47096
|
exports.Cluster = Cluster;
|
|
46780
47097
|
exports.CollapsibleSection = CollapsibleSection$1;
|
|
47098
|
+
exports.Copyable = Copyable;
|
|
46781
47099
|
exports.CountryDropdown = CountryDropdown;
|
|
46782
47100
|
exports.Cover = Cover;
|
|
46783
47101
|
exports.CustomerSearchIcon = CustomerSearchIcon;
|
|
@@ -46903,6 +47221,7 @@ exports.TrashIcon = TrashIcon$1;
|
|
|
46903
47221
|
exports.TypeaheadInput = TypeaheadInput;
|
|
46904
47222
|
exports.VerifiedEmailIcon = VerifiedEmailIcon$1;
|
|
46905
47223
|
exports.VoidedIcon = VoidedIcon;
|
|
47224
|
+
exports.WalletBannerIcon = WalletBannerIcon$1;
|
|
46906
47225
|
exports.WalletIcon = WalletIcon$1;
|
|
46907
47226
|
exports.WalletIconSmall = WalletIconSmall$1;
|
|
46908
47227
|
exports.WarningIconXS = WarningIconXS;
|