@thecb/components 6.2.6 → 6.2.9

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.esm.js CHANGED
@@ -6296,6 +6296,20 @@ var checkDeniedCards = function checkDeniedCards(name) {
6296
6296
  var screenReaderOnlyStyle = "\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n";
6297
6297
  var inputPlaceholderTextStyle = "\n ::-webkit-input-placeholder {\n color: ".concat(CHARADE_GREY, ";\n }\n ::-moz-placeholder {\n color: ").concat(CHARADE_GREY, ";\n }\n ::-ms-placeholder {\n color: ").concat(CHARADE_GREY, ";\n }\n ::placeholder {\n color: ").concat(CHARADE_GREY, ";\n }\n");
6298
6298
  var inputDisabledStyle = "\n color: #6e727e;\n background-color: #f7f7f7;\n pointer-events: none;\n";
6299
+ var MOBILE_WIDTH = 768;
6300
+ var throttle = function throttle(delay, fn) {
6301
+ var lastCall = 0;
6302
+ return function () {
6303
+ var now = new Date().getTime();
6304
+
6305
+ if (now - lastCall < delay) {
6306
+ return;
6307
+ }
6308
+
6309
+ lastCall = now;
6310
+ return fn.apply(void 0, arguments);
6311
+ };
6312
+ };
6299
6313
 
6300
6314
  var general = /*#__PURE__*/Object.freeze({
6301
6315
  __proto__: null,
@@ -6311,7 +6325,9 @@ var general = /*#__PURE__*/Object.freeze({
6311
6325
  checkDeniedCards: checkDeniedCards,
6312
6326
  screenReaderOnlyStyle: screenReaderOnlyStyle,
6313
6327
  inputPlaceholderTextStyle: inputPlaceholderTextStyle,
6314
- inputDisabledStyle: inputDisabledStyle
6328
+ inputDisabledStyle: inputDisabledStyle,
6329
+ MOBILE_WIDTH: MOBILE_WIDTH,
6330
+ throttle: throttle
6315
6331
  });
6316
6332
 
6317
6333
  var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
@@ -13730,42 +13746,27 @@ var BankIcon = function BankIcon() {
13730
13746
 
13731
13747
  var GenericCard = function GenericCard() {
13732
13748
  return /*#__PURE__*/React.createElement("svg", {
13733
- width: "28px",
13734
- height: "18px",
13735
- viewBox: "0 0 28 18",
13736
- version: "1.1",
13737
- xmlns: "http://www.w3.org/2000/svg",
13738
- xmlnsXlink: "http://www.w3.org/1999/xlink"
13739
- }, /*#__PURE__*/React.createElement("g", {
13740
- stroke: "none",
13741
- strokeWidth: "1",
13742
- fill: "none",
13743
- fillRule: "evenodd"
13744
- }, /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("rect", {
13745
- id: "bg",
13746
- fill: "#CACED8",
13747
- x: "0",
13748
- y: "0",
13749
13749
  width: "28",
13750
13750
  height: "18",
13751
- rx: "1"
13752
- }), /*#__PURE__*/React.createElement("g", {
13753
- transform: "translate(0.000000, 4.000000)",
13754
- fill: "#6D717E"
13751
+ viewBox: "0 0 28 18",
13752
+ fill: "none",
13753
+ xmlns: "http://www.w3.org/2000/svg"
13755
13754
  }, /*#__PURE__*/React.createElement("rect", {
13756
- id: "Rectangle-Copy-7",
13757
- x: "0",
13758
- y: "0",
13759
13755
  width: "28",
13760
- height: "4"
13761
- }), /*#__PURE__*/React.createElement("rect", {
13762
- id: "Rectangle-Copy-8",
13763
- x: "17",
13764
- y: "8",
13765
- width: "7",
13766
- height: "2",
13767
- rx: "1"
13768
- })))));
13756
+ height: "18",
13757
+ rx: "2",
13758
+ fill: "#15749D"
13759
+ }), /*#__PURE__*/React.createElement("path", {
13760
+ fillRule: "evenodd",
13761
+ clipRule: "evenodd",
13762
+ d: "M3.86108 13C3.44687 13 3.11108 13.3358 3.11108 13.75C3.11108 14.1642 3.44687 14.5 3.86108 14.5H7.80553C8.21974 14.5 8.55553 14.1642 8.55553 13.75C8.55553 13.3358 8.21974 13 7.80553 13H3.86108ZM10.8611 13C10.4469 13 10.1111 13.3358 10.1111 13.75C10.1111 14.1642 10.4469 14.5 10.8611 14.5H17.9166C18.3309 14.5 18.6666 14.1642 18.6666 13.75C18.6666 13.3358 18.3309 13 17.9166 13H10.8611Z",
13763
+ fill: "#E4F4FD"
13764
+ }), /*#__PURE__*/React.createElement("path", {
13765
+ fillRule: "evenodd",
13766
+ clipRule: "evenodd",
13767
+ d: "M20.2223 5.25V6.75H18.6667V6.25C18.6667 5.69772 19.1145 5.25 19.6667 5.25H20.2223ZM20.4723 5.25V6.75H22.3056V5.25H22.5556V6.75H24.1109V7H22.5556V8.25L24.1109 8.25V8.5L22.5556 8.5V9.74999L23.1111 9.74999C23.6634 9.74999 24.1111 9.30228 24.1111 8.74999V6.25C24.1111 5.69772 23.6634 5.25 23.1111 5.25H20.4723ZM22.3056 9.74999V8.5L20.4723 8.49999V9.74999L22.3056 9.74999ZM20.2223 9.74999V8.49999L18.6667 8.49999V8.74999C18.6667 9.30228 19.1145 9.74999 19.6667 9.74999H20.2223ZM18.6667 8.24999L20.2223 8.24999V7H18.6667V8.24999ZM20.4723 8.24999V7H22.3056V8.25L20.4723 8.24999Z",
13768
+ fill: "#F4C932"
13769
+ }));
13769
13770
  };
13770
13771
 
13771
13772
  var BankItemWrapper = styled.div.withConfig({
@@ -14899,36 +14900,27 @@ var ProfileIcon$1 = themeComponent(ProfileIcon, "Icons", fallbackValues$2, "info
14899
14900
 
14900
14901
  var GenericCardLarge = function GenericCardLarge() {
14901
14902
  return /*#__PURE__*/React.createElement("svg", {
14902
- xmlns: "http://www.w3.org/2000/svg",
14903
- width: "34",
14904
- height: "28",
14905
- viewBox: "0 0 34 28"
14906
- }, /*#__PURE__*/React.createElement("g", {
14903
+ width: "36",
14904
+ height: "24",
14905
+ viewBox: "0 0 36 24",
14907
14906
  fill: "none",
14908
- fillRule: "evenodd",
14909
- stroke: "none",
14910
- strokeWidth: "1"
14911
- }, /*#__PURE__*/React.createElement("g", {
14912
- fillRule: "nonzero",
14913
- transform: "translate(-142 -927)"
14914
- }, /*#__PURE__*/React.createElement("g", {
14915
- transform: "translate(94 518)"
14916
- }, /*#__PURE__*/React.createElement("g", {
14917
- transform: "translate(24 350)"
14918
- }, /*#__PURE__*/React.createElement("g", {
14919
- transform: "translate(0 35)"
14920
- }, /*#__PURE__*/React.createElement("g", {
14921
- transform: "translate(24 24)"
14922
- }, /*#__PURE__*/React.createElement("path", {
14923
- fill: "#CACED8",
14924
- d: "M29.259.699H3.282C1.497.699.035 2.217.035 4.074v20.25c0 1.856 1.462 3.375 3.247 3.375H29.26c1.786 0 3.247-1.52 3.247-3.375V4.074c0-1.857-1.461-3.375-3.247-3.375z"
14907
+ xmlns: "http://www.w3.org/2000/svg"
14908
+ }, /*#__PURE__*/React.createElement("rect", {
14909
+ width: "36",
14910
+ height: "24",
14911
+ rx: "2",
14912
+ fill: "#15749D"
14925
14913
  }), /*#__PURE__*/React.createElement("path", {
14926
- fill: "#000",
14927
- d: "M0.035 6.699H32.50599999999999V13.699H0.035z"
14914
+ fillRule: "evenodd",
14915
+ clipRule: "evenodd",
14916
+ d: "M5 17.3333C4.44772 17.3333 4 17.781 4 18.3333C4 18.8856 4.44772 19.3333 5 19.3333H10C10.5523 19.3333 11 18.8856 11 18.3333C11 17.781 10.5523 17.3333 10 17.3333H5ZM14 17.3333C13.4477 17.3333 13 17.781 13 18.3333C13 18.8856 13.4477 19.3333 14 19.3333H23C23.5523 19.3333 24 18.8856 24 18.3333C24 17.781 23.5523 17.3333 23 17.3333H14Z",
14917
+ fill: "#E4F4FD"
14928
14918
  }), /*#__PURE__*/React.createElement("path", {
14929
- fill: "#000",
14930
- d: "M27.51 22.699h-6.244c-.468 0-.937-.47-.937-.938v-3.125c0-.469.469-.937.937-.937h6.244c.469 0 .937.468.937.937v3.125c0 .625-.312.938-.937.938z"
14931
- }))))))));
14919
+ fillRule: "evenodd",
14920
+ clipRule: "evenodd",
14921
+ d: "M26.0357 7V9.04167H24V8C24 7.44771 24.4477 7 25 7H26.0357ZM26.2857 7V9.04167H28.7142V7H28.9642V9.04167H30.9997V9.29167H28.9642V11.0417L30.9997 11.0417L30.9997 11.2917L28.9642 11.2917V13L29.9999 13C30.5522 13 30.9999 12.5523 30.9999 12V8C30.9999 7.44772 30.5522 7 29.9999 7H26.2857ZM28.7142 13V11.2917L26.2857 11.2917V13L28.7142 13ZM26.0357 13V11.2917L24 11.2917V12C24 12.5523 24.4477 13 25 13L26.0357 13ZM24 11.0417L26.0357 11.0417V9.29167H24V11.0417ZM26.2857 11.0417V9.29167H28.7142V11.0417L26.2857 11.0417Z",
14922
+ fill: "#F4C932"
14923
+ }));
14932
14924
  };
14933
14925
 
14934
14926
  var EmptyCartIcon = function EmptyCartIcon(_ref) {
@@ -19057,22 +19049,6 @@ var fallbackValues$b = {
19057
19049
  iconBackgroundColor: iconBackgroundColor
19058
19050
  };
19059
19051
 
19060
- var MOBILE_WIDTH = 768;
19061
-
19062
- var throttle = function throttle(delay, fn) {
19063
- var lastCall = 0;
19064
- return function () {
19065
- var now = new Date().getTime();
19066
-
19067
- if (now - lastCall < delay) {
19068
- return;
19069
- }
19070
-
19071
- lastCall = now;
19072
- return fn.apply(void 0, arguments);
19073
- };
19074
- };
19075
-
19076
19052
  var withWindowSize = function withWindowSize(Child) {
19077
19053
  return function (_ref) {
19078
19054
  var props = _extends({}, _ref);
@@ -19217,8 +19193,8 @@ var cardRegistry = {
19217
19193
  accounts: function accounts(props) {
19218
19194
  return /*#__PURE__*/React.createElement(Card$1, _extends({
19219
19195
  icon: "accounts",
19220
- heading: "Add an Account",
19221
- buttonText: "Add Account",
19196
+ heading: "Find Your Account",
19197
+ buttonText: "Find Account",
19222
19198
  text: "Find and attach your accounts to make your payments simple.",
19223
19199
  cardAction: "/profile/accounts"
19224
19200
  }, props));
@@ -19226,8 +19202,8 @@ var cardRegistry = {
19226
19202
  properties: function properties(props) {
19227
19203
  return /*#__PURE__*/React.createElement(Card$1, _extends({
19228
19204
  icon: "properties",
19229
- heading: "Add a Property",
19230
- buttonText: "Add Property",
19205
+ heading: "Find Your Property",
19206
+ buttonText: "Find Property",
19231
19207
  text: "Find and attach your properties to make your tax payments simple.",
19232
19208
  cardAction: "/profile/properties"
19233
19209
  }, props));
@@ -19235,8 +19211,8 @@ var cardRegistry = {
19235
19211
  payment: function payment(props) {
19236
19212
  return /*#__PURE__*/React.createElement(Card$1, _extends({
19237
19213
  icon: "payment",
19238
- heading: "Configure Your Settings",
19239
- buttonText: "Configure Settings",
19214
+ heading: "Manage Your Wallet",
19215
+ buttonText: "Go to Wallet",
19240
19216
  text: "Add your personal information and payment methods to make fast payments.",
19241
19217
  cardAction: "/profile/settings"
19242
19218
  }, props));