@transferwise/components 46.20.1 → 46.22.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 (82) hide show
  1. package/README.md +1 -1
  2. package/build/i18n/cs.json +2 -2
  3. package/build/i18n/de.json +3 -3
  4. package/build/i18n/en.json +2 -2
  5. package/build/i18n/es.json +2 -2
  6. package/build/i18n/fr.json +2 -2
  7. package/build/i18n/hu.json +2 -2
  8. package/build/i18n/id.json +2 -2
  9. package/build/i18n/it.json +2 -2
  10. package/build/i18n/ja.json +2 -2
  11. package/build/i18n/pl.json +2 -2
  12. package/build/i18n/pt.json +2 -2
  13. package/build/i18n/ro.json +2 -2
  14. package/build/i18n/ru.json +2 -2
  15. package/build/i18n/th.json +2 -2
  16. package/build/i18n/tr.json +2 -2
  17. package/build/i18n/zh-CN.json +2 -2
  18. package/build/i18n/zh-HK.json +2 -2
  19. package/build/index.esm.js +96 -114
  20. package/build/index.esm.js.map +1 -1
  21. package/build/index.js +97 -115
  22. package/build/index.js.map +1 -1
  23. package/build/mocks.d.ts +9 -0
  24. package/build/mocks.d.ts.map +1 -0
  25. package/build/mocks.esm.js +27 -33
  26. package/build/mocks.esm.js.map +1 -1
  27. package/build/mocks.js +27 -33
  28. package/build/mocks.js.map +1 -1
  29. package/build/types/circularButton/CircularButton.d.ts +2 -2
  30. package/build/types/circularButton/CircularButton.d.ts.map +1 -1
  31. package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -1
  32. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  33. package/build/types/index.d.ts +2 -0
  34. package/build/types/index.d.ts.map +1 -1
  35. package/build/types/slidingPanel/SlidingPanel.d.ts +12 -17
  36. package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
  37. package/build/types/slidingPanel/index.d.ts +2 -1
  38. package/build/types/slidingPanel/index.d.ts.map +1 -1
  39. package/build/types/sticky/Sticky.d.ts +9 -14
  40. package/build/types/sticky/Sticky.d.ts.map +1 -1
  41. package/build/types/sticky/index.d.ts +2 -1
  42. package/build/types/sticky/index.d.ts.map +1 -1
  43. package/build/types/upload/Upload.d.ts.map +1 -1
  44. package/package.json +3 -19
  45. package/src/circularButton/CircularButton.tsx +2 -2
  46. package/src/common/bottomSheet/BottomSheet.tsx +47 -41
  47. package/src/common/bottomSheet/__snapshots__/BottomSheet.spec.tsx.snap +37 -33
  48. package/src/dateInput/DateInput.tsx +6 -2
  49. package/src/i18n/cs.json +2 -2
  50. package/src/i18n/de.json +3 -3
  51. package/src/i18n/en.json +2 -2
  52. package/src/i18n/es.json +2 -2
  53. package/src/i18n/fr.json +2 -2
  54. package/src/i18n/hu.json +2 -2
  55. package/src/i18n/id.json +2 -2
  56. package/src/i18n/it.json +2 -2
  57. package/src/i18n/ja.json +2 -2
  58. package/src/i18n/pl.json +2 -2
  59. package/src/i18n/pt.json +2 -2
  60. package/src/i18n/ro.json +2 -2
  61. package/src/i18n/ru.json +2 -2
  62. package/src/i18n/th.json +2 -2
  63. package/src/i18n/tr.json +2 -2
  64. package/src/i18n/zh-CN.json +2 -2
  65. package/src/i18n/zh-HK.json +2 -2
  66. package/src/index.ts +2 -0
  67. package/src/select/Select.spec.js +1 -1
  68. package/src/slidingPanel/SlidingPanel.spec.js +9 -19
  69. package/src/slidingPanel/SlidingPanel.tsx +62 -0
  70. package/src/slidingPanel/index.ts +2 -0
  71. package/src/sticky/Sticky.spec.js +0 -1
  72. package/src/sticky/{Sticky.story.js → Sticky.story.tsx} +2 -3
  73. package/src/sticky/Sticky.tsx +16 -0
  74. package/src/sticky/index.ts +2 -0
  75. package/src/upload/Upload.js +8 -2
  76. package/src/upload/Upload.messages.js +2 -2
  77. package/src/upload/Upload.story.js +1 -1
  78. package/src/slidingPanel/SlidingPanel.js +0 -73
  79. package/src/slidingPanel/index.js +0 -1
  80. package/src/sticky/Sticky.js +0 -23
  81. package/src/sticky/index.js +0 -1
  82. /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
  };
@@ -2951,7 +2934,9 @@ const DateInput = ({
2951
2934
  }), /*#__PURE__*/jsx("div", {
2952
2935
  className: `input-group input-group-${size}`,
2953
2936
  children: /*#__PURE__*/jsx(Input, {
2954
- type: "number",
2937
+ type: "text",
2938
+ inputMode: "numeric",
2939
+ pattern: "[0-9]*",
2955
2940
  name: "day",
2956
2941
  autoComplete: dayAutoComplete,
2957
2942
  value: day || '',
@@ -2974,7 +2959,9 @@ const DateInput = ({
2974
2959
  }), /*#__PURE__*/jsx("div", {
2975
2960
  className: `input-group input-group-${size}`,
2976
2961
  children: /*#__PURE__*/jsx(Input, {
2977
- type: "number",
2962
+ type: "text",
2963
+ inputMode: "numeric",
2964
+ pattern: "[0-9]*",
2978
2965
  name: "year",
2979
2966
  autoComplete: yearAutoComplete,
2980
2967
  placeholder: placeholders.year,
@@ -9780,13 +9767,13 @@ var en = {
9780
9767
  "neptune.Upload.csButtonText": "Upload another file?",
9781
9768
  "neptune.Upload.csFailureText": "Upload failed. Please, try again",
9782
9769
  "neptune.Upload.csSuccessText": "Upload complete!",
9783
- "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than 5MB",
9770
+ "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than {maxSize}MB",
9784
9771
  "neptune.Upload.csWrongTypeMessage": "File type not supported. Please try again with a different file",
9785
9772
  "neptune.Upload.psButtonText": "Cancel",
9786
9773
  "neptune.Upload.psProcessingText": "Uploading...",
9787
9774
  "neptune.Upload.usButtonText": "Or select a file",
9788
9775
  "neptune.Upload.usDropMessage": "Drop file to start upload",
9789
- "neptune.Upload.usPlaceholder": "Drag and drop a file less than 5MB",
9776
+ "neptune.Upload.usPlaceholder": "Drag and drop a file less than {maxSize}MB",
9790
9777
  "neptune.UploadButton.allFileTypes": "All file types",
9791
9778
  "neptune.UploadButton.dropFiles": "Drop file to start upload",
9792
9779
  "neptune.UploadButton.instructions": "{fileTypes}, less than {size}MB",
@@ -10942,28 +10929,19 @@ function SnackbarProvider({
10942
10929
  });
10943
10930
  }
10944
10931
 
10945
- const Sticky = ({
10946
- open,
10947
- position,
10932
+ function Sticky({
10933
+ open = true,
10934
+ position = 'bottom',
10948
10935
  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;
10936
+ }) {
10937
+ return /*#__PURE__*/jsx(SlidingPanel, {
10938
+ open: open,
10939
+ position: position,
10940
+ slidingPanelPositionFixed: true,
10941
+ showSlidingPanelBorder: true,
10942
+ children: children
10943
+ });
10944
+ }
10967
10945
 
10968
10946
  var messages$1 = defineMessages({
10969
10947
  statusNotDone: {
@@ -12946,7 +12924,9 @@ class Upload extends Component {
12946
12924
  getErrorMessage(status) {
12947
12925
  switch (status) {
12948
12926
  case 413:
12949
- return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage);
12927
+ return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage, {
12928
+ maxSize: this.props.maxSize / 1000000
12929
+ });
12950
12930
  case 415:
12951
12931
  return this.props.csWrongTypeMessage || this.props.intl.formatMessage(messages.csWrongTypeMessage);
12952
12932
  default:
@@ -13204,7 +13184,9 @@ class Upload extends Component {
13204
13184
  usDisabled: usDisabled,
13205
13185
  usHelpImage: usHelpImage,
13206
13186
  usLabel: usLabel,
13207
- usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder)
13187
+ usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder, {
13188
+ maxSize: this.props.maxSize / 1000000
13189
+ })
13208
13190
  }), isProcessing && /*#__PURE__*/jsx(ProcessingStep$1, {
13209
13191
  isComplete: isComplete,
13210
13192
  isError: isError,
@@ -14103,13 +14085,13 @@ var cs = {
14103
14085
  "neptune.Upload.csButtonText": "Nahrát další soubor?",
14104
14086
  "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
14105
14087
  "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
14106
- "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
14088
+ "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než {maxSize}MB",
14107
14089
  "neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
14108
14090
  "neptune.Upload.psButtonText": "Zrušit",
14109
14091
  "neptune.Upload.psProcessingText": "Načítání...",
14110
14092
  "neptune.Upload.usButtonText": "Nebo vyberte soubor",
14111
14093
  "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",
14094
+ "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než {maxSize}MB",
14113
14095
  "neptune.UploadButton.allFileTypes": "Všechny typy souborů",
14114
14096
  "neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
14115
14097
  "neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
@@ -14152,7 +14134,7 @@ var de = {
14152
14134
  "neptune.Info.ariaLabel": "Weitere Informationen",
14153
14135
  "neptune.Link.opensInNewTab": "(wird in einem neuen Tab geöffnet)",
14154
14136
  "neptune.MoneyInput.Select.placeholder": "Wähle eine der Möglichkeiten aus...",
14155
- "neptune.PhoneNumberInput.SelectInput.placeholder": "Wähle eine der Möglichkeiten aus...",
14137
+ "neptune.PhoneNumberInput.SelectInput.placeholder": "Wähle eine Option...",
14156
14138
  "neptune.Select.searchPlaceholder": "Wird gesucht...",
14157
14139
  "neptune.SelectInput.noResultsFound": "Keine Ergebnisse gefunden",
14158
14140
  "neptune.Summary.statusDone": "Schritt erledigt",
@@ -14161,13 +14143,13 @@ var de = {
14161
14143
  "neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
14162
14144
  "neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
14163
14145
  "neptune.Upload.csSuccessText": "Fertig hochgeladen!",
14164
- "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als 5 MB ist",
14146
+ "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als {maxSize} MB ist",
14165
14147
  "neptune.Upload.csWrongTypeMessage": "Dateityp wird nicht unterstützt. Bitte versuche es erneut mit einer anderen Datei",
14166
14148
  "neptune.Upload.psButtonText": "Abbrechen",
14167
14149
  "neptune.Upload.psProcessingText": "Wird hochgeladen...",
14168
14150
  "neptune.Upload.usButtonText": "Oder wähle eine Datei aus",
14169
14151
  "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",
14152
+ "neptune.Upload.usPlaceholder": "Zieh eine Datei in dieses Feld, die kleiner als {maxSize} MB ist",
14171
14153
  "neptune.UploadButton.allFileTypes": "Alle Dateiformate",
14172
14154
  "neptune.UploadButton.dropFiles": "Datei zum Hochladen in dieses Feld ziehen",
14173
14155
  "neptune.UploadButton.instructions": "{fileTypes}, kleiner als {size} MB",
@@ -14219,13 +14201,13 @@ var es = {
14219
14201
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
14220
14202
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
14221
14203
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
14222
- "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de 5 MB",
14204
+ "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de {maxSize}MB",
14223
14205
  "neptune.Upload.csWrongTypeMessage": "Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente",
14224
14206
  "neptune.Upload.psButtonText": "Cancela",
14225
14207
  "neptune.Upload.psProcessingText": "Subiendo...",
14226
14208
  "neptune.Upload.usButtonText": "O selecciona un archivo",
14227
14209
  "neptune.Upload.usDropMessage": "Arrastra un archivo para subirlo",
14228
- "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de 5MB",
14210
+ "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de {maxSize}MB",
14229
14211
  "neptune.UploadButton.allFileTypes": "Todos los tipos de archivos",
14230
14212
  "neptune.UploadButton.dropFiles": "Arrastra un archivo para subirlo",
14231
14213
  "neptune.UploadButton.instructions": "{fileTypes}, menor que {size}MB",
@@ -14277,13 +14259,13 @@ var fr = {
14277
14259
  "neptune.Upload.csButtonText": "Envoyer un autre fichier ?",
14278
14260
  "neptune.Upload.csFailureText": "Échec du téléchargement. Veuillez réessayer",
14279
14261
  "neptune.Upload.csSuccessText": "Téléchargement terminé !",
14280
- "neptune.Upload.csTooLargeMessage": "Veuillez fournir un fichier inférieur à 5 Mo",
14262
+ "neptune.Upload.csTooLargeMessage": "Veuillez fournir un fichier de moins de {maxSize} Mo",
14281
14263
  "neptune.Upload.csWrongTypeMessage": "Format non pris en charge. Veuillez réessayer avec un fichier différent",
14282
14264
  "neptune.Upload.psButtonText": "Annuler",
14283
14265
  "neptune.Upload.psProcessingText": "Téléchargement...",
14284
14266
  "neptune.Upload.usButtonText": "Ou sélectionnez un fichier",
14285
14267
  "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",
14268
+ "neptune.Upload.usPlaceholder": "Glissez-déposez un fichier de moins de {maxSize} Mo",
14287
14269
  "neptune.UploadButton.allFileTypes": "Tous types de fichiers",
14288
14270
  "neptune.UploadButton.dropFiles": "Déposer un fichier pour démarrer le téléchargement",
14289
14271
  "neptune.UploadButton.instructions": "{fileTypes}, inférieur à {size} Mo",
@@ -14335,13 +14317,13 @@ var hu = {
14335
14317
  "neptune.Upload.csButtonText": "Másik fájl feltöltése?",
14336
14318
  "neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
14337
14319
  "neptune.Upload.csSuccessText": "Feltöltés sikeres",
14338
- "neptune.Upload.csTooLargeMessage": "Kérünk, 5 MB-nál kisebb fájlt tölts fel",
14320
+ "neptune.Upload.csTooLargeMessage": "Kérünk, {maxSize} MB-nál kisebb fájlt tölts fel",
14339
14321
  "neptune.Upload.csWrongTypeMessage": "Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal",
14340
14322
  "neptune.Upload.psButtonText": "Mégsem",
14341
14323
  "neptune.Upload.psProcessingText": "Feltöltés...",
14342
14324
  "neptune.Upload.usButtonText": "Vagy válaszd ki a fájlt",
14343
14325
  "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",
14326
+ "neptune.Upload.usPlaceholder": "Húzz ide egy {maxSize} MB-nál kisebb fájlt",
14345
14327
  "neptune.UploadButton.allFileTypes": "Összes fájltípus",
14346
14328
  "neptune.UploadButton.dropFiles": "Húzd a fájlokat ide a feltöltéshez",
14347
14329
  "neptune.UploadButton.instructions": "{fileTypes}, legfeljebb {size}MB",
@@ -14393,13 +14375,13 @@ var id = {
14393
14375
  "neptune.Upload.csButtonText": "Unggah file lainnya?",
14394
14376
  "neptune.Upload.csFailureText": "Unggahan gagal. Silakan coba lagi",
14395
14377
  "neptune.Upload.csSuccessText": "Pengunggahan selesai!",
14396
- "neptune.Upload.csTooLargeMessage": "Harap berikan file kurang dari 5MB",
14378
+ "neptune.Upload.csTooLargeMessage": "Harap berikan file yang lebih kecil dari {maxSize} MB",
14397
14379
  "neptune.Upload.csWrongTypeMessage": "Tipe file ini tidak didukung. Mohon coba lagi dengan file yang berbeda",
14398
14380
  "neptune.Upload.psButtonText": "Batalkan",
14399
14381
  "neptune.Upload.psProcessingText": "Mengunggah...",
14400
14382
  "neptune.Upload.usButtonText": "Atau pilih file",
14401
14383
  "neptune.Upload.usDropMessage": "Letakkan file untuk mulai mengunggah",
14402
- "neptune.Upload.usPlaceholder": "Geser dan letakkan file berukuran kurang dari 5MB",
14384
+ "neptune.Upload.usPlaceholder": "Seret dan lepas file yang kurang dari {maxSize} MB",
14403
14385
  "neptune.UploadButton.allFileTypes": "Semua jenis file",
14404
14386
  "neptune.UploadButton.dropFiles": "Lepaskan file untuk mulai mengunggah",
14405
14387
  "neptune.UploadButton.instructions": "{fileTypes}, kurang dari {size}MB",
@@ -14451,13 +14433,13 @@ var it = {
14451
14433
  "neptune.Upload.csButtonText": "Carica un altro documento?",
14452
14434
  "neptune.Upload.csFailureText": "Caricamento fallito. Per favore riprova",
14453
14435
  "neptune.Upload.csSuccessText": "Caricamento completato!",
14454
- "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di 5MB",
14436
+ "neptune.Upload.csTooLargeMessage": "Carica un file inferiore a {maxSize}MB",
14455
14437
  "neptune.Upload.csWrongTypeMessage": "Formato del documento non supportato. Riprova con un formato diverso",
14456
14438
  "neptune.Upload.psButtonText": "Annulla",
14457
14439
  "neptune.Upload.psProcessingText": "Caricamento...",
14458
14440
  "neptune.Upload.usButtonText": "O seleziona un documento",
14459
14441
  "neptune.Upload.usDropMessage": "Rilascia il documento per iniziare il caricamento",
14460
- "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a 5MB",
14442
+ "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a {maxSize}MB",
14461
14443
  "neptune.UploadButton.allFileTypes": "Tutti i tipi di file",
14462
14444
  "neptune.UploadButton.dropFiles": "Rilascia file per iniziare a caricare",
14463
14445
  "neptune.UploadButton.instructions": "{fileTypes}, minore di {size}MB",
@@ -14509,13 +14491,13 @@ var ja = {
14509
14491
  "neptune.Upload.csButtonText": "別のファイルをアップロードしますか?",
14510
14492
  "neptune.Upload.csFailureText": "アップロードに失敗しました。もう一度やり直してください。",
14511
14493
  "neptune.Upload.csSuccessText": "アップロードが完了しました。",
14512
- "neptune.Upload.csTooLargeMessage": "5MBよりも小さいファイルをアップロードください",
14494
+ "neptune.Upload.csTooLargeMessage": "{maxSize}MB以下のファイルをアップロードしてください",
14513
14495
  "neptune.Upload.csWrongTypeMessage": "ファイルの種類はサポートされていません。別のファイルで再度お試しください",
14514
14496
  "neptune.Upload.psButtonText": "キャンセル",
14515
14497
  "neptune.Upload.psProcessingText": "アップロード中…",
14516
14498
  "neptune.Upload.usButtonText": "または、ファイルを選択する",
14517
14499
  "neptune.Upload.usDropMessage": "ファイルをドロップしてアップロードする",
14518
- "neptune.Upload.usPlaceholder": "5MB以下のファイルのみドラッグ&ドロップが可能です",
14500
+ "neptune.Upload.usPlaceholder": "{maxSize}MB以下のファイルをドラッグ&ドロップしてください",
14519
14501
  "neptune.UploadButton.allFileTypes": "すべてのファイル種類",
14520
14502
  "neptune.UploadButton.dropFiles": "ファイルをドロップしてアップロードする",
14521
14503
  "neptune.UploadButton.instructions": "{fileTypes}、{size}MB以下",
@@ -14567,13 +14549,13 @@ var pl = {
14567
14549
  "neptune.Upload.csButtonText": "Prześlij kolejny plik?",
14568
14550
  "neptune.Upload.csFailureText": "Przesyłanie nie powiodło się. Proszę spróbować ponownie",
14569
14551
  "neptune.Upload.csSuccessText": "Przesyłanie zakończone!",
14570
- "neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż 5MB",
14552
+ "neptune.Upload.csTooLargeMessage": "Prosimy przesłać plik mniejszy niż {maxSize} MB",
14571
14553
  "neptune.Upload.csWrongTypeMessage": "Nieobsługiwany typ pliku. Spróbuj ponownie z innym plikiem",
14572
14554
  "neptune.Upload.psButtonText": "Anuluj",
14573
14555
  "neptune.Upload.psProcessingText": "Przesyłanie...",
14574
14556
  "neptune.Upload.usButtonText": "Lub wybierz plik",
14575
14557
  "neptune.Upload.usDropMessage": "Upuść plik, aby rozpocząć przesyłanie",
14576
- "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż 5MB",
14558
+ "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik nie większy niż {maxSize} MB",
14577
14559
  "neptune.UploadButton.allFileTypes": "Wszystkie typy plików",
14578
14560
  "neptune.UploadButton.dropFiles": "Upuść plik, żeby rozpocząć przesyłanie",
14579
14561
  "neptune.UploadButton.instructions": "{fileTypes}, mniejsze niż {size}MB",
@@ -14625,13 +14607,13 @@ var pt = {
14625
14607
  "neptune.Upload.csButtonText": "Enviar outro documento?",
14626
14608
  "neptune.Upload.csFailureText": "Falha no envio. Por favor, tente novamente",
14627
14609
  "neptune.Upload.csSuccessText": "Envio concluído!",
14628
- "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de 5MB",
14610
+ "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de {maxSize}MB",
14629
14611
  "neptune.Upload.csWrongTypeMessage": "Não trabalhamos com este tipo de arquivo. Por favor, tente novamente com um arquivo diferente",
14630
14612
  "neptune.Upload.psButtonText": "Cancelar",
14631
14613
  "neptune.Upload.psProcessingText": "Enviando...",
14632
14614
  "neptune.Upload.usButtonText": "Ou escolha um arquivo",
14633
14615
  "neptune.Upload.usDropMessage": "Arraste o arquivo para iniciar o envio",
14634
- "neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que 5MB",
14616
+ "neptune.Upload.usPlaceholder": "Selecione e envie um arquivo com menos de {maxSize}MB",
14635
14617
  "neptune.UploadButton.allFileTypes": "Todos os tipos de arquivos",
14636
14618
  "neptune.UploadButton.dropFiles": "Arraste o arquivo para iniciar o envio",
14637
14619
  "neptune.UploadButton.instructions": "{fileTypes}, com menos de {size}MB",
@@ -14683,13 +14665,13 @@ var ro = {
14683
14665
  "neptune.Upload.csButtonText": "Încarci un alt fișier?",
14684
14666
  "neptune.Upload.csFailureText": "Încărcare eșuată. Te rugăm să încerci din nou",
14685
14667
  "neptune.Upload.csSuccessText": "Încărcare completă!",
14686
- "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de 5MB",
14668
+ "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de {maxSize} MB",
14687
14669
  "neptune.Upload.csWrongTypeMessage": "Tipul de fișier nu a fost acceptat. Te rugăm să încerci din nou cu un alt fișier",
14688
14670
  "neptune.Upload.psButtonText": "Anulează",
14689
14671
  "neptune.Upload.psProcessingText": "Se încarcă...",
14690
14672
  "neptune.Upload.usButtonText": "Sau selectează un fișier",
14691
14673
  "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",
14674
+ "neptune.Upload.usPlaceholder": "Glisează și atașează un fișier mai mic de {maxSize} MB",
14693
14675
  "neptune.UploadButton.allFileTypes": "Toate tipurile de fișiere",
14694
14676
  "neptune.UploadButton.dropFiles": "Trage fișierul pentru a începe încărcarea",
14695
14677
  "neptune.UploadButton.instructions": "{fileTypes}, de maximum {size}MB",
@@ -14741,13 +14723,13 @@ var ru = {
14741
14723
  "neptune.Upload.csButtonText": "Загрузить другой файл?",
14742
14724
  "neptune.Upload.csFailureText": "Загрузка не удалась. Пожалуйста, попробуйте снова",
14743
14725
  "neptune.Upload.csSuccessText": "Загрузка завершена!",
14744
- "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее 5MB",
14726
+ "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее {maxSize} Мб",
14745
14727
  "neptune.Upload.csWrongTypeMessage": "Тип файла не поддерживается. Пожалуйста, попробуйте еще раз с другим файлом",
14746
14728
  "neptune.Upload.psButtonText": "Отменить",
14747
14729
  "neptune.Upload.psProcessingText": "Загружаем...",
14748
14730
  "neptune.Upload.usButtonText": "Или выберите файл",
14749
14731
  "neptune.Upload.usDropMessage": "Перетащите файл, чтобы начать загрузку",
14750
- "neptune.Upload.usPlaceholder": "Перетащите файл не больше 5MB",
14732
+ "neptune.Upload.usPlaceholder": "Перетащите файл размером не более {maxSize} Mб",
14751
14733
  "neptune.UploadButton.allFileTypes": "Все типы файлов",
14752
14734
  "neptune.UploadButton.dropFiles": "Перетащите файл, чтобы начать загрузку",
14753
14735
  "neptune.UploadButton.instructions": "{fileTypes}, не превышающий {size} MB",
@@ -14799,13 +14781,13 @@ var th = {
14799
14781
  "neptune.Upload.csButtonText": "อัพโหลดไฟล์อื่นหรือไม่",
14800
14782
  "neptune.Upload.csFailureText": "การอัปโหลดล้มเหลว กรุณาลองอีกครั้ง",
14801
14783
  "neptune.Upload.csSuccessText": "อัปโหลดเสร็จสมบูรณ์!",
14802
- "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า 5MB",
14784
+ "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า {maxSize}MB",
14803
14785
  "neptune.Upload.csWrongTypeMessage": "ไม่รองรับประเภทไฟล์ โปรดลองอีกครั้งโดยใช้ไฟล์อื่น",
14804
14786
  "neptune.Upload.psButtonText": "ยกเลิก",
14805
14787
  "neptune.Upload.psProcessingText": "กำลังอัปโหลด...",
14806
14788
  "neptune.Upload.usButtonText": "หรือเลือกไฟล์",
14807
14789
  "neptune.Upload.usDropMessage": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14808
- "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน 5MB",
14790
+ "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน {maxSize}MB",
14809
14791
  "neptune.UploadButton.allFileTypes": "ไฟล์ทุกประเภท",
14810
14792
  "neptune.UploadButton.dropFiles": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14811
14793
  "neptune.UploadButton.instructions": "{fileTypes} น้อยกว่า {size}MB",
@@ -14857,13 +14839,13 @@ var tr = {
14857
14839
  "neptune.Upload.csButtonText": "Başka bir dosya yükleyin?",
14858
14840
  "neptune.Upload.csFailureText": "Yükleme başarısız. Lütfen yine deneyin",
14859
14841
  "neptune.Upload.csSuccessText": "Yükleme tamamlandı!",
14860
- "neptune.Upload.csTooLargeMessage": "Lütfen 5 MB'den hüçük bir dosya sağlayın",
14842
+ "neptune.Upload.csTooLargeMessage": "Lütfen {maxSize} MB'den küçük bir dosya sağlayın",
14861
14843
  "neptune.Upload.csWrongTypeMessage": "Desteklenmeyen dosya biçimi. Lütfen başka bir dosyayla tekrar deneyin",
14862
14844
  "neptune.Upload.psButtonText": "İptal edin",
14863
14845
  "neptune.Upload.psProcessingText": "Yükleniyor...",
14864
14846
  "neptune.Upload.usButtonText": "Veya bir dosya seçin",
14865
14847
  "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",
14848
+ "neptune.Upload.usPlaceholder": "{maxSize} MB'den küçük bir dosya sürükleyin ve bırakın",
14867
14849
  "neptune.UploadButton.allFileTypes": "Tüm belge tipleri",
14868
14850
  "neptune.UploadButton.dropFiles": "Yüklemeyi başlatmak için dosyayı bırakın",
14869
14851
  "neptune.UploadButton.instructions": "{fileTypes}, en fazla {size}MB",
@@ -14972,13 +14954,13 @@ var zhCN = {
14972
14954
  "neptune.Upload.csButtonText": "上传另一个文件?",
14973
14955
  "neptune.Upload.csFailureText": "上传失败。请重试",
14974
14956
  "neptune.Upload.csSuccessText": "上传完毕!",
14975
- "neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
14957
+ "neptune.Upload.csTooLargeMessage": "请提供小于 {maxSize}MB 的文件",
14976
14958
  "neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
14977
14959
  "neptune.Upload.psButtonText": "取消",
14978
14960
  "neptune.Upload.psProcessingText": "正在上传…",
14979
14961
  "neptune.Upload.usButtonText": "或选择文件",
14980
14962
  "neptune.Upload.usDropMessage": "拖放文件开始上传",
14981
- "neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
14963
+ "neptune.Upload.usPlaceholder": "拖放小于 {maxSize}MB 的文件",
14982
14964
  "neptune.UploadButton.allFileTypes": "所有文件类型",
14983
14965
  "neptune.UploadButton.dropFiles": "拖放文件开始上传",
14984
14966
  "neptune.UploadButton.instructions": "{fileTypes},小于 {size} MB",
@@ -15030,13 +15012,13 @@ var zhHK = {
15030
15012
  "neptune.Upload.csButtonText": "上載另一個檔案?",
15031
15013
  "neptune.Upload.csFailureText": "上載失敗,請重試。",
15032
15014
  "neptune.Upload.csSuccessText": "上載完成!",
15033
- "neptune.Upload.csTooLargeMessage": "請提供小於5MB的檔案",
15015
+ "neptune.Upload.csTooLargeMessage": "請提供小於{maxSize}MB的檔案",
15034
15016
  "neptune.Upload.csWrongTypeMessage": "不支持檔案類型,請使用其他檔案重試",
15035
15017
  "neptune.Upload.psButtonText": "取消",
15036
15018
  "neptune.Upload.psProcessingText": "上載中...",
15037
15019
  "neptune.Upload.usButtonText": "或者選擇一個檔案",
15038
15020
  "neptune.Upload.usDropMessage": "拖放檔案以開始上載",
15039
- "neptune.Upload.usPlaceholder": "拖放不超過5MB的檔案",
15021
+ "neptune.Upload.usPlaceholder": "拖放不超過{maxSize}MB的檔案",
15040
15022
  "neptune.UploadButton.allFileTypes": "所有檔案類型",
15041
15023
  "neptune.UploadButton.dropFiles": "拖放檔案以開始上載",
15042
15024
  "neptune.UploadButton.instructions": "{fileTypes},小於{size}MB",
@@ -15078,5 +15060,5 @@ const translations = {
15078
15060
  'zh-HK': zhHK
15079
15061
  };
15080
15062
 
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 };
15063
+ 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
15064
  //# sourceMappingURL=index.esm.js.map