@thecb/components 10.2.4-beta.11 → 10.2.4-beta.13

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
@@ -12931,7 +12931,7 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
12931
12931
  disabledStyles: disabledStyles,
12932
12932
  "aria-disabled": disabled,
12933
12933
  as: "button",
12934
- onClick: isLoading || disabled ? undefined : action,
12934
+ onClick: isLoading || disabled ? noop : action,
12935
12935
  borderRadius: "2px",
12936
12936
  theme: themeContext,
12937
12937
  extraStyles: "margin: 0.5rem; ".concat(extraStyles),
@@ -42499,7 +42499,7 @@ var Container = styled__default(Box).withConfig({
42499
42499
  componentId: "sc-l5q1h2-0"
42500
42500
  })(["display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:40px;flex-shrink:0;align-self:stretch;border-radius:8px;", " transition:all .2s ease-in-out;&:hover,&:active{cursor:", ";box-shadow:", ";}&:hover:not(:active){", "}&:active{", "}"], function (_ref) {
42501
42501
  var theme = _ref.theme;
42502
- return "\n background-color: ".concat(theme.backgroundColor, ";\n border: 1px solid ").concat(theme.color, ";\n ");
42502
+ return "\n background-color: ".concat(theme.backgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ");
42503
42503
  }, function (_ref2) {
42504
42504
  var disabled = _ref2.disabled;
42505
42505
  return disabled ? "default" : "pointer";
@@ -42511,7 +42511,7 @@ var Container = styled__default(Box).withConfig({
42511
42511
  return "border: 1px solid ".concat(theme.borderColor, ";");
42512
42512
  }, function (_ref5) {
42513
42513
  var theme = _ref5.theme;
42514
- return "\n background-color: ".concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.color, ";\n ;");
42514
+ return "\n background-color: ".concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ;");
42515
42515
  });
42516
42516
  var Title$2 = styled__default(Heading$1).withConfig({
42517
42517
  displayName: "LinkCardstyled__Title",