@thecb/components 6.2.1 → 6.2.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.cjs.js CHANGED
@@ -14419,9 +14419,12 @@ var ExternalLinkIcon = function ExternalLinkIcon(_ref) {
14419
14419
  fillRule: "evenodd",
14420
14420
  clipRule: "evenodd",
14421
14421
  d: "M1.86092 1.59483C1.92074 1.56953 1.98651 1.55554 2.05554 1.55554H2.6111H4.94443C5.22057 1.55554 5.44443 1.7794 5.44443 2.05554V2.6111C5.44443 2.88724 5.22057 3.1111 4.94443 3.1111H3.1111V10.8889H10.8889V9.05554C10.8889 8.7794 11.1127 8.55554 11.3889 8.55554H11.9444C12.2206 8.55554 12.4444 8.7794 12.4444 9.05554V11.9444C12.4444 12.2206 12.2206 12.4444 11.9444 12.4444H11.3889C11.3507 12.4444 11.3135 12.4401 11.2778 12.432C11.242 12.4401 11.2048 12.4444 11.1667 12.4444H2.6111H2.05554C1.7794 12.4444 1.55554 12.2206 1.55554 11.9444V11.3889V2.6111V2.05554C1.55554 2.05554 1.55554 2.05554 1.55554 2.05554C1.55554 2.01307 1.56084 1.97183 1.57081 1.93246C1.60944 1.77983 1.71826 1.65517 1.86092 1.59483ZM7.77776 2.05554C7.77776 1.7794 8.00162 1.55554 8.27776 1.55554H11.3889H11.9444C12.2206 1.55554 12.4444 1.7794 12.4444 2.05554V2.6111V5.72221C12.4444 5.99835 12.2206 6.22221 11.9444 6.22221H11.3889C11.1127 6.22221 10.8889 5.99835 10.8889 5.72221V4.26638L6.89793 8.25733C6.70267 8.45259 6.38608 8.45259 6.19082 8.25733L5.79798 7.8645C5.60272 7.66923 5.60272 7.35265 5.79798 7.15739L9.84428 3.1111H8.27776C8.00162 3.1111 7.77776 2.88724 7.77776 2.6111V2.05554Z",
14422
- fill: "#292A33"
14422
+ fill: linkColor
14423
14423
  }), /*#__PURE__*/React__default.createElement("mask", {
14424
14424
  id: "mask0_902_435-".concat(text),
14425
+ style: {
14426
+ "mask-type": "alpha"
14427
+ },
14425
14428
  maskUnits: "userSpaceOnUse",
14426
14429
  x: "1",
14427
14430
  y: "1",
@@ -14438,7 +14441,7 @@ var ExternalLinkIcon = function ExternalLinkIcon(_ref) {
14438
14441
  x: "-0.0864258",
14439
14442
  width: "14",
14440
14443
  height: "14",
14441
- fill: "#292A33"
14444
+ fill: linkColor
14442
14445
  })));
14443
14446
  };
14444
14447
 
@@ -17011,6 +17014,7 @@ var ExternalLink = function ExternalLink(_ref) {
17011
17014
  _ref$tabIndex = _ref.tabIndex,
17012
17015
  tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
17013
17016
  dataQa = _ref.dataQa,
17017
+ ariaLabel = _ref.ariaLabel,
17014
17018
  children = _ref.children;
17015
17019
  var themeContext = React.useContext(styled.ThemeContext);
17016
17020
  var themeValues = createThemeValues(themeContext, fallbackValues$9, "Link", variant);
@@ -17027,7 +17031,8 @@ var ExternalLink = function ExternalLink(_ref) {
17027
17031
  tabIndex: tabIndex,
17028
17032
  extrastyles: extraStyles,
17029
17033
  rel: newTab ? "noopener" : "",
17030
- "data-qa": dataQa
17034
+ "data-qa": dataQa,
17035
+ "aria-label": ariaLabel
17031
17036
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
17032
17037
  };
17033
17038