@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.esm.js CHANGED
@@ -25678,6 +25678,10 @@ var DisplayCard = function DisplayCard(_ref) {
25678
25678
  url = _ref.url,
25679
25679
  _ref$link = _ref.link,
25680
25680
  link = _ref$link === void 0 ? false : _ref$link,
25681
+ linkText = _ref.linkText,
25682
+ linkURL = _ref.linkURL,
25683
+ _ref$linkExtraStyles = _ref.linkExtraStyles,
25684
+ linkExtraStyles = _ref$linkExtraStyles === void 0 ? "" : _ref$linkExtraStyles,
25681
25685
  helpText = _ref.helpText,
25682
25686
  _ref$hasTooltip = _ref.hasTooltip,
25683
25687
  hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip,
@@ -25751,7 +25755,10 @@ var DisplayCard = function DisplayCard(_ref) {
25751
25755
  align: "center"
25752
25756
  }, /*#__PURE__*/React__default.createElement(Text$1, {
25753
25757
  color: CHARADE_GREY
25754
- }, item), link ? /*#__PURE__*/React__default.createElement(ButtonWithLink, {
25758
+ }, item), linkText && linkURL && /*#__PURE__*/React__default.createElement(Link, {
25759
+ to: linkURL,
25760
+ extraStyles: linkExtraStyles
25761
+ }, linkText), link ? /*#__PURE__*/React__default.createElement(ButtonWithLink, {
25755
25762
  text: buttonText,
25756
25763
  url: url,
25757
25764
  variant: "smallGhost",