@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.esm.js CHANGED
@@ -14411,9 +14411,12 @@ var ExternalLinkIcon = function ExternalLinkIcon(_ref) {
14411
14411
  fillRule: "evenodd",
14412
14412
  clipRule: "evenodd",
14413
14413
  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",
14414
- fill: "#292A33"
14414
+ fill: linkColor
14415
14415
  }), /*#__PURE__*/React.createElement("mask", {
14416
14416
  id: "mask0_902_435-".concat(text),
14417
+ style: {
14418
+ "mask-type": "alpha"
14419
+ },
14417
14420
  maskUnits: "userSpaceOnUse",
14418
14421
  x: "1",
14419
14422
  y: "1",
@@ -14430,7 +14433,7 @@ var ExternalLinkIcon = function ExternalLinkIcon(_ref) {
14430
14433
  x: "-0.0864258",
14431
14434
  width: "14",
14432
14435
  height: "14",
14433
- fill: "#292A33"
14436
+ fill: linkColor
14434
14437
  })));
14435
14438
  };
14436
14439
 
@@ -17003,6 +17006,7 @@ var ExternalLink = function ExternalLink(_ref) {
17003
17006
  _ref$tabIndex = _ref.tabIndex,
17004
17007
  tabIndex = _ref$tabIndex === void 0 ? "0" : _ref$tabIndex,
17005
17008
  dataQa = _ref.dataQa,
17009
+ ariaLabel = _ref.ariaLabel,
17006
17010
  children = _ref.children;
17007
17011
  var themeContext = useContext(ThemeContext);
17008
17012
  var themeValues = createThemeValues(themeContext, fallbackValues$9, "Link", variant);
@@ -17019,7 +17023,8 @@ var ExternalLink = function ExternalLink(_ref) {
17019
17023
  tabIndex: tabIndex,
17020
17024
  extrastyles: extraStyles,
17021
17025
  rel: newTab ? "noopener" : "",
17022
- "data-qa": dataQa
17026
+ "data-qa": dataQa,
17027
+ "aria-label": ariaLabel
17023
17028
  }, safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
17024
17029
  };
17025
17030