@transferwise/components 0.0.0-experimental-aad35a3 → 0.0.0-experimental-ecf13ed

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/build/index.mjs CHANGED
@@ -4551,14 +4551,15 @@ const Logo = ({
4551
4551
  }) => {
4552
4552
  const LogoSm = svgPaths[`WISE_FLAG${type === LogoType.WISE_PLATFORM ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
4553
4553
  const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
4554
+ const screenMd = useScreenSize(Breakpoint.MEDIUM);
4554
4555
  return /*#__PURE__*/jsxs("span", {
4555
4556
  "aria-label": type === LogoType.WISE ? 'Wise' : 'Wise Business' | type === LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
4556
4557
  role: "img",
4557
4558
  className: classNames(className, 'np-logo'),
4558
- children: [/*#__PURE__*/jsx(LogoSm, {
4559
- className: "np-logo-svg np-logo-svg--size-sm"
4560
- }), /*#__PURE__*/jsx(LogoMd, {
4561
- className: "np-logo-svg np-logo-svg--size-md"
4559
+ children: [!screenMd && /*#__PURE__*/jsx(LogoSm, {
4560
+ className: "np-logo-svg"
4561
+ }), screenMd && /*#__PURE__*/jsx(LogoMd, {
4562
+ className: "np-logo-svg"
4562
4563
  })]
4563
4564
  });
4564
4565
  };