@transferwise/components 0.0.0-experimental-14cd1b3 → 0.0.0-experimental-6af5033
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 +6 -4
- package/build/index.js.map +1 -1
- package/build/index.mjs +6 -4
- package/build/index.mjs.map +1 -1
- package/build/main.css +0 -16
- package/build/styles/logo/Logo.css +0 -16
- package/build/styles/main.css +0 -16
- package/build/types/inputs/SelectInput.d.ts.map +1 -1
- package/build/types/logo/Logo.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/inputs/SelectInput.tsx +1 -0
- package/src/logo/Logo.css +0 -16
- package/src/logo/Logo.js +7 -2
- package/src/logo/Logo.less +0 -16
- package/src/logo/__snapshots__/Logo.spec.js.snap +8 -104
- package/src/main.css +0 -16
package/build/index.js
CHANGED
|
@@ -5081,14 +5081,15 @@ const Logo = ({
|
|
|
5081
5081
|
}) => {
|
|
5082
5082
|
const LogoSm = svgPaths[`WISE_FLAG${type === exports.LogoType.WISE_PLATFORM ? '_PLATFORM' : ''}${inverse ? '_INVERSE' : ''}`];
|
|
5083
5083
|
const LogoMd = svgPaths[`${type}${inverse ? '_INVERSE' : ''}`];
|
|
5084
|
+
const screenMd = useScreenSize(exports.Breakpoint.MEDIUM);
|
|
5084
5085
|
return /*#__PURE__*/jsxRuntime.jsxs("span", {
|
|
5085
5086
|
"aria-label": type === exports.LogoType.WISE ? 'Wise' : 'Wise Business' | type === exports.LogoType.WISE_PLATFORM ? 'Wise Platform' : 'Wise Business',
|
|
5086
5087
|
role: "img",
|
|
5087
5088
|
className: classNames__default.default(className, 'np-logo'),
|
|
5088
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(LogoSm, {
|
|
5089
|
-
className: "np-logo-svg
|
|
5090
|
-
}), /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
|
|
5091
|
-
className: "np-logo-svg
|
|
5089
|
+
children: [!screenMd && /*#__PURE__*/jsxRuntime.jsx(LogoSm, {
|
|
5090
|
+
className: "np-logo-svg"
|
|
5091
|
+
}), screenMd && /*#__PURE__*/jsxRuntime.jsx(LogoMd, {
|
|
5092
|
+
className: "np-logo-svg"
|
|
5092
5093
|
})]
|
|
5093
5094
|
});
|
|
5094
5095
|
};
|
|
@@ -6269,6 +6270,7 @@ const defaultRenderTrigger = ({
|
|
|
6269
6270
|
})
|
|
6270
6271
|
})]
|
|
6271
6272
|
}),
|
|
6273
|
+
initialContentWidth: 24 + 4,
|
|
6272
6274
|
padding: 'sm'
|
|
6273
6275
|
},
|
|
6274
6276
|
disabled: disabled,
|