@thecb/components 11.11.1-beta.1 → 11.11.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.esm.js CHANGED
@@ -26306,9 +26306,13 @@ var BankItemWrapper = styled.div.withConfig({
26306
26306
  displayName: "FormattedBankAccount__BankItemWrapper",
26307
26307
  componentId: "sc-18hcgw4-0"
26308
26308
  })(["display:flex;justify-content:flex-start;align-items:center;"]);
26309
+ var BankIconWrapper = styled.div.withConfig({
26310
+ displayName: "FormattedBankAccount__BankIconWrapper",
26311
+ componentId: "sc-18hcgw4-1"
26312
+ })(["margin-right:8px;width:36px;height:auto;display:flex;"]);
26309
26313
  var BankAccountText = styled.h4.withConfig({
26310
26314
  displayName: "FormattedBankAccount__BankAccountText",
26311
- componentId: "sc-18hcgw4-1"
26315
+ componentId: "sc-18hcgw4-2"
26312
26316
  })(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], function (_ref) {
26313
26317
  var color = _ref.color;
26314
26318
  return color;
@@ -26320,10 +26324,7 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
26320
26324
  accountType = _ref2.accountType,
26321
26325
  autoPay = _ref2.autoPay,
26322
26326
  themeValues = _ref2.themeValues;
26323
- return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(Box, {
26324
- padding: "0",
26325
- extraStyles: "margin-right: 8px;"
26326
- }, /*#__PURE__*/React__default.createElement(BankIconLarge, null)), /*#__PURE__*/React__default.createElement(Stack, {
26327
+ return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(BankIconWrapper, null, /*#__PURE__*/React__default.createElement(BankIconLarge, null)), /*#__PURE__*/React__default.createElement(Stack, {
26327
26328
  childGap: "0"
26328
26329
  }, accountType === CHECKING && /*#__PURE__*/React__default.createElement(BankAccountText, {
26329
26330
  color: themeValues.textColor