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