@thecb/components 4.0.11 → 4.0.14-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 +202 -147
- 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 +10 -8
- package/src/components/atoms/card/index.js +5 -5
- 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/payment-form-ach/PaymentFormACH.js +1 -20
- package/src/components/molecules/payment-form-card/PaymentFormCard.js +1 -4
- 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 +8 -5
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,15 +16325,94 @@ 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
|
})));
|
|
16267
16332
|
};
|
|
16268
16333
|
|
|
16334
|
+
var fontFamily$3 = {
|
|
16335
|
+
p: "Public Sans",
|
|
16336
|
+
pL: "Public Sans",
|
|
16337
|
+
pS: "Public Sans",
|
|
16338
|
+
pXS: "Public Sans",
|
|
16339
|
+
pXXS: "Public Sans",
|
|
16340
|
+
pXL: "Public Sans"
|
|
16341
|
+
};
|
|
16342
|
+
var fontSize$4 = {
|
|
16343
|
+
p: "1rem",
|
|
16344
|
+
pL: "1.125rem",
|
|
16345
|
+
pS: "0.875rem",
|
|
16346
|
+
pXS: "0.75rem",
|
|
16347
|
+
pXXS: "0.65rem",
|
|
16348
|
+
pXL: "1.5rem"
|
|
16349
|
+
};
|
|
16350
|
+
var fallbackValues$9 = {
|
|
16351
|
+
fontFamily: fontFamily$3,
|
|
16352
|
+
fontSize: fontSize$4
|
|
16353
|
+
};
|
|
16354
|
+
|
|
16355
|
+
function _templateObject$j() {
|
|
16356
|
+
var data = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n font-weight: ", ";\n font-family: ", ";\n color: ", ";\n margin: ", ";\n\n ", "\n"]);
|
|
16357
|
+
|
|
16358
|
+
_templateObject$j = function _templateObject() {
|
|
16359
|
+
return data;
|
|
16360
|
+
};
|
|
16361
|
+
|
|
16362
|
+
return data;
|
|
16363
|
+
}
|
|
16364
|
+
var ParagraphText = styled__default.p(_templateObject$j(), function (_ref) {
|
|
16365
|
+
var fontSize = _ref.fontSize;
|
|
16366
|
+
return fontSize;
|
|
16367
|
+
}, function (_ref2) {
|
|
16368
|
+
var weight = _ref2.weight;
|
|
16369
|
+
return weight;
|
|
16370
|
+
}, function (_ref3) {
|
|
16371
|
+
var fontFamily = _ref3.fontFamily;
|
|
16372
|
+
return fontFamily;
|
|
16373
|
+
}, function (_ref4) {
|
|
16374
|
+
var color = _ref4.color;
|
|
16375
|
+
return color;
|
|
16376
|
+
}, function (_ref5) {
|
|
16377
|
+
var margin = _ref5.margin;
|
|
16378
|
+
return margin;
|
|
16379
|
+
}, function (_ref6) {
|
|
16380
|
+
var extraStyles = _ref6.extraStyles;
|
|
16381
|
+
return extraStyles;
|
|
16382
|
+
});
|
|
16383
|
+
|
|
16384
|
+
var Paragraph = function Paragraph(_ref) {
|
|
16385
|
+
var themeValues = _ref.themeValues,
|
|
16386
|
+
_ref$weight = _ref.weight,
|
|
16387
|
+
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
16388
|
+
_ref$color = _ref.color,
|
|
16389
|
+
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
16390
|
+
_ref$margin = _ref.margin,
|
|
16391
|
+
margin = _ref$margin === void 0 ? 0 : _ref$margin,
|
|
16392
|
+
_ref$extraStyles = _ref.extraStyles,
|
|
16393
|
+
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
16394
|
+
dataQa = _ref.dataQa,
|
|
16395
|
+
children = _ref.children,
|
|
16396
|
+
as = _ref.as,
|
|
16397
|
+
rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"]);
|
|
16398
|
+
|
|
16399
|
+
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
16400
|
+
weight: weight,
|
|
16401
|
+
color: color,
|
|
16402
|
+
margin: margin,
|
|
16403
|
+
fontFamily: themeValues.fontFamily,
|
|
16404
|
+
fontSize: themeValues.fontSize,
|
|
16405
|
+
as: as,
|
|
16406
|
+
extraStyles: extraStyles,
|
|
16407
|
+
"data-qa": dataQa
|
|
16408
|
+
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
16409
|
+
};
|
|
16410
|
+
|
|
16411
|
+
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$9, "p");
|
|
16412
|
+
|
|
16269
16413
|
var backgroundColor$1 = WHITE;
|
|
16270
16414
|
var iconBackgroundColor = GRECIAN_GREY;
|
|
16271
|
-
var fallbackValues$
|
|
16415
|
+
var fallbackValues$a = {
|
|
16272
16416
|
backgroundColor: backgroundColor$1,
|
|
16273
16417
|
iconBackgroundColor: iconBackgroundColor
|
|
16274
16418
|
};
|
|
@@ -16366,10 +16510,10 @@ var Card = function Card(_ref2) {
|
|
|
16366
16510
|
return /*#__PURE__*/React__default.createElement(PropertiesAddIcon$1, null);
|
|
16367
16511
|
|
|
16368
16512
|
case "payment":
|
|
16369
|
-
return /*#__PURE__*/React__default.createElement(
|
|
16513
|
+
return /*#__PURE__*/React__default.createElement(PaymentMethodAddIcon$1, null);
|
|
16370
16514
|
|
|
16371
16515
|
default:
|
|
16372
|
-
return /*#__PURE__*/React__default.createElement(
|
|
16516
|
+
return /*#__PURE__*/React__default.createElement(PaymentMethodAddIcon$1, null);
|
|
16373
16517
|
}
|
|
16374
16518
|
};
|
|
16375
16519
|
|
|
@@ -16378,7 +16522,7 @@ var Card = function Card(_ref2) {
|
|
|
16378
16522
|
borderRadius: "4px",
|
|
16379
16523
|
boxShadow: " 0px 1px 10px 0px rgb(246, 246, 249), 0px 2px 5px 0px rgb(202, 206, 216)",
|
|
16380
16524
|
padding: "0",
|
|
16381
|
-
maxWidth: "100%",
|
|
16525
|
+
maxWidth: variant !== "vertical" ? "100%" : "306px",
|
|
16382
16526
|
minHeight: "100%",
|
|
16383
16527
|
minWidth: variant !== "vertical" && "300px"
|
|
16384
16528
|
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
@@ -16386,7 +16530,7 @@ var Card = function Card(_ref2) {
|
|
|
16386
16530
|
fillCenter: true
|
|
16387
16531
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
16388
16532
|
direction: variant === "vertical" ? "column" : "row",
|
|
16389
|
-
justify: variant === "vertical" && "
|
|
16533
|
+
justify: variant === "vertical" && "space-evenly",
|
|
16390
16534
|
fullHeight: true,
|
|
16391
16535
|
childGap: "0"
|
|
16392
16536
|
}, icon && /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16401,7 +16545,7 @@ var Card = function Card(_ref2) {
|
|
|
16401
16545
|
}, renderIcon(icon)))), /*#__PURE__*/React__default.createElement(CardVariantSwitcher, {
|
|
16402
16546
|
variant: variant
|
|
16403
16547
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
16404
|
-
padding: "
|
|
16548
|
+
padding: "1rem",
|
|
16405
16549
|
width: "100%",
|
|
16406
16550
|
extraStyles: "flex-grow: 1; width: 100%;"
|
|
16407
16551
|
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
@@ -16409,8 +16553,9 @@ var Card = function Card(_ref2) {
|
|
|
16409
16553
|
fillCenter: true
|
|
16410
16554
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
16411
16555
|
padding: "0"
|
|
16412
|
-
}, /*#__PURE__*/React__default.createElement(
|
|
16413
|
-
variant: "
|
|
16556
|
+
}, /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
16557
|
+
variant: "p",
|
|
16558
|
+
weight: "600"
|
|
16414
16559
|
}, heading), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
16415
16560
|
variant: "pS"
|
|
16416
16561
|
}, text)))), /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -16425,7 +16570,7 @@ var Card = function Card(_ref2) {
|
|
|
16425
16570
|
}))))));
|
|
16426
16571
|
};
|
|
16427
16572
|
|
|
16428
|
-
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$
|
|
16573
|
+
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$a);
|
|
16429
16574
|
|
|
16430
16575
|
var cardRegistry = {
|
|
16431
16576
|
accounts: function accounts(props) {
|
|
@@ -16433,7 +16578,7 @@ var cardRegistry = {
|
|
|
16433
16578
|
icon: "accounts",
|
|
16434
16579
|
heading: "Add an Account",
|
|
16435
16580
|
buttonText: "Add Account",
|
|
16436
|
-
text: "
|
|
16581
|
+
text: "Find and attach your accounts to make your payments simple.",
|
|
16437
16582
|
cardAction: "/profile/accounts"
|
|
16438
16583
|
}, props));
|
|
16439
16584
|
},
|
|
@@ -16442,16 +16587,16 @@ var cardRegistry = {
|
|
|
16442
16587
|
icon: "properties",
|
|
16443
16588
|
heading: "Add a Property",
|
|
16444
16589
|
buttonText: "Add Property",
|
|
16445
|
-
text: "
|
|
16590
|
+
text: "Find and attach your properties to make your tax payments simple.",
|
|
16446
16591
|
cardAction: "/profile/properties"
|
|
16447
16592
|
}, props));
|
|
16448
16593
|
},
|
|
16449
16594
|
payment: function payment(props) {
|
|
16450
16595
|
return /*#__PURE__*/React__default.createElement(Card$1, _extends({
|
|
16451
16596
|
icon: "payment",
|
|
16452
|
-
heading: "
|
|
16453
|
-
buttonText: "
|
|
16454
|
-
text: "
|
|
16597
|
+
heading: "Configure Your Settings",
|
|
16598
|
+
buttonText: "Configure Settings",
|
|
16599
|
+
text: "Add your personal information and payment methods to make fast payments.",
|
|
16455
16600
|
cardAction: "/profile/settings"
|
|
16456
16601
|
}, props));
|
|
16457
16602
|
}
|
|
@@ -16493,7 +16638,7 @@ var checkedStyles = {
|
|
|
16493
16638
|
var defaultStyles = {
|
|
16494
16639
|
"default": "\n background: ".concat(WHITE, "; \n border: 1px solid ").concat(GHOST_GREY, ";\n")
|
|
16495
16640
|
};
|
|
16496
|
-
var fallbackValues$
|
|
16641
|
+
var fallbackValues$b = {
|
|
16497
16642
|
backgroundColor: backgroundColor$2,
|
|
16498
16643
|
textFontSize: textFontSize,
|
|
16499
16644
|
textFontWeight: textFontWeight,
|
|
@@ -16608,16 +16753,16 @@ function _templateObject2$8() {
|
|
|
16608
16753
|
return data;
|
|
16609
16754
|
}
|
|
16610
16755
|
|
|
16611
|
-
function _templateObject$
|
|
16756
|
+
function _templateObject$k() {
|
|
16612
16757
|
var data = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n"]);
|
|
16613
16758
|
|
|
16614
|
-
_templateObject$
|
|
16759
|
+
_templateObject$k = function _templateObject() {
|
|
16615
16760
|
return data;
|
|
16616
16761
|
};
|
|
16617
16762
|
|
|
16618
16763
|
return data;
|
|
16619
16764
|
}
|
|
16620
|
-
var CheckboxContainer = styled__default.div(_templateObject$
|
|
16765
|
+
var CheckboxContainer = styled__default.div(_templateObject$k());
|
|
16621
16766
|
var CheckboxLabelContainer = styled__default.label(_templateObject2$8());
|
|
16622
16767
|
var CheckboxIcon = styled__default.svg(_templateObject3$3(), function (_ref) {
|
|
16623
16768
|
var disabled = _ref.disabled,
|
|
@@ -16698,7 +16843,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
16698
16843
|
}, title)));
|
|
16699
16844
|
};
|
|
16700
16845
|
|
|
16701
|
-
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$
|
|
16846
|
+
var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$b, "default");
|
|
16702
16847
|
|
|
16703
16848
|
var listBackgroundColor = {
|
|
16704
16849
|
"default": "".concat(ATHENS_GREY),
|
|
@@ -16724,7 +16869,7 @@ var radioButtonInactive = {
|
|
|
16724
16869
|
"default": "".concat(GHOST_GREY),
|
|
16725
16870
|
disabled: "".concat(GHOST_GREY)
|
|
16726
16871
|
};
|
|
16727
|
-
var fallbackValues$
|
|
16872
|
+
var fallbackValues$c = {
|
|
16728
16873
|
listBackgroundColor: listBackgroundColor,
|
|
16729
16874
|
listItemColor: listItemColor,
|
|
16730
16875
|
listItemBackgroundColor: listItemBackgroundColor,
|
|
@@ -16752,10 +16897,10 @@ function _templateObject2$9() {
|
|
|
16752
16897
|
return data;
|
|
16753
16898
|
}
|
|
16754
16899
|
|
|
16755
|
-
function _templateObject$
|
|
16900
|
+
function _templateObject$l() {
|
|
16756
16901
|
var data = _taggedTemplateLiteral(["\n height: 24px;\n width: 24px;\n border: 1px solid\n ", ";\n border-radius: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 10px;\n min-width: 24px;\n min-height: 24px;\n"]);
|
|
16757
16902
|
|
|
16758
|
-
_templateObject$
|
|
16903
|
+
_templateObject$l = function _templateObject() {
|
|
16759
16904
|
return data;
|
|
16760
16905
|
};
|
|
16761
16906
|
|
|
@@ -16767,7 +16912,7 @@ var defaultTheme = {
|
|
|
16767
16912
|
inactiveColor: PEWTER_GREY$1
|
|
16768
16913
|
}
|
|
16769
16914
|
};
|
|
16770
|
-
var RadioButtonBorder = styled__default.div(_templateObject$
|
|
16915
|
+
var RadioButtonBorder = styled__default.div(_templateObject$l(), function (_ref) {
|
|
16771
16916
|
var isSelected = _ref.isSelected,
|
|
16772
16917
|
theme = _ref.theme;
|
|
16773
16918
|
return isSelected ? theme.accentColor : theme.inactiveColor;
|
|
@@ -16809,16 +16954,16 @@ function _templateObject2$a() {
|
|
|
16809
16954
|
return data;
|
|
16810
16955
|
}
|
|
16811
16956
|
|
|
16812
|
-
function _templateObject$
|
|
16957
|
+
function _templateObject$m() {
|
|
16813
16958
|
var data = _taggedTemplateLiteral(["\n width: 2rem;\n"]);
|
|
16814
16959
|
|
|
16815
|
-
_templateObject$
|
|
16960
|
+
_templateObject$m = function _templateObject() {
|
|
16816
16961
|
return data;
|
|
16817
16962
|
};
|
|
16818
16963
|
|
|
16819
16964
|
return data;
|
|
16820
16965
|
}
|
|
16821
|
-
var CheckboxItemIcon = styled__default.img(_templateObject$
|
|
16966
|
+
var CheckboxItemIcon = styled__default.img(_templateObject$m());
|
|
16822
16967
|
var HiddenCheckboxInput = styled__default.input(_templateObject2$a());
|
|
16823
16968
|
var CheckboxLabel = styled__default.label(_templateObject3$4());
|
|
16824
16969
|
|
|
@@ -16928,7 +17073,7 @@ var CheckboxList = function CheckboxList(_ref2) {
|
|
|
16928
17073
|
})));
|
|
16929
17074
|
};
|
|
16930
17075
|
|
|
16931
|
-
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$
|
|
17076
|
+
var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$c, "default");
|
|
16932
17077
|
|
|
16933
17078
|
var DropdownIcon = function DropdownIcon() {
|
|
16934
17079
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -16958,7 +17103,7 @@ var DropdownIcon = function DropdownIcon() {
|
|
|
16958
17103
|
|
|
16959
17104
|
var selectedColor = "".concat(MATISSE_BLUE);
|
|
16960
17105
|
var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
|
|
16961
|
-
var fallbackValues$
|
|
17106
|
+
var fallbackValues$d = {
|
|
16962
17107
|
selectedColor: selectedColor,
|
|
16963
17108
|
hoverColor: hoverColor$3
|
|
16964
17109
|
};
|
|
@@ -16993,16 +17138,16 @@ function _templateObject2$b() {
|
|
|
16993
17138
|
return data;
|
|
16994
17139
|
}
|
|
16995
17140
|
|
|
16996
|
-
function _templateObject$
|
|
17141
|
+
function _templateObject$n() {
|
|
16997
17142
|
var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"]);
|
|
16998
17143
|
|
|
16999
|
-
_templateObject$
|
|
17144
|
+
_templateObject$n = function _templateObject() {
|
|
17000
17145
|
return data;
|
|
17001
17146
|
};
|
|
17002
17147
|
|
|
17003
17148
|
return data;
|
|
17004
17149
|
}
|
|
17005
|
-
var IconWrapper = styled__default.div(_templateObject$
|
|
17150
|
+
var IconWrapper = styled__default.div(_templateObject$n(), function (_ref) {
|
|
17006
17151
|
var open = _ref.open;
|
|
17007
17152
|
return open ? "transform: rotate(-180deg)" : "";
|
|
17008
17153
|
});
|
|
@@ -17235,7 +17380,7 @@ var Dropdown = function Dropdown(_ref7) {
|
|
|
17235
17380
|
}))) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
|
|
17236
17381
|
};
|
|
17237
17382
|
|
|
17238
|
-
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$
|
|
17383
|
+
var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$d);
|
|
17239
17384
|
|
|
17240
17385
|
function _templateObject4$3() {
|
|
17241
17386
|
var data = _taggedTemplateLiteral([""]);
|
|
@@ -17267,16 +17412,16 @@ function _templateObject2$c() {
|
|
|
17267
17412
|
return data;
|
|
17268
17413
|
}
|
|
17269
17414
|
|
|
17270
|
-
function _templateObject$
|
|
17415
|
+
function _templateObject$o() {
|
|
17271
17416
|
var data = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n"]);
|
|
17272
17417
|
|
|
17273
|
-
_templateObject$
|
|
17418
|
+
_templateObject$o = function _templateObject() {
|
|
17274
17419
|
return data;
|
|
17275
17420
|
};
|
|
17276
17421
|
|
|
17277
17422
|
return data;
|
|
17278
17423
|
}
|
|
17279
|
-
var SelectContainer = styled__default.div(_templateObject$
|
|
17424
|
+
var SelectContainer = styled__default.div(_templateObject$o());
|
|
17280
17425
|
var SelectLabel = styled__default.label(_templateObject2$c(), function (_ref) {
|
|
17281
17426
|
var field = _ref.field,
|
|
17282
17427
|
showErrors = _ref.showErrors;
|
|
@@ -18113,7 +18258,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
|
|
|
18113
18258
|
|
|
18114
18259
|
var backgroundColor$3 = WHITE;
|
|
18115
18260
|
var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
|
|
18116
|
-
var fallbackValues$
|
|
18261
|
+
var fallbackValues$e = {
|
|
18117
18262
|
backgroundColor: backgroundColor$3,
|
|
18118
18263
|
boxShadow: boxShadow
|
|
18119
18264
|
};
|
|
@@ -18134,86 +18279,7 @@ var DisplayBox = function DisplayBox(_ref) {
|
|
|
18134
18279
|
}, children));
|
|
18135
18280
|
};
|
|
18136
18281
|
|
|
18137
|
-
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$
|
|
18138
|
-
|
|
18139
|
-
var fontFamily$3 = {
|
|
18140
|
-
p: "Public Sans",
|
|
18141
|
-
pL: "Public Sans",
|
|
18142
|
-
pS: "Public Sans",
|
|
18143
|
-
pXS: "Public Sans",
|
|
18144
|
-
pXXS: "Public Sans",
|
|
18145
|
-
pXL: "Public Sans"
|
|
18146
|
-
};
|
|
18147
|
-
var fontSize$4 = {
|
|
18148
|
-
p: "1rem",
|
|
18149
|
-
pL: "1.125rem",
|
|
18150
|
-
pS: "0.875rem",
|
|
18151
|
-
pXS: "0.75rem",
|
|
18152
|
-
pXXS: "0.65rem",
|
|
18153
|
-
pXL: "1.5rem"
|
|
18154
|
-
};
|
|
18155
|
-
var fallbackValues$e = {
|
|
18156
|
-
fontFamily: fontFamily$3,
|
|
18157
|
-
fontSize: fontSize$4
|
|
18158
|
-
};
|
|
18159
|
-
|
|
18160
|
-
function _templateObject$o() {
|
|
18161
|
-
var data = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n font-weight: ", ";\n font-family: ", ";\n color: ", ";\n margin: ", ";\n\n ", "\n"]);
|
|
18162
|
-
|
|
18163
|
-
_templateObject$o = function _templateObject() {
|
|
18164
|
-
return data;
|
|
18165
|
-
};
|
|
18166
|
-
|
|
18167
|
-
return data;
|
|
18168
|
-
}
|
|
18169
|
-
var ParagraphText = styled__default.p(_templateObject$o(), function (_ref) {
|
|
18170
|
-
var fontSize = _ref.fontSize;
|
|
18171
|
-
return fontSize;
|
|
18172
|
-
}, function (_ref2) {
|
|
18173
|
-
var weight = _ref2.weight;
|
|
18174
|
-
return weight;
|
|
18175
|
-
}, function (_ref3) {
|
|
18176
|
-
var fontFamily = _ref3.fontFamily;
|
|
18177
|
-
return fontFamily;
|
|
18178
|
-
}, function (_ref4) {
|
|
18179
|
-
var color = _ref4.color;
|
|
18180
|
-
return color;
|
|
18181
|
-
}, function (_ref5) {
|
|
18182
|
-
var margin = _ref5.margin;
|
|
18183
|
-
return margin;
|
|
18184
|
-
}, function (_ref6) {
|
|
18185
|
-
var extraStyles = _ref6.extraStyles;
|
|
18186
|
-
return extraStyles;
|
|
18187
|
-
});
|
|
18188
|
-
|
|
18189
|
-
var Paragraph = function Paragraph(_ref) {
|
|
18190
|
-
var themeValues = _ref.themeValues,
|
|
18191
|
-
_ref$weight = _ref.weight,
|
|
18192
|
-
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
18193
|
-
_ref$color = _ref.color,
|
|
18194
|
-
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
18195
|
-
_ref$margin = _ref.margin,
|
|
18196
|
-
margin = _ref$margin === void 0 ? 0 : _ref$margin,
|
|
18197
|
-
_ref$extraStyles = _ref.extraStyles,
|
|
18198
|
-
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
18199
|
-
dataQa = _ref.dataQa,
|
|
18200
|
-
children = _ref.children,
|
|
18201
|
-
as = _ref.as,
|
|
18202
|
-
rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"]);
|
|
18203
|
-
|
|
18204
|
-
return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
|
|
18205
|
-
weight: weight,
|
|
18206
|
-
color: color,
|
|
18207
|
-
margin: margin,
|
|
18208
|
-
fontFamily: themeValues.fontFamily,
|
|
18209
|
-
fontSize: themeValues.fontSize,
|
|
18210
|
-
as: as,
|
|
18211
|
-
extraStyles: extraStyles,
|
|
18212
|
-
"data-qa": dataQa
|
|
18213
|
-
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
18214
|
-
};
|
|
18215
|
-
|
|
18216
|
-
var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$e, "p");
|
|
18282
|
+
var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$e);
|
|
18217
18283
|
|
|
18218
18284
|
var DisplayCard = function DisplayCard(_ref) {
|
|
18219
18285
|
var title = _ref.title,
|
|
@@ -19851,9 +19917,7 @@ var ERRORS = {
|
|
|
19851
19917
|
"71": "Passed invalid pixel value %s to %s(), please pass a value like \"12px\" or 12.\n\n",
|
|
19852
19918
|
"72": "Passed invalid base value %s to %s(), please pass a value like \"12px\" or 12.\n\n",
|
|
19853
19919
|
"73": "Please provide a valid CSS variable.\n\n",
|
|
19854
|
-
"74": "CSS variable not found
|
|
19855
|
-
"75": "important requires a valid style object, got a %s instead.\n\n",
|
|
19856
|
-
"76": "fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n"
|
|
19920
|
+
"74": "CSS variable not found.\n"
|
|
19857
19921
|
};
|
|
19858
19922
|
/**
|
|
19859
19923
|
* super basic version of sprintf
|
|
@@ -33331,12 +33395,10 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
33331
33395
|
var titleColor = "#292A33";
|
|
33332
33396
|
var headingBackgroundColor = "transparent";
|
|
33333
33397
|
var bodyBackgroundColor = "transparent";
|
|
33334
|
-
var focusStyles = "outline: none;";
|
|
33335
33398
|
var fallbackValues$q = {
|
|
33336
33399
|
titleColor: titleColor,
|
|
33337
33400
|
headingBackgroundColor: headingBackgroundColor,
|
|
33338
|
-
bodyBackgroundColor: bodyBackgroundColor
|
|
33339
|
-
focusStyles: focusStyles
|
|
33401
|
+
bodyBackgroundColor: bodyBackgroundColor
|
|
33340
33402
|
};
|
|
33341
33403
|
|
|
33342
33404
|
var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
@@ -33394,7 +33456,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
33394
33456
|
padding: "0",
|
|
33395
33457
|
tabIndex: "0",
|
|
33396
33458
|
onKeyDown: handleKeyDown,
|
|
33397
|
-
hoverStyles:
|
|
33459
|
+
hoverStyles: "outline: none;",
|
|
33398
33460
|
animate: isOpen ? "open" : "closed",
|
|
33399
33461
|
positionTransition: true
|
|
33400
33462
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
@@ -33404,7 +33466,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
33404
33466
|
background: themeValues.headingBackgroundColor,
|
|
33405
33467
|
onClick: isMobile && supportsTouch ? noop : toggleSection,
|
|
33406
33468
|
onTouchEnd: isMobile && supportsTouch ? toggleSection : noop,
|
|
33407
|
-
key: "header"
|
|
33469
|
+
key: "header",
|
|
33470
|
+
hoverStyles: "cursor: pointer;"
|
|
33408
33471
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
33409
33472
|
justify: "space-between",
|
|
33410
33473
|
align: "center"
|
|
@@ -33418,10 +33481,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
33418
33481
|
as: "h6"
|
|
33419
33482
|
}, title), /*#__PURE__*/React__default.createElement(Motion, {
|
|
33420
33483
|
variants: icon,
|
|
33421
|
-
|
|
33422
|
-
display: "flex",
|
|
33423
|
-
alignItems: "center"
|
|
33424
|
-
}
|
|
33484
|
+
extraStyles: "display: flex; align-items: center;"
|
|
33425
33485
|
}, /*#__PURE__*/React__default.createElement(ChevronIcon$1, null)))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
|
|
33426
33486
|
initial: false
|
|
33427
33487
|
}, isOpen && /*#__PURE__*/React__default.createElement(Motion, {
|
|
@@ -37898,7 +37958,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
37898
37958
|
fields = _ref.fields,
|
|
37899
37959
|
actions = _ref.actions,
|
|
37900
37960
|
showErrors = _ref.showErrors,
|
|
37901
|
-
fees = _ref.fees,
|
|
37902
37961
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
37903
37962
|
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit;
|
|
37904
37963
|
|
|
@@ -38033,13 +38092,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
38033
38092
|
onChange: toggleCheckbox,
|
|
38034
38093
|
checked: defaultMethod.value,
|
|
38035
38094
|
hidden: hideDefaultPayment
|
|
38036
|
-
}), !!(fees === null || fees === void 0 ? void 0 : fees.value) && /*#__PURE__*/React__default.createElement(Alert$1, {
|
|
38037
|
-
heading: "Processing Fee",
|
|
38038
|
-
text: "There is a processing fee of ".concat(fees.type === "FLAT" ? "".concat(displayCurrency(fees.value)) : "".concat(fees.value * 100, "%"), " ").concat(ifElse(isNil, always(""), function (a) {
|
|
38039
|
-
return "with a minimum of ".concat(displayCurrency(a), " ");
|
|
38040
|
-
})(fees.minimumInCents), "on all bank account payments."),
|
|
38041
|
-
variant: "info",
|
|
38042
|
-
showQuitLink: false
|
|
38043
38095
|
})));
|
|
38044
38096
|
};
|
|
38045
38097
|
|
|
@@ -38096,7 +38148,6 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
38096
38148
|
fields = _ref.fields,
|
|
38097
38149
|
actions = _ref.actions,
|
|
38098
38150
|
showErrors = _ref.showErrors,
|
|
38099
|
-
fees = _ref.fees,
|
|
38100
38151
|
_ref$handleSubmit = _ref.handleSubmit,
|
|
38101
38152
|
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
38102
38153
|
isMobile = _ref.isMobile;
|
|
@@ -38256,13 +38307,13 @@ var headingBackgroundColor$1 = "".concat(WHITE);
|
|
|
38256
38307
|
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
38257
38308
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
38258
38309
|
var borderColor$2 = "".concat(GREY_CHATEAU);
|
|
38259
|
-
var focusStyles
|
|
38310
|
+
var focusStyles = "outline: none;";
|
|
38260
38311
|
var fallbackValues$x = {
|
|
38261
38312
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
38262
38313
|
headingDisabledColor: headingDisabledColor,
|
|
38263
38314
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
38264
38315
|
borderColor: borderColor$2,
|
|
38265
|
-
focusStyles: focusStyles
|
|
38316
|
+
focusStyles: focusStyles
|
|
38266
38317
|
};
|
|
38267
38318
|
|
|
38268
38319
|
function _templateObject$A() {
|
|
@@ -38606,7 +38657,8 @@ var ResetConfirmationForm = function ResetConfirmationForm() {
|
|
|
38606
38657
|
url: "/login",
|
|
38607
38658
|
text: "Back to Login",
|
|
38608
38659
|
variant: "primary",
|
|
38609
|
-
extraStyles: "width: 100%;"
|
|
38660
|
+
extraStyles: "width: 100%;",
|
|
38661
|
+
linkExtraStyles: "width: 100%;"
|
|
38610
38662
|
})))));
|
|
38611
38663
|
};
|
|
38612
38664
|
|
|
@@ -38726,7 +38778,8 @@ var ResetConfirmationForm$2 = function ResetConfirmationForm() {
|
|
|
38726
38778
|
url: "/login",
|
|
38727
38779
|
text: "Log in",
|
|
38728
38780
|
variant: "primary",
|
|
38729
|
-
extraStyles: "width: 100%;"
|
|
38781
|
+
extraStyles: "width: 100%;",
|
|
38782
|
+
linkExtraStyles: "width: 100%;"
|
|
38730
38783
|
}))))));
|
|
38731
38784
|
};
|
|
38732
38785
|
|
|
@@ -39023,7 +39076,7 @@ var fallbackValues$A = {
|
|
|
39023
39076
|
};
|
|
39024
39077
|
|
|
39025
39078
|
function _templateObject$C() {
|
|
39026
|
-
var data = _taggedTemplateLiteral(["\n width:
|
|
39079
|
+
var data = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"]);
|
|
39027
39080
|
|
|
39028
39081
|
_templateObject$C = function _templateObject() {
|
|
39029
39082
|
return data;
|
|
@@ -39048,13 +39101,14 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
39048
39101
|
}, /*#__PURE__*/React__default.createElement(WelcomeImage, {
|
|
39049
39102
|
src: welcomeImage
|
|
39050
39103
|
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
39104
|
+
padding: isMobile ? "0.875rem 1rem" : "0.875rem 1.5rem",
|
|
39051
39105
|
background: themeValues.headerBackgroundColor
|
|
39052
39106
|
}, /*#__PURE__*/React__default.createElement(Heading$1, {
|
|
39053
|
-
variant: "
|
|
39107
|
+
variant: "h6",
|
|
39054
39108
|
weight: themeValues.fontWeight,
|
|
39055
39109
|
color: themeValues.fontColor,
|
|
39056
39110
|
textAlign: themeValues.textAlign,
|
|
39057
|
-
as: "
|
|
39111
|
+
as: "h6"
|
|
39058
39112
|
}, heading)), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
39059
39113
|
padding: "0",
|
|
39060
39114
|
background: themeValues.imageBackgroundColor
|
|
@@ -39463,6 +39517,7 @@ exports.PaymentDetails = PaymentDetails$1;
|
|
|
39463
39517
|
exports.PaymentFormACH = PaymentFormACH;
|
|
39464
39518
|
exports.PaymentFormCard = PaymentFormCard;
|
|
39465
39519
|
exports.PaymentIcon = PaymentIcon;
|
|
39520
|
+
exports.PaymentMethodAddIcon = PaymentMethodAddIcon$1;
|
|
39466
39521
|
exports.PaymentMethodIcon = PaymentMethodIcon$1;
|
|
39467
39522
|
exports.PaymentsIconSmall = PaymentsIconSmall$1;
|
|
39468
39523
|
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} />
|
|
@@ -3,14 +3,14 @@ import { ThemeContext } from "styled-components";
|
|
|
3
3
|
import { useNavigate } from "react-router-dom";
|
|
4
4
|
import { Box, Stack, Cover } from "../layouts";
|
|
5
5
|
import Text from "../text";
|
|
6
|
-
import
|
|
6
|
+
import Paragraph from "../paragraph";
|
|
7
7
|
import ButtonWithAction from "../button-with-action";
|
|
8
8
|
import { fallbackValues } from "./Card.theme";
|
|
9
9
|
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
|
|
|
@@ -58,14 +58,14 @@ const Card = ({
|
|
|
58
58
|
boxShadow=" 0px 1px 10px 0px rgb(246, 246, 249),
|
|
59
59
|
0px 2px 5px 0px rgb(202, 206, 216)"
|
|
60
60
|
padding="0"
|
|
61
|
-
maxWidth="100%"
|
|
61
|
+
maxWidth={variant !== "vertical" ? "100%" : "306px"}
|
|
62
62
|
minHeight="100%"
|
|
63
63
|
minWidth={variant !== "vertical" && "300px"}
|
|
64
64
|
>
|
|
65
65
|
<Cover singleChild fillCenter>
|
|
66
66
|
<Stack
|
|
67
67
|
direction={variant === "vertical" ? "column" : "row"}
|
|
68
|
-
justify={variant === "vertical" && "
|
|
68
|
+
justify={variant === "vertical" && "space-evenly"}
|
|
69
69
|
fullHeight
|
|
70
70
|
childGap="0"
|
|
71
71
|
>
|
|
@@ -92,13 +92,15 @@ const Card = ({
|
|
|
92
92
|
)}
|
|
93
93
|
<CardVariantSwitcher variant={variant}>
|
|
94
94
|
<Box
|
|
95
|
-
padding="
|
|
95
|
+
padding="1rem"
|
|
96
96
|
width="100%"
|
|
97
97
|
extraStyles={`flex-grow: 1; width: 100%;`}
|
|
98
98
|
>
|
|
99
99
|
<Cover singleChild fillCenter>
|
|
100
100
|
<Box padding="0">
|
|
101
|
-
<
|
|
101
|
+
<Paragraph variant="p" weight="600">
|
|
102
|
+
{heading}
|
|
103
|
+
</Paragraph>
|
|
102
104
|
<Text variant="pS">{text}</Text>
|
|
103
105
|
</Box>
|
|
104
106
|
</Cover>
|
|
@@ -7,7 +7,7 @@ export const cardRegistry = {
|
|
|
7
7
|
icon="accounts"
|
|
8
8
|
heading="Add an Account"
|
|
9
9
|
buttonText="Add Account"
|
|
10
|
-
text="
|
|
10
|
+
text="Find and attach your accounts to make your payments simple."
|
|
11
11
|
cardAction="/profile/accounts"
|
|
12
12
|
{...props}
|
|
13
13
|
/>
|
|
@@ -17,7 +17,7 @@ export const cardRegistry = {
|
|
|
17
17
|
icon="properties"
|
|
18
18
|
heading="Add a Property"
|
|
19
19
|
buttonText="Add Property"
|
|
20
|
-
text="
|
|
20
|
+
text="Find and attach your properties to make your tax payments simple."
|
|
21
21
|
cardAction="/profile/properties"
|
|
22
22
|
{...props}
|
|
23
23
|
/>
|
|
@@ -25,9 +25,9 @@ export const cardRegistry = {
|
|
|
25
25
|
payment: props => (
|
|
26
26
|
<Card
|
|
27
27
|
icon="payment"
|
|
28
|
-
heading="
|
|
29
|
-
buttonText="
|
|
30
|
-
text="
|
|
28
|
+
heading="Configure Your Settings"
|
|
29
|
+
buttonText="Configure Settings"
|
|
30
|
+
text="Add your personal information and payment methods to make fast payments."
|
|
31
31
|
cardAction="/profile/settings"
|
|
32
32
|
{...props}
|
|
33
33
|
/>
|
|
@@ -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
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useState } from "react";
|
|
2
2
|
import styled from "styled-components";
|
|
3
|
-
import { ifElse, isNil, always } from "ramda";
|
|
4
3
|
import Checkbox from "../../atoms/checkbox";
|
|
5
4
|
import {
|
|
6
5
|
required,
|
|
@@ -14,9 +13,8 @@ import {
|
|
|
14
13
|
FormInputColumn,
|
|
15
14
|
FormContainer
|
|
16
15
|
} from "../../atoms/form-layouts";
|
|
17
|
-
import Alert from "../../atoms/alert";
|
|
18
16
|
import AccountAndRoutingModal from "../account-and-routing-modal";
|
|
19
|
-
import {
|
|
17
|
+
import { noop } from "../../../util/general";
|
|
20
18
|
|
|
21
19
|
const ModalWrapper = styled.div``;
|
|
22
20
|
|
|
@@ -30,7 +28,6 @@ const PaymentFormACH = ({
|
|
|
30
28
|
fields,
|
|
31
29
|
actions,
|
|
32
30
|
showErrors,
|
|
33
|
-
fees,
|
|
34
31
|
handleSubmit = noop
|
|
35
32
|
}) => {
|
|
36
33
|
if (clearOnDismount) {
|
|
@@ -165,22 +162,6 @@ const PaymentFormACH = ({
|
|
|
165
162
|
hidden={hideDefaultPayment}
|
|
166
163
|
/>
|
|
167
164
|
)}
|
|
168
|
-
{!!fees?.value && (
|
|
169
|
-
<Alert
|
|
170
|
-
heading="Processing Fee"
|
|
171
|
-
text={`There is a processing fee of ${
|
|
172
|
-
fees.type === "FLAT"
|
|
173
|
-
? `${displayCurrency(fees.value)}`
|
|
174
|
-
: `${fees.value * 100}%`
|
|
175
|
-
} ${ifElse(
|
|
176
|
-
isNil,
|
|
177
|
-
always(""),
|
|
178
|
-
a => `with a minimum of ${displayCurrency(a)} `
|
|
179
|
-
)(fees.minimumInCents)}on all bank account payments.`}
|
|
180
|
-
variant="info"
|
|
181
|
-
showQuitLink={false}
|
|
182
|
-
/>
|
|
183
|
-
)}
|
|
184
165
|
</FormInputColumn>
|
|
185
166
|
</FormContainer>
|
|
186
167
|
);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { useEffect } from "react";
|
|
2
2
|
import { required, hasLength, matchesRegex } from "redux-freeform";
|
|
3
|
-
import {
|
|
4
|
-
import { checkCardBrand, displayCurrency, noop } from "../../../util/general";
|
|
3
|
+
import { checkCardBrand, noop } from "../../../util/general";
|
|
5
4
|
import { expirationDateFormat, creditCardFormat } from "../../../util/formats";
|
|
6
5
|
import {
|
|
7
6
|
FormInput,
|
|
@@ -10,7 +9,6 @@ import {
|
|
|
10
9
|
FormInputRow
|
|
11
10
|
} from "../../atoms/form-layouts";
|
|
12
11
|
import { Box } from "../../atoms/layouts";
|
|
13
|
-
import Alert from "../../atoms/alert";
|
|
14
12
|
|
|
15
13
|
const nameOnCardErrors = {
|
|
16
14
|
[required.error]: "Name is required"
|
|
@@ -40,7 +38,6 @@ const PaymentFormCard = ({
|
|
|
40
38
|
fields,
|
|
41
39
|
actions,
|
|
42
40
|
showErrors,
|
|
43
|
-
fees,
|
|
44
41
|
handleSubmit = noop,
|
|
45
42
|
isMobile
|
|
46
43
|
}) => {
|
|
@@ -6,8 +6,8 @@ import Heading from "../../atoms/heading";
|
|
|
6
6
|
import { Box, Cluster } from "../../atoms/layouts";
|
|
7
7
|
|
|
8
8
|
const WelcomeImage = styled.img`
|
|
9
|
-
width:
|
|
10
|
-
height:
|
|
9
|
+
width: auto;
|
|
10
|
+
height: 215px;
|
|
11
11
|
`;
|
|
12
12
|
|
|
13
13
|
const WelcomeModule = ({ heading, isMobile, themeValues }) => {
|
|
@@ -24,13 +24,16 @@ const WelcomeModule = ({ heading, isMobile, themeValues }) => {
|
|
|
24
24
|
</Cluster>
|
|
25
25
|
</Box>
|
|
26
26
|
)}
|
|
27
|
-
<Box
|
|
27
|
+
<Box
|
|
28
|
+
padding={isMobile ? "0.875rem 1rem" : "0.875rem 1.5rem"}
|
|
29
|
+
background={themeValues.headerBackgroundColor}
|
|
30
|
+
>
|
|
28
31
|
<Heading
|
|
29
|
-
variant="
|
|
32
|
+
variant="h6"
|
|
30
33
|
weight={themeValues.fontWeight}
|
|
31
34
|
color={themeValues.fontColor}
|
|
32
35
|
textAlign={themeValues.textAlign}
|
|
33
|
-
as="
|
|
36
|
+
as="h6"
|
|
34
37
|
>
|
|
35
38
|
{heading}
|
|
36
39
|
</Heading>
|