@thecb/components 4.0.11 → 4.0.12

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/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ nodejs 10.15.3
package/dist/index.cjs.js CHANGED
@@ -16266,9 +16266,88 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
16266
16266
  })));
16267
16267
  };
16268
16268
 
16269
+ var fontFamily$3 = {
16270
+ p: "Public Sans",
16271
+ pL: "Public Sans",
16272
+ pS: "Public Sans",
16273
+ pXS: "Public Sans",
16274
+ pXXS: "Public Sans",
16275
+ pXL: "Public Sans"
16276
+ };
16277
+ var fontSize$4 = {
16278
+ p: "1rem",
16279
+ pL: "1.125rem",
16280
+ pS: "0.875rem",
16281
+ pXS: "0.75rem",
16282
+ pXXS: "0.65rem",
16283
+ pXL: "1.5rem"
16284
+ };
16285
+ var fallbackValues$9 = {
16286
+ fontFamily: fontFamily$3,
16287
+ fontSize: fontSize$4
16288
+ };
16289
+
16290
+ function _templateObject$j() {
16291
+ 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"]);
16292
+
16293
+ _templateObject$j = function _templateObject() {
16294
+ return data;
16295
+ };
16296
+
16297
+ return data;
16298
+ }
16299
+ var ParagraphText = styled__default.p(_templateObject$j(), function (_ref) {
16300
+ var fontSize = _ref.fontSize;
16301
+ return fontSize;
16302
+ }, function (_ref2) {
16303
+ var weight = _ref2.weight;
16304
+ return weight;
16305
+ }, function (_ref3) {
16306
+ var fontFamily = _ref3.fontFamily;
16307
+ return fontFamily;
16308
+ }, function (_ref4) {
16309
+ var color = _ref4.color;
16310
+ return color;
16311
+ }, function (_ref5) {
16312
+ var margin = _ref5.margin;
16313
+ return margin;
16314
+ }, function (_ref6) {
16315
+ var extraStyles = _ref6.extraStyles;
16316
+ return extraStyles;
16317
+ });
16318
+
16319
+ var Paragraph = function Paragraph(_ref) {
16320
+ var themeValues = _ref.themeValues,
16321
+ _ref$weight = _ref.weight,
16322
+ weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
16323
+ _ref$color = _ref.color,
16324
+ color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
16325
+ _ref$margin = _ref.margin,
16326
+ margin = _ref$margin === void 0 ? 0 : _ref$margin,
16327
+ _ref$extraStyles = _ref.extraStyles,
16328
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
16329
+ dataQa = _ref.dataQa,
16330
+ children = _ref.children,
16331
+ as = _ref.as,
16332
+ rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"]);
16333
+
16334
+ return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
16335
+ weight: weight,
16336
+ color: color,
16337
+ margin: margin,
16338
+ fontFamily: themeValues.fontFamily,
16339
+ fontSize: themeValues.fontSize,
16340
+ as: as,
16341
+ extraStyles: extraStyles,
16342
+ "data-qa": dataQa
16343
+ }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
16344
+ };
16345
+
16346
+ var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$9, "p");
16347
+
16269
16348
  var backgroundColor$1 = WHITE;
16270
16349
  var iconBackgroundColor = GRECIAN_GREY;
16271
- var fallbackValues$9 = {
16350
+ var fallbackValues$a = {
16272
16351
  backgroundColor: backgroundColor$1,
16273
16352
  iconBackgroundColor: iconBackgroundColor
16274
16353
  };
@@ -16378,7 +16457,7 @@ var Card = function Card(_ref2) {
16378
16457
  borderRadius: "4px",
16379
16458
  boxShadow: " 0px 1px 10px 0px rgb(246, 246, 249), 0px 2px 5px 0px rgb(202, 206, 216)",
16380
16459
  padding: "0",
16381
- maxWidth: "100%",
16460
+ maxWidth: variant !== "vertical" ? "100%" : "306px",
16382
16461
  minHeight: "100%",
16383
16462
  minWidth: variant !== "vertical" && "300px"
16384
16463
  }, /*#__PURE__*/React__default.createElement(Cover, {
@@ -16386,7 +16465,7 @@ var Card = function Card(_ref2) {
16386
16465
  fillCenter: true
16387
16466
  }, /*#__PURE__*/React__default.createElement(Stack, {
16388
16467
  direction: variant === "vertical" ? "column" : "row",
16389
- justify: variant === "vertical" && "center",
16468
+ justify: variant === "vertical" && "space-evenly",
16390
16469
  fullHeight: true,
16391
16470
  childGap: "0"
16392
16471
  }, icon && /*#__PURE__*/React__default.createElement(Box, {
@@ -16401,7 +16480,7 @@ var Card = function Card(_ref2) {
16401
16480
  }, renderIcon(icon)))), /*#__PURE__*/React__default.createElement(CardVariantSwitcher, {
16402
16481
  variant: variant
16403
16482
  }, /*#__PURE__*/React__default.createElement(Box, {
16404
- padding: "0.5rem 1rem",
16483
+ padding: "1rem",
16405
16484
  width: "100%",
16406
16485
  extraStyles: "flex-grow: 1; width: 100%;"
16407
16486
  }, /*#__PURE__*/React__default.createElement(Cover, {
@@ -16409,8 +16488,9 @@ var Card = function Card(_ref2) {
16409
16488
  fillCenter: true
16410
16489
  }, /*#__PURE__*/React__default.createElement(Box, {
16411
16490
  padding: "0"
16412
- }, /*#__PURE__*/React__default.createElement(Heading$1, {
16413
- variant: "h6"
16491
+ }, /*#__PURE__*/React__default.createElement(Paragraph$1, {
16492
+ variant: "p",
16493
+ weight: "600"
16414
16494
  }, heading), /*#__PURE__*/React__default.createElement(Text$1, {
16415
16495
  variant: "pS"
16416
16496
  }, text)))), /*#__PURE__*/React__default.createElement(Box, {
@@ -16425,7 +16505,7 @@ var Card = function Card(_ref2) {
16425
16505
  }))))));
16426
16506
  };
16427
16507
 
16428
- var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$9);
16508
+ var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$a);
16429
16509
 
16430
16510
  var cardRegistry = {
16431
16511
  accounts: function accounts(props) {
@@ -16433,7 +16513,7 @@ var cardRegistry = {
16433
16513
  icon: "accounts",
16434
16514
  heading: "Add an Account",
16435
16515
  buttonText: "Add Account",
16436
- text: "Add your accounts to this profile to make your payments simple.",
16516
+ text: "Find and attach your accounts to make your payments simple.",
16437
16517
  cardAction: "/profile/accounts"
16438
16518
  }, props));
16439
16519
  },
@@ -16442,16 +16522,16 @@ var cardRegistry = {
16442
16522
  icon: "properties",
16443
16523
  heading: "Add a Property",
16444
16524
  buttonText: "Add Property",
16445
- text: "Add a home, car, or other types of personal or business property.",
16525
+ text: "Find and attach your properties to make your payments simple.",
16446
16526
  cardAction: "/profile/properties"
16447
16527
  }, props));
16448
16528
  },
16449
16529
  payment: function payment(props) {
16450
16530
  return /*#__PURE__*/React__default.createElement(Card$1, _extends({
16451
16531
  icon: "payment",
16452
- heading: "Add a Payment Method",
16453
- buttonText: "Add Payment Method",
16454
- text: "Save cards and/or bank accounts to your profile for fast future payments.",
16532
+ heading: "Configure Your Settings",
16533
+ buttonText: "Configure Settings",
16534
+ text: "Add your personal information and payment methods to make fast payments.",
16455
16535
  cardAction: "/profile/settings"
16456
16536
  }, props));
16457
16537
  }
@@ -16493,7 +16573,7 @@ var checkedStyles = {
16493
16573
  var defaultStyles = {
16494
16574
  "default": "\n background: ".concat(WHITE, "; \n border: 1px solid ").concat(GHOST_GREY, ";\n")
16495
16575
  };
16496
- var fallbackValues$a = {
16576
+ var fallbackValues$b = {
16497
16577
  backgroundColor: backgroundColor$2,
16498
16578
  textFontSize: textFontSize,
16499
16579
  textFontWeight: textFontWeight,
@@ -16608,16 +16688,16 @@ function _templateObject2$8() {
16608
16688
  return data;
16609
16689
  }
16610
16690
 
16611
- function _templateObject$j() {
16691
+ function _templateObject$k() {
16612
16692
  var data = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n"]);
16613
16693
 
16614
- _templateObject$j = function _templateObject() {
16694
+ _templateObject$k = function _templateObject() {
16615
16695
  return data;
16616
16696
  };
16617
16697
 
16618
16698
  return data;
16619
16699
  }
16620
- var CheckboxContainer = styled__default.div(_templateObject$j());
16700
+ var CheckboxContainer = styled__default.div(_templateObject$k());
16621
16701
  var CheckboxLabelContainer = styled__default.label(_templateObject2$8());
16622
16702
  var CheckboxIcon = styled__default.svg(_templateObject3$3(), function (_ref) {
16623
16703
  var disabled = _ref.disabled,
@@ -16698,7 +16778,7 @@ var Checkbox = function Checkbox(_ref4) {
16698
16778
  }, title)));
16699
16779
  };
16700
16780
 
16701
- var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$a, "default");
16781
+ var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$b, "default");
16702
16782
 
16703
16783
  var listBackgroundColor = {
16704
16784
  "default": "".concat(ATHENS_GREY),
@@ -16724,7 +16804,7 @@ var radioButtonInactive = {
16724
16804
  "default": "".concat(GHOST_GREY),
16725
16805
  disabled: "".concat(GHOST_GREY)
16726
16806
  };
16727
- var fallbackValues$b = {
16807
+ var fallbackValues$c = {
16728
16808
  listBackgroundColor: listBackgroundColor,
16729
16809
  listItemColor: listItemColor,
16730
16810
  listItemBackgroundColor: listItemBackgroundColor,
@@ -16752,10 +16832,10 @@ function _templateObject2$9() {
16752
16832
  return data;
16753
16833
  }
16754
16834
 
16755
- function _templateObject$k() {
16835
+ function _templateObject$l() {
16756
16836
  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
16837
 
16758
- _templateObject$k = function _templateObject() {
16838
+ _templateObject$l = function _templateObject() {
16759
16839
  return data;
16760
16840
  };
16761
16841
 
@@ -16767,7 +16847,7 @@ var defaultTheme = {
16767
16847
  inactiveColor: PEWTER_GREY$1
16768
16848
  }
16769
16849
  };
16770
- var RadioButtonBorder = styled__default.div(_templateObject$k(), function (_ref) {
16850
+ var RadioButtonBorder = styled__default.div(_templateObject$l(), function (_ref) {
16771
16851
  var isSelected = _ref.isSelected,
16772
16852
  theme = _ref.theme;
16773
16853
  return isSelected ? theme.accentColor : theme.inactiveColor;
@@ -16809,16 +16889,16 @@ function _templateObject2$a() {
16809
16889
  return data;
16810
16890
  }
16811
16891
 
16812
- function _templateObject$l() {
16892
+ function _templateObject$m() {
16813
16893
  var data = _taggedTemplateLiteral(["\n width: 2rem;\n"]);
16814
16894
 
16815
- _templateObject$l = function _templateObject() {
16895
+ _templateObject$m = function _templateObject() {
16816
16896
  return data;
16817
16897
  };
16818
16898
 
16819
16899
  return data;
16820
16900
  }
16821
- var CheckboxItemIcon = styled__default.img(_templateObject$l());
16901
+ var CheckboxItemIcon = styled__default.img(_templateObject$m());
16822
16902
  var HiddenCheckboxInput = styled__default.input(_templateObject2$a());
16823
16903
  var CheckboxLabel = styled__default.label(_templateObject3$4());
16824
16904
 
@@ -16928,7 +17008,7 @@ var CheckboxList = function CheckboxList(_ref2) {
16928
17008
  })));
16929
17009
  };
16930
17010
 
16931
- var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$b, "default");
17011
+ var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$c, "default");
16932
17012
 
16933
17013
  var DropdownIcon = function DropdownIcon() {
16934
17014
  return /*#__PURE__*/React__default.createElement("svg", {
@@ -16958,7 +17038,7 @@ var DropdownIcon = function DropdownIcon() {
16958
17038
 
16959
17039
  var selectedColor = "".concat(MATISSE_BLUE);
16960
17040
  var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
16961
- var fallbackValues$c = {
17041
+ var fallbackValues$d = {
16962
17042
  selectedColor: selectedColor,
16963
17043
  hoverColor: hoverColor$3
16964
17044
  };
@@ -16993,16 +17073,16 @@ function _templateObject2$b() {
16993
17073
  return data;
16994
17074
  }
16995
17075
 
16996
- function _templateObject$m() {
17076
+ function _templateObject$n() {
16997
17077
  var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"]);
16998
17078
 
16999
- _templateObject$m = function _templateObject() {
17079
+ _templateObject$n = function _templateObject() {
17000
17080
  return data;
17001
17081
  };
17002
17082
 
17003
17083
  return data;
17004
17084
  }
17005
- var IconWrapper = styled__default.div(_templateObject$m(), function (_ref) {
17085
+ var IconWrapper = styled__default.div(_templateObject$n(), function (_ref) {
17006
17086
  var open = _ref.open;
17007
17087
  return open ? "transform: rotate(-180deg)" : "";
17008
17088
  });
@@ -17235,7 +17315,7 @@ var Dropdown = function Dropdown(_ref7) {
17235
17315
  }))) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
17236
17316
  };
17237
17317
 
17238
- var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$c);
17318
+ var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$d);
17239
17319
 
17240
17320
  function _templateObject4$3() {
17241
17321
  var data = _taggedTemplateLiteral([""]);
@@ -17267,16 +17347,16 @@ function _templateObject2$c() {
17267
17347
  return data;
17268
17348
  }
17269
17349
 
17270
- function _templateObject$n() {
17350
+ function _templateObject$o() {
17271
17351
  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
17352
 
17273
- _templateObject$n = function _templateObject() {
17353
+ _templateObject$o = function _templateObject() {
17274
17354
  return data;
17275
17355
  };
17276
17356
 
17277
17357
  return data;
17278
17358
  }
17279
- var SelectContainer = styled__default.div(_templateObject$n());
17359
+ var SelectContainer = styled__default.div(_templateObject$o());
17280
17360
  var SelectLabel = styled__default.label(_templateObject2$c(), function (_ref) {
17281
17361
  var field = _ref.field,
17282
17362
  showErrors = _ref.showErrors;
@@ -18113,7 +18193,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
18113
18193
 
18114
18194
  var backgroundColor$3 = WHITE;
18115
18195
  var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
18116
- var fallbackValues$d = {
18196
+ var fallbackValues$e = {
18117
18197
  backgroundColor: backgroundColor$3,
18118
18198
  boxShadow: boxShadow
18119
18199
  };
@@ -18134,86 +18214,7 @@ var DisplayBox = function DisplayBox(_ref) {
18134
18214
  }, children));
18135
18215
  };
18136
18216
 
18137
- var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$d);
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");
18217
+ var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$e);
18217
18218
 
18218
18219
  var DisplayCard = function DisplayCard(_ref) {
18219
18220
  var title = _ref.title,
@@ -39023,7 +39024,7 @@ var fallbackValues$A = {
39023
39024
  };
39024
39025
 
39025
39026
  function _templateObject$C() {
39026
- var data = _taggedTemplateLiteral(["\n width: 100%;\n height: auto;\n"]);
39027
+ var data = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"]);
39027
39028
 
39028
39029
  _templateObject$C = function _templateObject() {
39029
39030
  return data;
@@ -39048,13 +39049,14 @@ var WelcomeModule = function WelcomeModule(_ref) {
39048
39049
  }, /*#__PURE__*/React__default.createElement(WelcomeImage, {
39049
39050
  src: welcomeImage
39050
39051
  }))), /*#__PURE__*/React__default.createElement(Box, {
39052
+ padding: "0.875rem 1.5rem",
39051
39053
  background: themeValues.headerBackgroundColor
39052
39054
  }, /*#__PURE__*/React__default.createElement(Heading$1, {
39053
- variant: "h5",
39055
+ variant: "h6",
39054
39056
  weight: themeValues.fontWeight,
39055
39057
  color: themeValues.fontColor,
39056
39058
  textAlign: themeValues.textAlign,
39057
- as: "h5"
39059
+ as: "h6"
39058
39060
  }, heading)), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
39059
39061
  padding: "0",
39060
39062
  background: themeValues.imageBackgroundColor
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "4.0.11",
3
+ "version": "4.0.12",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -3,7 +3,7 @@ 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 Heading from "../heading";
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";
@@ -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" && "center"}
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="0.5rem 1rem"
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
- <Heading variant="h6">{heading}</Heading>
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="Add your accounts to this profile to make your payments simple."
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="Add a home, car, or other types of personal or business property."
20
+ text="Find and attach your properties to make your 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="Add a Payment Method"
29
- buttonText="Add Payment Method"
30
- text="Save cards and/or bank accounts to your profile for fast future payments."
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
  />
@@ -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: 100%;
10
- height: auto;
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 background={themeValues.headerBackgroundColor}>
27
+ <Box
28
+ padding="0.875rem 1.5rem"
29
+ background={themeValues.headerBackgroundColor}
30
+ >
28
31
  <Heading
29
- variant="h5"
32
+ variant="h6"
30
33
  weight={themeValues.fontWeight}
31
34
  color={themeValues.fontColor}
32
35
  textAlign={themeValues.textAlign}
33
- as="h5"
36
+ as="h6"
34
37
  >
35
38
  {heading}
36
39
  </Heading>