@transferwise/components 0.0.0-experimental-79c0fba → 0.0.0-experimental-0df7ed4

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 (71) 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/hu.json +2 -2
  6. package/build/i18n/id.json +2 -2
  7. package/build/i18n/it.json +2 -2
  8. package/build/i18n/ja.json +2 -2
  9. package/build/i18n/pl.json +2 -2
  10. package/build/i18n/pt.json +2 -2
  11. package/build/i18n/ro.json +2 -2
  12. package/build/i18n/ru.json +2 -2
  13. package/build/i18n/th.json +2 -2
  14. package/build/i18n/tr.json +2 -2
  15. package/build/i18n/zh-CN.json +2 -2
  16. package/build/i18n/zh-HK.json +2 -2
  17. package/build/index.esm.js +113 -83
  18. package/build/index.esm.js.map +1 -1
  19. package/build/index.js +114 -84
  20. package/build/index.js.map +1 -1
  21. package/build/types/circularButton/CircularButton.d.ts +2 -2
  22. package/build/types/circularButton/CircularButton.d.ts.map +1 -1
  23. package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -1
  24. package/build/types/index.d.ts +0 -2
  25. package/build/types/index.d.ts.map +1 -1
  26. package/build/types/slidingPanel/SlidingPanel.d.ts +17 -12
  27. package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
  28. package/build/types/slidingPanel/index.d.ts +1 -2
  29. package/build/types/slidingPanel/index.d.ts.map +1 -1
  30. package/build/types/sticky/Sticky.d.ts +14 -9
  31. package/build/types/sticky/Sticky.d.ts.map +1 -1
  32. package/build/types/sticky/index.d.ts +1 -2
  33. package/build/types/sticky/index.d.ts.map +1 -1
  34. package/build/types/upload/Upload.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/src/circularButton/CircularButton.tsx +2 -2
  37. package/src/common/bottomSheet/BottomSheet.tsx +41 -47
  38. package/src/common/bottomSheet/__snapshots__/BottomSheet.spec.tsx.snap +33 -37
  39. package/src/i18n/cs.json +2 -2
  40. package/src/i18n/de.json +2 -2
  41. package/src/i18n/en.json +2 -2
  42. package/src/i18n/es.json +2 -2
  43. package/src/i18n/hu.json +2 -2
  44. package/src/i18n/id.json +2 -2
  45. package/src/i18n/it.json +2 -2
  46. package/src/i18n/ja.json +2 -2
  47. package/src/i18n/pl.json +2 -2
  48. package/src/i18n/pt.json +2 -2
  49. package/src/i18n/ro.json +2 -2
  50. package/src/i18n/ru.json +2 -2
  51. package/src/i18n/th.json +2 -2
  52. package/src/i18n/tr.json +2 -2
  53. package/src/i18n/zh-CN.json +2 -2
  54. package/src/i18n/zh-HK.json +2 -2
  55. package/src/index.ts +0 -2
  56. package/src/select/Select.spec.js +1 -1
  57. package/src/slidingPanel/SlidingPanel.js +73 -0
  58. package/src/slidingPanel/SlidingPanel.spec.js +19 -9
  59. package/src/slidingPanel/index.js +1 -0
  60. package/src/sticky/Sticky.js +23 -0
  61. package/src/sticky/Sticky.spec.js +1 -0
  62. package/src/sticky/{Sticky.story.tsx → Sticky.story.js} +3 -2
  63. package/src/sticky/index.js +1 -0
  64. package/src/upload/Upload.js +8 -2
  65. package/src/upload/Upload.messages.js +2 -2
  66. package/src/upload/Upload.story.js +1 -1
  67. package/src/slidingPanel/SlidingPanel.tsx +0 -62
  68. package/src/slidingPanel/index.ts +0 -2
  69. package/src/sticky/Sticky.tsx +0 -16
  70. package/src/sticky/index.ts +0 -2
  71. /package/src/slidingPanel/{SlidingPanel.story.tsx → SlidingPanel.story.js} +0 -0
@@ -1753,14 +1753,15 @@ const useLayout = () => {
1753
1753
 
1754
1754
  const EXIT_ANIMATION = 350;
1755
1755
  const SlidingPanel = /*#__PURE__*/forwardRef(({
1756
- position = 'left',
1756
+ children,
1757
+ className,
1757
1758
  open,
1759
+ position,
1758
1760
  showSlidingPanelBorder,
1759
1761
  slidingPanelPositionFixed,
1760
- className,
1761
- children,
1762
1762
  ...rest
1763
1763
  }, reference) => {
1764
+ /** @type {RefObject<HTMLDivElement>} */
1764
1765
  const localReference = useRef(null);
1765
1766
  return /*#__PURE__*/createElement(CSSTransition, {
1766
1767
  ...rest,
@@ -1773,15 +1774,34 @@ const SlidingPanel = /*#__PURE__*/forwardRef(({
1773
1774
  enter: 0,
1774
1775
  exit: EXIT_ANIMATION
1775
1776
  },
1776
- classNames: "sliding-panel",
1777
+ classNames: classNames(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
1778
+ 'sliding-panel--fixed': slidingPanelPositionFixed
1779
+ }, 'sliding-panel'),
1777
1780
  appear: true,
1778
1781
  unmountOnExit: true
1779
1782
  }, /*#__PURE__*/jsx("div", {
1780
1783
  ref: mergeRefs([reference, localReference]),
1781
- className: classNames('sliding-panel', `sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, slidingPanelPositionFixed && 'sliding-panel--fixed', className),
1784
+ className: classNames('sliding-panel', `sliding-panel--open-${position}`, className),
1782
1785
  children: children
1783
1786
  }));
1784
1787
  });
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;
1785
1805
 
1786
1806
  const Drawer = ({
1787
1807
  children,
@@ -1800,7 +1820,7 @@ const Drawer = ({
1800
1820
  return /*#__PURE__*/jsx(Dimmer$1, {
1801
1821
  open: open,
1802
1822
  onClose: onClose,
1803
- children: /*#__PURE__*/jsx(SlidingPanel, {
1823
+ children: /*#__PURE__*/jsx(SlidingPanel$1, {
1804
1824
  open: open,
1805
1825
  position: isMobile ? Position.BOTTOM : position,
1806
1826
  children: /*#__PURE__*/jsxs("div", {
@@ -1917,15 +1937,15 @@ const BottomSheet$1 = props => {
1917
1937
  props.onClose(event);
1918
1938
  }
1919
1939
  }
1920
- const onSwipeStart = event => {
1921
- initialYCoordinate.current = ('touches' in event ? event.touches[0] : event).clientY;
1940
+ const onSwipeStart = isMobile => event => {
1941
+ initialYCoordinate.current = (isMobile ? event.touches[0] : event).clientY;
1922
1942
  setPressed(true);
1923
1943
  };
1924
- const onSwipeMove = event => {
1944
+ const onSwipeMove = isMobile => event => {
1925
1945
  if (pressed) {
1926
1946
  const {
1927
1947
  clientY
1928
- } = 'touches' in event ? event.touches[0] : event;
1948
+ } = isMobile ? event.touches[0] : event;
1929
1949
  const offset = calculateOffsetAfterMove(clientY);
1930
1950
  // check whether move is to the bottom only and content scroll position is at the top
1931
1951
  if (offset > INITIAL_Y_POSITION && isContentScrollPositionAtTop()) {
@@ -1994,37 +2014,34 @@ const BottomSheet$1 = props => {
1994
2014
  fadeContentOnEnter: true,
1995
2015
  fadeContentOnExit: true,
1996
2016
  onClose: close,
1997
- children: /*#__PURE__*/jsx(SlidingPanel, {
2017
+ children: /*#__PURE__*/jsxs(SlidingPanel$1, {
1998
2018
  ref: bottomSheetReference,
1999
2019
  open: props.open,
2000
2020
  position: Position.BOTTOM,
2001
2021
  className: classNames('np-bottom-sheet', props.className),
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
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
2026
2038
  })]
2027
- })
2039
+ }), /*#__PURE__*/jsx("div", {
2040
+ ref: contentReference,
2041
+ style: setContentMaxHeight(),
2042
+ className: "np-bottom-sheet--content",
2043
+ children: props.children
2044
+ })]
2028
2045
  })
2029
2046
  });
2030
2047
  };
@@ -9763,13 +9780,13 @@ var en = {
9763
9780
  "neptune.Upload.csButtonText": "Upload another file?",
9764
9781
  "neptune.Upload.csFailureText": "Upload failed. Please, try again",
9765
9782
  "neptune.Upload.csSuccessText": "Upload complete!",
9766
- "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than 5MB",
9783
+ "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than {maxSize}MB",
9767
9784
  "neptune.Upload.csWrongTypeMessage": "File type not supported. Please try again with a different file",
9768
9785
  "neptune.Upload.psButtonText": "Cancel",
9769
9786
  "neptune.Upload.psProcessingText": "Uploading...",
9770
9787
  "neptune.Upload.usButtonText": "Or select a file",
9771
9788
  "neptune.Upload.usDropMessage": "Drop file to start upload",
9772
- "neptune.Upload.usPlaceholder": "Drag and drop a file less than 5MB",
9789
+ "neptune.Upload.usPlaceholder": "Drag and drop a file less than {maxSize}MB",
9773
9790
  "neptune.UploadButton.allFileTypes": "All file types",
9774
9791
  "neptune.UploadButton.dropFiles": "Drop file to start upload",
9775
9792
  "neptune.UploadButton.instructions": "{fileTypes}, less than {size}MB",
@@ -10925,19 +10942,28 @@ function SnackbarProvider({
10925
10942
  });
10926
10943
  }
10927
10944
 
10928
- function Sticky({
10929
- open = true,
10930
- position = 'bottom',
10945
+ const Sticky = ({
10946
+ open,
10947
+ position,
10931
10948
  children
10932
- }) {
10933
- return /*#__PURE__*/jsx(SlidingPanel, {
10934
- open: open,
10935
- position: position,
10936
- slidingPanelPositionFixed: true,
10937
- showSlidingPanelBorder: true,
10938
- children: children
10939
- });
10940
- }
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;
10941
10967
 
10942
10968
  var messages$1 = defineMessages({
10943
10969
  statusNotDone: {
@@ -12920,7 +12946,9 @@ class Upload extends Component {
12920
12946
  getErrorMessage(status) {
12921
12947
  switch (status) {
12922
12948
  case 413:
12923
- return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage);
12949
+ return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage, {
12950
+ maxSize: this.props.maxSize / 1000000
12951
+ });
12924
12952
  case 415:
12925
12953
  return this.props.csWrongTypeMessage || this.props.intl.formatMessage(messages.csWrongTypeMessage);
12926
12954
  default:
@@ -13178,7 +13206,9 @@ class Upload extends Component {
13178
13206
  usDisabled: usDisabled,
13179
13207
  usHelpImage: usHelpImage,
13180
13208
  usLabel: usLabel,
13181
- usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder)
13209
+ usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder, {
13210
+ maxSize: this.props.maxSize / 1000000
13211
+ })
13182
13212
  }), isProcessing && /*#__PURE__*/jsx(ProcessingStep$1, {
13183
13213
  isComplete: isComplete,
13184
13214
  isError: isError,
@@ -14077,13 +14107,13 @@ var cs = {
14077
14107
  "neptune.Upload.csButtonText": "Nahrát další soubor?",
14078
14108
  "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
14079
14109
  "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
14080
- "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
14110
+ "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než {maxSize}MB",
14081
14111
  "neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
14082
14112
  "neptune.Upload.psButtonText": "Zrušit",
14083
14113
  "neptune.Upload.psProcessingText": "Načítání...",
14084
14114
  "neptune.Upload.usButtonText": "Nebo vyberte soubor",
14085
14115
  "neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
14086
- "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než 5MB",
14116
+ "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než {maxSize}MB",
14087
14117
  "neptune.UploadButton.allFileTypes": "Všechny typy souborů",
14088
14118
  "neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
14089
14119
  "neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
@@ -14135,13 +14165,13 @@ var de = {
14135
14165
  "neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
14136
14166
  "neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
14137
14167
  "neptune.Upload.csSuccessText": "Fertig hochgeladen!",
14138
- "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als 5 MB ist",
14168
+ "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als {maxSize} MB ist",
14139
14169
  "neptune.Upload.csWrongTypeMessage": "Dateityp wird nicht unterstützt. Bitte versuche es erneut mit einer anderen Datei",
14140
14170
  "neptune.Upload.psButtonText": "Abbrechen",
14141
14171
  "neptune.Upload.psProcessingText": "Wird hochgeladen...",
14142
14172
  "neptune.Upload.usButtonText": "Oder wähle eine Datei aus",
14143
14173
  "neptune.Upload.usDropMessage": "Datei zum Hochladen in dieses Feld ziehen",
14144
- "neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als 5 MB ist",
14174
+ "neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als {maxSize} MB ist",
14145
14175
  "neptune.UploadButton.allFileTypes": "Alle Dateiformate",
14146
14176
  "neptune.UploadButton.dropFiles": "Datei zum Hochladen in dieses Feld ziehen",
14147
14177
  "neptune.UploadButton.instructions": "{fileTypes}, kleiner als {size} MB",
@@ -14193,13 +14223,13 @@ var es = {
14193
14223
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
14194
14224
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
14195
14225
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
14196
- "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de 5 MB",
14226
+ "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de {maxSize}MB",
14197
14227
  "neptune.Upload.csWrongTypeMessage": "Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente",
14198
14228
  "neptune.Upload.psButtonText": "Cancela",
14199
14229
  "neptune.Upload.psProcessingText": "Subiendo...",
14200
14230
  "neptune.Upload.usButtonText": "O selecciona un archivo",
14201
14231
  "neptune.Upload.usDropMessage": "Arrastra un archivo para subirlo",
14202
- "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de 5MB",
14232
+ "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de {maxSize}MB",
14203
14233
  "neptune.UploadButton.allFileTypes": "Todos los tipos de archivos",
14204
14234
  "neptune.UploadButton.dropFiles": "Arrastra un archivo para subirlo",
14205
14235
  "neptune.UploadButton.instructions": "{fileTypes}, menor que {size}MB",
@@ -14309,13 +14339,13 @@ var hu = {
14309
14339
  "neptune.Upload.csButtonText": "Másik fájl feltöltése?",
14310
14340
  "neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
14311
14341
  "neptune.Upload.csSuccessText": "Feltöltés sikeres",
14312
- "neptune.Upload.csTooLargeMessage": "Kérünk, 5 MB-nál kisebb fájlt tölts fel",
14342
+ "neptune.Upload.csTooLargeMessage": "Kérünk, {maxSize} MB-nál kisebb fájlt tölts fel",
14313
14343
  "neptune.Upload.csWrongTypeMessage": "Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal",
14314
14344
  "neptune.Upload.psButtonText": "Mégsem",
14315
14345
  "neptune.Upload.psProcessingText": "Feltöltés...",
14316
14346
  "neptune.Upload.usButtonText": "Vagy válaszd ki a fájlt",
14317
14347
  "neptune.Upload.usDropMessage": "Húzd ide a fájlokat a feltöltéshez",
14318
- "neptune.Upload.usPlaceholder": "Húzz ide egy 5MB-nál kisebb fájlt",
14348
+ "neptune.Upload.usPlaceholder": "Húzz ide egy {maxSize} MB-nál kisebb fájlt",
14319
14349
  "neptune.UploadButton.allFileTypes": "Összes fájltípus",
14320
14350
  "neptune.UploadButton.dropFiles": "Húzd a fájlokat ide a feltöltéshez",
14321
14351
  "neptune.UploadButton.instructions": "{fileTypes}, legfeljebb {size}MB",
@@ -14367,13 +14397,13 @@ var id = {
14367
14397
  "neptune.Upload.csButtonText": "Unggah file lainnya?",
14368
14398
  "neptune.Upload.csFailureText": "Unggahan gagal. Silakan coba lagi",
14369
14399
  "neptune.Upload.csSuccessText": "Pengunggahan selesai!",
14370
- "neptune.Upload.csTooLargeMessage": "Harap berikan file kurang dari 5MB",
14400
+ "neptune.Upload.csTooLargeMessage": "Harap berikan file kurang dari {maxSize}MB",
14371
14401
  "neptune.Upload.csWrongTypeMessage": "Tipe file ini tidak didukung. Mohon coba lagi dengan file yang berbeda",
14372
14402
  "neptune.Upload.psButtonText": "Batalkan",
14373
14403
  "neptune.Upload.psProcessingText": "Mengunggah...",
14374
14404
  "neptune.Upload.usButtonText": "Atau pilih file",
14375
14405
  "neptune.Upload.usDropMessage": "Letakkan file untuk mulai mengunggah",
14376
- "neptune.Upload.usPlaceholder": "Geser dan letakkan file berukuran kurang dari 5MB",
14406
+ "neptune.Upload.usPlaceholder": "Geser dan letakkan file berukuran kurang dari {maxSize}MB",
14377
14407
  "neptune.UploadButton.allFileTypes": "Semua jenis file",
14378
14408
  "neptune.UploadButton.dropFiles": "Lepaskan file untuk mulai mengunggah",
14379
14409
  "neptune.UploadButton.instructions": "{fileTypes}, kurang dari {size}MB",
@@ -14425,13 +14455,13 @@ var it = {
14425
14455
  "neptune.Upload.csButtonText": "Carica un altro documento?",
14426
14456
  "neptune.Upload.csFailureText": "Caricamento fallito. Per favore riprova",
14427
14457
  "neptune.Upload.csSuccessText": "Caricamento completato!",
14428
- "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di 5MB",
14458
+ "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di {maxSize}MB",
14429
14459
  "neptune.Upload.csWrongTypeMessage": "Formato del documento non supportato. Riprova con un formato diverso",
14430
14460
  "neptune.Upload.psButtonText": "Annulla",
14431
14461
  "neptune.Upload.psProcessingText": "Caricamento...",
14432
14462
  "neptune.Upload.usButtonText": "O seleziona un documento",
14433
14463
  "neptune.Upload.usDropMessage": "Rilascia il documento per iniziare il caricamento",
14434
- "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a 5MB",
14464
+ "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a {maxSize}MB",
14435
14465
  "neptune.UploadButton.allFileTypes": "Tutti i tipi di file",
14436
14466
  "neptune.UploadButton.dropFiles": "Rilascia file per iniziare a caricare",
14437
14467
  "neptune.UploadButton.instructions": "{fileTypes}, minore di {size}MB",
@@ -14483,13 +14513,13 @@ var ja = {
14483
14513
  "neptune.Upload.csButtonText": "別のファイルをアップロードしますか?",
14484
14514
  "neptune.Upload.csFailureText": "アップロードに失敗しました。もう一度やり直してください。",
14485
14515
  "neptune.Upload.csSuccessText": "アップロードが完了しました。",
14486
- "neptune.Upload.csTooLargeMessage": "5MBよりも小さいファイルをアップロードください",
14516
+ "neptune.Upload.csTooLargeMessage": "{maxSize}MBよりも小さいファイルをアップロードください",
14487
14517
  "neptune.Upload.csWrongTypeMessage": "ファイルの種類はサポートされていません。別のファイルで再度お試しください",
14488
14518
  "neptune.Upload.psButtonText": "キャンセル",
14489
14519
  "neptune.Upload.psProcessingText": "アップロード中…",
14490
14520
  "neptune.Upload.usButtonText": "または、ファイルを選択する",
14491
14521
  "neptune.Upload.usDropMessage": "ファイルをドロップしてアップロードする",
14492
- "neptune.Upload.usPlaceholder": "5MB以下のファイルのみドラッグ&ドロップが可能です",
14522
+ "neptune.Upload.usPlaceholder": "{maxSize}MB以下のファイルのみドラッグ&ドロップが可能です",
14493
14523
  "neptune.UploadButton.allFileTypes": "すべてのファイル種類",
14494
14524
  "neptune.UploadButton.dropFiles": "ファイルをドロップしてアップロードする",
14495
14525
  "neptune.UploadButton.instructions": "{fileTypes}、{size}MB以下",
@@ -14541,13 +14571,13 @@ var pl = {
14541
14571
  "neptune.Upload.csButtonText": "Prześlij kolejny plik?",
14542
14572
  "neptune.Upload.csFailureText": "Przesyłanie nie powiodło się. Proszę spróbować ponownie",
14543
14573
  "neptune.Upload.csSuccessText": "Przesyłanie zakończone!",
14544
- "neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż 5MB",
14574
+ "neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż {maxSize}MB",
14545
14575
  "neptune.Upload.csWrongTypeMessage": "Nieobsługiwany typ pliku. Spróbuj ponownie z innym plikiem",
14546
14576
  "neptune.Upload.psButtonText": "Anuluj",
14547
14577
  "neptune.Upload.psProcessingText": "Przesyłanie...",
14548
14578
  "neptune.Upload.usButtonText": "Lub wybierz plik",
14549
14579
  "neptune.Upload.usDropMessage": "Upuść plik, aby rozpocząć przesyłanie",
14550
- "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż 5MB",
14580
+ "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż {maxSize}MB",
14551
14581
  "neptune.UploadButton.allFileTypes": "Wszystkie typy plików",
14552
14582
  "neptune.UploadButton.dropFiles": "Upuść plik, żeby rozpocząć przesyłanie",
14553
14583
  "neptune.UploadButton.instructions": "{fileTypes}, mniejsze niż {size}MB",
@@ -14599,13 +14629,13 @@ var pt = {
14599
14629
  "neptune.Upload.csButtonText": "Enviar outro documento?",
14600
14630
  "neptune.Upload.csFailureText": "Falha no envio. Por favor, tente novamente",
14601
14631
  "neptune.Upload.csSuccessText": "Envio concluído!",
14602
- "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de 5MB",
14632
+ "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de {maxSize}MB",
14603
14633
  "neptune.Upload.csWrongTypeMessage": "Não trabalhamos com este tipo de arquivo. Por favor, tente novamente com um arquivo diferente",
14604
14634
  "neptune.Upload.psButtonText": "Cancelar",
14605
14635
  "neptune.Upload.psProcessingText": "Enviando...",
14606
14636
  "neptune.Upload.usButtonText": "Ou escolha um arquivo",
14607
14637
  "neptune.Upload.usDropMessage": "Arraste o arquivo para iniciar o envio",
14608
- "neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que 5MB",
14638
+ "neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que {maxSize}MB",
14609
14639
  "neptune.UploadButton.allFileTypes": "Todos os tipos de arquivos",
14610
14640
  "neptune.UploadButton.dropFiles": "Arraste o arquivo para iniciar o envio",
14611
14641
  "neptune.UploadButton.instructions": "{fileTypes}, com menos de {size}MB",
@@ -14657,13 +14687,13 @@ var ro = {
14657
14687
  "neptune.Upload.csButtonText": "Încarci un alt fișier?",
14658
14688
  "neptune.Upload.csFailureText": "Încărcare eșuată. Te rugăm să încerci din nou",
14659
14689
  "neptune.Upload.csSuccessText": "Încărcare completă!",
14660
- "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de 5MB",
14690
+ "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de {maxSize}MB",
14661
14691
  "neptune.Upload.csWrongTypeMessage": "Tipul de fișier nu a fost acceptat. Te rugăm să încerci din nou cu un alt fișier",
14662
14692
  "neptune.Upload.psButtonText": "Anulează",
14663
14693
  "neptune.Upload.psProcessingText": "Se încarcă...",
14664
14694
  "neptune.Upload.usButtonText": "Sau selectează un fișier",
14665
14695
  "neptune.Upload.usDropMessage": "Atașează fișierul pentru a începe încărcarea",
14666
- "neptune.Upload.usPlaceholder": "Glisează și atașează un fișier de până în 5MB",
14696
+ "neptune.Upload.usPlaceholder": "Glisează și atașează un fișier de până în {maxSize}MB",
14667
14697
  "neptune.UploadButton.allFileTypes": "Toate tipurile de fișiere",
14668
14698
  "neptune.UploadButton.dropFiles": "Trage fișierul pentru a începe încărcarea",
14669
14699
  "neptune.UploadButton.instructions": "{fileTypes}, de maximum {size}MB",
@@ -14715,13 +14745,13 @@ var ru = {
14715
14745
  "neptune.Upload.csButtonText": "Загрузить другой файл?",
14716
14746
  "neptune.Upload.csFailureText": "Загрузка не удалась. Пожалуйста, попробуйте снова",
14717
14747
  "neptune.Upload.csSuccessText": "Загрузка завершена!",
14718
- "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее 5MB",
14748
+ "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее {maxSize}MB",
14719
14749
  "neptune.Upload.csWrongTypeMessage": "Тип файла не поддерживается. Пожалуйста, попробуйте еще раз с другим файлом",
14720
14750
  "neptune.Upload.psButtonText": "Отменить",
14721
14751
  "neptune.Upload.psProcessingText": "Загружаем...",
14722
14752
  "neptune.Upload.usButtonText": "Или выберите файл",
14723
14753
  "neptune.Upload.usDropMessage": "Перетащите файл, чтобы начать загрузку",
14724
- "neptune.Upload.usPlaceholder": "Перетащите файл не больше 5MB",
14754
+ "neptune.Upload.usPlaceholder": "Перетащите файл не больше {maxSize}MB",
14725
14755
  "neptune.UploadButton.allFileTypes": "Все типы файлов",
14726
14756
  "neptune.UploadButton.dropFiles": "Перетащите файл, чтобы начать загрузку",
14727
14757
  "neptune.UploadButton.instructions": "{fileTypes}, не превышающий {size} MB",
@@ -14773,13 +14803,13 @@ var th = {
14773
14803
  "neptune.Upload.csButtonText": "อัพโหลดไฟล์อื่นหรือไม่",
14774
14804
  "neptune.Upload.csFailureText": "การอัปโหลดล้มเหลว กรุณาลองอีกครั้ง",
14775
14805
  "neptune.Upload.csSuccessText": "อัปโหลดเสร็จสมบูรณ์!",
14776
- "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า 5MB",
14806
+ "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า {maxSize}MB",
14777
14807
  "neptune.Upload.csWrongTypeMessage": "ไม่รองรับประเภทไฟล์ โปรดลองอีกครั้งโดยใช้ไฟล์อื่น",
14778
14808
  "neptune.Upload.psButtonText": "ยกเลิก",
14779
14809
  "neptune.Upload.psProcessingText": "กำลังอัปโหลด...",
14780
14810
  "neptune.Upload.usButtonText": "หรือเลือกไฟล์",
14781
14811
  "neptune.Upload.usDropMessage": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14782
- "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน 5MB",
14812
+ "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน {maxSize}MB",
14783
14813
  "neptune.UploadButton.allFileTypes": "ไฟล์ทุกประเภท",
14784
14814
  "neptune.UploadButton.dropFiles": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14785
14815
  "neptune.UploadButton.instructions": "{fileTypes} น้อยกว่า {size}MB",
@@ -14831,13 +14861,13 @@ var tr = {
14831
14861
  "neptune.Upload.csButtonText": "Başka bir dosya yükleyin?",
14832
14862
  "neptune.Upload.csFailureText": "Yükleme başarısız. Lütfen yine deneyin",
14833
14863
  "neptune.Upload.csSuccessText": "Yükleme tamamlandı!",
14834
- "neptune.Upload.csTooLargeMessage": "Lütfen 5 MB'den hüçük bir dosya sağlayın",
14864
+ "neptune.Upload.csTooLargeMessage": "Lütfen {maxSize} MB'den hüçük bir dosya sağlayın",
14835
14865
  "neptune.Upload.csWrongTypeMessage": "Desteklenmeyen dosya biçimi. Lütfen başka bir dosyayla tekrar deneyin",
14836
14866
  "neptune.Upload.psButtonText": "İptal edin",
14837
14867
  "neptune.Upload.psProcessingText": "Yükleniyor...",
14838
14868
  "neptune.Upload.usButtonText": "Veya bir dosya seçin",
14839
14869
  "neptune.Upload.usDropMessage": "Yüklemeyi başlatmak için dosyayı bırakın",
14840
- "neptune.Upload.usPlaceholder": "5 MB'den küçük bir dosya sürükleyin ve bırakın",
14870
+ "neptune.Upload.usPlaceholder": "{maxSize} MB'den küçük bir dosya sürükleyin ve bırakın",
14841
14871
  "neptune.UploadButton.allFileTypes": "Tüm belge tipleri",
14842
14872
  "neptune.UploadButton.dropFiles": "Yüklemeyi başlatmak için dosyayı bırakın",
14843
14873
  "neptune.UploadButton.instructions": "{fileTypes}, en fazla {size}MB",
@@ -14946,13 +14976,13 @@ var zhCN = {
14946
14976
  "neptune.Upload.csButtonText": "上传另一个文件?",
14947
14977
  "neptune.Upload.csFailureText": "上传失败。请重试",
14948
14978
  "neptune.Upload.csSuccessText": "上传完毕!",
14949
- "neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
14979
+ "neptune.Upload.csTooLargeMessage": "请提供小于 {maxSize}MB 的文件",
14950
14980
  "neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
14951
14981
  "neptune.Upload.psButtonText": "取消",
14952
14982
  "neptune.Upload.psProcessingText": "正在上传…",
14953
14983
  "neptune.Upload.usButtonText": "或选择文件",
14954
14984
  "neptune.Upload.usDropMessage": "拖放文件开始上传",
14955
- "neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
14985
+ "neptune.Upload.usPlaceholder": "拖放小于 {maxSize}MB 的文件",
14956
14986
  "neptune.UploadButton.allFileTypes": "所有文件类型",
14957
14987
  "neptune.UploadButton.dropFiles": "拖放文件开始上传",
14958
14988
  "neptune.UploadButton.instructions": "{fileTypes},小于 {size} MB",
@@ -15004,13 +15034,13 @@ var zhHK = {
15004
15034
  "neptune.Upload.csButtonText": "上載另一個檔案?",
15005
15035
  "neptune.Upload.csFailureText": "上載失敗,請重試。",
15006
15036
  "neptune.Upload.csSuccessText": "上載完成!",
15007
- "neptune.Upload.csTooLargeMessage": "請提供小於5MB的檔案",
15037
+ "neptune.Upload.csTooLargeMessage": "請提供小於{maxSize}MB的檔案",
15008
15038
  "neptune.Upload.csWrongTypeMessage": "不支持檔案類型,請使用其他檔案重試",
15009
15039
  "neptune.Upload.psButtonText": "取消",
15010
15040
  "neptune.Upload.psProcessingText": "上載中...",
15011
15041
  "neptune.Upload.usButtonText": "或者選擇一個檔案",
15012
15042
  "neptune.Upload.usDropMessage": "拖放檔案以開始上載",
15013
- "neptune.Upload.usPlaceholder": "拖放不超過5MB的檔案",
15043
+ "neptune.Upload.usPlaceholder": "拖放不超過{maxSize}MB的檔案",
15014
15044
  "neptune.UploadButton.allFileTypes": "所有檔案類型",
15015
15045
  "neptune.UploadButton.dropFiles": "拖放檔案以開始上載",
15016
15046
  "neptune.UploadButton.instructions": "{fileTypes},小於{size}MB",
@@ -15052,5 +15082,5 @@ const translations = {
15052
15082
  'zh-HK': zhHK
15053
15083
  };
15054
15084
 
15055
- 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 };
15085
+ 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 };
15056
15086
  //# sourceMappingURL=index.esm.js.map