@thecb/components 11.8.0-beta.1 → 11.8.0-beta.2
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
|
@@ -25686,6 +25686,10 @@ var DisplayCard = function DisplayCard(_ref) {
|
|
|
25686
25686
|
url = _ref.url,
|
|
25687
25687
|
_ref$link = _ref.link,
|
|
25688
25688
|
link = _ref$link === void 0 ? false : _ref$link,
|
|
25689
|
+
linkText = _ref.linkText,
|
|
25690
|
+
linkURL = _ref.linkURL,
|
|
25691
|
+
_ref$linkExtraStyles = _ref.linkExtraStyles,
|
|
25692
|
+
linkExtraStyles = _ref$linkExtraStyles === void 0 ? "" : _ref$linkExtraStyles,
|
|
25689
25693
|
helpText = _ref.helpText,
|
|
25690
25694
|
_ref$hasTooltip = _ref.hasTooltip,
|
|
25691
25695
|
hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip,
|
|
@@ -25759,7 +25763,10 @@ var DisplayCard = function DisplayCard(_ref) {
|
|
|
25759
25763
|
align: "center"
|
|
25760
25764
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
25761
25765
|
color: CHARADE_GREY
|
|
25762
|
-
}, item),
|
|
25766
|
+
}, item), linkText && linkURL && /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
|
|
25767
|
+
to: linkURL,
|
|
25768
|
+
extraStyles: linkExtraStyles
|
|
25769
|
+
}, linkText), link ? /*#__PURE__*/React__default.createElement(ButtonWithLink, {
|
|
25763
25770
|
text: buttonText,
|
|
25764
25771
|
url: url,
|
|
25765
25772
|
variant: "smallGhost",
|