@thecb/components 12.0.0-beta.1 → 12.0.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 +1 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/link-card/LinkCard.js +0 -5
- package/src/components/molecules/link-card/LinkCard.stories.js +156 -0
- package/src/components/molecules/link-card/LinkCard.styled.js +1 -4
package/dist/index.cjs.js
CHANGED
|
@@ -45831,7 +45831,7 @@ var fallbackValues$L = {
|
|
|
45831
45831
|
var Container = styled__default(Box).withConfig({
|
|
45832
45832
|
displayName: "LinkCardstyled__Container",
|
|
45833
45833
|
componentId: "sc-l5q1h2-0"
|
|
45834
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;
|
|
45834
|
+
})(["display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;border-radius:8px;padding:24px;", " text-decoration:none;transition:all 0.2s ease-in-out;", ""], function (_ref) {
|
|
45835
45835
|
var disabled = _ref.disabled,
|
|
45836
45836
|
themeValues = _ref.themeValues;
|
|
45837
45837
|
return "\n background-color: ".concat(disabled ? themeValues.disabledBackgroundColor : themeValues.backgroundColor, ";\n border: 1px solid ").concat(disabled ? themeValues.disabledBorderColor : themeValues.borderColor, ";\n ");
|
|
@@ -45899,11 +45899,6 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
45899
45899
|
tabIndex: disabled ? -1 : 0,
|
|
45900
45900
|
borderRadius: "8px",
|
|
45901
45901
|
dataQa: "link-card-".concat(locatorSlug),
|
|
45902
|
-
width: "100%",
|
|
45903
|
-
maxWidth: isMobile ? "100%" : "288px",
|
|
45904
|
-
minWidth: isMobile ? "240px" : "288px",
|
|
45905
|
-
minHeight: "141px",
|
|
45906
|
-
padding: SPACING.MD,
|
|
45907
45902
|
themeValues: themeValues,
|
|
45908
45903
|
extraStyles: extraStyles,
|
|
45909
45904
|
hoverStyles: extraHoverStyles,
|