@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 +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.js +1 -1
- package/src/components/molecules/link-card/LinkCard.styled.js +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -12923,7 +12923,7 @@ var ButtonWithAction = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
12923
12923
|
disabledStyles: disabledStyles,
|
|
12924
12924
|
"aria-disabled": disabled,
|
|
12925
12925
|
as: "button",
|
|
12926
|
-
onClick: isLoading || disabled ?
|
|
12926
|
+
onClick: isLoading || disabled ? noop : action,
|
|
12927
12927
|
borderRadius: "2px",
|
|
12928
12928
|
theme: themeContext,
|
|
12929
12929
|
extraStyles: "margin: 0.5rem; ".concat(extraStyles),
|
|
@@ -42491,7 +42491,7 @@ var Container = styled(Box).withConfig({
|
|
|
42491
42491
|
componentId: "sc-l5q1h2-0"
|
|
42492
42492
|
})(["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) {
|
|
42493
42493
|
var theme = _ref.theme;
|
|
42494
|
-
return "\n background-color: ".concat(theme.backgroundColor, ";\n border: 1px solid ").concat(theme.
|
|
42494
|
+
return "\n background-color: ".concat(theme.backgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ");
|
|
42495
42495
|
}, function (_ref2) {
|
|
42496
42496
|
var disabled = _ref2.disabled;
|
|
42497
42497
|
return disabled ? "default" : "pointer";
|
|
@@ -42503,7 +42503,7 @@ var Container = styled(Box).withConfig({
|
|
|
42503
42503
|
return "border: 1px solid ".concat(theme.borderColor, ";");
|
|
42504
42504
|
}, function (_ref5) {
|
|
42505
42505
|
var theme = _ref5.theme;
|
|
42506
|
-
return "\n background-color: ".concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.
|
|
42506
|
+
return "\n background-color: ".concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ;");
|
|
42507
42507
|
});
|
|
42508
42508
|
var Title$2 = styled(Heading$1).withConfig({
|
|
42509
42509
|
displayName: "LinkCardstyled__Title",
|