@transferwise/components 0.0.0-experimental-87a67c8 → 0.0.0-experimental-b52dbcf
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 +4 -5
- package/build/index.js.map +1 -1
- package/build/index.mjs +4 -5
- package/build/index.mjs.map +1 -1
- package/build/main.css +16 -0
- package/build/styles/logo/Logo.css +16 -0
- package/build/styles/main.css +16 -0
- package/build/types/logo/Logo.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/logo/Logo.css +16 -0
- package/src/logo/Logo.js +2 -7
- package/src/logo/Logo.less +16 -0
- package/src/logo/__snapshots__/Logo.spec.js.snap +104 -8
- package/src/main.css +16 -0
package/build/index.mjs
CHANGED
|
@@ -4551,15 +4551,14 @@ 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);
|
|
4555
4554
|
return /*#__PURE__*/jsxs("span", {
|
|
4556
4555
|
"aria-label": type === LogoType.WISE ? 'Wise' : 'Wise Business' | type === LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
|
|
4557
4556
|
role: "img",
|
|
4558
4557
|
className: classNames(className, 'np-logo'),
|
|
4559
|
-
children: [
|
|
4560
|
-
className: "np-logo-svg"
|
|
4561
|
-
}),
|
|
4562
|
-
className: "np-logo-svg"
|
|
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"
|
|
4563
4562
|
})]
|
|
4564
4563
|
});
|
|
4565
4564
|
};
|