@transferwise/components 46.0.7 → 46.0.8

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
@@ -6636,6 +6636,7 @@ function Popover({
6636
6636
  open,
6637
6637
  renderTrigger,
6638
6638
  title,
6639
+ size = 'md',
6639
6640
  padding = 'md',
6640
6641
  children,
6641
6642
  onClose
@@ -6703,7 +6704,10 @@ function Popover({
6703
6704
  children: /*#__PURE__*/jsxRuntime.jsx("div", {
6704
6705
  // Force inner state invalidation on open
6705
6706
  ref: refs.setFloating,
6706
- className: "np-popover-v2-container"
6707
+ className: classNames__default.default('np-popover-v2-container', {
6708
+ 'np-popover-v2-container--size-md': size === 'md',
6709
+ 'np-popover-v2-container--size-lg': size === 'lg'
6710
+ })
6707
6711
  // eslint-disable-next-line react/forbid-dom-props
6708
6712
  ,
6709
6713
  style: floatingStyles,
@@ -6926,6 +6930,7 @@ function SelectInput({
6926
6930
  })
6927
6931
  }),
6928
6932
  initialFocusRef: controllerRef,
6933
+ size: filterable ? 'lg' : 'md',
6929
6934
  padding: "none",
6930
6935
  onClose: () => {
6931
6936
  setOpen(false);