@thecb/components 8.4.1-beta.3 → 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.esm.js
CHANGED
|
@@ -42992,7 +42992,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42992
42992
|
var _useContext = useContext(ThemeContext),
|
|
42993
42993
|
isMobile = _useContext.isMobile;
|
|
42994
42994
|
|
|
42995
|
-
var regex = /\
|
|
42995
|
+
var regex = /\W/g;
|
|
42996
42996
|
var locatorSlug = title.toLowerCase().replaceAll(regex, "-");
|
|
42997
42997
|
return /*#__PURE__*/React.createElement(Container, {
|
|
42998
42998
|
border: "1px solid ".concat(themeValues.background, ";"),
|