@transferwise/components 46.24.0 → 46.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.
@@ -10,7 +10,7 @@ import { useTheme, ThemeProvider } from '@wise/components-theming';
10
10
  import { formatDate, formatNumber, formatMoney, formatAmount } from '@transferwise/formatting';
11
11
  import { Transition, Listbox } from '@headlessui/react';
12
12
  import mergeProps from 'merge-props';
13
- import { useSyncExternalStore } from 'use-sync-external-store/shim';
13
+ import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js';
14
14
  import { useFloating, useDismiss, useRole, useInteractions, FloatingPortal, FloatingFocusManager, offset, flip, shift, size, autoUpdate } from '@floating-ui/react';
15
15
  import { FocusScope } from '@react-aria/focus';
16
16
  import { usePreventScroll } from '@react-aria/overlays';
@@ -1717,6 +1717,7 @@ const useHasIntersected = ({
1717
1717
  return [hasIntersected];
1718
1718
  };
1719
1719
 
1720
+ // eslint-disable-next-line import/extensions
1720
1721
  function useMedia(query) {
1721
1722
  return useSyncExternalStore(onStoreChange => {
1722
1723
  const mediaQueryList = window.matchMedia(query);
@@ -15008,10 +15009,10 @@ var zhHK = {
15008
15009
  "neptune.ClearButton.ariaLabel": "清除",
15009
15010
  "neptune.CloseButton.ariaLabel": "關閉",
15010
15011
  "neptune.DateInput.day.label": "日",
15011
- "neptune.DateInput.day.placeholder": "DD",
15012
+ "neptune.DateInput.day.placeholder": "",
15012
15013
  "neptune.DateInput.month.label": "月",
15013
15014
  "neptune.DateInput.year.label": "年",
15014
- "neptune.DateInput.year.placeholder": "YYYY",
15015
+ "neptune.DateInput.year.placeholder": "",
15015
15016
  "neptune.DateLookup.day": "日",
15016
15017
  "neptune.DateLookup.goTo20YearView": "切換至20年視圖",
15017
15018
  "neptune.DateLookup.month": "月",
@@ -15083,4 +15084,4 @@ const translations = {
15083
15084
  };
15084
15085
 
15085
15086
  export { Accordion, ActionButton, ActionOption, Alert$1 as Alert, ArrowPosition as AlertArrowPosition, Avatar, AvatarType, AvatarWrapper, Badge, Card as BaseCard, Body, BottomSheet$2 as BottomSheet, Breakpoint, Button, Card$2 as Card, Checkbox$1 as Checkbox, CheckboxButton$1 as CheckboxButton, CheckboxOption, Chevron, Chip, Chips, CircularButton, ControlType, CriticalCommsBanner, DEFAULT_LANG, DEFAULT_LOCALE, DateInput, DateLookup$1 as DateLookup, DateMode, Decision, DecisionPresentation, DecisionType, DefinitionList$1 as DefinitionList, Dimmer$1 as Dimmer, Direction, DirectionProvider, Display, Drawer$1 as Drawer, DropFade, DynamicFieldDefinitionList$1 as DynamicFieldDefinitionList, Emphasis, FileType, FlowNavigation, Header, Image, Info, InfoPresentation, InlineAlert, Input, InputGroup, InputWithDisplayFormat, InstructionsList, LanguageProvider, Layout, Link, ListItem$1 as ListItem, Loader, Logo$1 as Logo, LogoType, Markdown, MarkdownNodeType, Modal, Money, MoneyInput$1 as MoneyInput, MonthFormat, NavigationOption, NavigationOptionList as NavigationOptionsList, Nudge, Option$2 as Option, OverlayHeader$1 as OverlayHeader, PhoneNumberInput, Popover$1 as Popover, Position, Priority, ProcessIndicator$1 as ProcessIndicator, ProfileType, Progress, ProgressBar, PromoCard$1 as PromoCard, PromoCard$1 as PromoCardGroup, Provider$1 as Provider, RTL_LANGUAGES, Radio, RadioGroup, RadioOption, SUPPORTED_LANGUAGES, Scroll, SearchInput, Section, SegmentedControl, Select, SelectInput, SelectInputOptionContent, SelectInputTriggerButton, Sentiment, Size, SlidingPanel, SnackbarConsumer, SnackbarContext, SnackbarPortal, SnackbarProvider, Status, StatusIcon, Stepper, Sticky, Summary, Switch, SwitchOption, Tabs$1 as Tabs, TextArea, TextareaWithDisplayFormat, Theme, Title, Tooltip, Type, Typeahead, Typography, Upload$1 as Upload, UploadInput, UploadStep, Variant, Width, adjustLocale, getCountryFromLocale, getDirectionFromLocale, getLangFromLocale, isBrowser, isServerSide, translations, useDirection, useLayout, useScreenSize, useSnackbar };
15086
- //# sourceMappingURL=index.esm.js.map
15087
+ //# sourceMappingURL=index.mjs.map