@thecb/components 10.4.3-beta.0 → 10.4.3-beta.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
@@ -48265,23 +48265,21 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
48265
48265
  toggleOpen(false);
48266
48266
  },
48267
48267
  initialFocusSelector: "[name='Close']"
48268
- }, /*#__PURE__*/React__default.createElement(Text$1, {
48269
- variant: "pS",
48268
+ }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
48269
+ variant: "ghost",
48270
+ tabIndex: "0",
48270
48271
  onClick: function onClick() {
48271
48272
  return toggleOpen(true);
48272
48273
  },
48273
48274
  onKeyPress: function onKeyPress(e) {
48274
48275
  return e.key === "Enter" && toggleOpen(true);
48275
48276
  },
48276
- tabIndex: "0",
48277
- color: themeValues.linkColor,
48278
- weight: themeValues.fontWeight,
48279
- hoverStyles: themeValues.modalLinkHoverFocus,
48280
- textDecoration: themeValues.linkTextDecoration,
48281
- extraStyles: "cursor: pointer;",
48282
- role: "button",
48283
- className: "modal-trigger"
48284
- }, link));
48277
+ extraStyles: "min-width: 0; min-height: 0;margin: 0; padding: 0; text-transform: none;",
48278
+ text: /*#__PURE__*/React__default.createElement(Text$1, {
48279
+ variant: "pS",
48280
+ color: "inherit"
48281
+ }, link)
48282
+ }));
48285
48283
  };
48286
48284
  var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$O, "default");
48287
48285