@thecb/components 11.6.8-beta.1 → 11.7.0-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 +1 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +2 -17
- package/dist/index.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/components/.DS_Store +0 -0
- package/src/components/atoms/formatted-credit-card/FormattedCreditCard.js +2 -3
- package/src/components/atoms/index.js +0 -1
- package/src/components/atoms/card-type/CardType.js +0 -20
- package/src/components/atoms/card-type/index.js +0 -3
package/dist/index.cjs.js
CHANGED
|
@@ -26489,18 +26489,6 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
|
26489
26489
|
};
|
|
26490
26490
|
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$p);
|
|
26491
26491
|
|
|
26492
|
-
var iconMap = {
|
|
26493
|
-
visa: VisaSmallIcon,
|
|
26494
|
-
master_card: MasterCardSmallIcon,
|
|
26495
|
-
discover: DiscoverSmallIcon,
|
|
26496
|
-
amex: AmExSmallIcon
|
|
26497
|
-
};
|
|
26498
|
-
var CardType = function CardType(_ref) {
|
|
26499
|
-
var type = _ref.type;
|
|
26500
|
-
var IconComponent = iconMap[type] || GenericSmallIcon;
|
|
26501
|
-
return /*#__PURE__*/React__default.createElement(IconComponent, null);
|
|
26502
|
-
};
|
|
26503
|
-
|
|
26504
26492
|
var textColor$2 = "".concat(CHARADE_GREY);
|
|
26505
26493
|
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
26506
26494
|
var fallbackValues$q = {
|
|
@@ -26575,14 +26563,11 @@ var CCIconWrapper = styled__default.div.withConfig({
|
|
|
26575
26563
|
})(["margin-right:16px;width:30px;height:auto;display:flex;"]);
|
|
26576
26564
|
var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
26577
26565
|
var lastFour = _ref.lastFour,
|
|
26578
|
-
type = _ref.type,
|
|
26579
26566
|
autoPay = _ref.autoPay,
|
|
26580
26567
|
expireDate = _ref.expireDate,
|
|
26581
26568
|
expirationStatus = _ref.expirationStatus,
|
|
26582
26569
|
themeValues = _ref.themeValues;
|
|
26583
|
-
return /*#__PURE__*/React__default.createElement(CreditCardWrapper, null, /*#__PURE__*/React__default.createElement(CCIconWrapper, null, /*#__PURE__*/React__default.createElement(
|
|
26584
|
-
type: type
|
|
26585
|
-
})), /*#__PURE__*/React__default.createElement(Stack, {
|
|
26570
|
+
return /*#__PURE__*/React__default.createElement(CreditCardWrapper, null, /*#__PURE__*/React__default.createElement(CCIconWrapper, null, /*#__PURE__*/React__default.createElement(GenericCard, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
26586
26571
|
childGap: "0"
|
|
26587
26572
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
26588
26573
|
padding: "0"
|
|
@@ -51618,7 +51603,6 @@ exports.ButtonWithAction = ButtonWithAction;
|
|
|
51618
51603
|
exports.ButtonWithLink = ButtonWithLink;
|
|
51619
51604
|
exports.CalendarIcon = CalendarIcon;
|
|
51620
51605
|
exports.Card = Card$1;
|
|
51621
|
-
exports.CardType = CardType;
|
|
51622
51606
|
exports.CaretArrowDown = CaretArrowDown$1;
|
|
51623
51607
|
exports.CaretArrowUp = CaretArrowUp$1;
|
|
51624
51608
|
exports.CarrotIcon = CarrotIcon$1;
|