@transferwise/components 46.35.0 → 46.35.1

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.mjs CHANGED
@@ -18,7 +18,6 @@ import { useFloating, useDismiss, useRole, useInteractions, FloatingPortal, Floa
18
18
  import { usePreventScroll } from '@react-aria/overlays';
19
19
  import { usePopper } from 'react-popper';
20
20
  import { Flag, Illustration } from '@wise/art';
21
- import { useId as useId$1 } from '@radix-ui/react-id';
22
21
  import clamp$2 from 'lodash.clamp';
23
22
  import debounce from 'lodash.debounce';
24
23
  import requiredIf from 'react-required-if';
@@ -10120,7 +10119,7 @@ function Select({
10120
10119
  }, [defaultOptions, search, searchValue]);
10121
10120
  const selectableOptions = useMemo(() => options.filter(isActionableOption), [options]);
10122
10121
  const focusedOption = selectableOptions[keyboardFocusedOptionIndex];
10123
- const fallbackButtonId = useId$1();
10122
+ const fallbackButtonId = useId();
10124
10123
  const computedId = id || inputAttributes.id || fallbackButtonId;
10125
10124
  const listboxId = `${computedId}-listbox`;
10126
10125
  const searchBoxId = `${computedId}-searchbox`;