@transferwise/components 45.26.2 → 45.26.3
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.esm.js +5 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +5 -2
- package/build/index.js.map +1 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/flowNavigation/FlowNavigation.tsx +12 -2
- package/src/flowNavigation/__snapshots__/FlowNavigation.spec.js.snap +12 -8
package/build/index.js
CHANGED
|
@@ -5907,14 +5907,17 @@ const FlowNavigation = ({
|
|
|
5907
5907
|
children: [isSmall && displayGoBack ? /*#__PURE__*/jsxRuntime.jsx(BackButton$1, {
|
|
5908
5908
|
"aria-label": intl.formatMessage(messages$6.back),
|
|
5909
5909
|
onClick: onGoBack
|
|
5910
|
-
}) :
|
|
5910
|
+
}) : /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
5911
|
+
className: "np-flow-header__left",
|
|
5912
|
+
children: logo
|
|
5913
|
+
}), isSmall && /*#__PURE__*/jsxRuntime.jsx(AnimatedLabel, {
|
|
5911
5914
|
className: "m-x-1",
|
|
5912
5915
|
labels: steps.map(step => step.label),
|
|
5913
5916
|
activeLabel: activeStep
|
|
5914
5917
|
})]
|
|
5915
5918
|
}),
|
|
5916
5919
|
rightContent: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
5917
|
-
className: classNames__default.default('d-flex', 'align-items-center', {
|
|
5920
|
+
className: classNames__default.default('np-flow-header__right', 'd-flex', 'align-items-center', 'justify-content-end', {
|
|
5918
5921
|
'order-2': isLarge
|
|
5919
5922
|
}),
|
|
5920
5923
|
children: [newAvatar, newAvatar && closeButton && /*#__PURE__*/jsxRuntime.jsx("span", {
|