@transferwise/components 0.0.0-experimental-9381602 → 0.0.0-experimental-2e3ca66

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.js CHANGED
@@ -899,7 +899,6 @@ function Markdown({
899
899
  return null;
900
900
  }
901
901
  const linkTarget = config?.link?.target ?? '_self';
902
- const paragraphClass = config?.paragraph?.className ?? '';
903
902
  if (allowList != null && blockList != null) {
904
903
  logActionRequired$1('Markdown supports only one of `allowList` or `blockList` to be used at a time. `blockList` will be ignored.');
905
904
  }
@@ -913,7 +912,7 @@ function Markdown({
913
912
  };
914
913
  const createMarkup = () => {
915
914
  const parsed = parser(children);
916
- return writer.render(parsed).replace(/<a href="/g, `<a target="${linkTarget}" href="`).replace(/<p>/g, `<p class="${paragraphClass}">`);
915
+ return writer.render(parsed).replace(/<a href="/g, `<a target="${linkTarget}" href="`);
917
916
  };
918
917
  return /*#__PURE__*/jsxRuntime.jsx(Element, {
919
918
  className: className,
@@ -5350,15 +5349,14 @@ const Logo = ({
5350
5349
  }) => {
5351
5350
  const LogoSm = svgPaths[`WISE_FLAG${type === exports.LogoType.WISE_PLATFORM ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
5352
5351
  const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
5353
- const screenMd = useScreenSize(exports.Breakpoint.MEDIUM);
5354
5352
  return /*#__PURE__*/jsxRuntime.jsxs("span", {
5355
5353
  "aria-label": type === exports.LogoType.WISE ? 'Wise' : 'Wise Business' | type === exports.LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
5356
5354
  role: "img",
5357
5355
  className: classNames__default.default(className, 'np-logo'),
5358
- children: [!screenMd && /*#__PURE__*/jsxRuntime.jsx(LogoSm, {
5359
- className: "np-logo-svg"
5360
- }), screenMd && /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
5361
- className: "np-logo-svg"
5356
+ children: [/*#__PURE__*/jsxRuntime.jsx(LogoSm, {
5357
+ className: "np-logo-svg np-logo-svg--size-sm"
5358
+ }), /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
5359
+ className: "np-logo-svg np-logo-svg--size-md"
5362
5360
  })]
5363
5361
  });
5364
5362
  };