@thecb/components 11.1.6-beta.0 → 11.1.6-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
@@ -46512,6 +46512,7 @@ var Footer = styled(Stack).withConfig({
46512
46512
  })(["align-items:center;width:100%;"]);
46513
46513
 
46514
46514
  var LinkCard = function LinkCard(_ref) {
46515
+ var _title$toLowerCase, _title$toLowerCase$re;
46515
46516
  var _ref$title = _ref.title,
46516
46517
  title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
46517
46518
  _ref$subtitle = _ref.subtitle,
@@ -46535,7 +46536,7 @@ var LinkCard = function LinkCard(_ref) {
46535
46536
  var _useContext = useContext(ThemeContext),
46536
46537
  isMobile = _useContext.isMobile;
46537
46538
  var regex = /\W/g;
46538
- var locatorSlug = title.toLowerCase().replaceAll(regex, "-");
46539
+ var locatorSlug = title === null || title === void 0 || (_title$toLowerCase = title.toLowerCase) === null || _title$toLowerCase === void 0 || (_title$toLowerCase = _title$toLowerCase.call(title)) === null || _title$toLowerCase === void 0 || (_title$toLowerCase$re = _title$toLowerCase.replaceAll) === null || _title$toLowerCase$re === void 0 ? void 0 : _title$toLowerCase$re.call(_title$toLowerCase, regex, "-");
46539
46540
  return /*#__PURE__*/React.createElement(Container, {
46540
46541
  borderRadius: "8px",
46541
46542
  dataQa: "link-card-".concat(locatorSlug),