@transferwise/components 45.24.0 → 45.25.0

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 CHANGED
@@ -6130,7 +6130,8 @@ const Info = ({
6130
6130
  presentation = exports.InfoPresentation.POPOVER,
6131
6131
  size = exports.Size.SMALL,
6132
6132
  title = undefined,
6133
- 'aria-label': ariaLabel
6133
+ 'aria-label': ariaLabel,
6134
+ preferredPlacement = exports.Position.BOTTOM
6134
6135
  }) => {
6135
6136
  const [open, setOpen] = React.useState(false);
6136
6137
  const isModal = presentation === exports.InfoPresentation.MODAL;
@@ -6165,7 +6166,7 @@ const Info = ({
6165
6166
  })]
6166
6167
  }) : /*#__PURE__*/jsxRuntime.jsx(Popover$2, {
6167
6168
  content: content,
6168
- preferredPlacement: exports.Position.BOTTOM,
6169
+ preferredPlacement: preferredPlacement,
6169
6170
  title: title,
6170
6171
  children: /*#__PURE__*/jsxRuntime.jsx("button", {
6171
6172
  type: "button",