@thecb/components 10.6.0-beta.1 → 10.6.0-beta.2

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
@@ -39412,7 +39412,9 @@ var WalletName = function WalletName(_ref) {
39412
39412
  actionText = _ref.actionText,
39413
39413
  themeValues = _ref.themeValues,
39414
39414
  _ref$disableAction = _ref.disableAction,
39415
- disableAction = _ref$disableAction === void 0 ? false : _ref$disableAction;
39415
+ disableAction = _ref$disableAction === void 0 ? false : _ref$disableAction,
39416
+ _ref$buttonExtraStyle = _ref.buttonExtraStyles,
39417
+ buttonExtraStyles = _ref$buttonExtraStyle === void 0 ? "" : _ref$buttonExtraStyle;
39416
39418
  var _useContext = React.useContext(styled.ThemeContext),
39417
39419
  isMobile = _useContext.isMobile;
39418
39420
  return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Module$1, {
@@ -39434,7 +39436,7 @@ var WalletName = function WalletName(_ref) {
39434
39436
  text: actionText,
39435
39437
  action: action,
39436
39438
  variant: "smallGhost",
39437
- extraStyles: " margin-left: 0; min-width: 0; span {font-size: 0.75rem;} "
39439
+ extraStyles: "\n margin: 0;\n min-width: 0;\n span {font-size: 0.75rem;}\n ".concat(buttonExtraStyles, "\n ")
39438
39440
  })))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
39439
39441
  padding: "0 0 24px",
39440
39442
  extraStyles: "display: flex; align-items: center; justify-content: flex-end;"
@@ -39444,8 +39446,8 @@ var WalletName = function WalletName(_ref) {
39444
39446
  text: actionText,
39445
39447
  action: action,
39446
39448
  variant: "smallGhost",
39447
- extraStyles: "span {font-size: 12px;}",
39448
- disabled: disableAction
39449
+ disabled: disableAction,
39450
+ extraStyles: "\n margin: 0;\n min-width: 0;\n span {font-size: 0.75rem;}\n ".concat(buttonExtraStyles, "\n ")
39449
39451
  })));
39450
39452
  };
39451
39453
  var WalletName$1 = themeComponent(WalletName, "WalletName", fallbackValues$C, "primary");