@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.esm.js
CHANGED
|
@@ -45823,7 +45823,7 @@ var fallbackValues$L = {
|
|
|
45823
45823
|
var Container = styled(Box).withConfig({
|
|
45824
45824
|
displayName: "LinkCardstyled__Container",
|
|
45825
45825
|
componentId: "sc-l5q1h2-0"
|
|
45826
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;
|
|
45826
|
+
})(["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) {
|
|
45827
45827
|
var disabled = _ref.disabled,
|
|
45828
45828
|
themeValues = _ref.themeValues;
|
|
45829
45829
|
return "\n background-color: ".concat(disabled ? themeValues.disabledBackgroundColor : themeValues.backgroundColor, ";\n border: 1px solid ").concat(disabled ? themeValues.disabledBorderColor : themeValues.borderColor, ";\n ");
|
|
@@ -45891,11 +45891,6 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
45891
45891
|
tabIndex: disabled ? -1 : 0,
|
|
45892
45892
|
borderRadius: "8px",
|
|
45893
45893
|
dataQa: "link-card-".concat(locatorSlug),
|
|
45894
|
-
width: "100%",
|
|
45895
|
-
maxWidth: isMobile ? "100%" : "288px",
|
|
45896
|
-
minWidth: isMobile ? "240px" : "288px",
|
|
45897
|
-
minHeight: "141px",
|
|
45898
|
-
padding: SPACING.MD,
|
|
45899
45894
|
themeValues: themeValues,
|
|
45900
45895
|
extraStyles: extraStyles,
|
|
45901
45896
|
hoverStyles: extraHoverStyles,
|