@thecb/components 10.4.6-beta.6 → 10.4.6-beta.7

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
@@ -39235,8 +39235,12 @@ var LoadingLine = function LoadingLine(_ref) {
39235
39235
  var backgroundColor$6 = {
39236
39236
  primary: WHITE
39237
39237
  };
39238
+ var boxShadow$1 = {
39239
+ primary: "box-shadow: 0px 1px 2px 0px #292A331A;\n box-shadow: 0px 2px 6px 0px #292a3333; box-shadow: 0px 1px 0px 0px #292A331A inset;"
39240
+ };
39238
39241
  var fallbackValues$C = {
39239
- backgroundColor: backgroundColor$6
39242
+ backgroundColor: backgroundColor$6,
39243
+ boxShadow: boxShadow$1
39240
39244
  };
39241
39245
 
39242
39246
  var fontSize$9 = {
@@ -39274,7 +39278,7 @@ var titleSpacing = {
39274
39278
  largeTitle: "1.125rem",
39275
39279
  small: "0.5rem"
39276
39280
  };
39277
- var boxShadow$1 = {
39281
+ var boxShadow$2 = {
39278
39282
  "default": "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
39279
39283
  largeTitle: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
39280
39284
  small: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
@@ -39297,7 +39301,7 @@ var fallbackValues$D = {
39297
39301
  textAlign: textAlign,
39298
39302
  titleType: titleType,
39299
39303
  titleSpacing: titleSpacing,
39300
- boxShadow: boxShadow$1,
39304
+ boxShadow: boxShadow$2,
39301
39305
  borderRadius: borderRadius,
39302
39306
  backgroundColor: backgroundColor$7
39303
39307
  };
@@ -39375,16 +39379,18 @@ var WalletName = function WalletName(_ref) {
39375
39379
  _ref$text = _ref.text,
39376
39380
  text = _ref$text === void 0 ? "Not you?" : _ref$text,
39377
39381
  _ref$actionText = _ref.actionText,
39378
- actionText = _ref$actionText === void 0 ? "Check out as a guest" : _ref$actionText;
39382
+ actionText = _ref$actionText === void 0 ? "Check out as a guest" : _ref$actionText,
39383
+ themeValues = _ref.themeValues;
39379
39384
  var themeContext = React.useContext(styled.ThemeContext);
39380
39385
  var isMobile = themeContext.isMobile;
39381
39386
  return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement(Module$1, {
39382
39387
  spacingBottom: isMobile ? "0" : "1.5rem"
39383
39388
  }, /*#__PURE__*/React__default.createElement(Box, {
39384
39389
  padding: "24px",
39390
+ boxShadow: themeValues.boxShadow,
39385
39391
  spacingBottom: "0",
39386
39392
  margin: "0 0 0 0",
39387
- extraStyles: isMobile ? "box-shadow: 0px 1px 2px 0px #292A331A; box-shadow: 0px 2px 6px 0px #292A3333; box-shadow: 0px 1px 0px 0px #292A331A inset;\n; display: flex; flex-direction: column; flex-wrap: wrap; \n span {text - align: right;}" : "display: flex; justify-content: space-between; align-items: center; "
39393
+ extraStyles: isMobile ? "display: flex; flex-direction: column; flex-wrap: wrap; span {text - align: right;}" : "display: flex; justify-content: space-between; align-items: center;"
39388
39394
  }, /*#__PURE__*/React__default.createElement(Box, {
39389
39395
  padding: "0 0 0"
39390
39396
  }, /*#__PURE__*/React__default.createElement(Text$1, null, personName)), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
@@ -39397,7 +39403,7 @@ var WalletName = function WalletName(_ref) {
39397
39403
  variant: "smallGhost",
39398
39404
  extraStyles: "span {font-size: 12px;}"
39399
39405
  })))), isMobile && /*#__PURE__*/React__default.createElement(Box, {
39400
- padding: "0",
39406
+ padding: "0 0 24px",
39401
39407
  extraStyles: "display: flex; align-items: center; justify-content: flex-end;"
39402
39408
  }, /*#__PURE__*/React__default.createElement(Text$1, {
39403
39409
  extraStyles: "font-size: 12px"
@@ -48314,23 +48320,21 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
48314
48320
  toggleOpen(false);
48315
48321
  },
48316
48322
  initialFocusSelector: "[name='Close']"
48317
- }, /*#__PURE__*/React__default.createElement(Text$1, {
48318
- variant: "pS",
48323
+ }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
48324
+ variant: "ghost",
48325
+ tabIndex: "0",
48319
48326
  onClick: function onClick() {
48320
48327
  return toggleOpen(true);
48321
48328
  },
48322
48329
  onKeyPress: function onKeyPress(e) {
48323
48330
  return e.key === "Enter" && toggleOpen(true);
48324
48331
  },
48325
- tabIndex: "0",
48326
- color: themeValues.linkColor,
48327
- weight: themeValues.fontWeight,
48328
- hoverStyles: themeValues.modalLinkHoverFocus,
48329
- textDecoration: themeValues.linkTextDecoration,
48330
- extraStyles: "cursor: pointer;",
48331
- role: "button",
48332
- className: "modal-trigger"
48333
- }, link));
48332
+ extraStyles: "min-width: 0; min-height: 0;margin: 0; padding: 0; text-transform: none;",
48333
+ text: /*#__PURE__*/React__default.createElement(Text$1, {
48334
+ variant: "pS",
48335
+ color: "inherit"
48336
+ }, link)
48337
+ }));
48334
48338
  };
48335
48339
  var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$P, "default");
48336
48340