@thecb/components 7.1.3-beta.0 → 7.1.3-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
@@ -17599,13 +17599,15 @@ var _excluded$k = ["hoverColor", "activeColor", "extrastyles"];
17599
17599
 
17600
17600
  /* eslint-disable no-unused-vars */
17601
17601
 
17602
- var StyledExternalLink = styled(function (_ref) {
17602
+ var StyledExternalLink = styled(function (_ref, ref) {
17603
17603
  var hoverColor = _ref.hoverColor,
17604
17604
  activeColor = _ref.activeColor,
17605
17605
  extrastyles = _ref.extrastyles,
17606
17606
  props = _objectWithoutProperties(_ref, _excluded$k);
17607
17607
 
17608
- return /*#__PURE__*/React.createElement("a", props);
17608
+ return /*#__PURE__*/React.createElement("a", _extends({}, props, {
17609
+ ref: ref
17610
+ }));
17609
17611
  }).withConfig({
17610
17612
  displayName: "ExternalLinkstyled__StyledExternalLink",
17611
17613
  componentId: "sc-m1q2m2-0"
@@ -17685,7 +17687,7 @@ var _excluded$l = ["hoverColor", "activeColor", "active", "color", "extrastyles"
17685
17687
 
17686
17688
  /* eslint-disable no-unused-vars */
17687
17689
 
17688
- var StyledInternalLink = styled(function (_ref) {
17690
+ var StyledInternalLink = styled(function (_ref, ref) {
17689
17691
  var hoverColor = _ref.hoverColor,
17690
17692
  activeColor = _ref.activeColor,
17691
17693
  active = _ref.active,
@@ -17693,7 +17695,9 @@ var StyledInternalLink = styled(function (_ref) {
17693
17695
  extrastyles = _ref.extrastyles,
17694
17696
  props = _objectWithoutProperties(_ref, _excluded$l);
17695
17697
 
17696
- return /*#__PURE__*/React.createElement(Link, props);
17698
+ return /*#__PURE__*/React.createElement(Link, _extends({}, props, {
17699
+ ref: ref
17700
+ }));
17697
17701
  }).withConfig({
17698
17702
  displayName: "InternalLinkstyled__StyledInternalLink",
17699
17703
  componentId: "sc-cuqxud-0"