@thecb/components 4.0.12 → 4.0.14
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 +84 -20
- package/package.json +1 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.js +1 -0
- package/src/components/atoms/button-with-link/ButtonWithLink.js +2 -1
- package/src/components/atoms/card/Card.js +3 -3
- package/src/components/atoms/card/index.js +1 -1
- package/src/components/atoms/icons/PaymentMethodAddIcon.js +76 -0
- package/src/components/atoms/icons/index.js +2 -0
- package/src/components/molecules/collapsible-section/CollapsibleSection.js +3 -2
- package/src/components/molecules/collapsible-section/CollapsibleSection.theme.js +1 -3
- package/src/components/molecules/reset-confirmation-form/ResetConfirmationForm.js +1 -0
- package/src/components/molecules/reset-password-success/ResetPasswordSuccess.js +1 -0
- package/src/components/molecules/welcome-module/WelcomeModule.js +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -12633,7 +12633,7 @@ var ButtonWithAction = function ButtonWithAction(_ref) {
|
|
|
12633
12633
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
12634
12634
|
var themeValues = createThemeValues(themeContext, fallbackValues$1, "Button", variant);
|
|
12635
12635
|
var loadingExtraStyles = "".concat(extraStyles, "; padding-top: 0.75rem; padding-bottom: 0.75rem; height: ").concat(themeContext.isMobile ? "50px" : "57px", " ");
|
|
12636
|
-
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
12636
|
+
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
|
|
12637
12637
|
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
12638
12638
|
var disabledStyles = "\n background-clor: #6E727E;\n border-color: #6E727E;\n color: #FFFFFF;\n &:focus {\n box-shadow: 0 0 10px #6E727E;\n outline: none;\n }\n ";
|
|
12639
12639
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -13000,6 +13000,70 @@ var PaymentsIconSmall = function PaymentsIconSmall(_ref) {
|
|
|
13000
13000
|
|
|
13001
13001
|
var PaymentsIconSmall$1 = themeComponent(PaymentsIconSmall, "Icons", fallbackValues$2, "primary");
|
|
13002
13002
|
|
|
13003
|
+
var PaymentMethodAddIcon = function PaymentMethodAddIcon(_ref) {
|
|
13004
|
+
var themeValues = _ref.themeValues;
|
|
13005
|
+
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13006
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13007
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
13008
|
+
width: "100",
|
|
13009
|
+
height: "100",
|
|
13010
|
+
viewBox: "0 0 100 100"
|
|
13011
|
+
}, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("path", {
|
|
13012
|
+
id: "path-1",
|
|
13013
|
+
d: "M0 0H103V100H0z"
|
|
13014
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13015
|
+
id: "path-3",
|
|
13016
|
+
d: "M16.624999 11.3749994L11.3749994 11.3749994 11.3749994 16.624999 9.62499952 16.624999 9.62499952 11.3749994 4.37499993 11.3749994 4.37499993 9.62499952 9.62499952 9.62499952 9.62499952 4.37499993 11.3749994 4.37499993 11.3749994 9.62499952 16.624999 9.62499952z"
|
|
13017
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
13018
|
+
fill: "none",
|
|
13019
|
+
fillRule: "evenodd",
|
|
13020
|
+
stroke: "none",
|
|
13021
|
+
strokeWidth: "1",
|
|
13022
|
+
transform: "translate(-1)"
|
|
13023
|
+
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("mask", {
|
|
13024
|
+
id: "mask-2",
|
|
13025
|
+
fill: themeValues.primaryColor
|
|
13026
|
+
}, /*#__PURE__*/React__default.createElement("use", {
|
|
13027
|
+
xlinkHref: "#path-1"
|
|
13028
|
+
})), /*#__PURE__*/React__default.createElement("g", {
|
|
13029
|
+
mask: "url(#mask-2)"
|
|
13030
|
+
}, /*#__PURE__*/React__default.createElement("g", {
|
|
13031
|
+
transform: "translate(11.33 11)"
|
|
13032
|
+
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13033
|
+
fill: themeValues.primaryColor,
|
|
13034
|
+
fillRule: "evenodd",
|
|
13035
|
+
d: "M85.49 9v38H40.17v16.251c0 .918-.726 1.67-1.65 1.743l-.147.006h-27.41c-1.966-2.87-3.557-5.537-4.842-8H31.93v-4H5.15v2.055C-1.194 41.772 1.678 35 1.678 35H15.45V9h70.04z"
|
|
13036
|
+
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13037
|
+
fill: themeValues.accentColor,
|
|
13038
|
+
fillRule: "nonzero",
|
|
13039
|
+
d: "M39.963 0c8.67 0 16.925 2.695 23.741 7.603l.461.336H85.49c.547 0 .997.414 1.055.945l.006.116v38c0 .547-.414.997-.945 1.055l-.116.006h-6.75l-.01.04c-4.35 17.186-20.282 29.496-38.767 29.496C17.92 77.597.038 60.235.038 38.799c0-11.976 5.58-22.68 14.35-29.795V9c0-.547.415-.997.946-1.055l.116-.006h.31c6.716-4.981 15.105-7.94 24.203-7.94zM76.095 48.06H40.201v15.19c0 1.5-1.185 2.717-2.672 2.805l-.172.005H15.346c6.573 5.588 15.185 8.976 24.617 8.976 17.105 0 31.859-11.237 36.132-26.976zM13.053 63.94l24.304-.001c.37 0 .668-.263.715-.595l.007-.093L38.078 48H3.813c1.642 6.084 4.874 11.545 9.24 15.94zM84.428 10.06H17.197c-.231.172-.46.347-.687.524l.001 23.354h20.846c1.508 0 2.75 1.163 2.84 2.64l.004.17v9.19l44.227-.001V10.061zm-25.629 25.59l.226.14.334.217.869.584 2.017 1.396c.608.413 1.147.76 1.657 1.066 1.562.934 2.772 1.404 3.545 1.353.706-.047 1.215-.139 1.724-.306l.257-.092 2.175-.952.957-.407.352-.143.32-.126c1.831-.702 3.446.022 4.737 1.553.534.632.903 1.26 1.106 1.7a.875.875 0 01-1.538.828l-.15-.29-.113-.198a6.64 6.64 0 00-.642-.912c-.863-1.023-1.773-1.432-2.774-1.048l-.456.182-.798.335-2.562 1.116-.046.018c-.749.277-1.463.424-2.434.487-1.234.082-2.708-.49-4.558-1.597-.433-.259-.882-.545-1.369-.869l-2.409-1.66-.857-.577-.377-.243a2.382 2.382 0 00-.057-.034c-2.004-1.14-4.756 1.386-6.683 5.22a.875.875 0 11-1.564-.785c.088-.173.176-.344.266-.513l.275-.5c.464-.821.962-1.582 1.488-2.258l.318-.396c2.035-2.442 4.432-3.615 6.764-2.288zm-56.09.34l-.032.426A35.67 35.67 0 002.666 41L38.078 41v-4.25a.701.701 0 00-.623-.682l-.098-.007H3.09c-.134 0-.263-.025-.381-.07zm.22-2.04l.045-.006.116-.006h11.298V12.377C8.276 17.947 4.097 25.487 2.93 33.952zM77.352 14v1.697c1.402.247 2.599.742 3.634 1.48l-1.963 2.457c-1.295-.826-2.71-1.238-3.965-1.238-.95 0-1.417.34-1.417.807v.036c0 .574.487.824 2.47 1.22 3.236.627 5.259 1.56 5.259 3.91v.035c0 2.11-1.551 3.515-4.018 3.947V30h-3.737v-1.671c-1.735-.278-3.33-.916-4.605-1.916l2.184-2.314c1.416.986 2.954 1.507 4.592 1.507 1.072 0 1.639-.324 1.639-.862v-.035c0-.538-.465-.808-2.407-1.22-3.015-.61-5.341-1.363-5.341-3.928v-.035c0-1.953 1.466-3.45 3.938-3.885V14h3.737zM49.44 26.625a.875.875 0 01.11 1.743l-.11.007H19.57a.875.875 0 01-.11-1.743l.11-.007h29.87zm-12.36-6a.875.875 0 01.11 1.743l-.11.007H19.57a.875.875 0 01-.11-1.743l.11-.007h17.51zm11.33-6a.875.875 0 01.11 1.743l-.11.007H35.02a.875.875 0 01-.11-1.743l.11-.007h13.39zm-17.51 0a.875.875 0 01.11 1.743l-.11.007H19.57a.875.875 0 01-.11-1.743l.11-.007H30.9zM39.963 2.56c-7.19 0-13.902 1.969-19.599 5.38h39.197c-5.824-3.489-12.562-5.38-19.598-5.38z"
|
|
13040
|
+
})))), /*#__PURE__*/React__default.createElement("g", {
|
|
13041
|
+
transform: "translate(59 61)"
|
|
13042
|
+
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
13043
|
+
cx: "13.3",
|
|
13044
|
+
cy: "13.3",
|
|
13045
|
+
r: "13.3",
|
|
13046
|
+
fill: themeValues.subIconColor
|
|
13047
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
13048
|
+
transform: "translate(2.8 2.8)"
|
|
13049
|
+
}, /*#__PURE__*/React__default.createElement("mask", {
|
|
13050
|
+
id: "mask-4",
|
|
13051
|
+
fill: "#fff"
|
|
13052
|
+
}, /*#__PURE__*/React__default.createElement("use", {
|
|
13053
|
+
xlinkHref: "#path-3"
|
|
13054
|
+
})), /*#__PURE__*/React__default.createElement("use", {
|
|
13055
|
+
fill: "#000",
|
|
13056
|
+
xlinkHref: "#path-3"
|
|
13057
|
+
}), /*#__PURE__*/React__default.createElement("g", {
|
|
13058
|
+
fill: themeValues.primaryColor,
|
|
13059
|
+
mask: "url(#mask-4)"
|
|
13060
|
+
}, /*#__PURE__*/React__default.createElement("g", null, /*#__PURE__*/React__default.createElement("path", {
|
|
13061
|
+
d: "M0 0H21V21H0z"
|
|
13062
|
+
})))))));
|
|
13063
|
+
};
|
|
13064
|
+
|
|
13065
|
+
var PaymentMethodAddIcon$1 = themeComponent(PaymentMethodAddIcon, "Icons", fallbackValues$2, "info");
|
|
13066
|
+
|
|
13003
13067
|
var ProfileIconSmall = function ProfileIconSmall(_ref) {
|
|
13004
13068
|
var themeValues = _ref.themeValues;
|
|
13005
13069
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -16229,9 +16293,10 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
16229
16293
|
_ref$fileLink = _ref.fileLink,
|
|
16230
16294
|
fileLink = _ref$fileLink === void 0 ? false : _ref$fileLink,
|
|
16231
16295
|
extraStyles = _ref.extraStyles,
|
|
16296
|
+
linkExtraStyles = _ref.linkExtraStyles,
|
|
16232
16297
|
_ref$newTab = _ref.newTab,
|
|
16233
16298
|
newTab = _ref$newTab === void 0 ? false : _ref$newTab,
|
|
16234
|
-
otherProps = _objectWithoutProperties(_ref, ["url", "disabled", "fileLink", "extraStyles", "newTab"]);
|
|
16299
|
+
otherProps = _objectWithoutProperties(_ref, ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab"]);
|
|
16235
16300
|
|
|
16236
16301
|
var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
|
|
16237
16302
|
var children = _ref2.children,
|
|
@@ -16260,7 +16325,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
|
|
|
16260
16325
|
url: url,
|
|
16261
16326
|
disabled: disabled,
|
|
16262
16327
|
newTab: newTab,
|
|
16263
|
-
extraStyles: "text-decoration: none; &:hover {\n text-decoration: none; }"
|
|
16328
|
+
extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }")
|
|
16264
16329
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, _extends({}, otherProps, {
|
|
16265
16330
|
extraStyles: extraStyles
|
|
16266
16331
|
})));
|
|
@@ -16445,10 +16510,10 @@ var Card = function Card(_ref2) {
|
|
|
16445
16510
|
return /*#__PURE__*/React__default.createElement(PropertiesAddIcon$1, null);
|
|
16446
16511
|
|
|
16447
16512
|
case "payment":
|
|
16448
|
-
return /*#__PURE__*/React__default.createElement(
|
|
16513
|
+
return /*#__PURE__*/React__default.createElement(PaymentMethodAddIcon$1, null);
|
|
16449
16514
|
|
|
16450
16515
|
default:
|
|
16451
|
-
return /*#__PURE__*/React__default.createElement(
|
|
16516
|
+
return /*#__PURE__*/React__default.createElement(PaymentMethodAddIcon$1, null);
|
|
16452
16517
|
}
|
|
16453
16518
|
};
|
|
16454
16519
|
|
|
@@ -16522,7 +16587,7 @@ var cardRegistry = {
|
|
|
16522
16587
|
icon: "properties",
|
|
16523
16588
|
heading: "Add a Property",
|
|
16524
16589
|
buttonText: "Add Property",
|
|
16525
|
-
text: "Find and attach your properties to make your payments simple.",
|
|
16590
|
+
text: "Find and attach your properties to make your tax payments simple.",
|
|
16526
16591
|
cardAction: "/profile/properties"
|
|
16527
16592
|
}, props));
|
|
16528
16593
|
},
|
|
@@ -33332,12 +33397,10 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
33332
33397
|
var titleColor = "#292A33";
|
|
33333
33398
|
var headingBackgroundColor = "transparent";
|
|
33334
33399
|
var bodyBackgroundColor = "transparent";
|
|
33335
|
-
var focusStyles = "outline: none;";
|
|
33336
33400
|
var fallbackValues$q = {
|
|
33337
33401
|
titleColor: titleColor,
|
|
33338
33402
|
headingBackgroundColor: headingBackgroundColor,
|
|
33339
|
-
bodyBackgroundColor: bodyBackgroundColor
|
|
33340
|
-
focusStyles: focusStyles
|
|
33403
|
+
bodyBackgroundColor: bodyBackgroundColor
|
|
33341
33404
|
};
|
|
33342
33405
|
|
|
33343
33406
|
var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
@@ -33395,7 +33458,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
33395
33458
|
padding: "0",
|
|
33396
33459
|
tabIndex: "0",
|
|
33397
33460
|
onKeyDown: handleKeyDown,
|
|
33398
|
-
hoverStyles:
|
|
33461
|
+
hoverStyles: "outline: none;",
|
|
33399
33462
|
animate: isOpen ? "open" : "closed",
|
|
33400
33463
|
positionTransition: true
|
|
33401
33464
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
@@ -33405,7 +33468,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
33405
33468
|
background: themeValues.headingBackgroundColor,
|
|
33406
33469
|
onClick: isMobile && supportsTouch ? noop : toggleSection,
|
|
33407
33470
|
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop,
|
|
33408
|
-
key: "header"
|
|
33471
|
+
key: "header",
|
|
33472
|
+
hoverStyles: "cursor: pointer;"
|
|
33409
33473
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
33410
33474
|
justify: "space-between",
|
|
33411
33475
|
align: "center"
|
|
@@ -33419,10 +33483,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
33419
33483
|
as: "h6"
|
|
33420
33484
|
}, title), /*#__PURE__*/React__default.createElement(Motion, {
|
|
33421
33485
|
variants: icon,
|
|
33422
|
-
|
|
33423
|
-
display: "flex",
|
|
33424
|
-
alignItems: "center"
|
|
33425
|
-
}
|
|
33486
|
+
extraStyles: "display: flex; align-items: center;"
|
|
33426
33487
|
}, /*#__PURE__*/React__default.createElement(ChevronIcon$1, null)))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
|
|
33427
33488
|
initial: false
|
|
33428
33489
|
}, isOpen && /*#__PURE__*/React__default.createElement(Motion, {
|
|
@@ -38257,13 +38318,13 @@ var headingBackgroundColor$1 = "".concat(WHITE);
|
|
|
38257
38318
|
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
38258
38319
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
38259
38320
|
var borderColor$2 = "".concat(GREY_CHATEAU);
|
|
38260
|
-
var focusStyles
|
|
38321
|
+
var focusStyles = "outline: none;";
|
|
38261
38322
|
var fallbackValues$x = {
|
|
38262
38323
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
38263
38324
|
headingDisabledColor: headingDisabledColor,
|
|
38264
38325
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
38265
38326
|
borderColor: borderColor$2,
|
|
38266
|
-
focusStyles: focusStyles
|
|
38327
|
+
focusStyles: focusStyles
|
|
38267
38328
|
};
|
|
38268
38329
|
|
|
38269
38330
|
function _templateObject$A() {
|
|
@@ -38607,7 +38668,8 @@ var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
|
38607
38668
|
url: "/login",
|
|
38608
38669
|
text: "Back to Login",
|
|
38609
38670
|
variant: "primary",
|
|
38610
|
-
extraStyles: "width: 100%;"
|
|
38671
|
+
extraStyles: "width: 100%;",
|
|
38672
|
+
linkExtraStyles: "width: 100%;"
|
|
38611
38673
|
})))));
|
|
38612
38674
|
};
|
|
38613
38675
|
|
|
@@ -38727,7 +38789,8 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
|
38727
38789
|
url: "/login",
|
|
38728
38790
|
text: "Log in",
|
|
38729
38791
|
variant: "primary",
|
|
38730
|
-
extraStyles: "width: 100%;"
|
|
38792
|
+
extraStyles: "width: 100%;",
|
|
38793
|
+
linkExtraStyles: "width: 100%;"
|
|
38731
38794
|
}))))));
|
|
38732
38795
|
};
|
|
38733
38796
|
|
|
@@ -39049,7 +39112,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
39049
39112
|
}, /*#__PURE__*/React__default.createElement(WelcomeImage, {
|
|
39050
39113
|
src: welcomeImage
|
|
39051
39114
|
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
39052
|
-
padding: "0.875rem 1.5rem",
|
|
39115
|
+
padding: isMobile ? "0.875rem 1rem" : "0.875rem 1.5rem",
|
|
39053
39116
|
background: themeValues.headerBackgroundColor
|
|
39054
39117
|
}, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
39055
39118
|
variant: "h6",
|
|
@@ -39465,6 +39528,7 @@ exports.PaymentDetails = PaymentDetails$1;
|
|
|
39465
39528
|
exports.PaymentFormACH = PaymentFormACH;
|
|
39466
39529
|
exports.PaymentFormCard = PaymentFormCard;
|
|
39467
39530
|
exports.PaymentIcon = PaymentIcon;
|
|
39531
|
+
exports.PaymentMethodAddIcon = PaymentMethodAddIcon$1;
|
|
39468
39532
|
exports.PaymentMethodIcon = PaymentMethodIcon$1;
|
|
39469
39533
|
exports.PaymentsIconSmall = PaymentsIconSmall$1;
|
|
39470
39534
|
exports.PhoneForm = PhoneForm;
|
package/package.json
CHANGED
|
@@ -10,6 +10,7 @@ const ButtonWithLink = ({
|
|
|
10
10
|
disabled = false,
|
|
11
11
|
fileLink = false,
|
|
12
12
|
extraStyles,
|
|
13
|
+
linkExtraStyles,
|
|
13
14
|
newTab = false,
|
|
14
15
|
...otherProps
|
|
15
16
|
}) => {
|
|
@@ -44,7 +45,7 @@ const ButtonWithLink = ({
|
|
|
44
45
|
url={url}
|
|
45
46
|
disabled={disabled}
|
|
46
47
|
newTab={newTab}
|
|
47
|
-
extraStyles={
|
|
48
|
+
extraStyles={`${linkExtraStyles} text-decoration: none; &:hover {
|
|
48
49
|
text-decoration: none; }`}
|
|
49
50
|
>
|
|
50
51
|
<ButtonWithAction {...otherProps} extraStyles={extraStyles} />
|
|
@@ -10,7 +10,7 @@ import { themeComponent } from "../../../util/themeUtils";
|
|
|
10
10
|
import {
|
|
11
11
|
AccountsAddIcon,
|
|
12
12
|
PropertiesAddIcon,
|
|
13
|
-
|
|
13
|
+
PaymentMethodAddIcon
|
|
14
14
|
} from "../icons";
|
|
15
15
|
import withWindowSize from "../../withWindowSize";
|
|
16
16
|
|
|
@@ -45,9 +45,9 @@ const Card = ({
|
|
|
45
45
|
case "properties":
|
|
46
46
|
return <PropertiesAddIcon />;
|
|
47
47
|
case "payment":
|
|
48
|
-
return <
|
|
48
|
+
return <PaymentMethodAddIcon />;
|
|
49
49
|
default:
|
|
50
|
-
return <
|
|
50
|
+
return <PaymentMethodAddIcon />;
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
|
|
@@ -17,7 +17,7 @@ export const cardRegistry = {
|
|
|
17
17
|
icon="properties"
|
|
18
18
|
heading="Add a Property"
|
|
19
19
|
buttonText="Add Property"
|
|
20
|
-
text="Find and attach your properties to make your payments simple."
|
|
20
|
+
text="Find and attach your properties to make your tax payments simple."
|
|
21
21
|
cardAction="/profile/properties"
|
|
22
22
|
{...props}
|
|
23
23
|
/>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { fallbackValues } from "./Icons.theme";
|
|
3
|
+
import { themeComponent } from "../../../util/themeUtils";
|
|
4
|
+
|
|
5
|
+
const PaymentMethodAddIcon = ({ themeValues }) => {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
+
xmlnsXlink="http://www.w3.org/1999/xlink"
|
|
10
|
+
width="100"
|
|
11
|
+
height="100"
|
|
12
|
+
viewBox="0 0 100 100"
|
|
13
|
+
>
|
|
14
|
+
<defs>
|
|
15
|
+
<path id="path-1" d="M0 0H103V100H0z"></path>
|
|
16
|
+
<path
|
|
17
|
+
id="path-3"
|
|
18
|
+
d="M16.624999 11.3749994L11.3749994 11.3749994 11.3749994 16.624999 9.62499952 16.624999 9.62499952 11.3749994 4.37499993 11.3749994 4.37499993 9.62499952 9.62499952 9.62499952 9.62499952 4.37499993 11.3749994 4.37499993 11.3749994 9.62499952 16.624999 9.62499952z"
|
|
19
|
+
></path>
|
|
20
|
+
</defs>
|
|
21
|
+
<g
|
|
22
|
+
fill="none"
|
|
23
|
+
fillRule="evenodd"
|
|
24
|
+
stroke="none"
|
|
25
|
+
strokeWidth="1"
|
|
26
|
+
transform="translate(-1)"
|
|
27
|
+
>
|
|
28
|
+
<g>
|
|
29
|
+
<mask id="mask-2" fill={themeValues.primaryColor}>
|
|
30
|
+
<use xlinkHref="#path-1"></use>
|
|
31
|
+
</mask>
|
|
32
|
+
<g mask="url(#mask-2)">
|
|
33
|
+
<g transform="translate(11.33 11)">
|
|
34
|
+
<path
|
|
35
|
+
fill={themeValues.primaryColor}
|
|
36
|
+
fillRule="evenodd"
|
|
37
|
+
d="M85.49 9v38H40.17v16.251c0 .918-.726 1.67-1.65 1.743l-.147.006h-27.41c-1.966-2.87-3.557-5.537-4.842-8H31.93v-4H5.15v2.055C-1.194 41.772 1.678 35 1.678 35H15.45V9h70.04z"
|
|
38
|
+
></path>
|
|
39
|
+
<path
|
|
40
|
+
fill={themeValues.accentColor}
|
|
41
|
+
fillRule="nonzero"
|
|
42
|
+
d="M39.963 0c8.67 0 16.925 2.695 23.741 7.603l.461.336H85.49c.547 0 .997.414 1.055.945l.006.116v38c0 .547-.414.997-.945 1.055l-.116.006h-6.75l-.01.04c-4.35 17.186-20.282 29.496-38.767 29.496C17.92 77.597.038 60.235.038 38.799c0-11.976 5.58-22.68 14.35-29.795V9c0-.547.415-.997.946-1.055l.116-.006h.31c6.716-4.981 15.105-7.94 24.203-7.94zM76.095 48.06H40.201v15.19c0 1.5-1.185 2.717-2.672 2.805l-.172.005H15.346c6.573 5.588 15.185 8.976 24.617 8.976 17.105 0 31.859-11.237 36.132-26.976zM13.053 63.94l24.304-.001c.37 0 .668-.263.715-.595l.007-.093L38.078 48H3.813c1.642 6.084 4.874 11.545 9.24 15.94zM84.428 10.06H17.197c-.231.172-.46.347-.687.524l.001 23.354h20.846c1.508 0 2.75 1.163 2.84 2.64l.004.17v9.19l44.227-.001V10.061zm-25.629 25.59l.226.14.334.217.869.584 2.017 1.396c.608.413 1.147.76 1.657 1.066 1.562.934 2.772 1.404 3.545 1.353.706-.047 1.215-.139 1.724-.306l.257-.092 2.175-.952.957-.407.352-.143.32-.126c1.831-.702 3.446.022 4.737 1.553.534.632.903 1.26 1.106 1.7a.875.875 0 01-1.538.828l-.15-.29-.113-.198a6.64 6.64 0 00-.642-.912c-.863-1.023-1.773-1.432-2.774-1.048l-.456.182-.798.335-2.562 1.116-.046.018c-.749.277-1.463.424-2.434.487-1.234.082-2.708-.49-4.558-1.597-.433-.259-.882-.545-1.369-.869l-2.409-1.66-.857-.577-.377-.243a2.382 2.382 0 00-.057-.034c-2.004-1.14-4.756 1.386-6.683 5.22a.875.875 0 11-1.564-.785c.088-.173.176-.344.266-.513l.275-.5c.464-.821.962-1.582 1.488-2.258l.318-.396c2.035-2.442 4.432-3.615 6.764-2.288zm-56.09.34l-.032.426A35.67 35.67 0 002.666 41L38.078 41v-4.25a.701.701 0 00-.623-.682l-.098-.007H3.09c-.134 0-.263-.025-.381-.07zm.22-2.04l.045-.006.116-.006h11.298V12.377C8.276 17.947 4.097 25.487 2.93 33.952zM77.352 14v1.697c1.402.247 2.599.742 3.634 1.48l-1.963 2.457c-1.295-.826-2.71-1.238-3.965-1.238-.95 0-1.417.34-1.417.807v.036c0 .574.487.824 2.47 1.22 3.236.627 5.259 1.56 5.259 3.91v.035c0 2.11-1.551 3.515-4.018 3.947V30h-3.737v-1.671c-1.735-.278-3.33-.916-4.605-1.916l2.184-2.314c1.416.986 2.954 1.507 4.592 1.507 1.072 0 1.639-.324 1.639-.862v-.035c0-.538-.465-.808-2.407-1.22-3.015-.61-5.341-1.363-5.341-3.928v-.035c0-1.953 1.466-3.45 3.938-3.885V14h3.737zM49.44 26.625a.875.875 0 01.11 1.743l-.11.007H19.57a.875.875 0 01-.11-1.743l.11-.007h29.87zm-12.36-6a.875.875 0 01.11 1.743l-.11.007H19.57a.875.875 0 01-.11-1.743l.11-.007h17.51zm11.33-6a.875.875 0 01.11 1.743l-.11.007H35.02a.875.875 0 01-.11-1.743l.11-.007h13.39zm-17.51 0a.875.875 0 01.11 1.743l-.11.007H19.57a.875.875 0 01-.11-1.743l.11-.007H30.9zM39.963 2.56c-7.19 0-13.902 1.969-19.599 5.38h39.197c-5.824-3.489-12.562-5.38-19.598-5.38z"
|
|
43
|
+
></path>
|
|
44
|
+
</g>
|
|
45
|
+
</g>
|
|
46
|
+
</g>
|
|
47
|
+
<g transform="translate(59 61)">
|
|
48
|
+
<circle
|
|
49
|
+
cx="13.3"
|
|
50
|
+
cy="13.3"
|
|
51
|
+
r="13.3"
|
|
52
|
+
fill={themeValues.subIconColor}
|
|
53
|
+
></circle>
|
|
54
|
+
<g transform="translate(2.8 2.8)">
|
|
55
|
+
<mask id="mask-4" fill="#fff">
|
|
56
|
+
<use xlinkHref="#path-3"></use>
|
|
57
|
+
</mask>
|
|
58
|
+
<use fill="#000" xlinkHref="#path-3"></use>
|
|
59
|
+
<g fill={themeValues.primaryColor} mask="url(#mask-4)">
|
|
60
|
+
<g>
|
|
61
|
+
<path d="M0 0H21V21H0z"></path>
|
|
62
|
+
</g>
|
|
63
|
+
</g>
|
|
64
|
+
</g>
|
|
65
|
+
</g>
|
|
66
|
+
</g>
|
|
67
|
+
</svg>
|
|
68
|
+
);
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export default themeComponent(
|
|
72
|
+
PaymentMethodAddIcon,
|
|
73
|
+
"Icons",
|
|
74
|
+
fallbackValues,
|
|
75
|
+
"info"
|
|
76
|
+
);
|
|
@@ -6,6 +6,7 @@ import VerifiedEmailIcon from "./VerifiedEmailIcon";
|
|
|
6
6
|
import PaymentMethodIcon from "./PaymentMethodIcon";
|
|
7
7
|
import AccountsIconSmall from "./AccountsIconSmall";
|
|
8
8
|
import PaymentsIconSmall from "./PaymentsIconSmall";
|
|
9
|
+
import PaymentMethodAddIcon from "./PaymentMethodAddIcon";
|
|
9
10
|
import ProfileIconSmall from "./ProfileIconSmall";
|
|
10
11
|
import SettingsIconSmall from "./SettingsIconSmall";
|
|
11
12
|
import ChevronIcon from "./ChevronIcon";
|
|
@@ -30,6 +31,7 @@ export {
|
|
|
30
31
|
PaymentMethodIcon,
|
|
31
32
|
AccountsIconSmall,
|
|
32
33
|
PaymentsIconSmall,
|
|
34
|
+
PaymentMethodAddIcon,
|
|
33
35
|
ProfileIconSmall,
|
|
34
36
|
SettingsIconSmall,
|
|
35
37
|
ChevronIcon,
|
|
@@ -64,7 +64,7 @@ const CollapsibleSection = ({
|
|
|
64
64
|
padding="0"
|
|
65
65
|
tabIndex="0"
|
|
66
66
|
onKeyDown={handleKeyDown}
|
|
67
|
-
hoverStyles={
|
|
67
|
+
hoverStyles={`outline: none;`}
|
|
68
68
|
animate={isOpen ? "open" : "closed"}
|
|
69
69
|
positionTransition
|
|
70
70
|
>
|
|
@@ -75,6 +75,7 @@ const CollapsibleSection = ({
|
|
|
75
75
|
onClick={isMobile && supportsTouch ? noop : toggleSection}
|
|
76
76
|
onTouchEnd={isMobile && supportsTouch ? toggleSection : noop}
|
|
77
77
|
key="header"
|
|
78
|
+
hoverStyles={`cursor: pointer;`}
|
|
78
79
|
>
|
|
79
80
|
<Cluster justify="space-between" align="center">
|
|
80
81
|
{customTitle ? (
|
|
@@ -93,7 +94,7 @@ const CollapsibleSection = ({
|
|
|
93
94
|
)}
|
|
94
95
|
<Motion
|
|
95
96
|
variants={icon}
|
|
96
|
-
|
|
97
|
+
extraStyles={`display: flex; align-items: center;`}
|
|
97
98
|
>
|
|
98
99
|
<ChevronIcon />
|
|
99
100
|
</Motion>
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
const titleColor = "#292A33";
|
|
2
2
|
const headingBackgroundColor = "transparent";
|
|
3
3
|
const bodyBackgroundColor = "transparent";
|
|
4
|
-
const focusStyles = `outline: none;`;
|
|
5
4
|
|
|
6
5
|
export const fallbackValues = {
|
|
7
6
|
titleColor,
|
|
8
7
|
headingBackgroundColor,
|
|
9
|
-
bodyBackgroundColor
|
|
10
|
-
focusStyles
|
|
8
|
+
bodyBackgroundColor
|
|
11
9
|
};
|