@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.cjs.js
CHANGED
|
@@ -46520,6 +46520,7 @@ var Footer = styled__default(Stack).withConfig({
|
|
|
46520
46520
|
})(["align-items:center;width:100%;"]);
|
|
46521
46521
|
|
|
46522
46522
|
var LinkCard = function LinkCard(_ref) {
|
|
46523
|
+
var _title$toLowerCase, _title$toLowerCase$re;
|
|
46523
46524
|
var _ref$title = _ref.title,
|
|
46524
46525
|
title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
|
|
46525
46526
|
_ref$subtitle = _ref.subtitle,
|
|
@@ -46543,7 +46544,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
46543
46544
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
46544
46545
|
isMobile = _useContext.isMobile;
|
|
46545
46546
|
var regex = /\W/g;
|
|
46546
|
-
var locatorSlug = title.toLowerCase().replaceAll(regex, "-");
|
|
46547
|
+
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, "-");
|
|
46547
46548
|
return /*#__PURE__*/React__default.createElement(Container, {
|
|
46548
46549
|
borderRadius: "8px",
|
|
46549
46550
|
dataQa: "link-card-".concat(locatorSlug),
|