@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.esm.js
CHANGED
|
@@ -42844,7 +42844,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42844
42844
|
_ref$workflowDescript = _ref.workflowDescription,
|
|
42845
42845
|
workflowDescription = _ref$workflowDescript === void 0 ? "Link your benefit plan" : _ref$workflowDescript,
|
|
42846
42846
|
_ref$workflowActionNa = _ref.workflowActionName,
|
|
42847
|
-
workflowActionName = _ref$workflowActionNa === void 0 ? "
|
|
42847
|
+
workflowActionName = _ref$workflowActionNa === void 0 ? "Link an account" : _ref$workflowActionNa,
|
|
42848
42848
|
themeValues = _ref.themeValues,
|
|
42849
42849
|
slug = _ref.slug;
|
|
42850
42850
|
var navigate = useNavigate();
|
|
@@ -42874,10 +42874,10 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42874
42874
|
variant: "h6",
|
|
42875
42875
|
weight: FONT_WEIGHT_SEMIBOLD,
|
|
42876
42876
|
color: themeValues.color,
|
|
42877
|
-
margin:
|
|
42877
|
+
margin: 0,
|
|
42878
42878
|
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%;"
|
|
42879
42879
|
}, workflowName)), /*#__PURE__*/React.createElement(Box, {
|
|
42880
|
-
padding: "0 1rem
|
|
42880
|
+
padding: "0 1rem 0",
|
|
42881
42881
|
minHeight: "4.25rem"
|
|
42882
42882
|
}, /*#__PURE__*/React.createElement(Paragraph$1, {
|
|
42883
42883
|
variant: "pS",
|
|
@@ -42886,7 +42886,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42886
42886
|
}, workflowDescription)), /*#__PURE__*/React.createElement(Box, {
|
|
42887
42887
|
background: "transparent",
|
|
42888
42888
|
borderWidthOverride: "0 0 0 0",
|
|
42889
|
-
padding: "
|
|
42889
|
+
padding: "0 1rem 1rem 1rem"
|
|
42890
42890
|
}, /*#__PURE__*/React.createElement(Stack, {
|
|
42891
42891
|
direction: "row",
|
|
42892
42892
|
justify: "space-between"
|
|
@@ -42900,16 +42900,21 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42900
42900
|
})), /*#__PURE__*/React.createElement(Stack, {
|
|
42901
42901
|
direction: "row",
|
|
42902
42902
|
childGap: "6px"
|
|
42903
|
-
}, /*#__PURE__*/React.createElement(Text$1, {
|
|
42903
|
+
}, workflowActionName === "Link an account" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text$1, {
|
|
42904
42904
|
variant: "pS",
|
|
42905
42905
|
color: themeValues.color,
|
|
42906
42906
|
extraStyles: "text-align: right; color: transparent;",
|
|
42907
42907
|
className: "show-on-hover"
|
|
42908
|
-
},
|
|
42908
|
+
}, "Find"), /*#__PURE__*/React.createElement(PlusCircleIcon, {
|
|
42909
42909
|
color: themeValues.color
|
|
42910
|
-
}), workflowActionName === "Pay" && /*#__PURE__*/React.createElement(
|
|
42910
|
+
})), workflowActionName === "Pay now" && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text$1, {
|
|
42911
|
+
variant: "pS",
|
|
42912
|
+
color: themeValues.color,
|
|
42913
|
+
extraStyles: "text-align: right; color: transparent;",
|
|
42914
|
+
className: "show-on-hover"
|
|
42915
|
+
}, "Pay"), /*#__PURE__*/React.createElement(ArrowRightIcon, {
|
|
42911
42916
|
color: themeValues.color
|
|
42912
|
-
}))))));
|
|
42917
|
+
})))))));
|
|
42913
42918
|
};
|
|
42914
42919
|
|
|
42915
42920
|
var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I, "default");
|