@transferwise/components 46.25.0 → 46.26.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.
Files changed (32) hide show
  1. package/build/i18n/ja.json +13 -13
  2. package/build/index.js +17 -29
  3. package/build/index.js.map +1 -1
  4. package/build/index.mjs +17 -29
  5. package/build/index.mjs.map +1 -1
  6. package/build/types/index.d.ts +1 -0
  7. package/build/types/index.d.ts.map +1 -1
  8. package/build/types/provider/Provider.d.ts +8 -19
  9. package/build/types/provider/Provider.d.ts.map +1 -1
  10. package/build/types/provider/direction/DirectionProvider.d.ts +2 -3
  11. package/build/types/provider/direction/DirectionProvider.d.ts.map +1 -1
  12. package/build/types/provider/direction/index.d.ts +2 -1
  13. package/build/types/provider/direction/index.d.ts.map +1 -1
  14. package/build/types/provider/index.d.ts +6 -3
  15. package/build/types/provider/index.d.ts.map +1 -1
  16. package/build/types/provider/language/LanguageProvider.d.ts +2 -3
  17. package/build/types/provider/language/LanguageProvider.d.ts.map +1 -1
  18. package/build/types/provider/language/index.d.ts +2 -1
  19. package/build/types/provider/language/index.d.ts.map +1 -1
  20. package/package.json +1 -1
  21. package/src/i18n/ja.json +13 -13
  22. package/src/index.ts +1 -0
  23. package/src/inputs/SelectInput.story.tsx +27 -6
  24. package/src/provider/Provider.spec.tsx +0 -2
  25. package/src/provider/{Provider.js → Provider.tsx} +9 -19
  26. package/src/provider/direction/DirectionProvider.tsx +5 -2
  27. package/src/provider/direction/{index.js → index.ts} +1 -0
  28. package/src/provider/index.ts +6 -0
  29. package/src/provider/language/LanguageProvider.tsx +2 -2
  30. package/src/provider/language/index.ts +2 -0
  31. package/src/provider/index.js +0 -3
  32. package/src/provider/language/index.js +0 -1
package/build/index.mjs CHANGED
@@ -9815,10 +9815,10 @@ var en = {
9815
9815
  "neptune.UploadItem.uploadingFailed": "Uploading failed"
9816
9816
  };
9817
9817
 
9818
- const Provider = ({
9818
+ function Provider({
9819
9819
  i18n,
9820
9820
  children
9821
- }) => {
9821
+ }) {
9822
9822
  const {
9823
9823
  locale,
9824
9824
  messages,
@@ -9855,19 +9855,7 @@ const Provider = ({
9855
9855
  })
9856
9856
  })
9857
9857
  });
9858
- };
9859
- Provider.propTypes = {
9860
- i18n: PropTypes.shape({
9861
- locale: PropTypes.string.isRequired,
9862
- messages: PropTypes.shape({}).isRequired,
9863
- defaultRichTextElements: PropTypes.shape({})
9864
- }).isRequired,
9865
- children: PropTypes.node
9866
- };
9867
- Provider.defaultProps = {
9868
- children: undefined
9869
- };
9870
- var Provider$1 = Provider;
9858
+ }
9871
9859
 
9872
9860
  function RadioButton({
9873
9861
  id,
@@ -14484,8 +14472,8 @@ var it = {
14484
14472
 
14485
14473
  var ja = {
14486
14474
  "neptune.Button.loadingAriaLabel": "読み込み中…",
14487
- "neptune.Chips.ariaLabel": "{choice} をクリア",
14488
- "neptune.ClearButton.ariaLabel": "消去",
14475
+ "neptune.Chips.ariaLabel": "{choice}を消去する",
14476
+ "neptune.ClearButton.ariaLabel": "消去する",
14489
14477
  "neptune.CloseButton.ariaLabel": "閉じる",
14490
14478
  "neptune.DateInput.day.label": "日",
14491
14479
  "neptune.DateInput.day.placeholder": "日",
@@ -14505,19 +14493,19 @@ var ja = {
14505
14493
  "neptune.Link.opensInNewTab": "(新しいタブで開きます)",
14506
14494
  "neptune.MoneyInput.Select.placeholder": "選択してください...",
14507
14495
  "neptune.PhoneNumberInput.SelectInput.placeholder": "選択してください…",
14508
- "neptune.Select.searchPlaceholder": "検索... ",
14496
+ "neptune.Select.searchPlaceholder": "検索する... ",
14509
14497
  "neptune.SelectInput.noResultsFound": "結果が見つかりませんでした",
14510
14498
  "neptune.Summary.statusDone": "完了",
14511
- "neptune.Summary.statusNotDone": "未対応",
14499
+ "neptune.Summary.statusNotDone": "未完了",
14512
14500
  "neptune.Summary.statusPending": "保留中",
14513
14501
  "neptune.Upload.csButtonText": "別のファイルをアップロードしますか?",
14514
14502
  "neptune.Upload.csFailureText": "アップロードに失敗しました。もう一度やり直してください。",
14515
14503
  "neptune.Upload.csSuccessText": "アップロードが完了しました。",
14516
14504
  "neptune.Upload.csTooLargeMessage": "{maxSize}MB以下のファイルをアップロードしてください",
14517
14505
  "neptune.Upload.csWrongTypeMessage": "ファイルの種類はサポートされていません。別のファイルで再度お試しください",
14518
- "neptune.Upload.psButtonText": "キャンセル",
14519
- "neptune.Upload.psProcessingText": "アップロード中…",
14520
- "neptune.Upload.usButtonText": "または、ファイルを選択する",
14506
+ "neptune.Upload.psButtonText": "キャンセルする",
14507
+ "neptune.Upload.psProcessingText": "アップロードしています…",
14508
+ "neptune.Upload.usButtonText": "またはファイルを選択する",
14521
14509
  "neptune.Upload.usDropMessage": "ファイルをドロップしてアップロードする",
14522
14510
  "neptune.Upload.usPlaceholder": "{maxSize}MB以下のファイルをドラッグ&ドロップしてください",
14523
14511
  "neptune.UploadButton.allFileTypes": "すべてのファイル種類",
@@ -14526,18 +14514,18 @@ var ja = {
14526
14514
  "neptune.UploadButton.uploadFile": "ファイルをアップロードする",
14527
14515
  "neptune.UploadButton.uploadFiles": "ファイルをアップロードする",
14528
14516
  "neptune.UploadInput.deleteModalBody": "このファイルを削除すると、当社のシステムからも削除されます。",
14529
- "neptune.UploadInput.deleteModalCancelButtonText": "キャンセル",
14530
- "neptune.UploadInput.deleteModalConfirmButtonText": "削除",
14517
+ "neptune.UploadInput.deleteModalCancelButtonText": "キャンセルする",
14518
+ "neptune.UploadInput.deleteModalConfirmButtonText": "削除する",
14531
14519
  "neptune.UploadInput.deleteModalTitle": "このファイルを削除しますか?",
14532
14520
  "neptune.UploadInput.fileIsTooLarge": "ファイルが大きすぎます。",
14533
14521
  "neptune.UploadInput.fileTypeNotSupported": "このファイルの種類はサポートされていません",
14534
14522
  "neptune.UploadInput.maximumFilesAlreadyUploaded": "申し訳ございませんが、このアップロードに失敗しました。一度に{maxFilesAllowed}個のファイルのみ受付可能です。",
14535
- "neptune.UploadItem.deleting": "削除中...",
14536
- "neptune.UploadItem.removeFile": "{filename} を削除",
14523
+ "neptune.UploadItem.deleting": "削除しています...",
14524
+ "neptune.UploadItem.removeFile": "{filename}のファイルを削除する",
14537
14525
  "neptune.UploadItem.uploaded": "アップロード済み",
14538
14526
  "neptune.UploadItem.uploadedFile": "アップロード済みのファイル",
14539
- "neptune.UploadItem.uploading": "アップロード中…",
14540
- "neptune.UploadItem.uploadingFailed": "アップロードが失敗しました"
14527
+ "neptune.UploadItem.uploading": "アップロードしています…",
14528
+ "neptune.UploadItem.uploadingFailed": "アップロードに失敗しました"
14541
14529
  };
14542
14530
 
14543
14531
  var pl = {
@@ -15083,5 +15071,5 @@ const translations = {
15083
15071
  'zh-HK': zhHK
15084
15072
  };
15085
15073
 
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 };
15074
+ 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, 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 };
15087
15075
  //# sourceMappingURL=index.mjs.map