@thecb/components 8.4.1-beta.2 → 8.4.1-beta.4

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
@@ -43000,7 +43000,8 @@ var LinkCard = function LinkCard(_ref) {
43000
43000
  var _useContext = React.useContext(styled.ThemeContext),
43001
43001
  isMobile = _useContext.isMobile;
43002
43002
 
43003
- var locatorSlug = title.toLowerCase().replaceAll(/\s/, "-");
43003
+ var regex = /\W/g;
43004
+ var locatorSlug = title.toLowerCase().replaceAll(regex, "-");
43004
43005
  return /*#__PURE__*/React__default.createElement(Container, {
43005
43006
  border: "1px solid ".concat(themeValues.background, ";"),
43006
43007
  borderRadius: "8px",