@transferwise/components 46.20.1 → 46.21.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.
Files changed (73) hide show
  1. package/build/i18n/cs.json +2 -2
  2. package/build/i18n/de.json +2 -2
  3. package/build/i18n/en.json +2 -2
  4. package/build/i18n/es.json +2 -2
  5. package/build/i18n/fr.json +2 -2
  6. package/build/i18n/hu.json +2 -2
  7. package/build/i18n/id.json +2 -2
  8. package/build/i18n/it.json +2 -2
  9. package/build/i18n/ja.json +2 -2
  10. package/build/i18n/pl.json +2 -2
  11. package/build/i18n/pt.json +2 -2
  12. package/build/i18n/ro.json +2 -2
  13. package/build/i18n/ru.json +2 -2
  14. package/build/i18n/th.json +2 -2
  15. package/build/i18n/tr.json +2 -2
  16. package/build/i18n/zh-CN.json +2 -2
  17. package/build/i18n/zh-HK.json +2 -2
  18. package/build/index.esm.js +89 -111
  19. package/build/index.esm.js.map +1 -1
  20. package/build/index.js +90 -112
  21. package/build/index.js.map +1 -1
  22. package/build/types/circularButton/CircularButton.d.ts +2 -2
  23. package/build/types/circularButton/CircularButton.d.ts.map +1 -1
  24. package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -1
  25. package/build/types/index.d.ts +2 -0
  26. package/build/types/index.d.ts.map +1 -1
  27. package/build/types/slidingPanel/SlidingPanel.d.ts +12 -17
  28. package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
  29. package/build/types/slidingPanel/index.d.ts +2 -1
  30. package/build/types/slidingPanel/index.d.ts.map +1 -1
  31. package/build/types/sticky/Sticky.d.ts +9 -14
  32. package/build/types/sticky/Sticky.d.ts.map +1 -1
  33. package/build/types/sticky/index.d.ts +2 -1
  34. package/build/types/sticky/index.d.ts.map +1 -1
  35. package/build/types/upload/Upload.d.ts.map +1 -1
  36. package/package.json +3 -3
  37. package/src/circularButton/CircularButton.tsx +2 -2
  38. package/src/common/bottomSheet/BottomSheet.tsx +47 -41
  39. package/src/common/bottomSheet/__snapshots__/BottomSheet.spec.tsx.snap +37 -33
  40. package/src/i18n/cs.json +2 -2
  41. package/src/i18n/de.json +2 -2
  42. package/src/i18n/en.json +2 -2
  43. package/src/i18n/es.json +2 -2
  44. package/src/i18n/fr.json +2 -2
  45. package/src/i18n/hu.json +2 -2
  46. package/src/i18n/id.json +2 -2
  47. package/src/i18n/it.json +2 -2
  48. package/src/i18n/ja.json +2 -2
  49. package/src/i18n/pl.json +2 -2
  50. package/src/i18n/pt.json +2 -2
  51. package/src/i18n/ro.json +2 -2
  52. package/src/i18n/ru.json +2 -2
  53. package/src/i18n/th.json +2 -2
  54. package/src/i18n/tr.json +2 -2
  55. package/src/i18n/zh-CN.json +2 -2
  56. package/src/i18n/zh-HK.json +2 -2
  57. package/src/index.ts +2 -0
  58. package/src/select/Select.spec.js +1 -1
  59. package/src/slidingPanel/SlidingPanel.spec.js +9 -19
  60. package/src/slidingPanel/SlidingPanel.tsx +62 -0
  61. package/src/slidingPanel/index.ts +2 -0
  62. package/src/sticky/Sticky.spec.js +0 -1
  63. package/src/sticky/{Sticky.story.js → Sticky.story.tsx} +2 -3
  64. package/src/sticky/Sticky.tsx +16 -0
  65. package/src/sticky/index.ts +2 -0
  66. package/src/upload/Upload.js +8 -2
  67. package/src/upload/Upload.messages.js +2 -2
  68. package/src/upload/Upload.story.js +1 -1
  69. package/src/slidingPanel/SlidingPanel.js +0 -73
  70. package/src/slidingPanel/index.js +0 -1
  71. package/src/sticky/Sticky.js +0 -23
  72. package/src/sticky/index.js +0 -1
  73. /package/src/slidingPanel/{SlidingPanel.story.js → SlidingPanel.story.tsx} +0 -0
@@ -1753,15 +1753,14 @@ const useLayout = () => {
1753
1753
 
1754
1754
  const EXIT_ANIMATION = 350;
1755
1755
  const SlidingPanel = /*#__PURE__*/forwardRef(({
1756
- children,
1757
- className,
1756
+ position = 'left',
1758
1757
  open,
1759
- position,
1760
1758
  showSlidingPanelBorder,
1761
1759
  slidingPanelPositionFixed,
1760
+ className,
1761
+ children,
1762
1762
  ...rest
1763
1763
  }, reference) => {
1764
- /** @type {RefObject<HTMLDivElement>} */
1765
1764
  const localReference = useRef(null);
1766
1765
  return /*#__PURE__*/createElement(CSSTransition, {
1767
1766
  ...rest,
@@ -1774,34 +1773,15 @@ const SlidingPanel = /*#__PURE__*/forwardRef(({
1774
1773
  enter: 0,
1775
1774
  exit: EXIT_ANIMATION
1776
1775
  },
1777
- classNames: classNames(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
1778
- 'sliding-panel--fixed': slidingPanelPositionFixed
1779
- }, 'sliding-panel'),
1776
+ classNames: "sliding-panel",
1780
1777
  appear: true,
1781
1778
  unmountOnExit: true
1782
1779
  }, /*#__PURE__*/jsx("div", {
1783
1780
  ref: mergeRefs([reference, localReference]),
1784
- className: classNames('sliding-panel', `sliding-panel--open-${position}`, className),
1781
+ className: classNames('sliding-panel', `sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, slidingPanelPositionFixed && 'sliding-panel--fixed', className),
1785
1782
  children: children
1786
1783
  }));
1787
1784
  });
1788
- SlidingPanel.propTypes = {
1789
- children: PropTypes.node,
1790
- className: PropTypes.string,
1791
- open: PropTypes.bool,
1792
- position: PropTypes.oneOf(['top', 'bottom', 'left', 'right']),
1793
- showSlidingPanelBorder: PropTypes.bool,
1794
- slidingPanelPositionFixed: PropTypes.bool
1795
- };
1796
- SlidingPanel.defaultProps = {
1797
- children: null,
1798
- className: undefined,
1799
- open: false,
1800
- position: 'left',
1801
- showSlidingPanelBorder: false,
1802
- slidingPanelPositionFixed: false
1803
- };
1804
- var SlidingPanel$1 = SlidingPanel;
1805
1785
 
1806
1786
  const Drawer = ({
1807
1787
  children,
@@ -1820,7 +1800,7 @@ const Drawer = ({
1820
1800
  return /*#__PURE__*/jsx(Dimmer$1, {
1821
1801
  open: open,
1822
1802
  onClose: onClose,
1823
- children: /*#__PURE__*/jsx(SlidingPanel$1, {
1803
+ children: /*#__PURE__*/jsx(SlidingPanel, {
1824
1804
  open: open,
1825
1805
  position: isMobile ? Position.BOTTOM : position,
1826
1806
  children: /*#__PURE__*/jsxs("div", {
@@ -1937,15 +1917,15 @@ const BottomSheet$1 = props => {
1937
1917
  props.onClose(event);
1938
1918
  }
1939
1919
  }
1940
- const onSwipeStart = isMobile => event => {
1941
- initialYCoordinate.current = (isMobile ? event.touches[0] : event).clientY;
1920
+ const onSwipeStart = event => {
1921
+ initialYCoordinate.current = ('touches' in event ? event.touches[0] : event).clientY;
1942
1922
  setPressed(true);
1943
1923
  };
1944
- const onSwipeMove = isMobile => event => {
1924
+ const onSwipeMove = event => {
1945
1925
  if (pressed) {
1946
1926
  const {
1947
1927
  clientY
1948
- } = isMobile ? event.touches[0] : event;
1928
+ } = 'touches' in event ? event.touches[0] : event;
1949
1929
  const offset = calculateOffsetAfterMove(clientY);
1950
1930
  // check whether move is to the bottom only and content scroll position is at the top
1951
1931
  if (offset > INITIAL_Y_POSITION && isContentScrollPositionAtTop()) {
@@ -2014,34 +1994,37 @@ const BottomSheet$1 = props => {
2014
1994
  fadeContentOnEnter: true,
2015
1995
  fadeContentOnExit: true,
2016
1996
  onClose: close,
2017
- children: /*#__PURE__*/jsxs(SlidingPanel$1, {
1997
+ children: /*#__PURE__*/jsx(SlidingPanel, {
2018
1998
  ref: bottomSheetReference,
2019
1999
  open: props.open,
2020
2000
  position: Position.BOTTOM,
2021
2001
  className: classNames('np-bottom-sheet', props.className),
2022
- role: "dialog",
2023
- onTouchStart: onSwipeStart(true),
2024
- onTouchMove: onSwipeMove(true),
2025
- onTouchEnd: onSwipeEnd,
2026
- onMouseDown: onSwipeStart(false),
2027
- onMouseMove: onSwipeMove(false),
2028
- onMouseUp: onSwipeEnd,
2029
- children: [/*#__PURE__*/jsxs("div", {
2030
- ref: topBarReference,
2031
- className: "np-bottom-sheet--top-bar",
2032
- children: [/*#__PURE__*/jsx("div", {
2033
- className: "np-bottom-sheet--handler"
2034
- }), /*#__PURE__*/jsx(CloseButton, {
2035
- size: "sm",
2036
- className: "sr-only np-bottom-sheet--close-btn",
2037
- onClick: close
2002
+ children: /*#__PURE__*/jsxs("div", {
2003
+ role: "dialog",
2004
+ "aria-modal": true,
2005
+ onTouchStart: onSwipeStart,
2006
+ onTouchMove: onSwipeMove,
2007
+ onTouchEnd: onSwipeEnd,
2008
+ onMouseDown: onSwipeStart,
2009
+ onMouseMove: onSwipeMove,
2010
+ onMouseUp: onSwipeEnd,
2011
+ children: [/*#__PURE__*/jsxs("div", {
2012
+ ref: topBarReference,
2013
+ className: "np-bottom-sheet--top-bar",
2014
+ children: [/*#__PURE__*/jsx("div", {
2015
+ className: "np-bottom-sheet--handler"
2016
+ }), /*#__PURE__*/jsx(CloseButton, {
2017
+ size: "sm",
2018
+ className: "sr-only np-bottom-sheet--close-btn",
2019
+ onClick: close
2020
+ })]
2021
+ }), /*#__PURE__*/jsx("div", {
2022
+ ref: contentReference,
2023
+ style: setContentMaxHeight(),
2024
+ className: "np-bottom-sheet--content",
2025
+ children: props.children
2038
2026
  })]
2039
- }), /*#__PURE__*/jsx("div", {
2040
- ref: contentReference,
2041
- style: setContentMaxHeight(),
2042
- className: "np-bottom-sheet--content",
2043
- children: props.children
2044
- })]
2027
+ })
2045
2028
  })
2046
2029
  });
2047
2030
  };
@@ -9780,13 +9763,13 @@ var en = {
9780
9763
  "neptune.Upload.csButtonText": "Upload another file?",
9781
9764
  "neptune.Upload.csFailureText": "Upload failed. Please, try again",
9782
9765
  "neptune.Upload.csSuccessText": "Upload complete!",
9783
- "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than 5MB",
9766
+ "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than {maxSize}MB",
9784
9767
  "neptune.Upload.csWrongTypeMessage": "File type not supported. Please try again with a different file",
9785
9768
  "neptune.Upload.psButtonText": "Cancel",
9786
9769
  "neptune.Upload.psProcessingText": "Uploading...",
9787
9770
  "neptune.Upload.usButtonText": "Or select a file",
9788
9771
  "neptune.Upload.usDropMessage": "Drop file to start upload",
9789
- "neptune.Upload.usPlaceholder": "Drag and drop a file less than 5MB",
9772
+ "neptune.Upload.usPlaceholder": "Drag and drop a file less than {maxSize}MB",
9790
9773
  "neptune.UploadButton.allFileTypes": "All file types",
9791
9774
  "neptune.UploadButton.dropFiles": "Drop file to start upload",
9792
9775
  "neptune.UploadButton.instructions": "{fileTypes}, less than {size}MB",
@@ -10942,28 +10925,19 @@ function SnackbarProvider({
10942
10925
  });
10943
10926
  }
10944
10927
 
10945
- const Sticky = ({
10946
- open,
10947
- position,
10928
+ function Sticky({
10929
+ open = true,
10930
+ position = 'bottom',
10948
10931
  children
10949
- }) => /*#__PURE__*/jsx(SlidingPanel$1, {
10950
- open: open,
10951
- position: position,
10952
- slidingPanelPositionFixed: true,
10953
- showSlidingPanelBorder: true,
10954
- children: children
10955
- });
10956
- Sticky.propTypes = {
10957
- open: PropTypes.bool,
10958
- position: PropTypes.oneOf(['top', 'bottom']),
10959
- children: PropTypes.node
10960
- };
10961
- Sticky.defaultProps = {
10962
- open: true,
10963
- position: 'bottom',
10964
- children: null
10965
- };
10966
- var Sticky$1 = Sticky;
10932
+ }) {
10933
+ return /*#__PURE__*/jsx(SlidingPanel, {
10934
+ open: open,
10935
+ position: position,
10936
+ slidingPanelPositionFixed: true,
10937
+ showSlidingPanelBorder: true,
10938
+ children: children
10939
+ });
10940
+ }
10967
10941
 
10968
10942
  var messages$1 = defineMessages({
10969
10943
  statusNotDone: {
@@ -12946,7 +12920,9 @@ class Upload extends Component {
12946
12920
  getErrorMessage(status) {
12947
12921
  switch (status) {
12948
12922
  case 413:
12949
- return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage);
12923
+ return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage, {
12924
+ maxSize: this.props.maxSize / 1000000
12925
+ });
12950
12926
  case 415:
12951
12927
  return this.props.csWrongTypeMessage || this.props.intl.formatMessage(messages.csWrongTypeMessage);
12952
12928
  default:
@@ -13204,7 +13180,9 @@ class Upload extends Component {
13204
13180
  usDisabled: usDisabled,
13205
13181
  usHelpImage: usHelpImage,
13206
13182
  usLabel: usLabel,
13207
- usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder)
13183
+ usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder, {
13184
+ maxSize: this.props.maxSize / 1000000
13185
+ })
13208
13186
  }), isProcessing && /*#__PURE__*/jsx(ProcessingStep$1, {
13209
13187
  isComplete: isComplete,
13210
13188
  isError: isError,
@@ -14103,13 +14081,13 @@ var cs = {
14103
14081
  "neptune.Upload.csButtonText": "Nahrát další soubor?",
14104
14082
  "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
14105
14083
  "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
14106
- "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
14084
+ "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než {maxSize}MB",
14107
14085
  "neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
14108
14086
  "neptune.Upload.psButtonText": "Zrušit",
14109
14087
  "neptune.Upload.psProcessingText": "Načítání...",
14110
14088
  "neptune.Upload.usButtonText": "Nebo vyberte soubor",
14111
14089
  "neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
14112
- "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než 5MB",
14090
+ "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než {maxSize}MB",
14113
14091
  "neptune.UploadButton.allFileTypes": "Všechny typy souborů",
14114
14092
  "neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
14115
14093
  "neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
@@ -14161,13 +14139,13 @@ var de = {
14161
14139
  "neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
14162
14140
  "neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
14163
14141
  "neptune.Upload.csSuccessText": "Fertig hochgeladen!",
14164
- "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als 5 MB ist",
14142
+ "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als {maxSize} MB ist",
14165
14143
  "neptune.Upload.csWrongTypeMessage": "Dateityp wird nicht unterstützt. Bitte versuche es erneut mit einer anderen Datei",
14166
14144
  "neptune.Upload.psButtonText": "Abbrechen",
14167
14145
  "neptune.Upload.psProcessingText": "Wird hochgeladen...",
14168
14146
  "neptune.Upload.usButtonText": "Oder wähle eine Datei aus",
14169
14147
  "neptune.Upload.usDropMessage": "Datei zum Hochladen in dieses Feld ziehen",
14170
- "neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als 5 MB ist",
14148
+ "neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als {maxSize} MB ist",
14171
14149
  "neptune.UploadButton.allFileTypes": "Alle Dateiformate",
14172
14150
  "neptune.UploadButton.dropFiles": "Datei zum Hochladen in dieses Feld ziehen",
14173
14151
  "neptune.UploadButton.instructions": "{fileTypes}, kleiner als {size} MB",
@@ -14219,13 +14197,13 @@ var es = {
14219
14197
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
14220
14198
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
14221
14199
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
14222
- "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de 5 MB",
14200
+ "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de {maxSize}MB",
14223
14201
  "neptune.Upload.csWrongTypeMessage": "Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente",
14224
14202
  "neptune.Upload.psButtonText": "Cancela",
14225
14203
  "neptune.Upload.psProcessingText": "Subiendo...",
14226
14204
  "neptune.Upload.usButtonText": "O selecciona un archivo",
14227
14205
  "neptune.Upload.usDropMessage": "Arrastra un archivo para subirlo",
14228
- "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de 5MB",
14206
+ "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de {maxSize}MB",
14229
14207
  "neptune.UploadButton.allFileTypes": "Todos los tipos de archivos",
14230
14208
  "neptune.UploadButton.dropFiles": "Arrastra un archivo para subirlo",
14231
14209
  "neptune.UploadButton.instructions": "{fileTypes}, menor que {size}MB",
@@ -14277,13 +14255,13 @@ var fr = {
14277
14255
  "neptune.Upload.csButtonText": "Envoyer un autre fichier ?",
14278
14256
  "neptune.Upload.csFailureText": "Échec du téléchargement. Veuillez réessayer",
14279
14257
  "neptune.Upload.csSuccessText": "Téléchargement terminé !",
14280
- "neptune.Upload.csTooLargeMessage": "Veuillez fournir un fichier inférieur à 5 Mo",
14258
+ "neptune.Upload.csTooLargeMessage": "Veuillez fournir un fichier de moins de {maxSize} Mo",
14281
14259
  "neptune.Upload.csWrongTypeMessage": "Format non pris en charge. Veuillez réessayer avec un fichier différent",
14282
14260
  "neptune.Upload.psButtonText": "Annuler",
14283
14261
  "neptune.Upload.psProcessingText": "Téléchargement...",
14284
14262
  "neptune.Upload.usButtonText": "Ou sélectionnez un fichier",
14285
14263
  "neptune.Upload.usDropMessage": "Déposer un fichier pour démarrer le téléchargement",
14286
- "neptune.Upload.usPlaceholder": "Glissez et déposez un fichier inférieur à 5 Mo",
14264
+ "neptune.Upload.usPlaceholder": "Glissez-déposez un fichier de moins de {maxSize} Mo",
14287
14265
  "neptune.UploadButton.allFileTypes": "Tous types de fichiers",
14288
14266
  "neptune.UploadButton.dropFiles": "Déposer un fichier pour démarrer le téléchargement",
14289
14267
  "neptune.UploadButton.instructions": "{fileTypes}, inférieur à {size} Mo",
@@ -14335,13 +14313,13 @@ var hu = {
14335
14313
  "neptune.Upload.csButtonText": "Másik fájl feltöltése?",
14336
14314
  "neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
14337
14315
  "neptune.Upload.csSuccessText": "Feltöltés sikeres",
14338
- "neptune.Upload.csTooLargeMessage": "Kérünk, 5 MB-nál kisebb fájlt tölts fel",
14316
+ "neptune.Upload.csTooLargeMessage": "Kérünk, {maxSize} MB-nál kisebb fájlt tölts fel",
14339
14317
  "neptune.Upload.csWrongTypeMessage": "Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal",
14340
14318
  "neptune.Upload.psButtonText": "Mégsem",
14341
14319
  "neptune.Upload.psProcessingText": "Feltöltés...",
14342
14320
  "neptune.Upload.usButtonText": "Vagy válaszd ki a fájlt",
14343
14321
  "neptune.Upload.usDropMessage": "Húzd ide a fájlokat a feltöltéshez",
14344
- "neptune.Upload.usPlaceholder": "Húzz ide egy 5MB-nál kisebb fájlt",
14322
+ "neptune.Upload.usPlaceholder": "Húzz ide egy {maxSize} MB-nál kisebb fájlt",
14345
14323
  "neptune.UploadButton.allFileTypes": "Összes fájltípus",
14346
14324
  "neptune.UploadButton.dropFiles": "Húzd a fájlokat ide a feltöltéshez",
14347
14325
  "neptune.UploadButton.instructions": "{fileTypes}, legfeljebb {size}MB",
@@ -14393,13 +14371,13 @@ var id = {
14393
14371
  "neptune.Upload.csButtonText": "Unggah file lainnya?",
14394
14372
  "neptune.Upload.csFailureText": "Unggahan gagal. Silakan coba lagi",
14395
14373
  "neptune.Upload.csSuccessText": "Pengunggahan selesai!",
14396
- "neptune.Upload.csTooLargeMessage": "Harap berikan file kurang dari 5MB",
14374
+ "neptune.Upload.csTooLargeMessage": "Harap berikan file yang lebih kecil dari {maxSize} MB",
14397
14375
  "neptune.Upload.csWrongTypeMessage": "Tipe file ini tidak didukung. Mohon coba lagi dengan file yang berbeda",
14398
14376
  "neptune.Upload.psButtonText": "Batalkan",
14399
14377
  "neptune.Upload.psProcessingText": "Mengunggah...",
14400
14378
  "neptune.Upload.usButtonText": "Atau pilih file",
14401
14379
  "neptune.Upload.usDropMessage": "Letakkan file untuk mulai mengunggah",
14402
- "neptune.Upload.usPlaceholder": "Geser dan letakkan file berukuran kurang dari 5MB",
14380
+ "neptune.Upload.usPlaceholder": "Seret dan lepas file yang kurang dari {maxSize} MB",
14403
14381
  "neptune.UploadButton.allFileTypes": "Semua jenis file",
14404
14382
  "neptune.UploadButton.dropFiles": "Lepaskan file untuk mulai mengunggah",
14405
14383
  "neptune.UploadButton.instructions": "{fileTypes}, kurang dari {size}MB",
@@ -14451,13 +14429,13 @@ var it = {
14451
14429
  "neptune.Upload.csButtonText": "Carica un altro documento?",
14452
14430
  "neptune.Upload.csFailureText": "Caricamento fallito. Per favore riprova",
14453
14431
  "neptune.Upload.csSuccessText": "Caricamento completato!",
14454
- "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di 5MB",
14432
+ "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di {maxSize}MB",
14455
14433
  "neptune.Upload.csWrongTypeMessage": "Formato del documento non supportato. Riprova con un formato diverso",
14456
14434
  "neptune.Upload.psButtonText": "Annulla",
14457
14435
  "neptune.Upload.psProcessingText": "Caricamento...",
14458
14436
  "neptune.Upload.usButtonText": "O seleziona un documento",
14459
14437
  "neptune.Upload.usDropMessage": "Rilascia il documento per iniziare il caricamento",
14460
- "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a 5MB",
14438
+ "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a {maxSize}MB",
14461
14439
  "neptune.UploadButton.allFileTypes": "Tutti i tipi di file",
14462
14440
  "neptune.UploadButton.dropFiles": "Rilascia file per iniziare a caricare",
14463
14441
  "neptune.UploadButton.instructions": "{fileTypes}, minore di {size}MB",
@@ -14509,13 +14487,13 @@ var ja = {
14509
14487
  "neptune.Upload.csButtonText": "別のファイルをアップロードしますか?",
14510
14488
  "neptune.Upload.csFailureText": "アップロードに失敗しました。もう一度やり直してください。",
14511
14489
  "neptune.Upload.csSuccessText": "アップロードが完了しました。",
14512
- "neptune.Upload.csTooLargeMessage": "5MBよりも小さいファイルをアップロードください",
14490
+ "neptune.Upload.csTooLargeMessage": "{maxSize}MB以下のファイルをアップロードしてください",
14513
14491
  "neptune.Upload.csWrongTypeMessage": "ファイルの種類はサポートされていません。別のファイルで再度お試しください",
14514
14492
  "neptune.Upload.psButtonText": "キャンセル",
14515
14493
  "neptune.Upload.psProcessingText": "アップロード中…",
14516
14494
  "neptune.Upload.usButtonText": "または、ファイルを選択する",
14517
14495
  "neptune.Upload.usDropMessage": "ファイルをドロップしてアップロードする",
14518
- "neptune.Upload.usPlaceholder": "5MB以下のファイルのみドラッグ&ドロップが可能です",
14496
+ "neptune.Upload.usPlaceholder": "{maxSize}MB以下のファイルをドラッグ&ドロップしてください",
14519
14497
  "neptune.UploadButton.allFileTypes": "すべてのファイル種類",
14520
14498
  "neptune.UploadButton.dropFiles": "ファイルをドロップしてアップロードする",
14521
14499
  "neptune.UploadButton.instructions": "{fileTypes}、{size}MB以下",
@@ -14567,13 +14545,13 @@ var pl = {
14567
14545
  "neptune.Upload.csButtonText": "Prześlij kolejny plik?",
14568
14546
  "neptune.Upload.csFailureText": "Przesyłanie nie powiodło się. Proszę spróbować ponownie",
14569
14547
  "neptune.Upload.csSuccessText": "Przesyłanie zakończone!",
14570
- "neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż 5MB",
14548
+ "neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż {maxSize}MB",
14571
14549
  "neptune.Upload.csWrongTypeMessage": "Nieobsługiwany typ pliku. Spróbuj ponownie z innym plikiem",
14572
14550
  "neptune.Upload.psButtonText": "Anuluj",
14573
14551
  "neptune.Upload.psProcessingText": "Przesyłanie...",
14574
14552
  "neptune.Upload.usButtonText": "Lub wybierz plik",
14575
14553
  "neptune.Upload.usDropMessage": "Upuść plik, aby rozpocząć przesyłanie",
14576
- "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż 5MB",
14554
+ "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż {maxSize}MB",
14577
14555
  "neptune.UploadButton.allFileTypes": "Wszystkie typy plików",
14578
14556
  "neptune.UploadButton.dropFiles": "Upuść plik, żeby rozpocząć przesyłanie",
14579
14557
  "neptune.UploadButton.instructions": "{fileTypes}, mniejsze niż {size}MB",
@@ -14625,13 +14603,13 @@ var pt = {
14625
14603
  "neptune.Upload.csButtonText": "Enviar outro documento?",
14626
14604
  "neptune.Upload.csFailureText": "Falha no envio. Por favor, tente novamente",
14627
14605
  "neptune.Upload.csSuccessText": "Envio concluído!",
14628
- "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de 5MB",
14606
+ "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de {maxSize}MB",
14629
14607
  "neptune.Upload.csWrongTypeMessage": "Não trabalhamos com este tipo de arquivo. Por favor, tente novamente com um arquivo diferente",
14630
14608
  "neptune.Upload.psButtonText": "Cancelar",
14631
14609
  "neptune.Upload.psProcessingText": "Enviando...",
14632
14610
  "neptune.Upload.usButtonText": "Ou escolha um arquivo",
14633
14611
  "neptune.Upload.usDropMessage": "Arraste o arquivo para iniciar o envio",
14634
- "neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que 5MB",
14612
+ "neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que {maxSize}MB",
14635
14613
  "neptune.UploadButton.allFileTypes": "Todos os tipos de arquivos",
14636
14614
  "neptune.UploadButton.dropFiles": "Arraste o arquivo para iniciar o envio",
14637
14615
  "neptune.UploadButton.instructions": "{fileTypes}, com menos de {size}MB",
@@ -14683,13 +14661,13 @@ var ro = {
14683
14661
  "neptune.Upload.csButtonText": "Încarci un alt fișier?",
14684
14662
  "neptune.Upload.csFailureText": "Încărcare eșuată. Te rugăm să încerci din nou",
14685
14663
  "neptune.Upload.csSuccessText": "Încărcare completă!",
14686
- "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de 5MB",
14664
+ "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de {maxSize} MB",
14687
14665
  "neptune.Upload.csWrongTypeMessage": "Tipul de fișier nu a fost acceptat. Te rugăm să încerci din nou cu un alt fișier",
14688
14666
  "neptune.Upload.psButtonText": "Anulează",
14689
14667
  "neptune.Upload.psProcessingText": "Se încarcă...",
14690
14668
  "neptune.Upload.usButtonText": "Sau selectează un fișier",
14691
14669
  "neptune.Upload.usDropMessage": "Atașează fișierul pentru a începe încărcarea",
14692
- "neptune.Upload.usPlaceholder": "Glisează și atașează un fișier de până în 5MB",
14670
+ "neptune.Upload.usPlaceholder": "Glisează și atașează un fișier mai mic de {maxSize} MB",
14693
14671
  "neptune.UploadButton.allFileTypes": "Toate tipurile de fișiere",
14694
14672
  "neptune.UploadButton.dropFiles": "Trage fișierul pentru a începe încărcarea",
14695
14673
  "neptune.UploadButton.instructions": "{fileTypes}, de maximum {size}MB",
@@ -14741,13 +14719,13 @@ var ru = {
14741
14719
  "neptune.Upload.csButtonText": "Загрузить другой файл?",
14742
14720
  "neptune.Upload.csFailureText": "Загрузка не удалась. Пожалуйста, попробуйте снова",
14743
14721
  "neptune.Upload.csSuccessText": "Загрузка завершена!",
14744
- "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее 5MB",
14722
+ "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее {maxSize} Мб",
14745
14723
  "neptune.Upload.csWrongTypeMessage": "Тип файла не поддерживается. Пожалуйста, попробуйте еще раз с другим файлом",
14746
14724
  "neptune.Upload.psButtonText": "Отменить",
14747
14725
  "neptune.Upload.psProcessingText": "Загружаем...",
14748
14726
  "neptune.Upload.usButtonText": "Или выберите файл",
14749
14727
  "neptune.Upload.usDropMessage": "Перетащите файл, чтобы начать загрузку",
14750
- "neptune.Upload.usPlaceholder": "Перетащите файл не больше 5MB",
14728
+ "neptune.Upload.usPlaceholder": "Перетащите файл размером не более {maxSize} Mб",
14751
14729
  "neptune.UploadButton.allFileTypes": "Все типы файлов",
14752
14730
  "neptune.UploadButton.dropFiles": "Перетащите файл, чтобы начать загрузку",
14753
14731
  "neptune.UploadButton.instructions": "{fileTypes}, не превышающий {size} MB",
@@ -14799,13 +14777,13 @@ var th = {
14799
14777
  "neptune.Upload.csButtonText": "อัพโหลดไฟล์อื่นหรือไม่",
14800
14778
  "neptune.Upload.csFailureText": "การอัปโหลดล้มเหลว กรุณาลองอีกครั้ง",
14801
14779
  "neptune.Upload.csSuccessText": "อัปโหลดเสร็จสมบูรณ์!",
14802
- "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า 5MB",
14780
+ "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า {maxSize}MB",
14803
14781
  "neptune.Upload.csWrongTypeMessage": "ไม่รองรับประเภทไฟล์ โปรดลองอีกครั้งโดยใช้ไฟล์อื่น",
14804
14782
  "neptune.Upload.psButtonText": "ยกเลิก",
14805
14783
  "neptune.Upload.psProcessingText": "กำลังอัปโหลด...",
14806
14784
  "neptune.Upload.usButtonText": "หรือเลือกไฟล์",
14807
14785
  "neptune.Upload.usDropMessage": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14808
- "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน 5MB",
14786
+ "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน {maxSize}MB",
14809
14787
  "neptune.UploadButton.allFileTypes": "ไฟล์ทุกประเภท",
14810
14788
  "neptune.UploadButton.dropFiles": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14811
14789
  "neptune.UploadButton.instructions": "{fileTypes} น้อยกว่า {size}MB",
@@ -14857,13 +14835,13 @@ var tr = {
14857
14835
  "neptune.Upload.csButtonText": "Başka bir dosya yükleyin?",
14858
14836
  "neptune.Upload.csFailureText": "Yükleme başarısız. Lütfen yine deneyin",
14859
14837
  "neptune.Upload.csSuccessText": "Yükleme tamamlandı!",
14860
- "neptune.Upload.csTooLargeMessage": "Lütfen 5 MB'den hüçük bir dosya sağlayın",
14838
+ "neptune.Upload.csTooLargeMessage": "Lütfen {maxSize} MB'den küçük bir dosya sağlayın",
14861
14839
  "neptune.Upload.csWrongTypeMessage": "Desteklenmeyen dosya biçimi. Lütfen başka bir dosyayla tekrar deneyin",
14862
14840
  "neptune.Upload.psButtonText": "İptal edin",
14863
14841
  "neptune.Upload.psProcessingText": "Yükleniyor...",
14864
14842
  "neptune.Upload.usButtonText": "Veya bir dosya seçin",
14865
14843
  "neptune.Upload.usDropMessage": "Yüklemeyi başlatmak için dosyayı bırakın",
14866
- "neptune.Upload.usPlaceholder": "5 MB'den küçük bir dosya sürükleyin ve bırakın",
14844
+ "neptune.Upload.usPlaceholder": "{maxSize} MB'den küçük bir dosya sürükleyin ve bırakın",
14867
14845
  "neptune.UploadButton.allFileTypes": "Tüm belge tipleri",
14868
14846
  "neptune.UploadButton.dropFiles": "Yüklemeyi başlatmak için dosyayı bırakın",
14869
14847
  "neptune.UploadButton.instructions": "{fileTypes}, en fazla {size}MB",
@@ -14972,13 +14950,13 @@ var zhCN = {
14972
14950
  "neptune.Upload.csButtonText": "上传另一个文件?",
14973
14951
  "neptune.Upload.csFailureText": "上传失败。请重试",
14974
14952
  "neptune.Upload.csSuccessText": "上传完毕!",
14975
- "neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
14953
+ "neptune.Upload.csTooLargeMessage": "请提供小于 {maxSize}MB 的文件",
14976
14954
  "neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
14977
14955
  "neptune.Upload.psButtonText": "取消",
14978
14956
  "neptune.Upload.psProcessingText": "正在上传…",
14979
14957
  "neptune.Upload.usButtonText": "或选择文件",
14980
14958
  "neptune.Upload.usDropMessage": "拖放文件开始上传",
14981
- "neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
14959
+ "neptune.Upload.usPlaceholder": "拖放小于 {maxSize}MB 的文件",
14982
14960
  "neptune.UploadButton.allFileTypes": "所有文件类型",
14983
14961
  "neptune.UploadButton.dropFiles": "拖放文件开始上传",
14984
14962
  "neptune.UploadButton.instructions": "{fileTypes},小于 {size} MB",
@@ -15030,13 +15008,13 @@ var zhHK = {
15030
15008
  "neptune.Upload.csButtonText": "上載另一個檔案?",
15031
15009
  "neptune.Upload.csFailureText": "上載失敗,請重試。",
15032
15010
  "neptune.Upload.csSuccessText": "上載完成!",
15033
- "neptune.Upload.csTooLargeMessage": "請提供小於5MB的檔案",
15011
+ "neptune.Upload.csTooLargeMessage": "請提供小於{maxSize}MB的檔案",
15034
15012
  "neptune.Upload.csWrongTypeMessage": "不支持檔案類型,請使用其他檔案重試",
15035
15013
  "neptune.Upload.psButtonText": "取消",
15036
15014
  "neptune.Upload.psProcessingText": "上載中...",
15037
15015
  "neptune.Upload.usButtonText": "或者選擇一個檔案",
15038
15016
  "neptune.Upload.usDropMessage": "拖放檔案以開始上載",
15039
- "neptune.Upload.usPlaceholder": "拖放不超過5MB的檔案",
15017
+ "neptune.Upload.usPlaceholder": "拖放不超過{maxSize}MB的檔案",
15040
15018
  "neptune.UploadButton.allFileTypes": "所有檔案類型",
15041
15019
  "neptune.UploadButton.dropFiles": "拖放檔案以開始上載",
15042
15020
  "neptune.UploadButton.instructions": "{fileTypes},小於{size}MB",
@@ -15078,5 +15056,5 @@ const translations = {
15078
15056
  'zh-HK': zhHK
15079
15057
  };
15080
15058
 
15081
- 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$1 as Loader, Logo$1 as Logo, LogoType, Markdown, MarkdownNodeType, Modal, Money$1 as Money, MoneyInput$1 as MoneyInput, MonthFormat, NavigationOption, NavigationOptionList$1 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$1 as SlidingPanel, SnackbarConsumer, SnackbarContext, SnackbarPortal, SnackbarProvider, Status, StatusIcon, Stepper, Sticky$1 as Sticky, Summary, Switch, SwitchOption, Tabs$1 as Tabs, TextArea, TextareaWithDisplayFormat, Theme, Title, Tooltip$1 as Tooltip, Type, Typeahead, Typography, Upload$1 as Upload, UploadInput, UploadStep, Variant, Width, adjustLocale, getCountryFromLocale, getDirectionFromLocale, getLangFromLocale, isBrowser, isServerSide, translations, useDirection, useLayout, useScreenSize, useSnackbar };
15059
+ 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$1 as Loader, Logo$1 as Logo, LogoType, Markdown, MarkdownNodeType, Modal, Money$1 as Money, MoneyInput$1 as MoneyInput, MonthFormat, NavigationOption, NavigationOptionList$1 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$1 as Tooltip, Type, Typeahead, Typography, Upload$1 as Upload, UploadInput, UploadStep, Variant, Width, adjustLocale, getCountryFromLocale, getDirectionFromLocale, getLangFromLocale, isBrowser, isServerSide, translations, useDirection, useLayout, useScreenSize, useSnackbar };
15082
15060
  //# sourceMappingURL=index.esm.js.map