@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.cjs.js
CHANGED
|
@@ -25921,8 +25921,7 @@ var FormInput = function FormInput(_ref15) {
|
|
|
25921
25921
|
padding: "0"
|
|
25922
25922
|
}, helperModal ? /*#__PURE__*/React__default.createElement(Cluster, {
|
|
25923
25923
|
justify: "space-between",
|
|
25924
|
-
align: "center"
|
|
25925
|
-
overflow: true
|
|
25924
|
+
align: "center"
|
|
25926
25925
|
}, labelDisplayOverride ? labelDisplayOverride : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
25927
25926
|
as: "label",
|
|
25928
25927
|
color: themeValues.labelColor,
|
|
@@ -26298,7 +26297,7 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
26298
26297
|
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
|
|
26299
26298
|
|
|
26300
26299
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
26301
|
-
var autopayTextColor = "".concat(
|
|
26300
|
+
var autopayTextColor = "".concat(SEA_GREEN);
|
|
26302
26301
|
var fallbackValues$o = {
|
|
26303
26302
|
textColor: textColor$1,
|
|
26304
26303
|
autopayTextColor: autopayTextColor
|
|
@@ -26334,8 +26333,8 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
26334
26333
|
}, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26335
26334
|
variant: "p",
|
|
26336
26335
|
color: themeValues.autopayTextColor,
|
|
26337
|
-
extraStyles: "font-style: italic;"
|
|
26338
|
-
}, "Autopay
|
|
26336
|
+
extraStyles: "font-style: italic; font-size: .75rem;"
|
|
26337
|
+
}, "Autopay On")));
|
|
26339
26338
|
};
|
|
26340
26339
|
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
|
|
26341
26340
|
|
|
@@ -26380,7 +26379,7 @@ var CardType = function CardType(_ref) {
|
|
|
26380
26379
|
};
|
|
26381
26380
|
|
|
26382
26381
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
26383
|
-
var autopayTextColor$1 = "".concat(
|
|
26382
|
+
var autopayTextColor$1 = "".concat(SEA_GREEN);
|
|
26384
26383
|
var fallbackValues$p = {
|
|
26385
26384
|
textColor: textColor$2,
|
|
26386
26385
|
autopayTextColor: autopayTextColor$1
|
|
@@ -26409,13 +26408,15 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
|
26409
26408
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26410
26409
|
as: as,
|
|
26411
26410
|
variant: "pXS",
|
|
26412
|
-
|
|
26411
|
+
fontSize: ".75rem",
|
|
26412
|
+
color: STORM_GREY,
|
|
26413
26413
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26414
26414
|
}, "Exp Date ", expireDate);
|
|
26415
26415
|
case EXPIRING_SOON:
|
|
26416
26416
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26417
26417
|
as: as,
|
|
26418
26418
|
variant: "pXS",
|
|
26419
|
+
fontSize: ".75rem",
|
|
26419
26420
|
color: FIRE_YELLOW,
|
|
26420
26421
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26421
26422
|
}, "Expiring Soon ", expireDate);
|
|
@@ -26423,7 +26424,8 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
|
26423
26424
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26424
26425
|
as: as,
|
|
26425
26426
|
variant: "pXS",
|
|
26426
|
-
|
|
26427
|
+
fontSize: ".75rem",
|
|
26428
|
+
color: STORM_GREY,
|
|
26427
26429
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26428
26430
|
}, "Expired");
|
|
26429
26431
|
}
|
|
@@ -26473,8 +26475,8 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
26473
26475
|
}, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React__default.createElement(React.Fragment, null, renderCardStatus(expirationStatus, expireDate, "left", "p"))), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26474
26476
|
variant: "p",
|
|
26475
26477
|
color: themeValues.autopayTextColor,
|
|
26476
|
-
extraStyles: "font-style: italic;"
|
|
26477
|
-
}, "Autopay
|
|
26478
|
+
extraStyles: "font-style: italic; font-size: .75rem;"
|
|
26479
|
+
}, "Autopay On")));
|
|
26478
26480
|
};
|
|
26479
26481
|
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
|
|
26480
26482
|
|