@thecb/components 8.4.5-beta.7 → 8.4.5

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
@@ -42966,28 +42966,28 @@ var Container = styled__default(Box).withConfig({
42966
42966
  displayName: "LinkCardstyled__Container",
42967
42967
  componentId: "sc-l5q1h2-0"
42968
42968
  })(["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:pointer;box-shadow:0px 0px 0px 0px rgba(41,42,51,0.1),0px 5px 11px 0px rgba(41,42,51,0.1),0px 4px 19px 0px rgba(41,42,51,0.09),0px 27px 26px 0px rgba(41,42,51,0.05),0px 56px 31px 0px rgba(41,42,51,0.01),0px 80px 33px 0px rgba(41,42,51,0);}&:hover:not(:active){", "}&:active{", "}"], function (_ref) {
42969
- var themeValues = _ref.themeValues;
42970
- return "\n background-color: ".concat(themeValues.backgroundColor, ";\n border: 1px solid ").concat(themeValues.borderColor, ";\n ");
42969
+ var theme = _ref.theme;
42970
+ return "\n background-color: ".concat(theme.backgroundColor, ";\n border: 1px solid ").concat(theme.borderColor, ";\n ");
42971
42971
  }, function (_ref2) {
42972
- var themeValues = _ref2.themeValues;
42973
- return "border: 1px solid ".concat(themeValues.borderColor, ";");
42972
+ var theme = _ref2.theme;
42973
+ return "border: 1px solid ".concat(theme.borderColor, ";");
42974
42974
  }, function (_ref3) {
42975
- var themeValues = _ref3.themeValues;
42976
- return "\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border: 1px solid ").concat(themeValues.color, ";\n ;");
42975
+ var theme = _ref3.theme;
42976
+ return "\n background-color: ".concat(theme.activeBackgroundColor, ";\n border: 1px solid ").concat(theme.color, ";\n ;");
42977
42977
  });
42978
42978
  var Title$2 = styled__default(Heading$1).withConfig({
42979
42979
  displayName: "LinkCardstyled__Title",
42980
42980
  componentId: "sc-l5q1h2-1"
42981
42981
  })(["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) {
42982
- var themeValues = _ref4.themeValues;
42983
- return "color: ".concat(themeValues.color, ";");
42982
+ var theme = _ref4.theme;
42983
+ return "color: ".concat(theme.color, ";");
42984
42984
  });
42985
42985
  var Subtitle = styled__default(Paragraph$1).withConfig({
42986
42986
  displayName: "LinkCardstyled__Subtitle",
42987
42987
  componentId: "sc-l5q1h2-2"
42988
42988
  })(["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_SEMIBOLD, function (_ref5) {
42989
- var themeValues = _ref5.themeValues;
42990
- return "color: ".concat(themeValues.color, ";");
42989
+ var theme = _ref5.theme;
42990
+ return "color: ".concat(theme.color, ";");
42991
42991
  });
42992
42992
  var Footer = styled__default(Stack).withConfig({
42993
42993
  displayName: "LinkCardstyled__Footer",
@@ -43013,7 +43013,6 @@ var LinkCard = function LinkCard(_ref) {
43013
43013
  themeValues = _ref.themeValues,
43014
43014
  _ref$titleVariant = _ref.titleVariant,
43015
43015
  titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant;
43016
- console.log("LinkCard themeValues", themeValues);
43017
43016
 
43018
43017
  var _useContext = React.useContext(styled.ThemeContext),
43019
43018
  isMobile = _useContext.isMobile;
@@ -43028,7 +43027,7 @@ var LinkCard = function LinkCard(_ref) {
43028
43027
  minWidth: isMobile ? "240px" : "288px",
43029
43028
  minHeight: "141px",
43030
43029
  padding: "24px",
43031
- themeValues: themeValues,
43030
+ theme: themeValues,
43032
43031
  extraStyles: extraStyles,
43033
43032
  hoverStyles: extraHoverStyles,
43034
43033
  activeStyles: extraActiveStyles,
@@ -43046,28 +43045,27 @@ var LinkCard = function LinkCard(_ref) {
43046
43045
  width: "100%"
43047
43046
  }, /*#__PURE__*/React__default.createElement(Title$2, {
43048
43047
  variant: titleVariant,
43049
- themeValues: themeValues,
43048
+ theme: themeValues,
43050
43049
  margin: 0
43051
43050
  }, title)), /*#__PURE__*/React__default.createElement(Box, {
43052
43051
  padding: "0 0 40px",
43053
43052
  width: "100%"
43054
43053
  }, /*#__PURE__*/React__default.createElement(Subtitle, {
43055
43054
  variant: "pS",
43056
- themeValues: themeValues
43055
+ theme: themeValues
43057
43056
  }, subtitle)), /*#__PURE__*/React__default.createElement(Box, {
43058
43057
  background: "transparent",
43059
43058
  borderWidthOverride: "0 0 0 0",
43060
43059
  padding: "0",
43061
43060
  width: "100%"
43062
43061
  }, /*#__PURE__*/React__default.createElement(Footer, {
43063
- themeValues: themeValues,
43064
43062
  direction: "row",
43065
43063
  childGap: "6px",
43066
43064
  justify: "space-between"
43067
43065
  }, showLeft && !leftContent && /*#__PURE__*/React__default.createElement(Box, null), showLeft && leftContent, showRight && rightContent))));
43068
43066
  };
43069
43067
 
43070
- var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I); // export default LinkCard;
43068
+ var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I);
43071
43069
 
43072
43070
  var LoginForm = function LoginForm(_ref) {
43073
43071
  var _emailErrorMessages;