@thecb/components 11.9.1-beta.6 → 11.9.2-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 +12 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +12 -10
- 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 +6 -3
package/dist/index.esm.js
CHANGED
|
@@ -25913,8 +25913,7 @@ 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"
|
|
25917
|
-
overflow: true
|
|
25916
|
+
align: "center"
|
|
25918
25917
|
}, labelDisplayOverride ? labelDisplayOverride : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
25919
25918
|
as: "label",
|
|
25920
25919
|
color: themeValues.labelColor,
|
|
@@ -26290,7 +26289,7 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
26290
26289
|
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
|
|
26291
26290
|
|
|
26292
26291
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
26293
|
-
var autopayTextColor = "".concat(
|
|
26292
|
+
var autopayTextColor = "".concat(SEA_GREEN);
|
|
26294
26293
|
var fallbackValues$o = {
|
|
26295
26294
|
textColor: textColor$1,
|
|
26296
26295
|
autopayTextColor: autopayTextColor
|
|
@@ -26326,8 +26325,8 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
26326
26325
|
}, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26327
26326
|
variant: "p",
|
|
26328
26327
|
color: themeValues.autopayTextColor,
|
|
26329
|
-
extraStyles: "font-style: italic;"
|
|
26330
|
-
}, "Autopay
|
|
26328
|
+
extraStyles: "font-style: italic; font-size: .75rem;"
|
|
26329
|
+
}, "Autopay On")));
|
|
26331
26330
|
};
|
|
26332
26331
|
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
|
|
26333
26332
|
|
|
@@ -26372,7 +26371,7 @@ var CardType = function CardType(_ref) {
|
|
|
26372
26371
|
};
|
|
26373
26372
|
|
|
26374
26373
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
26375
|
-
var autopayTextColor$1 = "".concat(
|
|
26374
|
+
var autopayTextColor$1 = "".concat(SEA_GREEN);
|
|
26376
26375
|
var fallbackValues$p = {
|
|
26377
26376
|
textColor: textColor$2,
|
|
26378
26377
|
autopayTextColor: autopayTextColor$1
|
|
@@ -26401,13 +26400,15 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
|
26401
26400
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26402
26401
|
as: as,
|
|
26403
26402
|
variant: "pXS",
|
|
26404
|
-
|
|
26403
|
+
fontSize: ".75rem",
|
|
26404
|
+
color: STORM_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",
|
|
26411
26412
|
color: FIRE_YELLOW,
|
|
26412
26413
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26413
26414
|
}, "Expiring Soon ", expireDate);
|
|
@@ -26415,7 +26416,8 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
|
26415
26416
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26416
26417
|
as: as,
|
|
26417
26418
|
variant: "pXS",
|
|
26418
|
-
|
|
26419
|
+
fontSize: ".75rem",
|
|
26420
|
+
color: STORM_GREY,
|
|
26419
26421
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26420
26422
|
}, "Expired");
|
|
26421
26423
|
}
|
|
@@ -26465,8 +26467,8 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
26465
26467
|
}, "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, {
|
|
26466
26468
|
variant: "p",
|
|
26467
26469
|
color: themeValues.autopayTextColor,
|
|
26468
|
-
extraStyles: "font-style: italic;"
|
|
26469
|
-
}, "Autopay
|
|
26470
|
+
extraStyles: "font-style: italic; font-size: .75rem;"
|
|
26471
|
+
}, "Autopay On")));
|
|
26470
26472
|
};
|
|
26471
26473
|
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
|
|
26472
26474
|
|