@thecb/components 8.4.0-beta.13 → 8.4.0-beta.14

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.esm.js CHANGED
@@ -42842,8 +42842,7 @@ var fallbackValues$I = {
42842
42842
  };
42843
42843
 
42844
42844
  var LinkCard = function LinkCard(_ref) {
42845
- var _ref$variant = _ref.variant,
42846
- _ref$title = _ref.title,
42845
+ var _ref$title = _ref.title,
42847
42846
  title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
42848
42847
  _ref$subtitle = _ref.subtitle,
42849
42848
  subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
@@ -42859,6 +42858,10 @@ var LinkCard = function LinkCard(_ref) {
42859
42858
  extraHoverStyles = _ref$extraHoverStyles === void 0 ? "" : _ref$extraHoverStyles,
42860
42859
  _ref$extraActiveStyle = _ref.extraActiveStyles,
42861
42860
  extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle;
42861
+
42862
+ var _useContext = useContext(ThemeContext),
42863
+ isMobile = _useContext.isMobile;
42864
+
42862
42865
  var activeAndHoverStyles = "cursor: pointer;\n border-radius: 8px;\n border: 1px solid ".concat(themeValues.color, ";\n box-shadow: 0px 0px 0px 0px rgba(41, 42, 51, 0.10), 0px 5px 11px 0px rgba(41, 42, 51, 0.10), 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.00);");
42863
42866
  return /*#__PURE__*/React.createElement(Box, {
42864
42867
  border: "1px solid ".concat(MOON_RAKER, ";"),
@@ -42866,7 +42869,7 @@ var LinkCard = function LinkCard(_ref) {
42866
42869
  dataQa: "link-card-".concat(title),
42867
42870
  width: "100%",
42868
42871
  maxWidth: "288px",
42869
- minWidth: "240px",
42872
+ minWidth: isMobile ? "240px" : "288px",
42870
42873
  minHeight: "141px",
42871
42874
  padding: "24px",
42872
42875
  extraStyles: "\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n gap: 40px;\n flex-shrink: 0;\n align-self: stretch;\n ".concat(extraStyles, "\n "),
@@ -42906,7 +42909,7 @@ var LinkCard = function LinkCard(_ref) {
42906
42909
  direction: "row",
42907
42910
  childGap: "6px",
42908
42911
  justify: "space-between",
42909
- extraStyles: "width: 100%; justify-content: space-between"
42912
+ extraStyles: "width: 100%; align-items: flex-end;"
42910
42913
  }, showLeft && leftContent, showRight && rightContent))));
42911
42914
  };
42912
42915