@thecb/components 12.0.0-beta.3 → 12.0.0-beta.4
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
|
@@ -45829,35 +45829,32 @@ var fallbackValues$L = {
|
|
|
45829
45829
|
var LinkWrapper = styled__default(reactRouterDom.Link).withConfig({
|
|
45830
45830
|
displayName: "LinkCardstyled__LinkWrapper",
|
|
45831
45831
|
componentId: "sc-l5q1h2-0"
|
|
45832
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:40px;flex-shrink:0;padding:24px;max-width:", ";min-
|
|
45832
|
+
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:40px;flex-shrink:0;padding:24px;max-width:", ";min-height:141px;align-self:stretch;border-radius:8px;text-decoration:none;", " transition:all .2s ease-in-out;", ""], function (_ref) {
|
|
45833
45833
|
var isMobile = _ref.isMobile;
|
|
45834
45834
|
return isMobile ? "100%" : "288px";
|
|
45835
45835
|
}, function (_ref2) {
|
|
45836
|
-
var
|
|
45837
|
-
|
|
45836
|
+
var isDisabled = _ref2.isDisabled,
|
|
45837
|
+
theme = _ref2.theme;
|
|
45838
|
+
return "\n background-color: ".concat(isDisabled ? theme.disabledBackgroundColor : theme.backgroundColor, ";\n border: 1px solid ").concat(isDisabled ? theme.disabledBorderColor : theme.borderColor, ";\n ");
|
|
45838
45839
|
}, function (_ref3) {
|
|
45839
45840
|
var isDisabled = _ref3.isDisabled,
|
|
45840
45841
|
theme = _ref3.theme;
|
|
45841
|
-
return "\n background-color: ".concat(isDisabled ? theme.disabledBackgroundColor : theme.backgroundColor, ";\n border: 1px solid ").concat(isDisabled ? theme.disabledBorderColor : theme.borderColor, ";\n ");
|
|
45842
|
-
}, function (_ref4) {
|
|
45843
|
-
var isDisabled = _ref4.isDisabled,
|
|
45844
|
-
theme = _ref4.theme;
|
|
45845
45842
|
return isDisabled ? "\n &:hover,\n &:active {\n cursor: default;\n box-shadow: none;\n border: 1px solid ".concat(theme.disabledBorderColor, ";\n }\n ") : "\n &:hover,\n &:active {\n cursor: pointer;\n box-shadow: 0px 0px 0px 0px rgba(41, 42, 51, 0.1),\n 0px 5px 11px 0px rgba(41, 42, 51, 0.1),\n 0px 4px 19px 0px rgba(41, 42, 51, 0.09),\n 0px 27px 26px 0px rgba(41, 42, 51, 0.05),\n 0px 56px 31px 0px rgba(41, 42, 51, 0.01),\n 0px 80px 33px 0px rgba(41, 42, 51, 0);\n }\n\n &:hover:not(:active) {\n border: 1px solid ".concat(theme.borderColor, ";\n }\n\n &:active {\n background-color: ").concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n }\n ");
|
|
45846
45843
|
});
|
|
45847
45844
|
var Title$2 = styled__default(Heading$1).withConfig({
|
|
45848
45845
|
displayName: "LinkCardstyled__Title",
|
|
45849
45846
|
componentId: "sc-l5q1h2-1"
|
|
45850
|
-
})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:150%;background-color:transparent;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (
|
|
45851
|
-
var isDisabled =
|
|
45852
|
-
theme =
|
|
45847
|
+
})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:150%;background-color:transparent;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (_ref4) {
|
|
45848
|
+
var isDisabled = _ref4.isDisabled,
|
|
45849
|
+
theme = _ref4.theme;
|
|
45853
45850
|
return "color: ".concat(isDisabled ? theme.disabledColor : theme.color, ";");
|
|
45854
45851
|
});
|
|
45855
45852
|
var Subtitle = styled__default(Paragraph$1).withConfig({
|
|
45856
45853
|
displayName: "LinkCardstyled__Subtitle",
|
|
45857
45854
|
componentId: "sc-l5q1h2-2"
|
|
45858
|
-
})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;font-size:14px;line-height:150%;letter-spacing:0.14px;font-weight:", ";", ";"], FONT_WEIGHT_REGULAR, function (
|
|
45859
|
-
var isDisabled =
|
|
45860
|
-
theme =
|
|
45855
|
+
})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;font-size:14px;line-height:150%;letter-spacing:0.14px;font-weight:", ";", ";"], FONT_WEIGHT_REGULAR, function (_ref5) {
|
|
45856
|
+
var isDisabled = _ref5.isDisabled,
|
|
45857
|
+
theme = _ref5.theme;
|
|
45861
45858
|
return "color: ".concat(isDisabled ? theme.disabledColor : theme.textColor, ";");
|
|
45862
45859
|
});
|
|
45863
45860
|
var Footer = styled__default(Stack).withConfig({
|