@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.esm.js
CHANGED
|
@@ -5873,14 +5873,17 @@ const FlowNavigation = ({
|
|
|
5873
5873
|
children: [isSmall && displayGoBack ? /*#__PURE__*/jsx(BackButton$1, {
|
|
5874
5874
|
"aria-label": intl.formatMessage(messages$6.back),
|
|
5875
5875
|
onClick: onGoBack
|
|
5876
|
-
}) :
|
|
5876
|
+
}) : /*#__PURE__*/jsx("div", {
|
|
5877
|
+
className: "np-flow-header__left",
|
|
5878
|
+
children: logo
|
|
5879
|
+
}), isSmall && /*#__PURE__*/jsx(AnimatedLabel, {
|
|
5877
5880
|
className: "m-x-1",
|
|
5878
5881
|
labels: steps.map(step => step.label),
|
|
5879
5882
|
activeLabel: activeStep
|
|
5880
5883
|
})]
|
|
5881
5884
|
}),
|
|
5882
5885
|
rightContent: /*#__PURE__*/jsxs("div", {
|
|
5883
|
-
className: classNames('d-flex', 'align-items-center', {
|
|
5886
|
+
className: classNames('np-flow-header__right', 'd-flex', 'align-items-center', 'justify-content-end', {
|
|
5884
5887
|
'order-2': isLarge
|
|
5885
5888
|
}),
|
|
5886
5889
|
children: [newAvatar, newAvatar && closeButton && /*#__PURE__*/jsx("span", {
|