@thecb/components 11.9.1-beta.5 → 11.9.1
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 +10 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +10 -12
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/form-layouts/FormInput.js +1 -1
- package/src/components/atoms/formatted-bank-account/FormattedBankAccount.js +2 -2
- package/src/components/atoms/formatted-bank-account/FormattedBankAccount.theme.js +2 -2
- package/src/components/atoms/formatted-credit-card/FormattedCreditCard.js +2 -2
- package/src/components/atoms/formatted-credit-card/FormattedCreditCard.theme.js +2 -2
- package/src/util/formats.js +3 -6
package/dist/index.esm.js
CHANGED
|
@@ -25913,7 +25913,8 @@ var FormInput = function FormInput(_ref15) {
|
|
|
25913
25913
|
padding: "0"
|
|
25914
25914
|
}, helperModal ? /*#__PURE__*/React__default.createElement(Cluster, {
|
|
25915
25915
|
justify: "space-between",
|
|
25916
|
-
align: "center"
|
|
25916
|
+
align: "center",
|
|
25917
|
+
overflow: true
|
|
25917
25918
|
}, labelDisplayOverride ? labelDisplayOverride : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
25918
25919
|
as: "label",
|
|
25919
25920
|
color: themeValues.labelColor,
|
|
@@ -26289,7 +26290,7 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
26289
26290
|
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
|
|
26290
26291
|
|
|
26291
26292
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
26292
|
-
var autopayTextColor = "".concat(
|
|
26293
|
+
var autopayTextColor = "".concat(REGENT_GREY);
|
|
26293
26294
|
var fallbackValues$o = {
|
|
26294
26295
|
textColor: textColor$1,
|
|
26295
26296
|
autopayTextColor: autopayTextColor
|
|
@@ -26325,8 +26326,8 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
26325
26326
|
}, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26326
26327
|
variant: "p",
|
|
26327
26328
|
color: themeValues.autopayTextColor,
|
|
26328
|
-
extraStyles: "font-style: italic;
|
|
26329
|
-
}, "Autopay
|
|
26329
|
+
extraStyles: "font-style: italic;"
|
|
26330
|
+
}, "Autopay Enabled")));
|
|
26330
26331
|
};
|
|
26331
26332
|
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
|
|
26332
26333
|
|
|
@@ -26371,7 +26372,7 @@ var CardType = function CardType(_ref) {
|
|
|
26371
26372
|
};
|
|
26372
26373
|
|
|
26373
26374
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
26374
|
-
var autopayTextColor$1 = "".concat(
|
|
26375
|
+
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
26375
26376
|
var fallbackValues$p = {
|
|
26376
26377
|
textColor: textColor$2,
|
|
26377
26378
|
autopayTextColor: autopayTextColor$1
|
|
@@ -26400,15 +26401,13 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
|
26400
26401
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26401
26402
|
as: as,
|
|
26402
26403
|
variant: "pXS",
|
|
26403
|
-
|
|
26404
|
-
color: STORM_GREY,
|
|
26404
|
+
color: ASH_GREY,
|
|
26405
26405
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26406
26406
|
}, "Exp Date ", expireDate);
|
|
26407
26407
|
case EXPIRING_SOON:
|
|
26408
26408
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26409
26409
|
as: as,
|
|
26410
26410
|
variant: "pXS",
|
|
26411
|
-
fontSize: ".75rem",
|
|
26412
26411
|
color: FIRE_YELLOW,
|
|
26413
26412
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26414
26413
|
}, "Expiring Soon ", expireDate);
|
|
@@ -26416,8 +26415,7 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
|
26416
26415
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26417
26416
|
as: as,
|
|
26418
26417
|
variant: "pXS",
|
|
26419
|
-
|
|
26420
|
-
color: STORM_GREY,
|
|
26418
|
+
color: ASH_GREY,
|
|
26421
26419
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26422
26420
|
}, "Expired");
|
|
26423
26421
|
}
|
|
@@ -26467,8 +26465,8 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
26467
26465
|
}, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React__default.createElement(Fragment$1, null, renderCardStatus(expirationStatus, expireDate, "left", "p"))), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26468
26466
|
variant: "p",
|
|
26469
26467
|
color: themeValues.autopayTextColor,
|
|
26470
|
-
extraStyles: "font-style: italic;
|
|
26471
|
-
}, "Autopay
|
|
26468
|
+
extraStyles: "font-style: italic;"
|
|
26469
|
+
}, "Autopay Enabled")));
|
|
26472
26470
|
};
|
|
26473
26471
|
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
|
|
26474
26472
|
|