@thecb/components 4.3.9 → 4.3.10
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
CHANGED
|
@@ -15176,6 +15176,51 @@ var PaymentSearchIcon = function PaymentSearchIcon() {
|
|
|
15176
15176
|
}))))));
|
|
15177
15177
|
};
|
|
15178
15178
|
|
|
15179
|
+
var ResetPasswordIcon = function ResetPasswordIcon() {
|
|
15180
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15181
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15182
|
+
width: "86",
|
|
15183
|
+
height: "80",
|
|
15184
|
+
viewBox: "0 0 86 80"
|
|
15185
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15186
|
+
fill: "none",
|
|
15187
|
+
fillRule: "evenodd",
|
|
15188
|
+
stroke: "none",
|
|
15189
|
+
strokeWidth: "1"
|
|
15190
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15191
|
+
transform: "translate(-677 -192)"
|
|
15192
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15193
|
+
transform: "translate(432 168)"
|
|
15194
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15195
|
+
transform: "translate(245 24)"
|
|
15196
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
15197
|
+
fill: "#FFF",
|
|
15198
|
+
d: "M36 2.44311523L50.2941895 1.66943359 67 7.32739258 78 18.2668457 85 35.1682129 83 53.0935059 75.1977539 66.3569336 62.1745605 75.9748535 46 80 36 78z"
|
|
15199
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
15200
|
+
fill: "#E5E7EC",
|
|
15201
|
+
d: "M46 6h17.5l11.749 10H46a1 1 0 01-1-1V7a1 1 0 011-1zm27 62L58.5 78H46a1 1 0 01-1-1v-8a1 1 0 011-1h27zm10-16l-4.506 10H46a1 1 0 01-1-1v-8a1 1 0 011-1h37zm2-16l-.382 10H46a1 1 0 01-1-1v-8a1 1 0 011-1h39zm-7-16l4 10H46a1 1 0 01-1-1v-8a1 1 0 011-1h32z"
|
|
15202
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
15203
|
+
fill: "#15749D",
|
|
15204
|
+
d: "M45.09 0c22.091 0 40 17.909 40 40s-17.909 40-40 40C28.569 80 14.387 69.984 8.286 55.693H5a5 5 0 01-5-5V33.345a5 5 0 015-5h1.814C11.804 11.939 27.052 0 45.09 0zm33.573 55.693l-42.202-.001v20.326c2.78.667 5.682 1.02 8.667 1.02 14.84 0 27.639-8.735 33.535-21.345zm-45.24-.001l-21.83.001c4.271 9.134 12.164 16.235 21.83 19.456V55.692zm-23.41-27.345l23.41-.001V4.928C22.4 8.601 13.683 17.321 10.013 28.347zM45.128 3.038c-2.985 0-5.887.354-8.667 1.021v24.287h43.782C75.349 13.643 61.477 3.039 45.128 3.039z"
|
|
15205
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
15206
|
+
transform: "translate(8 38)"
|
|
15207
|
+
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
15208
|
+
width: "11",
|
|
15209
|
+
height: "7",
|
|
15210
|
+
x: "0",
|
|
15211
|
+
y: "2",
|
|
15212
|
+
fill: "#FFF",
|
|
15213
|
+
rx: "1"
|
|
15214
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
15215
|
+
stroke: "#FFF",
|
|
15216
|
+
strokeWidth: "2",
|
|
15217
|
+
d: "M5.5-1l.205.008c.609.05 1.156.317 1.563.724C7.72.185 8 .81 8 1.5h0V3H3V1.5c0-.69.28-1.315.732-1.768A2.492 2.492 0 015.5-1h0z"
|
|
15218
|
+
})), /*#__PURE__*/React__default.createElement("path", {
|
|
15219
|
+
fill: "#FFF",
|
|
15220
|
+
d: "M41.5 38a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm11 0a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm11 0a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm11 0a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm-44 0a3.5 3.5 0 110 7 3.5 3.5 0 010-7z"
|
|
15221
|
+
}))))));
|
|
15222
|
+
};
|
|
15223
|
+
|
|
15179
15224
|
var color$2 = "#15749D";
|
|
15180
15225
|
var hoverColor$1 = "#116285";
|
|
15181
15226
|
var activeColor$1 = "#0E506D";
|
|
@@ -40963,7 +41008,7 @@ var ResetPasswordForm = function ResetPasswordForm(_ref) {
|
|
|
40963
41008
|
},
|
|
40964
41009
|
type: "password"
|
|
40965
41010
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
40966
|
-
padding:
|
|
41011
|
+
padding: "0"
|
|
40967
41012
|
}, /*#__PURE__*/React__default.createElement(PasswordRequirements, {
|
|
40968
41013
|
password: fields.password,
|
|
40969
41014
|
isMobile: isMobile
|
|
@@ -41840,6 +41885,7 @@ exports.RejectedIcon = RejectedIcon;
|
|
|
41840
41885
|
exports.RejectedVelocityIcon = RejectedVelocityIcon;
|
|
41841
41886
|
exports.ResetConfirmationForm = ResetConfirmationForm$1;
|
|
41842
41887
|
exports.ResetPasswordForm = ResetPasswordForm;
|
|
41888
|
+
exports.ResetPasswordIcon = ResetPasswordIcon;
|
|
41843
41889
|
exports.ResetPasswordSuccess = ResetPasswordSuccess;
|
|
41844
41890
|
exports.RoutingNumberImage = RoutingNumberImage;
|
|
41845
41891
|
exports.SearchIcon = SearchIcon;
|
package/package.json
CHANGED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
const ResetPasswordIcon = () => {
|
|
4
|
+
return (
|
|
5
|
+
<svg
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
width="86"
|
|
8
|
+
height="80"
|
|
9
|
+
viewBox="0 0 86 80"
|
|
10
|
+
>
|
|
11
|
+
<g fill="none" fillRule="evenodd" stroke="none" strokeWidth="1">
|
|
12
|
+
<g transform="translate(-677 -192)">
|
|
13
|
+
<g transform="translate(432 168)">
|
|
14
|
+
<g transform="translate(245 24)">
|
|
15
|
+
<path
|
|
16
|
+
fill="#FFF"
|
|
17
|
+
d="M36 2.44311523L50.2941895 1.66943359 67 7.32739258 78 18.2668457 85 35.1682129 83 53.0935059 75.1977539 66.3569336 62.1745605 75.9748535 46 80 36 78z"
|
|
18
|
+
></path>
|
|
19
|
+
<path
|
|
20
|
+
fill="#E5E7EC"
|
|
21
|
+
d="M46 6h17.5l11.749 10H46a1 1 0 01-1-1V7a1 1 0 011-1zm27 62L58.5 78H46a1 1 0 01-1-1v-8a1 1 0 011-1h27zm10-16l-4.506 10H46a1 1 0 01-1-1v-8a1 1 0 011-1h37zm2-16l-.382 10H46a1 1 0 01-1-1v-8a1 1 0 011-1h39zm-7-16l4 10H46a1 1 0 01-1-1v-8a1 1 0 011-1h32z"
|
|
22
|
+
></path>
|
|
23
|
+
<path
|
|
24
|
+
fill="#15749D"
|
|
25
|
+
d="M45.09 0c22.091 0 40 17.909 40 40s-17.909 40-40 40C28.569 80 14.387 69.984 8.286 55.693H5a5 5 0 01-5-5V33.345a5 5 0 015-5h1.814C11.804 11.939 27.052 0 45.09 0zm33.573 55.693l-42.202-.001v20.326c2.78.667 5.682 1.02 8.667 1.02 14.84 0 27.639-8.735 33.535-21.345zm-45.24-.001l-21.83.001c4.271 9.134 12.164 16.235 21.83 19.456V55.692zm-23.41-27.345l23.41-.001V4.928C22.4 8.601 13.683 17.321 10.013 28.347zM45.128 3.038c-2.985 0-5.887.354-8.667 1.021v24.287h43.782C75.349 13.643 61.477 3.039 45.128 3.039z"
|
|
26
|
+
></path>
|
|
27
|
+
<g transform="translate(8 38)">
|
|
28
|
+
<rect
|
|
29
|
+
width="11"
|
|
30
|
+
height="7"
|
|
31
|
+
x="0"
|
|
32
|
+
y="2"
|
|
33
|
+
fill="#FFF"
|
|
34
|
+
rx="1"
|
|
35
|
+
></rect>
|
|
36
|
+
<path
|
|
37
|
+
stroke="#FFF"
|
|
38
|
+
strokeWidth="2"
|
|
39
|
+
d="M5.5-1l.205.008c.609.05 1.156.317 1.563.724C7.72.185 8 .81 8 1.5h0V3H3V1.5c0-.69.28-1.315.732-1.768A2.492 2.492 0 015.5-1h0z"
|
|
40
|
+
></path>
|
|
41
|
+
</g>
|
|
42
|
+
<path
|
|
43
|
+
fill="#FFF"
|
|
44
|
+
d="M41.5 38a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm11 0a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm11 0a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm11 0a3.5 3.5 0 110 7 3.5 3.5 0 010-7zm-44 0a3.5 3.5 0 110 7 3.5 3.5 0 010-7z"
|
|
45
|
+
></path>
|
|
46
|
+
</g>
|
|
47
|
+
</g>
|
|
48
|
+
</g>
|
|
49
|
+
</g>
|
|
50
|
+
</svg>
|
|
51
|
+
);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export default ResetPasswordIcon;
|
|
@@ -50,6 +50,7 @@ import NoCustomerResultsIcon from "./NoCustomerResultsIcon";
|
|
|
50
50
|
import NoPaymentResultsIcon from "./NoPaymentResultsIcon";
|
|
51
51
|
import CustomerSearchIcon from "./CustomerSearchIcon";
|
|
52
52
|
import PaymentSearchIcon from "./PaymentSearchIcon";
|
|
53
|
+
import ResetPasswordIcon from "./ResetPasswordIcon";
|
|
53
54
|
|
|
54
55
|
export {
|
|
55
56
|
AccountsIcon,
|
|
@@ -103,5 +104,6 @@ export {
|
|
|
103
104
|
NoCustomerResultsIcon,
|
|
104
105
|
NoPaymentResultsIcon,
|
|
105
106
|
CustomerSearchIcon,
|
|
106
|
-
PaymentSearchIcon
|
|
107
|
+
PaymentSearchIcon,
|
|
108
|
+
ResetPasswordIcon
|
|
107
109
|
};
|
|
@@ -59,7 +59,7 @@ const ResetPasswordForm = ({
|
|
|
59
59
|
onKeyDown={e => e.key === "Enter" && handleSubmit(e)}
|
|
60
60
|
type="password"
|
|
61
61
|
/>
|
|
62
|
-
<Box padding=
|
|
62
|
+
<Box padding="0">
|
|
63
63
|
<PasswordRequirements password={fields.password} isMobile={isMobile} />
|
|
64
64
|
</Box>
|
|
65
65
|
</FormInputColumn>
|