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