@transferwise/components 0.0.0-experimental-89e80d6 → 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 +6 -6
- 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/src/provider/theme/ThemeProvider.story.tsx +0 -21
package/build/index.js
CHANGED
|
@@ -4582,15 +4582,14 @@ const Logo = ({
|
|
|
4582
4582
|
}) => {
|
|
4583
4583
|
const LogoSm = svgPaths[`WISE_FLAG${type === exports.LogoType.WISE_PLATFORM ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
|
|
4584
4584
|
const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
|
|
4585
|
-
const screenMd = useScreenSize(exports.Breakpoint.MEDIUM);
|
|
4586
4585
|
return /*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
4587
4586
|
"aria-label": type === exports.LogoType.WISE ? 'Wise' : 'Wise Business' | type === exports.LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
|
|
4588
4587
|
role: "img",
|
|
4589
4588
|
className: classNames__default.default(className, 'np-logo'),
|
|
4590
|
-
children: [
|
|
4591
|
-
className: "np-logo-svg"
|
|
4592
|
-
}),
|
|
4593
|
-
className: "np-logo-svg"
|
|
4589
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(LogoSm, {
|
|
4590
|
+
className: "np-logo-svg np-logo-svg--size-sm"
|
|
4591
|
+
}), /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
|
|
4592
|
+
className: "np-logo-svg np-logo-svg--size-md"
|
|
4594
4593
|
})]
|
|
4595
4594
|
});
|
|
4596
4595
|
};
|