@thecb/components 3.4.2 → 3.5.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 +155 -1
- package/package.json +1 -1
- package/src/components/atoms/icons/TimeoutImage.js +138 -0
- package/src/components/atoms/icons/index.js +2 -0
- package/src/components/molecules/index.js +1 -0
- package/src/components/molecules/obligation/modules/AutopayModalModule.js +1 -1
- package/src/components/molecules/timeout/Timeout.js +41 -0
- package/src/components/molecules/timeout/index.js +3 -0
package/dist/index.cjs.js
CHANGED
|
@@ -13630,6 +13630,127 @@ var IconAdd = function IconAdd() {
|
|
|
13630
13630
|
}))))));
|
|
13631
13631
|
};
|
|
13632
13632
|
|
|
13633
|
+
var TimeoutImage = function TimeoutImage() {
|
|
13634
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13635
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13636
|
+
width: "458",
|
|
13637
|
+
height: "308",
|
|
13638
|
+
viewBox: "0 0 458 308"
|
|
13639
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
13640
|
+
fill: "none",
|
|
13641
|
+
fillRule: "evenodd",
|
|
13642
|
+
stroke: "none",
|
|
13643
|
+
strokeWidth: "1"
|
|
13644
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
13645
|
+
transform: "translate(-492 -168)"
|
|
13646
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
13647
|
+
transform: "translate(492 168)"
|
|
13648
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13649
|
+
fill: "#EAF4EB",
|
|
13650
|
+
d: "M286.327 294.916c0 7.133-26.041 12.916-58.164 12.916-32.123 0-58.163-5.783-58.163-12.916S196.04 282 228.163 282s58.164 5.783 58.164 12.916"
|
|
13651
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
13652
|
+
stroke: "#45B770",
|
|
13653
|
+
strokeLinecap: "round",
|
|
13654
|
+
strokeLinejoin: "round",
|
|
13655
|
+
strokeWidth: "8.362",
|
|
13656
|
+
transform: "translate(204 268)"
|
|
13657
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13658
|
+
d: "M15.817 -2.13162821e-14L15.817 24.795 3.55271368e-15 24.795"
|
|
13659
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13660
|
+
d: "M31.3102 -2.30926389e-14L31.3102 25.574 47.1272 25.574"
|
|
13661
|
+
})), /*#__PURE__*/React__default.createElement("path", {
|
|
13662
|
+
fill: "#FEFEFE",
|
|
13663
|
+
d: "M107.968 73h239.721a6.969 6.969 0 016.969 6.968v178.398a6.969 6.969 0 01-6.969 6.968H107.968a6.968 6.968 0 01-6.968-6.968V79.968A6.968 6.968 0 01107.968 73"
|
|
13664
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13665
|
+
fill: "#E4E6EB",
|
|
13666
|
+
d: "M101 99L355 99 355 73 101 73z"
|
|
13667
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
13668
|
+
stroke: "#3B414D",
|
|
13669
|
+
strokeLinecap: "round",
|
|
13670
|
+
strokeWidth: "5.575",
|
|
13671
|
+
transform: "translate(197.811 141.913)"
|
|
13672
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13673
|
+
strokeLinejoin: "round",
|
|
13674
|
+
d: "M0 5.575C1.168 2.317 4.16 0 7.666 0c3.505 0 6.497 2.317 7.665 5.575"
|
|
13675
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13676
|
+
strokeLinejoin: "round",
|
|
13677
|
+
d: "M46 5.575C47.168 2.317 50.16 0 53.666 0c3.505 0 6.497 2.317 7.665 5.575"
|
|
13678
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13679
|
+
d: "M50.38 44.087h0a6.886 6.886 0 01-6.886 6.886h-26.42a6.886 6.886 0 01-6.885-6.886",
|
|
13680
|
+
transform: "matrix(1 0 0 -1 0 95.06)"
|
|
13681
|
+
})), /*#__PURE__*/React__default.createElement("path", {
|
|
13682
|
+
fill: "#3B414D",
|
|
13683
|
+
d: "M124 83a3 3 0 110 6 3 3 0 010-6zm-10 0a3 3 0 110 6 3 3 0 010-6zm20 0a3 3 0 110 6 3 3 0 010-6z"
|
|
13684
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13685
|
+
stroke: "#45B770",
|
|
13686
|
+
strokeLinecap: "round",
|
|
13687
|
+
strokeLinejoin: "round",
|
|
13688
|
+
strokeWidth: "8",
|
|
13689
|
+
d: "M99.441 205.181L77.181 224.512"
|
|
13690
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13691
|
+
stroke: "#45B770",
|
|
13692
|
+
strokeLinecap: "round",
|
|
13693
|
+
strokeLinejoin: "round",
|
|
13694
|
+
strokeWidth: "8",
|
|
13695
|
+
d: "M412.8955 190.764648L381.126953 224.790039 356 205.267859"
|
|
13696
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13697
|
+
stroke: "#45B770",
|
|
13698
|
+
strokeLinecap: "round",
|
|
13699
|
+
strokeWidth: "8",
|
|
13700
|
+
d: "M396.5 189.5L429.5 189.5"
|
|
13701
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13702
|
+
stroke: "#45B770",
|
|
13703
|
+
strokeLinecap: "round",
|
|
13704
|
+
strokeLinejoin: "round",
|
|
13705
|
+
strokeWidth: "8",
|
|
13706
|
+
d: "M137.079 231.103a7.605 7.605 0 000 15.211h6.644"
|
|
13707
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
13708
|
+
transform: "translate(377 63)"
|
|
13709
|
+
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
13710
|
+
fill: "#FFF",
|
|
13711
|
+
d: "M66.669 116.462H5.122a5.122 5.122 0 110-10.243h61.547a5.122 5.122 0 110 10.243"
|
|
13712
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13713
|
+
fill: "#E4F4FD",
|
|
13714
|
+
d: "M15.126 71.521l20.77-13.29 20.769 13.29a19.123 19.123 0 018.815 16.106v18.591H6.311v-18.59c0-6.52 3.323-12.592 8.815-16.107z"
|
|
13715
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13716
|
+
fill: "#E4F4FD",
|
|
13717
|
+
d: "M56.665 44.94l-20.77 13.292L15.126 44.94a19.12 19.12 0 01-8.815-16.106V10.244H65.48v18.59a19.12 19.12 0 01-8.815 16.107z"
|
|
13718
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13719
|
+
fill: "#FFF",
|
|
13720
|
+
d: "M66.669 10.244H5.122A5.122 5.122 0 115.122 0h61.547a5.122 5.122 0 110 10.244z"
|
|
13721
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
13722
|
+
stroke: "#3B414D",
|
|
13723
|
+
strokeLinecap: "round",
|
|
13724
|
+
strokeWidth: "6"
|
|
13725
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13726
|
+
d: "M66.669 116.462H5.122a5.122 5.122 0 110-10.243h61.547a5.122 5.122 0 110 10.243z"
|
|
13727
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13728
|
+
d: "M15.126 71.521l20.77-13.29 20.769 13.29a19.123 19.123 0 018.815 16.106v18.591H6.311v-18.59c0-6.52 3.323-12.592 8.815-16.107z"
|
|
13729
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13730
|
+
d: "M56.665 44.94l-20.77 13.292L15.126 44.94a19.12 19.12 0 01-8.815-16.106V10.244H65.48v18.59a19.12 19.12 0 01-8.815 16.107z"
|
|
13731
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13732
|
+
d: "M66.669 10.244H5.122A5.122 5.122 0 115.122 0h61.547a5.122 5.122 0 110 10.244z"
|
|
13733
|
+
}))), /*#__PURE__*/React__default.createElement("path", {
|
|
13734
|
+
stroke: "#3B414D",
|
|
13735
|
+
strokeLinecap: "round",
|
|
13736
|
+
strokeWidth: "8",
|
|
13737
|
+
d: "M27.663 247.376l-15.18.348M401 248l-44.96-.276m-256.445-.348l-52.372.348M454 248h-34"
|
|
13738
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13739
|
+
stroke: "#3B414D",
|
|
13740
|
+
strokeWidth: "6",
|
|
13741
|
+
d: "M107.969 73H347.69a6.969 6.969 0 016.968 6.969v178.397a6.968 6.968 0 01-6.968 6.968H107.969a6.969 6.969 0 01-6.969-6.968V79.969A6.969 6.969 0 01107.969 73zM104 99h248"
|
|
13742
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13743
|
+
stroke: "#45B770",
|
|
13744
|
+
strokeLinecap: "round",
|
|
13745
|
+
strokeLinejoin: "round",
|
|
13746
|
+
strokeWidth: "8",
|
|
13747
|
+
d: "M77.181 224.512L127.905 236.375"
|
|
13748
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13749
|
+
fill: "#B8E4F4",
|
|
13750
|
+
d: "M95.74 141.218c5.753 0 10.652 3.602 12.599 8.67a5.733 5.733 0 016.092 1.987 8.512 8.512 0 013.505-.757 8.557 8.557 0 110 17.114H81.002a8.557 8.557 0 111.69-16.945c1.523-5.792 6.78-10.069 13.049-10.069zM365.823 82c9.17 0 16.7 7.01 17.532 15.963a10.567 10.567 0 016.175-1.99c5.868 0 10.625 4.757 10.625 10.625 0 5.869-4.757 10.625-10.625 10.625h-48.094c-6.868 0-12.435-5.566-12.435-12.434 0-6.868 5.567-12.435 12.435-12.435 2.791 0 5.36.931 7.435 2.484C350.952 87.432 357.75 82 365.822 82zM23.296 75.456c5.752 0 10.651 3.602 12.598 8.669a5.733 5.733 0 011.559-.22c1.84 0 3.476.866 4.532 2.208a8.52 8.52 0 013.506-.757 8.557 8.557 0 110 17.114H8.557a8.557 8.557 0 111.69-16.945c1.523-5.792 6.78-10.07 13.049-10.07zM170.219 8.845c10.946 0 19.935 8.367 20.927 19.054a12.618 12.618 0 017.372-2.375c7.004 0 12.683 5.679 12.683 12.684 0 7.004-5.68 12.683-12.683 12.683h-57.41c-8.197 0-14.843-6.646-14.843-14.844 0-8.197 6.646-14.843 14.843-14.843 3.333 0 6.398 1.112 8.876 2.966 2.485-8.841 10.599-15.325 20.235-15.325zM297.892 0c5.752 0 10.651 3.602 12.598 8.669a5.728 5.728 0 011.56-.219c1.84 0 3.475.865 4.531 2.207a8.516 8.516 0 013.506-.757 8.557 8.557 0 110 17.114h-36.935a8.557 8.557 0 01-8.556-8.557 8.557 8.557 0 0110.248-8.388C286.366 4.277 291.622 0 297.892 0z"
|
|
13751
|
+
})))));
|
|
13752
|
+
};
|
|
13753
|
+
|
|
13633
13754
|
var AutopayOnIcon = function AutopayOnIcon(_ref) {
|
|
13634
13755
|
var themeValues = _ref.themeValues;
|
|
13635
13756
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -35898,7 +36019,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
35898
36019
|
toggleModal(false);
|
|
35899
36020
|
} : navigateToSettings
|
|
35900
36021
|
};
|
|
35901
|
-
var hoverStyles = "\n &:hover {\n .autopayIcon { fill: ".concat(themeValues.hoverColor, "; text-decoration: underline; }\n }");
|
|
36022
|
+
var hoverStyles = "\n &:hover {\n .autopayIcon { fill: ".concat(themeValues.hoverColor, "; text-decoration: underline; cursor: pointer; }\n }");
|
|
35902
36023
|
var activeStyles = "\n &:active {\n .autopayIcon { fill: ".concat(themeValues.activeColor, "; text-decoration: underline; }\n }");
|
|
35903
36024
|
var defaultStyles = "\n .autopayIcon { fill: ".concat(themeValues.color, "; text-decoration: underline; }\n ");
|
|
35904
36025
|
return /*#__PURE__*/React__default.createElement(Modal$1, _extends({
|
|
@@ -37688,6 +37809,37 @@ var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
|
37688
37809
|
})))));
|
|
37689
37810
|
};
|
|
37690
37811
|
|
|
37812
|
+
var Timeout = function Timeout(_ref) {
|
|
37813
|
+
var onLogout = _ref.onLogout;
|
|
37814
|
+
return /*#__PURE__*/React__default.createElement(Cover, null, /*#__PURE__*/React__default.createElement(Center, {
|
|
37815
|
+
intrinsic: true
|
|
37816
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
37817
|
+
padding: "0",
|
|
37818
|
+
maxWidth: "500px"
|
|
37819
|
+
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
37820
|
+
childGap: "32px",
|
|
37821
|
+
justify: "center"
|
|
37822
|
+
}, /*#__PURE__*/React__default.createElement(Center, {
|
|
37823
|
+
intrinsic: true
|
|
37824
|
+
}, /*#__PURE__*/React__default.createElement(TimeoutImage, null)), /*#__PURE__*/React__default.createElement(Box, {
|
|
37825
|
+
padding: "0"
|
|
37826
|
+
}, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
37827
|
+
textAlign: "center",
|
|
37828
|
+
weight: FONT_WEIGHT_BOLD
|
|
37829
|
+
}, "Request Timed Out"), /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
37830
|
+
variant: "pL",
|
|
37831
|
+
extraStyles: "text-align: center;"
|
|
37832
|
+
}, "That was taking longer than we expected and your request timed out. Please log out, log back in, and then try again.")), /*#__PURE__*/React__default.createElement(Center, {
|
|
37833
|
+
intrinsic: true
|
|
37834
|
+
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
37835
|
+
padding: "0"
|
|
37836
|
+
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
37837
|
+
variant: "primary",
|
|
37838
|
+
text: "Log out",
|
|
37839
|
+
action: onLogout
|
|
37840
|
+
})))))));
|
|
37841
|
+
};
|
|
37842
|
+
|
|
37691
37843
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
37692
37844
|
var _ref$workflowName = _ref.workflowName,
|
|
37693
37845
|
workflowName = _ref$workflowName === void 0 ? "Test Workflow" : _ref$workflowName,
|
|
@@ -38109,6 +38261,8 @@ exports.TableListItem = TableListItem;
|
|
|
38109
38261
|
exports.TermsAndConditions = TermsAndConditions;
|
|
38110
38262
|
exports.TermsAndConditionsModal = TermsAndConditionsModal$1;
|
|
38111
38263
|
exports.Text = Text$1;
|
|
38264
|
+
exports.Timeout = Timeout;
|
|
38265
|
+
exports.TimeoutImage = TimeoutImage;
|
|
38112
38266
|
exports.ToggleSwitch = ToggleSwitch$1;
|
|
38113
38267
|
exports.VerifiedEmailIcon = VerifiedEmailIcon$1;
|
|
38114
38268
|
exports.WorkflowTile = WorkflowTile;
|
package/package.json
CHANGED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const TimeoutImage = () => {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
width="458"
|
|
8
|
+
height="308"
|
|
9
|
+
viewBox="0 0 458 308"
|
|
10
|
+
>
|
|
11
|
+
<g fill="none" fillRule="evenodd" stroke="none" strokeWidth="1">
|
|
12
|
+
<g transform="translate(-492 -168)">
|
|
13
|
+
<g transform="translate(492 168)">
|
|
14
|
+
<path
|
|
15
|
+
fill="#EAF4EB"
|
|
16
|
+
d="M286.327 294.916c0 7.133-26.041 12.916-58.164 12.916-32.123 0-58.163-5.783-58.163-12.916S196.04 282 228.163 282s58.164 5.783 58.164 12.916"
|
|
17
|
+
></path>
|
|
18
|
+
<g
|
|
19
|
+
stroke="#45B770"
|
|
20
|
+
strokeLinecap="round"
|
|
21
|
+
strokeLinejoin="round"
|
|
22
|
+
strokeWidth="8.362"
|
|
23
|
+
transform="translate(204 268)"
|
|
24
|
+
>
|
|
25
|
+
<path d="M15.817 -2.13162821e-14L15.817 24.795 3.55271368e-15 24.795"></path>
|
|
26
|
+
<path d="M31.3102 -2.30926389e-14L31.3102 25.574 47.1272 25.574"></path>
|
|
27
|
+
</g>
|
|
28
|
+
<path
|
|
29
|
+
fill="#FEFEFE"
|
|
30
|
+
d="M107.968 73h239.721a6.969 6.969 0 016.969 6.968v178.398a6.969 6.969 0 01-6.969 6.968H107.968a6.968 6.968 0 01-6.968-6.968V79.968A6.968 6.968 0 01107.968 73"
|
|
31
|
+
></path>
|
|
32
|
+
<path fill="#E4E6EB" d="M101 99L355 99 355 73 101 73z"></path>
|
|
33
|
+
<g
|
|
34
|
+
stroke="#3B414D"
|
|
35
|
+
strokeLinecap="round"
|
|
36
|
+
strokeWidth="5.575"
|
|
37
|
+
transform="translate(197.811 141.913)"
|
|
38
|
+
>
|
|
39
|
+
<path
|
|
40
|
+
strokeLinejoin="round"
|
|
41
|
+
d="M0 5.575C1.168 2.317 4.16 0 7.666 0c3.505 0 6.497 2.317 7.665 5.575"
|
|
42
|
+
></path>
|
|
43
|
+
<path
|
|
44
|
+
strokeLinejoin="round"
|
|
45
|
+
d="M46 5.575C47.168 2.317 50.16 0 53.666 0c3.505 0 6.497 2.317 7.665 5.575"
|
|
46
|
+
></path>
|
|
47
|
+
<path
|
|
48
|
+
d="M50.38 44.087h0a6.886 6.886 0 01-6.886 6.886h-26.42a6.886 6.886 0 01-6.885-6.886"
|
|
49
|
+
transform="matrix(1 0 0 -1 0 95.06)"
|
|
50
|
+
></path>
|
|
51
|
+
</g>
|
|
52
|
+
<path
|
|
53
|
+
fill="#3B414D"
|
|
54
|
+
d="M124 83a3 3 0 110 6 3 3 0 010-6zm-10 0a3 3 0 110 6 3 3 0 010-6zm20 0a3 3 0 110 6 3 3 0 010-6z"
|
|
55
|
+
></path>
|
|
56
|
+
<path
|
|
57
|
+
stroke="#45B770"
|
|
58
|
+
strokeLinecap="round"
|
|
59
|
+
strokeLinejoin="round"
|
|
60
|
+
strokeWidth="8"
|
|
61
|
+
d="M99.441 205.181L77.181 224.512"
|
|
62
|
+
></path>
|
|
63
|
+
<path
|
|
64
|
+
stroke="#45B770"
|
|
65
|
+
strokeLinecap="round"
|
|
66
|
+
strokeLinejoin="round"
|
|
67
|
+
strokeWidth="8"
|
|
68
|
+
d="M412.8955 190.764648L381.126953 224.790039 356 205.267859"
|
|
69
|
+
></path>
|
|
70
|
+
<path
|
|
71
|
+
stroke="#45B770"
|
|
72
|
+
strokeLinecap="round"
|
|
73
|
+
strokeWidth="8"
|
|
74
|
+
d="M396.5 189.5L429.5 189.5"
|
|
75
|
+
></path>
|
|
76
|
+
<path
|
|
77
|
+
stroke="#45B770"
|
|
78
|
+
strokeLinecap="round"
|
|
79
|
+
strokeLinejoin="round"
|
|
80
|
+
strokeWidth="8"
|
|
81
|
+
d="M137.079 231.103a7.605 7.605 0 000 15.211h6.644"
|
|
82
|
+
></path>
|
|
83
|
+
<g transform="translate(377 63)">
|
|
84
|
+
<g>
|
|
85
|
+
<path
|
|
86
|
+
fill="#FFF"
|
|
87
|
+
d="M66.669 116.462H5.122a5.122 5.122 0 110-10.243h61.547a5.122 5.122 0 110 10.243"
|
|
88
|
+
></path>
|
|
89
|
+
<path
|
|
90
|
+
fill="#E4F4FD"
|
|
91
|
+
d="M15.126 71.521l20.77-13.29 20.769 13.29a19.123 19.123 0 018.815 16.106v18.591H6.311v-18.59c0-6.52 3.323-12.592 8.815-16.107z"
|
|
92
|
+
></path>
|
|
93
|
+
<path
|
|
94
|
+
fill="#E4F4FD"
|
|
95
|
+
d="M56.665 44.94l-20.77 13.292L15.126 44.94a19.12 19.12 0 01-8.815-16.106V10.244H65.48v18.59a19.12 19.12 0 01-8.815 16.107z"
|
|
96
|
+
></path>
|
|
97
|
+
<path
|
|
98
|
+
fill="#FFF"
|
|
99
|
+
d="M66.669 10.244H5.122A5.122 5.122 0 115.122 0h61.547a5.122 5.122 0 110 10.244z"
|
|
100
|
+
></path>
|
|
101
|
+
</g>
|
|
102
|
+
<g stroke="#3B414D" strokeLinecap="round" strokeWidth="6">
|
|
103
|
+
<path d="M66.669 116.462H5.122a5.122 5.122 0 110-10.243h61.547a5.122 5.122 0 110 10.243z"></path>
|
|
104
|
+
<path d="M15.126 71.521l20.77-13.29 20.769 13.29a19.123 19.123 0 018.815 16.106v18.591H6.311v-18.59c0-6.52 3.323-12.592 8.815-16.107z"></path>
|
|
105
|
+
<path d="M56.665 44.94l-20.77 13.292L15.126 44.94a19.12 19.12 0 01-8.815-16.106V10.244H65.48v18.59a19.12 19.12 0 01-8.815 16.107z"></path>
|
|
106
|
+
<path d="M66.669 10.244H5.122A5.122 5.122 0 115.122 0h61.547a5.122 5.122 0 110 10.244z"></path>
|
|
107
|
+
</g>
|
|
108
|
+
</g>
|
|
109
|
+
<path
|
|
110
|
+
stroke="#3B414D"
|
|
111
|
+
strokeLinecap="round"
|
|
112
|
+
strokeWidth="8"
|
|
113
|
+
d="M27.663 247.376l-15.18.348M401 248l-44.96-.276m-256.445-.348l-52.372.348M454 248h-34"
|
|
114
|
+
></path>
|
|
115
|
+
<path
|
|
116
|
+
stroke="#3B414D"
|
|
117
|
+
strokeWidth="6"
|
|
118
|
+
d="M107.969 73H347.69a6.969 6.969 0 016.968 6.969v178.397a6.968 6.968 0 01-6.968 6.968H107.969a6.969 6.969 0 01-6.969-6.968V79.969A6.969 6.969 0 01107.969 73zM104 99h248"
|
|
119
|
+
></path>
|
|
120
|
+
<path
|
|
121
|
+
stroke="#45B770"
|
|
122
|
+
strokeLinecap="round"
|
|
123
|
+
strokeLinejoin="round"
|
|
124
|
+
strokeWidth="8"
|
|
125
|
+
d="M77.181 224.512L127.905 236.375"
|
|
126
|
+
></path>
|
|
127
|
+
<path
|
|
128
|
+
fill="#B8E4F4"
|
|
129
|
+
d="M95.74 141.218c5.753 0 10.652 3.602 12.599 8.67a5.733 5.733 0 016.092 1.987 8.512 8.512 0 013.505-.757 8.557 8.557 0 110 17.114H81.002a8.557 8.557 0 111.69-16.945c1.523-5.792 6.78-10.069 13.049-10.069zM365.823 82c9.17 0 16.7 7.01 17.532 15.963a10.567 10.567 0 016.175-1.99c5.868 0 10.625 4.757 10.625 10.625 0 5.869-4.757 10.625-10.625 10.625h-48.094c-6.868 0-12.435-5.566-12.435-12.434 0-6.868 5.567-12.435 12.435-12.435 2.791 0 5.36.931 7.435 2.484C350.952 87.432 357.75 82 365.822 82zM23.296 75.456c5.752 0 10.651 3.602 12.598 8.669a5.733 5.733 0 011.559-.22c1.84 0 3.476.866 4.532 2.208a8.52 8.52 0 013.506-.757 8.557 8.557 0 110 17.114H8.557a8.557 8.557 0 111.69-16.945c1.523-5.792 6.78-10.07 13.049-10.07zM170.219 8.845c10.946 0 19.935 8.367 20.927 19.054a12.618 12.618 0 017.372-2.375c7.004 0 12.683 5.679 12.683 12.684 0 7.004-5.68 12.683-12.683 12.683h-57.41c-8.197 0-14.843-6.646-14.843-14.844 0-8.197 6.646-14.843 14.843-14.843 3.333 0 6.398 1.112 8.876 2.966 2.485-8.841 10.599-15.325 20.235-15.325zM297.892 0c5.752 0 10.651 3.602 12.598 8.669a5.728 5.728 0 011.56-.219c1.84 0 3.475.865 4.531 2.207a8.516 8.516 0 013.506-.757 8.557 8.557 0 110 17.114h-36.935a8.557 8.557 0 01-8.556-8.557 8.557 8.557 0 0110.248-8.388C286.366 4.277 291.622 0 297.892 0z"
|
|
130
|
+
></path>
|
|
131
|
+
</g>
|
|
132
|
+
</g>
|
|
133
|
+
</g>
|
|
134
|
+
</svg>
|
|
135
|
+
);
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
export default TimeoutImage;
|
|
@@ -18,6 +18,7 @@ import BankIcon from "./BankIcon";
|
|
|
18
18
|
import GenericCard from "./GenericCard";
|
|
19
19
|
import PaymentIcon from "./PaymentIcon";
|
|
20
20
|
import IconAdd from "./IconAdd";
|
|
21
|
+
import TimeoutImage from "./TimeoutImage";
|
|
21
22
|
import AutopayOnIcon from "./AutopayOnIcon";
|
|
22
23
|
|
|
23
24
|
export {
|
|
@@ -41,5 +42,6 @@ export {
|
|
|
41
42
|
GenericCard,
|
|
42
43
|
PaymentIcon,
|
|
43
44
|
IconAdd,
|
|
45
|
+
TimeoutImage,
|
|
44
46
|
AutopayOnIcon
|
|
45
47
|
};
|
|
@@ -26,4 +26,5 @@ export { default as ResetPasswordSuccess } from "./reset-password-success";
|
|
|
26
26
|
export { default as TabSidebar } from "./tab-sidebar";
|
|
27
27
|
export { default as TermsAndConditions } from "./terms-and-conditions";
|
|
28
28
|
export { default as TermsAndConditionsModal } from "./terms-and-conditions-modal";
|
|
29
|
+
export { default as Timeout } from "./timeout";
|
|
29
30
|
export { default as WorkflowTile } from "./workflow-tile";
|
|
@@ -34,7 +34,7 @@ const AutopayModal = ({
|
|
|
34
34
|
|
|
35
35
|
const hoverStyles = `
|
|
36
36
|
&:hover {
|
|
37
|
-
.autopayIcon { fill: ${themeValues.hoverColor}; text-decoration: underline; }
|
|
37
|
+
.autopayIcon { fill: ${themeValues.hoverColor}; text-decoration: underline; cursor: pointer; }
|
|
38
38
|
}`;
|
|
39
39
|
|
|
40
40
|
const activeStyles = `
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Box, Stack, Center, Cover } from "../../atoms/layouts";
|
|
3
|
+
import { TimeoutImage } from "../../atoms/icons";
|
|
4
|
+
import ButtonWithAction from "../../atoms/button-with-action";
|
|
5
|
+
import Heading from "../../atoms/heading";
|
|
6
|
+
import { FONT_WEIGHT_BOLD } from "../../../constants/style_constants";
|
|
7
|
+
import Paragraph from "../../atoms/paragraph";
|
|
8
|
+
|
|
9
|
+
const Timeout = ({ onLogout }) => (
|
|
10
|
+
<Cover>
|
|
11
|
+
<Center intrinsic>
|
|
12
|
+
<Box padding="0" maxWidth="500px">
|
|
13
|
+
<Stack childGap="32px" justify="center">
|
|
14
|
+
<Center intrinsic>
|
|
15
|
+
<TimeoutImage />
|
|
16
|
+
</Center>
|
|
17
|
+
<Box padding="0">
|
|
18
|
+
<Heading textAlign="center" weight={FONT_WEIGHT_BOLD}>
|
|
19
|
+
Request Timed Out
|
|
20
|
+
</Heading>
|
|
21
|
+
<Paragraph variant="pL" extraStyles={`text-align: center;`}>
|
|
22
|
+
That was taking longer than we expected and your request timed
|
|
23
|
+
out. Please log out, log back in, and then try again.
|
|
24
|
+
</Paragraph>
|
|
25
|
+
</Box>
|
|
26
|
+
<Center intrinsic>
|
|
27
|
+
<Box padding="0">
|
|
28
|
+
<ButtonWithAction
|
|
29
|
+
variant="primary"
|
|
30
|
+
text="Log out"
|
|
31
|
+
action={onLogout}
|
|
32
|
+
/>
|
|
33
|
+
</Box>
|
|
34
|
+
</Center>
|
|
35
|
+
</Stack>
|
|
36
|
+
</Box>
|
|
37
|
+
</Center>
|
|
38
|
+
</Cover>
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
export default Timeout;
|