@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.
@@ -6602,6 +6602,7 @@ function Popover({
6602
6602
  open,
6603
6603
  renderTrigger,
6604
6604
  title,
6605
+ size: size$1 = 'md',
6605
6606
  padding = 'md',
6606
6607
  children,
6607
6608
  onClose
@@ -6669,7 +6670,10 @@ function Popover({
6669
6670
  children: /*#__PURE__*/jsx("div", {
6670
6671
  // Force inner state invalidation on open
6671
6672
  ref: refs.setFloating,
6672
- className: "np-popover-v2-container"
6673
+ className: classNames('np-popover-v2-container', {
6674
+ 'np-popover-v2-container--size-md': size$1 === 'md',
6675
+ 'np-popover-v2-container--size-lg': size$1 === 'lg'
6676
+ })
6673
6677
  // eslint-disable-next-line react/forbid-dom-props
6674
6678
  ,
6675
6679
  style: floatingStyles,
@@ -6892,6 +6896,7 @@ function SelectInput({
6892
6896
  })
6893
6897
  }),
6894
6898
  initialFocusRef: controllerRef,
6899
+ size: filterable ? 'lg' : 'md',
6895
6900
  padding: "none",
6896
6901
  onClose: () => {
6897
6902
  setOpen(false);