@thecb/components 11.9.1-beta.4 → 11.9.1-beta.6
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 +9 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -11
- 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 +1 -1
- 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.cjs.js
CHANGED
|
@@ -25921,7 +25921,8 @@ 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"
|
|
25924
|
+
align: "center",
|
|
25925
|
+
overflow: true
|
|
25925
25926
|
}, labelDisplayOverride ? labelDisplayOverride : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
25926
25927
|
as: "label",
|
|
25927
25928
|
color: themeValues.labelColor,
|
|
@@ -26297,7 +26298,7 @@ var FormattedAddress = function FormattedAddress(_ref) {
|
|
|
26297
26298
|
var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
|
|
26298
26299
|
|
|
26299
26300
|
var textColor$1 = "".concat(CHARADE_GREY);
|
|
26300
|
-
var autopayTextColor = "".concat(
|
|
26301
|
+
var autopayTextColor = "".concat(REGENT_GREY);
|
|
26301
26302
|
var fallbackValues$o = {
|
|
26302
26303
|
textColor: textColor$1,
|
|
26303
26304
|
autopayTextColor: autopayTextColor
|
|
@@ -26334,7 +26335,7 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
26334
26335
|
variant: "p",
|
|
26335
26336
|
color: themeValues.autopayTextColor,
|
|
26336
26337
|
extraStyles: "font-style: italic;"
|
|
26337
|
-
}, "Autopay
|
|
26338
|
+
}, "Autopay Enabled")));
|
|
26338
26339
|
};
|
|
26339
26340
|
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
|
|
26340
26341
|
|
|
@@ -26379,7 +26380,7 @@ var CardType = function CardType(_ref) {
|
|
|
26379
26380
|
};
|
|
26380
26381
|
|
|
26381
26382
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
26382
|
-
var autopayTextColor$1 = "".concat(
|
|
26383
|
+
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
26383
26384
|
var fallbackValues$p = {
|
|
26384
26385
|
textColor: textColor$2,
|
|
26385
26386
|
autopayTextColor: autopayTextColor$1
|
|
@@ -26408,15 +26409,13 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
|
26408
26409
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26409
26410
|
as: as,
|
|
26410
26411
|
variant: "pXS",
|
|
26411
|
-
|
|
26412
|
-
color: STORM_GREY,
|
|
26412
|
+
color: ASH_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",
|
|
26420
26419
|
color: FIRE_YELLOW,
|
|
26421
26420
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26422
26421
|
}, "Expiring Soon ", expireDate);
|
|
@@ -26424,8 +26423,7 @@ var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
|
26424
26423
|
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
26425
26424
|
as: as,
|
|
26426
26425
|
variant: "pXS",
|
|
26427
|
-
|
|
26428
|
-
color: STORM_GREY,
|
|
26426
|
+
color: ASH_GREY,
|
|
26429
26427
|
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
26430
26428
|
}, "Expired");
|
|
26431
26429
|
}
|
|
@@ -26475,8 +26473,8 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
26475
26473
|
}, "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, {
|
|
26476
26474
|
variant: "p",
|
|
26477
26475
|
color: themeValues.autopayTextColor,
|
|
26478
|
-
extraStyles: "font-style: italic;
|
|
26479
|
-
}, "Autopay
|
|
26476
|
+
extraStyles: "font-style: italic;"
|
|
26477
|
+
}, "Autopay Enabled")));
|
|
26480
26478
|
};
|
|
26481
26479
|
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
|
|
26482
26480
|
|