@thecb/components 8.4.0-beta.0 → 8.4.0-beta.1

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
@@ -42852,7 +42852,7 @@ var LinkCard = function LinkCard(_ref) {
42852
42852
  _ref$workflowDescript = _ref.workflowDescription,
42853
42853
  workflowDescription = _ref$workflowDescript === void 0 ? "Link your benefit plan" : _ref$workflowDescript,
42854
42854
  _ref$workflowActionNa = _ref.workflowActionName,
42855
- workflowActionName = _ref$workflowActionNa === void 0 ? "Find" : _ref$workflowActionNa,
42855
+ workflowActionName = _ref$workflowActionNa === void 0 ? "Link an account" : _ref$workflowActionNa,
42856
42856
  themeValues = _ref.themeValues,
42857
42857
  slug = _ref.slug;
42858
42858
  var navigate = reactRouterDom.useNavigate();
@@ -42882,10 +42882,10 @@ var LinkCard = function LinkCard(_ref) {
42882
42882
  variant: "h6",
42883
42883
  weight: FONT_WEIGHT_SEMIBOLD,
42884
42884
  color: themeValues.color,
42885
- margin: "0 0 0.5rem 0",
42885
+ margin: 0,
42886
42886
  extraStyles: "display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; align-self: stretch; overflow: hidden; text-overflow: ellipsis; font-family: Public Sans; font-size: 16px; font-style: normal; font-weight: 600; line-height: 150%;"
42887
42887
  }, workflowName)), /*#__PURE__*/React__default.createElement(Box, {
42888
- padding: "0 1rem 1rem",
42888
+ padding: "0 1rem 0",
42889
42889
  minHeight: "4.25rem"
42890
42890
  }, /*#__PURE__*/React__default.createElement(Paragraph$1, {
42891
42891
  variant: "pS",
@@ -42894,7 +42894,7 @@ var LinkCard = function LinkCard(_ref) {
42894
42894
  }, workflowDescription)), /*#__PURE__*/React__default.createElement(Box, {
42895
42895
  background: "transparent",
42896
42896
  borderWidthOverride: "0 0 0 0",
42897
- padding: "1.5rem 0 1.5rem 1rem"
42897
+ padding: "0 1rem 1rem 1rem"
42898
42898
  }, /*#__PURE__*/React__default.createElement(Stack, {
42899
42899
  direction: "row",
42900
42900
  justify: "space-between"
@@ -42908,16 +42908,21 @@ var LinkCard = function LinkCard(_ref) {
42908
42908
  })), /*#__PURE__*/React__default.createElement(Stack, {
42909
42909
  direction: "row",
42910
42910
  childGap: "6px"
42911
- }, /*#__PURE__*/React__default.createElement(Text$1, {
42911
+ }, workflowActionName === "Link an account" && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Text$1, {
42912
42912
  variant: "pS",
42913
42913
  color: themeValues.color,
42914
42914
  extraStyles: "text-align: right; color: transparent;",
42915
42915
  className: "show-on-hover"
42916
- }, workflowActionName), workflowActionName === "Find" && /*#__PURE__*/React__default.createElement(PlusCircleIcon, {
42916
+ }, "Find"), /*#__PURE__*/React__default.createElement(PlusCircleIcon, {
42917
42917
  color: themeValues.color
42918
- }), workflowActionName === "Pay" && /*#__PURE__*/React__default.createElement(ArrowRightIcon, {
42918
+ })), workflowActionName === "Pay now" && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Text$1, {
42919
+ variant: "pS",
42920
+ color: themeValues.color,
42921
+ extraStyles: "text-align: right; color: transparent;",
42922
+ className: "show-on-hover"
42923
+ }, "Pay"), /*#__PURE__*/React__default.createElement(ArrowRightIcon, {
42919
42924
  color: themeValues.color
42920
- }))))));
42925
+ })))))));
42921
42926
  };
42922
42927
 
42923
42928
  var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I, "default");