@thecb/components 4.0.10 → 4.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -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", {
@@ -16266,9 +16330,88 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
16266
16330
  })));
16267
16331
  };
16268
16332
 
16333
+ var fontFamily$3 = {
16334
+ p: "Public Sans",
16335
+ pL: "Public Sans",
16336
+ pS: "Public Sans",
16337
+ pXS: "Public Sans",
16338
+ pXXS: "Public Sans",
16339
+ pXL: "Public Sans"
16340
+ };
16341
+ var fontSize$4 = {
16342
+ p: "1rem",
16343
+ pL: "1.125rem",
16344
+ pS: "0.875rem",
16345
+ pXS: "0.75rem",
16346
+ pXXS: "0.65rem",
16347
+ pXL: "1.5rem"
16348
+ };
16349
+ var fallbackValues$9 = {
16350
+ fontFamily: fontFamily$3,
16351
+ fontSize: fontSize$4
16352
+ };
16353
+
16354
+ function _templateObject$j() {
16355
+ 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"]);
16356
+
16357
+ _templateObject$j = function _templateObject() {
16358
+ return data;
16359
+ };
16360
+
16361
+ return data;
16362
+ }
16363
+ var ParagraphText = styled__default.p(_templateObject$j(), function (_ref) {
16364
+ var fontSize = _ref.fontSize;
16365
+ return fontSize;
16366
+ }, function (_ref2) {
16367
+ var weight = _ref2.weight;
16368
+ return weight;
16369
+ }, function (_ref3) {
16370
+ var fontFamily = _ref3.fontFamily;
16371
+ return fontFamily;
16372
+ }, function (_ref4) {
16373
+ var color = _ref4.color;
16374
+ return color;
16375
+ }, function (_ref5) {
16376
+ var margin = _ref5.margin;
16377
+ return margin;
16378
+ }, function (_ref6) {
16379
+ var extraStyles = _ref6.extraStyles;
16380
+ return extraStyles;
16381
+ });
16382
+
16383
+ var Paragraph = function Paragraph(_ref) {
16384
+ var themeValues = _ref.themeValues,
16385
+ _ref$weight = _ref.weight,
16386
+ weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
16387
+ _ref$color = _ref.color,
16388
+ color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
16389
+ _ref$margin = _ref.margin,
16390
+ margin = _ref$margin === void 0 ? 0 : _ref$margin,
16391
+ _ref$extraStyles = _ref.extraStyles,
16392
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
16393
+ dataQa = _ref.dataQa,
16394
+ children = _ref.children,
16395
+ as = _ref.as,
16396
+ rest = _objectWithoutProperties(_ref, ["themeValues", "weight", "color", "margin", "extraStyles", "dataQa", "children", "as"]);
16397
+
16398
+ return /*#__PURE__*/React__default.createElement(ParagraphText, _extends({
16399
+ weight: weight,
16400
+ color: color,
16401
+ margin: margin,
16402
+ fontFamily: themeValues.fontFamily,
16403
+ fontSize: themeValues.fontSize,
16404
+ as: as,
16405
+ extraStyles: extraStyles,
16406
+ "data-qa": dataQa
16407
+ }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
16408
+ };
16409
+
16410
+ var Paragraph$1 = themeComponent(Paragraph, "Paragraph", fallbackValues$9, "p");
16411
+
16269
16412
  var backgroundColor$1 = WHITE;
16270
16413
  var iconBackgroundColor = GRECIAN_GREY;
16271
- var fallbackValues$9 = {
16414
+ var fallbackValues$a = {
16272
16415
  backgroundColor: backgroundColor$1,
16273
16416
  iconBackgroundColor: iconBackgroundColor
16274
16417
  };
@@ -16366,10 +16509,10 @@ var Card = function Card(_ref2) {
16366
16509
  return /*#__PURE__*/React__default.createElement(PropertiesAddIcon$1, null);
16367
16510
 
16368
16511
  case "payment":
16369
- return /*#__PURE__*/React__default.createElement(PaymentMethodIcon$1, null);
16512
+ return /*#__PURE__*/React__default.createElement(PaymentMethodAddIcon$1, null);
16370
16513
 
16371
16514
  default:
16372
- return /*#__PURE__*/React__default.createElement(PaymentMethodIcon$1, null);
16515
+ return /*#__PURE__*/React__default.createElement(PaymentMethodAddIcon$1, null);
16373
16516
  }
16374
16517
  };
16375
16518
 
@@ -16378,7 +16521,7 @@ var Card = function Card(_ref2) {
16378
16521
  borderRadius: "4px",
16379
16522
  boxShadow: " 0px 1px 10px 0px rgb(246, 246, 249), 0px 2px 5px 0px rgb(202, 206, 216)",
16380
16523
  padding: "0",
16381
- maxWidth: "100%",
16524
+ maxWidth: variant !== "vertical" ? "100%" : "306px",
16382
16525
  minHeight: "100%",
16383
16526
  minWidth: variant !== "vertical" && "300px"
16384
16527
  }, /*#__PURE__*/React__default.createElement(Cover, {
@@ -16386,7 +16529,7 @@ var Card = function Card(_ref2) {
16386
16529
  fillCenter: true
16387
16530
  }, /*#__PURE__*/React__default.createElement(Stack, {
16388
16531
  direction: variant === "vertical" ? "column" : "row",
16389
- justify: variant === "vertical" && "center",
16532
+ justify: variant === "vertical" && "space-evenly",
16390
16533
  fullHeight: true,
16391
16534
  childGap: "0"
16392
16535
  }, icon && /*#__PURE__*/React__default.createElement(Box, {
@@ -16401,7 +16544,7 @@ var Card = function Card(_ref2) {
16401
16544
  }, renderIcon(icon)))), /*#__PURE__*/React__default.createElement(CardVariantSwitcher, {
16402
16545
  variant: variant
16403
16546
  }, /*#__PURE__*/React__default.createElement(Box, {
16404
- padding: "0.5rem 1rem",
16547
+ padding: "1rem",
16405
16548
  width: "100%",
16406
16549
  extraStyles: "flex-grow: 1; width: 100%;"
16407
16550
  }, /*#__PURE__*/React__default.createElement(Cover, {
@@ -16409,8 +16552,9 @@ var Card = function Card(_ref2) {
16409
16552
  fillCenter: true
16410
16553
  }, /*#__PURE__*/React__default.createElement(Box, {
16411
16554
  padding: "0"
16412
- }, /*#__PURE__*/React__default.createElement(Heading$1, {
16413
- variant: "h6"
16555
+ }, /*#__PURE__*/React__default.createElement(Paragraph$1, {
16556
+ variant: "p",
16557
+ weight: "600"
16414
16558
  }, heading), /*#__PURE__*/React__default.createElement(Text$1, {
16415
16559
  variant: "pS"
16416
16560
  }, text)))), /*#__PURE__*/React__default.createElement(Box, {
@@ -16425,7 +16569,7 @@ var Card = function Card(_ref2) {
16425
16569
  }))))));
16426
16570
  };
16427
16571
 
16428
- var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$9);
16572
+ var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$a);
16429
16573
 
16430
16574
  var cardRegistry = {
16431
16575
  accounts: function accounts(props) {
@@ -16433,7 +16577,7 @@ var cardRegistry = {
16433
16577
  icon: "accounts",
16434
16578
  heading: "Add an Account",
16435
16579
  buttonText: "Add Account",
16436
- text: "Add your accounts to this profile to make your payments simple.",
16580
+ text: "Find and attach your accounts to make your payments simple.",
16437
16581
  cardAction: "/profile/accounts"
16438
16582
  }, props));
16439
16583
  },
@@ -16442,16 +16586,16 @@ var cardRegistry = {
16442
16586
  icon: "properties",
16443
16587
  heading: "Add a Property",
16444
16588
  buttonText: "Add Property",
16445
- text: "Add a home, car, or other types of personal or business property.",
16589
+ text: "Find and attach your properties to make your tax payments simple.",
16446
16590
  cardAction: "/profile/properties"
16447
16591
  }, props));
16448
16592
  },
16449
16593
  payment: function payment(props) {
16450
16594
  return /*#__PURE__*/React__default.createElement(Card$1, _extends({
16451
16595
  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.",
16596
+ heading: "Configure Your Settings",
16597
+ buttonText: "Configure Settings",
16598
+ text: "Add your personal information and payment methods to make fast payments.",
16455
16599
  cardAction: "/profile/settings"
16456
16600
  }, props));
16457
16601
  }
@@ -16493,7 +16637,7 @@ var checkedStyles = {
16493
16637
  var defaultStyles = {
16494
16638
  "default": "\n background: ".concat(WHITE, "; \n border: 1px solid ").concat(GHOST_GREY, ";\n")
16495
16639
  };
16496
- var fallbackValues$a = {
16640
+ var fallbackValues$b = {
16497
16641
  backgroundColor: backgroundColor$2,
16498
16642
  textFontSize: textFontSize,
16499
16643
  textFontWeight: textFontWeight,
@@ -16608,16 +16752,16 @@ function _templateObject2$8() {
16608
16752
  return data;
16609
16753
  }
16610
16754
 
16611
- function _templateObject$j() {
16755
+ function _templateObject$k() {
16612
16756
  var data = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n"]);
16613
16757
 
16614
- _templateObject$j = function _templateObject() {
16758
+ _templateObject$k = function _templateObject() {
16615
16759
  return data;
16616
16760
  };
16617
16761
 
16618
16762
  return data;
16619
16763
  }
16620
- var CheckboxContainer = styled__default.div(_templateObject$j());
16764
+ var CheckboxContainer = styled__default.div(_templateObject$k());
16621
16765
  var CheckboxLabelContainer = styled__default.label(_templateObject2$8());
16622
16766
  var CheckboxIcon = styled__default.svg(_templateObject3$3(), function (_ref) {
16623
16767
  var disabled = _ref.disabled,
@@ -16698,7 +16842,7 @@ var Checkbox = function Checkbox(_ref4) {
16698
16842
  }, title)));
16699
16843
  };
16700
16844
 
16701
- var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$a, "default");
16845
+ var Checkbox$1 = themeComponent(Checkbox, "Checkbox", fallbackValues$b, "default");
16702
16846
 
16703
16847
  var listBackgroundColor = {
16704
16848
  "default": "".concat(ATHENS_GREY),
@@ -16724,7 +16868,7 @@ var radioButtonInactive = {
16724
16868
  "default": "".concat(GHOST_GREY),
16725
16869
  disabled: "".concat(GHOST_GREY)
16726
16870
  };
16727
- var fallbackValues$b = {
16871
+ var fallbackValues$c = {
16728
16872
  listBackgroundColor: listBackgroundColor,
16729
16873
  listItemColor: listItemColor,
16730
16874
  listItemBackgroundColor: listItemBackgroundColor,
@@ -16752,10 +16896,10 @@ function _templateObject2$9() {
16752
16896
  return data;
16753
16897
  }
16754
16898
 
16755
- function _templateObject$k() {
16899
+ function _templateObject$l() {
16756
16900
  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
16901
 
16758
- _templateObject$k = function _templateObject() {
16902
+ _templateObject$l = function _templateObject() {
16759
16903
  return data;
16760
16904
  };
16761
16905
 
@@ -16767,7 +16911,7 @@ var defaultTheme = {
16767
16911
  inactiveColor: PEWTER_GREY$1
16768
16912
  }
16769
16913
  };
16770
- var RadioButtonBorder = styled__default.div(_templateObject$k(), function (_ref) {
16914
+ var RadioButtonBorder = styled__default.div(_templateObject$l(), function (_ref) {
16771
16915
  var isSelected = _ref.isSelected,
16772
16916
  theme = _ref.theme;
16773
16917
  return isSelected ? theme.accentColor : theme.inactiveColor;
@@ -16809,16 +16953,16 @@ function _templateObject2$a() {
16809
16953
  return data;
16810
16954
  }
16811
16955
 
16812
- function _templateObject$l() {
16956
+ function _templateObject$m() {
16813
16957
  var data = _taggedTemplateLiteral(["\n width: 2rem;\n"]);
16814
16958
 
16815
- _templateObject$l = function _templateObject() {
16959
+ _templateObject$m = function _templateObject() {
16816
16960
  return data;
16817
16961
  };
16818
16962
 
16819
16963
  return data;
16820
16964
  }
16821
- var CheckboxItemIcon = styled__default.img(_templateObject$l());
16965
+ var CheckboxItemIcon = styled__default.img(_templateObject$m());
16822
16966
  var HiddenCheckboxInput = styled__default.input(_templateObject2$a());
16823
16967
  var CheckboxLabel = styled__default.label(_templateObject3$4());
16824
16968
 
@@ -16928,7 +17072,7 @@ var CheckboxList = function CheckboxList(_ref2) {
16928
17072
  })));
16929
17073
  };
16930
17074
 
16931
- var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$b, "default");
17075
+ var CheckboxList$1 = themeComponent(CheckboxList, "CheckboxList", fallbackValues$c, "default");
16932
17076
 
16933
17077
  var DropdownIcon = function DropdownIcon() {
16934
17078
  return /*#__PURE__*/React__default.createElement("svg", {
@@ -16958,7 +17102,7 @@ var DropdownIcon = function DropdownIcon() {
16958
17102
 
16959
17103
  var selectedColor = "".concat(MATISSE_BLUE);
16960
17104
  var hoverColor$3 = "".concat(HOVER_LIGHT_BLUE);
16961
- var fallbackValues$c = {
17105
+ var fallbackValues$d = {
16962
17106
  selectedColor: selectedColor,
16963
17107
  hoverColor: hoverColor$3
16964
17108
  };
@@ -16993,16 +17137,16 @@ function _templateObject2$b() {
16993
17137
  return data;
16994
17138
  }
16995
17139
 
16996
- function _templateObject$m() {
17140
+ function _templateObject$n() {
16997
17141
  var data = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"]);
16998
17142
 
16999
- _templateObject$m = function _templateObject() {
17143
+ _templateObject$n = function _templateObject() {
17000
17144
  return data;
17001
17145
  };
17002
17146
 
17003
17147
  return data;
17004
17148
  }
17005
- var IconWrapper = styled__default.div(_templateObject$m(), function (_ref) {
17149
+ var IconWrapper = styled__default.div(_templateObject$n(), function (_ref) {
17006
17150
  var open = _ref.open;
17007
17151
  return open ? "transform: rotate(-180deg)" : "";
17008
17152
  });
@@ -17235,7 +17379,7 @@ var Dropdown = function Dropdown(_ref7) {
17235
17379
  }))) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
17236
17380
  };
17237
17381
 
17238
- var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$c);
17382
+ var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$d);
17239
17383
 
17240
17384
  function _templateObject4$3() {
17241
17385
  var data = _taggedTemplateLiteral([""]);
@@ -17267,16 +17411,16 @@ function _templateObject2$c() {
17267
17411
  return data;
17268
17412
  }
17269
17413
 
17270
- function _templateObject$n() {
17414
+ function _templateObject$o() {
17271
17415
  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
17416
 
17273
- _templateObject$n = function _templateObject() {
17417
+ _templateObject$o = function _templateObject() {
17274
17418
  return data;
17275
17419
  };
17276
17420
 
17277
17421
  return data;
17278
17422
  }
17279
- var SelectContainer = styled__default.div(_templateObject$n());
17423
+ var SelectContainer = styled__default.div(_templateObject$o());
17280
17424
  var SelectLabel = styled__default.label(_templateObject2$c(), function (_ref) {
17281
17425
  var field = _ref.field,
17282
17426
  showErrors = _ref.showErrors;
@@ -18113,7 +18257,7 @@ var CountryDropdown = function CountryDropdown(_ref) {
18113
18257
 
18114
18258
  var backgroundColor$3 = WHITE;
18115
18259
  var boxShadow = "0px 2px 14px 0px ".concat(ATHENS_GREY, ", 0px 3px 8px 0px ").concat(GHOST_GREY);
18116
- var fallbackValues$d = {
18260
+ var fallbackValues$e = {
18117
18261
  backgroundColor: backgroundColor$3,
18118
18262
  boxShadow: boxShadow
18119
18263
  };
@@ -18134,86 +18278,7 @@ var DisplayBox = function DisplayBox(_ref) {
18134
18278
  }, children));
18135
18279
  };
18136
18280
 
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");
18281
+ var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$e);
18217
18282
 
18218
18283
  var DisplayCard = function DisplayCard(_ref) {
18219
18284
  var title = _ref.title,
@@ -35203,6 +35268,7 @@ var Modal$1 = function Modal(_ref) {
35203
35268
  var ModalLink = _ref.ModalLink,
35204
35269
  hideModal = _ref.hideModal,
35205
35270
  continueAction = _ref.continueAction,
35271
+ cancelAction = _ref.cancelAction,
35206
35272
  modalOpen = _ref.modalOpen,
35207
35273
  modalHeaderText = _ref.modalHeaderText,
35208
35274
  modalBodyText = _ref.modalBodyText,
@@ -35220,7 +35286,9 @@ var Modal$1 = function Modal(_ref) {
35220
35286
  defaultWrapper = _ref$defaultWrapper === void 0 ? true : _ref$defaultWrapper,
35221
35287
  _ref$onlyCloseButton = _ref.onlyCloseButton,
35222
35288
  onlyCloseButton = _ref$onlyCloseButton === void 0 ? false : _ref$onlyCloseButton,
35223
- maxHeight = _ref.maxHeight;
35289
+ maxHeight = _ref.maxHeight,
35290
+ _ref$underlayClickExi = _ref.underlayClickExits,
35291
+ underlayClickExits = _ref$underlayClickExi === void 0 ? true : _ref$underlayClickExi;
35224
35292
 
35225
35293
  var _useContext = React.useContext(styled.ThemeContext),
35226
35294
  isMobile = _useContext.isMobile;
@@ -35237,7 +35305,8 @@ var Modal$1 = function Modal(_ref) {
35237
35305
  },
35238
35306
  dialogStyle: {
35239
35307
  width: "615px"
35240
- }
35308
+ },
35309
+ underlayClickExits: underlayClickExits
35241
35310
  }, /*#__PURE__*/React__default.createElement(Box, {
35242
35311
  padding: "0",
35243
35312
  borderRadius: "2px",
@@ -35276,7 +35345,7 @@ var Modal$1 = function Modal(_ref) {
35276
35345
  extraStyles: isMobile ? "flex-grow: 1" : ""
35277
35346
  }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
35278
35347
  variant: "secondary",
35279
- action: hideModal,
35348
+ action: cancelAction ? cancelAction : hideModal,
35280
35349
  text: cancelButtonText,
35281
35350
  dataQa: cancelButtonText,
35282
35351
  extraStyles: "width: 100%;"
@@ -39019,7 +39088,7 @@ var fallbackValues$A = {
39019
39088
  };
39020
39089
 
39021
39090
  function _templateObject$C() {
39022
- var data = _taggedTemplateLiteral(["\n width: 100%;\n height: auto;\n"]);
39091
+ var data = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"]);
39023
39092
 
39024
39093
  _templateObject$C = function _templateObject() {
39025
39094
  return data;
@@ -39044,13 +39113,14 @@ var WelcomeModule = function WelcomeModule(_ref) {
39044
39113
  }, /*#__PURE__*/React__default.createElement(WelcomeImage, {
39045
39114
  src: welcomeImage
39046
39115
  }))), /*#__PURE__*/React__default.createElement(Box, {
39116
+ padding: "0.875rem 1.5rem",
39047
39117
  background: themeValues.headerBackgroundColor
39048
39118
  }, /*#__PURE__*/React__default.createElement(Heading$1, {
39049
- variant: "h5",
39119
+ variant: "h6",
39050
39120
  weight: themeValues.fontWeight,
39051
39121
  color: themeValues.fontColor,
39052
39122
  textAlign: themeValues.textAlign,
39053
- as: "h5"
39123
+ as: "h6"
39054
39124
  }, heading)), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
39055
39125
  padding: "0",
39056
39126
  background: themeValues.imageBackgroundColor
@@ -39459,6 +39529,7 @@ exports.PaymentDetails = PaymentDetails$1;
39459
39529
  exports.PaymentFormACH = PaymentFormACH;
39460
39530
  exports.PaymentFormCard = PaymentFormCard;
39461
39531
  exports.PaymentIcon = PaymentIcon;
39532
+ exports.PaymentMethodAddIcon = PaymentMethodAddIcon$1;
39462
39533
  exports.PaymentMethodIcon = PaymentMethodIcon$1;
39463
39534
  exports.PaymentsIconSmall = PaymentsIconSmall$1;
39464
39535
  exports.PhoneForm = PhoneForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "4.0.10",
3
+ "version": "4.0.13",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -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 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";
10
10
  import {
11
11
  AccountsAddIcon,
12
12
  PropertiesAddIcon,
13
- PaymentMethodIcon
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 <PaymentMethodIcon />;
48
+ return <PaymentMethodAddIcon />;
49
49
  default:
50
- return <PaymentMethodIcon />;
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" && "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 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="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
  />
@@ -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,
@@ -24,6 +24,7 @@ const Modal = ({
24
24
  ModalLink,
25
25
  hideModal,
26
26
  continueAction,
27
+ cancelAction,
27
28
  modalOpen,
28
29
  modalHeaderText,
29
30
  modalBodyText,
@@ -34,7 +35,8 @@ const Modal = ({
34
35
  useDangerButton = false,
35
36
  defaultWrapper = true,
36
37
  onlyCloseButton = false,
37
- maxHeight
38
+ maxHeight,
39
+ underlayClickExits = true
38
40
  }) => {
39
41
  const { isMobile } = useContext(ThemeContext);
40
42
  return (
@@ -54,6 +56,7 @@ const Modal = ({
54
56
  dialogStyle={{
55
57
  width: "615px"
56
58
  }}
59
+ underlayClickExits={underlayClickExits}
57
60
  >
58
61
  <Box
59
62
  padding="0"
@@ -95,7 +98,7 @@ const Modal = ({
95
98
  >
96
99
  <ButtonWithAction
97
100
  variant="secondary"
98
- action={hideModal}
101
+ action={cancelAction ? cancelAction : hideModal}
99
102
  text={cancelButtonText}
100
103
  dataQa={cancelButtonText}
101
104
  extraStyles="width: 100%;"
@@ -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>