@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.mjs CHANGED
@@ -867,7 +867,6 @@ function Markdown({
867
867
  return null;
868
868
  }
869
869
  const linkTarget = config?.link?.target ?? '_self';
870
- const paragraphClass = config?.paragraph?.className ?? '';
871
870
  if (allowList != null && blockList != null) {
872
871
  logActionRequired$1('Markdown supports only one of `allowList` or `blockList` to be used at a time. `blockList` will be ignored.');
873
872
  }
@@ -881,7 +880,7 @@ function Markdown({
881
880
  };
882
881
  const createMarkup = () => {
883
882
  const parsed = parser(children);
884
- return writer.render(parsed).replace(/<a href="/g, `<a target="${linkTarget}" href="`).replace(/<p>/g, `<p class="${paragraphClass}">`);
883
+ return writer.render(parsed).replace(/<a href="/g, `<a target="${linkTarget}" href="`);
885
884
  };
886
885
  return /*#__PURE__*/jsx(Element, {
887
886
  className: className,
@@ -5318,15 +5317,14 @@ const Logo = ({
5318
5317
  }) => {
5319
5318
  const LogoSm = svgPaths[`WISE_FLAG${type === LogoType.WISE_PLATFORM ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
5320
5319
  const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
5321
- const screenMd = useScreenSize(Breakpoint.MEDIUM);
5322
5320
  return /*#__PURE__*/jsxs("span", {
5323
5321
  "aria-label": type === LogoType.WISE ? 'Wise' : 'Wise Business' | type === LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
5324
5322
  role: "img",
5325
5323
  className: classNames(className, 'np-logo'),
5326
- children: [!screenMd && /*#__PURE__*/jsx(LogoSm, {
5327
- className: "np-logo-svg"
5328
- }), screenMd && /*#__PURE__*/jsx(LogoMd, {
5329
- className: "np-logo-svg"
5324
+ children: [/*#__PURE__*/jsx(LogoSm, {
5325
+ className: "np-logo-svg np-logo-svg--size-sm"
5326
+ }), /*#__PURE__*/jsx(LogoMd, {
5327
+ className: "np-logo-svg np-logo-svg--size-md"
5330
5328
  })]
5331
5329
  });
5332
5330
  };