@transferwise/components 46.20.0 → 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 (80) 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 +91 -127
  19. package/build/index.esm.js.map +1 -1
  20. package/build/index.js +92 -128
  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/common/index.d.ts +0 -1
  26. package/build/types/index.d.ts +2 -0
  27. package/build/types/index.d.ts.map +1 -1
  28. package/build/types/promoCard/PromoCard.d.ts.map +1 -1
  29. package/build/types/slidingPanel/SlidingPanel.d.ts +12 -17
  30. package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
  31. package/build/types/slidingPanel/index.d.ts +2 -1
  32. package/build/types/slidingPanel/index.d.ts.map +1 -1
  33. package/build/types/sticky/Sticky.d.ts +9 -14
  34. package/build/types/sticky/Sticky.d.ts.map +1 -1
  35. package/build/types/sticky/index.d.ts +2 -1
  36. package/build/types/sticky/index.d.ts.map +1 -1
  37. package/build/types/upload/Upload.d.ts.map +1 -1
  38. package/package.json +3 -3
  39. package/src/circularButton/CircularButton.tsx +2 -2
  40. package/src/common/bottomSheet/BottomSheet.tsx +47 -41
  41. package/src/common/bottomSheet/__snapshots__/BottomSheet.spec.tsx.snap +37 -33
  42. package/src/common/index.js +0 -1
  43. package/src/i18n/cs.json +2 -2
  44. package/src/i18n/de.json +2 -2
  45. package/src/i18n/en.json +2 -2
  46. package/src/i18n/es.json +2 -2
  47. package/src/i18n/fr.json +2 -2
  48. package/src/i18n/hu.json +2 -2
  49. package/src/i18n/id.json +2 -2
  50. package/src/i18n/it.json +2 -2
  51. package/src/i18n/ja.json +2 -2
  52. package/src/i18n/pl.json +2 -2
  53. package/src/i18n/pt.json +2 -2
  54. package/src/i18n/ro.json +2 -2
  55. package/src/i18n/ru.json +2 -2
  56. package/src/i18n/th.json +2 -2
  57. package/src/i18n/tr.json +2 -2
  58. package/src/i18n/zh-CN.json +2 -2
  59. package/src/i18n/zh-HK.json +2 -2
  60. package/src/index.ts +2 -0
  61. package/src/promoCard/PromoCard.tsx +5 -3
  62. package/src/select/Select.spec.js +1 -1
  63. package/src/slidingPanel/SlidingPanel.spec.js +9 -19
  64. package/src/slidingPanel/SlidingPanel.tsx +62 -0
  65. package/src/slidingPanel/index.ts +2 -0
  66. package/src/sticky/Sticky.spec.js +0 -1
  67. package/src/sticky/{Sticky.story.js → Sticky.story.tsx} +2 -3
  68. package/src/sticky/Sticky.tsx +16 -0
  69. package/src/sticky/index.ts +2 -0
  70. package/src/upload/Upload.js +8 -2
  71. package/src/upload/Upload.messages.js +2 -2
  72. package/src/upload/Upload.story.js +1 -1
  73. package/build/types/common/randomId.d.ts +0 -13
  74. package/build/types/common/randomId.d.ts.map +0 -1
  75. package/src/common/randomId.ts +0 -14
  76. package/src/slidingPanel/SlidingPanel.js +0 -73
  77. package/src/slidingPanel/index.js +0 -1
  78. package/src/sticky/Sticky.js +0 -23
  79. package/src/sticky/index.js +0 -1
  80. /package/src/slidingPanel/{SlidingPanel.story.js → SlidingPanel.story.tsx} +0 -0
package/build/index.js CHANGED
@@ -437,21 +437,6 @@ function getDirectionFromLocale(locale) {
437
437
  return adjustedLocale != null && RTL_LANGUAGES.includes(new Intl.Locale(adjustedLocale).language) ? exports.Direction.RTL : exports.Direction.LTR;
438
438
  }
439
439
 
440
- /**
441
- * generateRandomId() function
442
- *
443
- * This function generates a random string of characters that can be used as
444
- * an ID.
445
- *
446
- * @returns {string} A random string of characters.
447
- * @example
448
- * const id = generateRandomId();
449
- * // id will be a random string of characters, such as "id-4711".
450
- */
451
- const generateRandomId = () => {
452
- return `id-${Math.random().toString(36).slice(7)}`;
453
- };
454
-
455
440
  const DEFAULT_TYPE$1 = exports.Typography.TITLE_GROUP;
456
441
  const titleTypeMapping = {
457
442
  [exports.Typography.TITLE_SCREEN]: 'h1',
@@ -1801,15 +1786,14 @@ const useLayout = () => {
1801
1786
 
1802
1787
  const EXIT_ANIMATION = 350;
1803
1788
  const SlidingPanel = /*#__PURE__*/React.forwardRef(({
1804
- children,
1805
- className,
1789
+ position = 'left',
1806
1790
  open,
1807
- position,
1808
1791
  showSlidingPanelBorder,
1809
1792
  slidingPanelPositionFixed,
1793
+ className,
1794
+ children,
1810
1795
  ...rest
1811
1796
  }, reference) => {
1812
- /** @type {RefObject<HTMLDivElement>} */
1813
1797
  const localReference = React.useRef(null);
1814
1798
  return /*#__PURE__*/React.createElement(reactTransitionGroup.CSSTransition, {
1815
1799
  ...rest,
@@ -1822,34 +1806,15 @@ const SlidingPanel = /*#__PURE__*/React.forwardRef(({
1822
1806
  enter: 0,
1823
1807
  exit: EXIT_ANIMATION
1824
1808
  },
1825
- classNames: classNames__default.default(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
1826
- 'sliding-panel--fixed': slidingPanelPositionFixed
1827
- }, 'sliding-panel'),
1809
+ classNames: "sliding-panel",
1828
1810
  appear: true,
1829
1811
  unmountOnExit: true
1830
1812
  }, /*#__PURE__*/jsxRuntime.jsx("div", {
1831
1813
  ref: mergeRefs__default.default([reference, localReference]),
1832
- className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, className),
1814
+ className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, slidingPanelPositionFixed && 'sliding-panel--fixed', className),
1833
1815
  children: children
1834
1816
  }));
1835
1817
  });
1836
- SlidingPanel.propTypes = {
1837
- children: PropTypes__default.default.node,
1838
- className: PropTypes__default.default.string,
1839
- open: PropTypes__default.default.bool,
1840
- position: PropTypes__default.default.oneOf(['top', 'bottom', 'left', 'right']),
1841
- showSlidingPanelBorder: PropTypes__default.default.bool,
1842
- slidingPanelPositionFixed: PropTypes__default.default.bool
1843
- };
1844
- SlidingPanel.defaultProps = {
1845
- children: null,
1846
- className: undefined,
1847
- open: false,
1848
- position: 'left',
1849
- showSlidingPanelBorder: false,
1850
- slidingPanelPositionFixed: false
1851
- };
1852
- var SlidingPanel$1 = SlidingPanel;
1853
1818
 
1854
1819
  const Drawer = ({
1855
1820
  children,
@@ -1868,7 +1833,7 @@ const Drawer = ({
1868
1833
  return /*#__PURE__*/jsxRuntime.jsx(Dimmer$1, {
1869
1834
  open: open,
1870
1835
  onClose: onClose,
1871
- children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel$1, {
1836
+ children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel, {
1872
1837
  open: open,
1873
1838
  position: isMobile ? exports.Position.BOTTOM : position,
1874
1839
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
@@ -1985,15 +1950,15 @@ const BottomSheet$1 = props => {
1985
1950
  props.onClose(event);
1986
1951
  }
1987
1952
  }
1988
- const onSwipeStart = isMobile => event => {
1989
- initialYCoordinate.current = (isMobile ? event.touches[0] : event).clientY;
1953
+ const onSwipeStart = event => {
1954
+ initialYCoordinate.current = ('touches' in event ? event.touches[0] : event).clientY;
1990
1955
  setPressed(true);
1991
1956
  };
1992
- const onSwipeMove = isMobile => event => {
1957
+ const onSwipeMove = event => {
1993
1958
  if (pressed) {
1994
1959
  const {
1995
1960
  clientY
1996
- } = isMobile ? event.touches[0] : event;
1961
+ } = 'touches' in event ? event.touches[0] : event;
1997
1962
  const offset = calculateOffsetAfterMove(clientY);
1998
1963
  // check whether move is to the bottom only and content scroll position is at the top
1999
1964
  if (offset > INITIAL_Y_POSITION && isContentScrollPositionAtTop()) {
@@ -2062,34 +2027,37 @@ const BottomSheet$1 = props => {
2062
2027
  fadeContentOnEnter: true,
2063
2028
  fadeContentOnExit: true,
2064
2029
  onClose: close,
2065
- children: /*#__PURE__*/jsxRuntime.jsxs(SlidingPanel$1, {
2030
+ children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel, {
2066
2031
  ref: bottomSheetReference,
2067
2032
  open: props.open,
2068
2033
  position: exports.Position.BOTTOM,
2069
2034
  className: classNames__default.default('np-bottom-sheet', props.className),
2070
- role: "dialog",
2071
- onTouchStart: onSwipeStart(true),
2072
- onTouchMove: onSwipeMove(true),
2073
- onTouchEnd: onSwipeEnd,
2074
- onMouseDown: onSwipeStart(false),
2075
- onMouseMove: onSwipeMove(false),
2076
- onMouseUp: onSwipeEnd,
2077
- children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
2078
- ref: topBarReference,
2079
- className: "np-bottom-sheet--top-bar",
2080
- children: [/*#__PURE__*/jsxRuntime.jsx("div", {
2081
- className: "np-bottom-sheet--handler"
2082
- }), /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
2083
- size: "sm",
2084
- className: "sr-only np-bottom-sheet--close-btn",
2085
- onClick: close
2035
+ children: /*#__PURE__*/jsxRuntime.jsxs("div", {
2036
+ role: "dialog",
2037
+ "aria-modal": true,
2038
+ onTouchStart: onSwipeStart,
2039
+ onTouchMove: onSwipeMove,
2040
+ onTouchEnd: onSwipeEnd,
2041
+ onMouseDown: onSwipeStart,
2042
+ onMouseMove: onSwipeMove,
2043
+ onMouseUp: onSwipeEnd,
2044
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
2045
+ ref: topBarReference,
2046
+ className: "np-bottom-sheet--top-bar",
2047
+ children: [/*#__PURE__*/jsxRuntime.jsx("div", {
2048
+ className: "np-bottom-sheet--handler"
2049
+ }), /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
2050
+ size: "sm",
2051
+ className: "sr-only np-bottom-sheet--close-btn",
2052
+ onClick: close
2053
+ })]
2054
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
2055
+ ref: contentReference,
2056
+ style: setContentMaxHeight(),
2057
+ className: "np-bottom-sheet--content",
2058
+ children: props.children
2086
2059
  })]
2087
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
2088
- ref: contentReference,
2089
- style: setContentMaxHeight(),
2090
- className: "np-bottom-sheet--content",
2091
- children: props.children
2092
- })]
2060
+ })
2093
2061
  })
2094
2062
  });
2095
2063
  };
@@ -9668,7 +9636,8 @@ const PromoCard = /*#__PURE__*/React.forwardRef(({
9668
9636
  setChecked(!checked); // Update local state for checkbox
9669
9637
  }
9670
9638
  };
9671
- const componentId = `${id || generateRandomId()}`;
9639
+ const fallbackId = reactId.useId();
9640
+ const componentId = id || fallbackId;
9672
9641
  // Set the icon to `'arrow'` if `href` is truthy and `type` is falsy, or
9673
9642
  // `'download'` if `download` is truthy. If neither condition is true, set
9674
9643
  // `icon` to `undefined`.
@@ -9827,13 +9796,13 @@ var en = {
9827
9796
  "neptune.Upload.csButtonText": "Upload another file?",
9828
9797
  "neptune.Upload.csFailureText": "Upload failed. Please, try again",
9829
9798
  "neptune.Upload.csSuccessText": "Upload complete!",
9830
- "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than 5MB",
9799
+ "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than {maxSize}MB",
9831
9800
  "neptune.Upload.csWrongTypeMessage": "File type not supported. Please try again with a different file",
9832
9801
  "neptune.Upload.psButtonText": "Cancel",
9833
9802
  "neptune.Upload.psProcessingText": "Uploading...",
9834
9803
  "neptune.Upload.usButtonText": "Or select a file",
9835
9804
  "neptune.Upload.usDropMessage": "Drop file to start upload",
9836
- "neptune.Upload.usPlaceholder": "Drag and drop a file less than 5MB",
9805
+ "neptune.Upload.usPlaceholder": "Drag and drop a file less than {maxSize}MB",
9837
9806
  "neptune.UploadButton.allFileTypes": "All file types",
9838
9807
  "neptune.UploadButton.dropFiles": "Drop file to start upload",
9839
9808
  "neptune.UploadButton.instructions": "{fileTypes}, less than {size}MB",
@@ -10989,28 +10958,19 @@ function SnackbarProvider({
10989
10958
  });
10990
10959
  }
10991
10960
 
10992
- const Sticky = ({
10993
- open,
10994
- position,
10961
+ function Sticky({
10962
+ open = true,
10963
+ position = 'bottom',
10995
10964
  children
10996
- }) => /*#__PURE__*/jsxRuntime.jsx(SlidingPanel$1, {
10997
- open: open,
10998
- position: position,
10999
- slidingPanelPositionFixed: true,
11000
- showSlidingPanelBorder: true,
11001
- children: children
11002
- });
11003
- Sticky.propTypes = {
11004
- open: PropTypes__default.default.bool,
11005
- position: PropTypes__default.default.oneOf(['top', 'bottom']),
11006
- children: PropTypes__default.default.node
11007
- };
11008
- Sticky.defaultProps = {
11009
- open: true,
11010
- position: 'bottom',
11011
- children: null
11012
- };
11013
- var Sticky$1 = Sticky;
10965
+ }) {
10966
+ return /*#__PURE__*/jsxRuntime.jsx(SlidingPanel, {
10967
+ open: open,
10968
+ position: position,
10969
+ slidingPanelPositionFixed: true,
10970
+ showSlidingPanelBorder: true,
10971
+ children: children
10972
+ });
10973
+ }
11014
10974
 
11015
10975
  var messages$1 = reactIntl.defineMessages({
11016
10976
  statusNotDone: {
@@ -12993,7 +12953,9 @@ class Upload extends React.Component {
12993
12953
  getErrorMessage(status) {
12994
12954
  switch (status) {
12995
12955
  case 413:
12996
- return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage);
12956
+ return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage, {
12957
+ maxSize: this.props.maxSize / 1000000
12958
+ });
12997
12959
  case 415:
12998
12960
  return this.props.csWrongTypeMessage || this.props.intl.formatMessage(messages.csWrongTypeMessage);
12999
12961
  default:
@@ -13251,7 +13213,9 @@ class Upload extends React.Component {
13251
13213
  usDisabled: usDisabled,
13252
13214
  usHelpImage: usHelpImage,
13253
13215
  usLabel: usLabel,
13254
- usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder)
13216
+ usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder, {
13217
+ maxSize: this.props.maxSize / 1000000
13218
+ })
13255
13219
  }), isProcessing && /*#__PURE__*/jsxRuntime.jsx(ProcessingStep$1, {
13256
13220
  isComplete: isComplete,
13257
13221
  isError: isError,
@@ -14150,13 +14114,13 @@ var cs = {
14150
14114
  "neptune.Upload.csButtonText": "Nahrát další soubor?",
14151
14115
  "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
14152
14116
  "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
14153
- "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
14117
+ "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než {maxSize}MB",
14154
14118
  "neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
14155
14119
  "neptune.Upload.psButtonText": "Zrušit",
14156
14120
  "neptune.Upload.psProcessingText": "Načítání...",
14157
14121
  "neptune.Upload.usButtonText": "Nebo vyberte soubor",
14158
14122
  "neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
14159
- "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než 5MB",
14123
+ "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než {maxSize}MB",
14160
14124
  "neptune.UploadButton.allFileTypes": "Všechny typy souborů",
14161
14125
  "neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
14162
14126
  "neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
@@ -14208,13 +14172,13 @@ var de = {
14208
14172
  "neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
14209
14173
  "neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
14210
14174
  "neptune.Upload.csSuccessText": "Fertig hochgeladen!",
14211
- "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als 5 MB ist",
14175
+ "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als {maxSize} MB ist",
14212
14176
  "neptune.Upload.csWrongTypeMessage": "Dateityp wird nicht unterstützt. Bitte versuche es erneut mit einer anderen Datei",
14213
14177
  "neptune.Upload.psButtonText": "Abbrechen",
14214
14178
  "neptune.Upload.psProcessingText": "Wird hochgeladen...",
14215
14179
  "neptune.Upload.usButtonText": "Oder wähle eine Datei aus",
14216
14180
  "neptune.Upload.usDropMessage": "Datei zum Hochladen in dieses Feld ziehen",
14217
- "neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als 5 MB ist",
14181
+ "neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als {maxSize} MB ist",
14218
14182
  "neptune.UploadButton.allFileTypes": "Alle Dateiformate",
14219
14183
  "neptune.UploadButton.dropFiles": "Datei zum Hochladen in dieses Feld ziehen",
14220
14184
  "neptune.UploadButton.instructions": "{fileTypes}, kleiner als {size} MB",
@@ -14266,13 +14230,13 @@ var es = {
14266
14230
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
14267
14231
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
14268
14232
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
14269
- "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de 5 MB",
14233
+ "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de {maxSize}MB",
14270
14234
  "neptune.Upload.csWrongTypeMessage": "Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente",
14271
14235
  "neptune.Upload.psButtonText": "Cancela",
14272
14236
  "neptune.Upload.psProcessingText": "Subiendo...",
14273
14237
  "neptune.Upload.usButtonText": "O selecciona un archivo",
14274
14238
  "neptune.Upload.usDropMessage": "Arrastra un archivo para subirlo",
14275
- "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de 5MB",
14239
+ "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de {maxSize}MB",
14276
14240
  "neptune.UploadButton.allFileTypes": "Todos los tipos de archivos",
14277
14241
  "neptune.UploadButton.dropFiles": "Arrastra un archivo para subirlo",
14278
14242
  "neptune.UploadButton.instructions": "{fileTypes}, menor que {size}MB",
@@ -14324,13 +14288,13 @@ var fr = {
14324
14288
  "neptune.Upload.csButtonText": "Envoyer un autre fichier ?",
14325
14289
  "neptune.Upload.csFailureText": "Échec du téléchargement. Veuillez réessayer",
14326
14290
  "neptune.Upload.csSuccessText": "Téléchargement terminé !",
14327
- "neptune.Upload.csTooLargeMessage": "Veuillez fournir un fichier inférieur à 5 Mo",
14291
+ "neptune.Upload.csTooLargeMessage": "Veuillez fournir un fichier de moins de {maxSize} Mo",
14328
14292
  "neptune.Upload.csWrongTypeMessage": "Format non pris en charge. Veuillez réessayer avec un fichier différent",
14329
14293
  "neptune.Upload.psButtonText": "Annuler",
14330
14294
  "neptune.Upload.psProcessingText": "Téléchargement...",
14331
14295
  "neptune.Upload.usButtonText": "Ou sélectionnez un fichier",
14332
14296
  "neptune.Upload.usDropMessage": "Déposer un fichier pour démarrer le téléchargement",
14333
- "neptune.Upload.usPlaceholder": "Glissez et déposez un fichier inférieur à 5 Mo",
14297
+ "neptune.Upload.usPlaceholder": "Glissez-déposez un fichier de moins de {maxSize} Mo",
14334
14298
  "neptune.UploadButton.allFileTypes": "Tous types de fichiers",
14335
14299
  "neptune.UploadButton.dropFiles": "Déposer un fichier pour démarrer le téléchargement",
14336
14300
  "neptune.UploadButton.instructions": "{fileTypes}, inférieur à {size} Mo",
@@ -14382,13 +14346,13 @@ var hu = {
14382
14346
  "neptune.Upload.csButtonText": "Másik fájl feltöltése?",
14383
14347
  "neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
14384
14348
  "neptune.Upload.csSuccessText": "Feltöltés sikeres",
14385
- "neptune.Upload.csTooLargeMessage": "Kérünk, 5 MB-nál kisebb fájlt tölts fel",
14349
+ "neptune.Upload.csTooLargeMessage": "Kérünk, {maxSize} MB-nál kisebb fájlt tölts fel",
14386
14350
  "neptune.Upload.csWrongTypeMessage": "Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal",
14387
14351
  "neptune.Upload.psButtonText": "Mégsem",
14388
14352
  "neptune.Upload.psProcessingText": "Feltöltés...",
14389
14353
  "neptune.Upload.usButtonText": "Vagy válaszd ki a fájlt",
14390
14354
  "neptune.Upload.usDropMessage": "Húzd ide a fájlokat a feltöltéshez",
14391
- "neptune.Upload.usPlaceholder": "Húzz ide egy 5MB-nál kisebb fájlt",
14355
+ "neptune.Upload.usPlaceholder": "Húzz ide egy {maxSize} MB-nál kisebb fájlt",
14392
14356
  "neptune.UploadButton.allFileTypes": "Összes fájltípus",
14393
14357
  "neptune.UploadButton.dropFiles": "Húzd a fájlokat ide a feltöltéshez",
14394
14358
  "neptune.UploadButton.instructions": "{fileTypes}, legfeljebb {size}MB",
@@ -14440,13 +14404,13 @@ var id = {
14440
14404
  "neptune.Upload.csButtonText": "Unggah file lainnya?",
14441
14405
  "neptune.Upload.csFailureText": "Unggahan gagal. Silakan coba lagi",
14442
14406
  "neptune.Upload.csSuccessText": "Pengunggahan selesai!",
14443
- "neptune.Upload.csTooLargeMessage": "Harap berikan file kurang dari 5MB",
14407
+ "neptune.Upload.csTooLargeMessage": "Harap berikan file yang lebih kecil dari {maxSize} MB",
14444
14408
  "neptune.Upload.csWrongTypeMessage": "Tipe file ini tidak didukung. Mohon coba lagi dengan file yang berbeda",
14445
14409
  "neptune.Upload.psButtonText": "Batalkan",
14446
14410
  "neptune.Upload.psProcessingText": "Mengunggah...",
14447
14411
  "neptune.Upload.usButtonText": "Atau pilih file",
14448
14412
  "neptune.Upload.usDropMessage": "Letakkan file untuk mulai mengunggah",
14449
- "neptune.Upload.usPlaceholder": "Geser dan letakkan file berukuran kurang dari 5MB",
14413
+ "neptune.Upload.usPlaceholder": "Seret dan lepas file yang kurang dari {maxSize} MB",
14450
14414
  "neptune.UploadButton.allFileTypes": "Semua jenis file",
14451
14415
  "neptune.UploadButton.dropFiles": "Lepaskan file untuk mulai mengunggah",
14452
14416
  "neptune.UploadButton.instructions": "{fileTypes}, kurang dari {size}MB",
@@ -14498,13 +14462,13 @@ var it = {
14498
14462
  "neptune.Upload.csButtonText": "Carica un altro documento?",
14499
14463
  "neptune.Upload.csFailureText": "Caricamento fallito. Per favore riprova",
14500
14464
  "neptune.Upload.csSuccessText": "Caricamento completato!",
14501
- "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di 5MB",
14465
+ "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di {maxSize}MB",
14502
14466
  "neptune.Upload.csWrongTypeMessage": "Formato del documento non supportato. Riprova con un formato diverso",
14503
14467
  "neptune.Upload.psButtonText": "Annulla",
14504
14468
  "neptune.Upload.psProcessingText": "Caricamento...",
14505
14469
  "neptune.Upload.usButtonText": "O seleziona un documento",
14506
14470
  "neptune.Upload.usDropMessage": "Rilascia il documento per iniziare il caricamento",
14507
- "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a 5MB",
14471
+ "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a {maxSize}MB",
14508
14472
  "neptune.UploadButton.allFileTypes": "Tutti i tipi di file",
14509
14473
  "neptune.UploadButton.dropFiles": "Rilascia file per iniziare a caricare",
14510
14474
  "neptune.UploadButton.instructions": "{fileTypes}, minore di {size}MB",
@@ -14556,13 +14520,13 @@ var ja = {
14556
14520
  "neptune.Upload.csButtonText": "別のファイルをアップロードしますか?",
14557
14521
  "neptune.Upload.csFailureText": "アップロードに失敗しました。もう一度やり直してください。",
14558
14522
  "neptune.Upload.csSuccessText": "アップロードが完了しました。",
14559
- "neptune.Upload.csTooLargeMessage": "5MBよりも小さいファイルをアップロードください",
14523
+ "neptune.Upload.csTooLargeMessage": "{maxSize}MB以下のファイルをアップロードしてください",
14560
14524
  "neptune.Upload.csWrongTypeMessage": "ファイルの種類はサポートされていません。別のファイルで再度お試しください",
14561
14525
  "neptune.Upload.psButtonText": "キャンセル",
14562
14526
  "neptune.Upload.psProcessingText": "アップロード中…",
14563
14527
  "neptune.Upload.usButtonText": "または、ファイルを選択する",
14564
14528
  "neptune.Upload.usDropMessage": "ファイルをドロップしてアップロードする",
14565
- "neptune.Upload.usPlaceholder": "5MB以下のファイルのみドラッグ&ドロップが可能です",
14529
+ "neptune.Upload.usPlaceholder": "{maxSize}MB以下のファイルをドラッグ&ドロップしてください",
14566
14530
  "neptune.UploadButton.allFileTypes": "すべてのファイル種類",
14567
14531
  "neptune.UploadButton.dropFiles": "ファイルをドロップしてアップロードする",
14568
14532
  "neptune.UploadButton.instructions": "{fileTypes}、{size}MB以下",
@@ -14614,13 +14578,13 @@ var pl = {
14614
14578
  "neptune.Upload.csButtonText": "Prześlij kolejny plik?",
14615
14579
  "neptune.Upload.csFailureText": "Przesyłanie nie powiodło się. Proszę spróbować ponownie",
14616
14580
  "neptune.Upload.csSuccessText": "Przesyłanie zakończone!",
14617
- "neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż 5MB",
14581
+ "neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż {maxSize}MB",
14618
14582
  "neptune.Upload.csWrongTypeMessage": "Nieobsługiwany typ pliku. Spróbuj ponownie z innym plikiem",
14619
14583
  "neptune.Upload.psButtonText": "Anuluj",
14620
14584
  "neptune.Upload.psProcessingText": "Przesyłanie...",
14621
14585
  "neptune.Upload.usButtonText": "Lub wybierz plik",
14622
14586
  "neptune.Upload.usDropMessage": "Upuść plik, aby rozpocząć przesyłanie",
14623
- "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż 5MB",
14587
+ "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż {maxSize}MB",
14624
14588
  "neptune.UploadButton.allFileTypes": "Wszystkie typy plików",
14625
14589
  "neptune.UploadButton.dropFiles": "Upuść plik, żeby rozpocząć przesyłanie",
14626
14590
  "neptune.UploadButton.instructions": "{fileTypes}, mniejsze niż {size}MB",
@@ -14672,13 +14636,13 @@ var pt = {
14672
14636
  "neptune.Upload.csButtonText": "Enviar outro documento?",
14673
14637
  "neptune.Upload.csFailureText": "Falha no envio. Por favor, tente novamente",
14674
14638
  "neptune.Upload.csSuccessText": "Envio concluído!",
14675
- "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de 5MB",
14639
+ "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de {maxSize}MB",
14676
14640
  "neptune.Upload.csWrongTypeMessage": "Não trabalhamos com este tipo de arquivo. Por favor, tente novamente com um arquivo diferente",
14677
14641
  "neptune.Upload.psButtonText": "Cancelar",
14678
14642
  "neptune.Upload.psProcessingText": "Enviando...",
14679
14643
  "neptune.Upload.usButtonText": "Ou escolha um arquivo",
14680
14644
  "neptune.Upload.usDropMessage": "Arraste o arquivo para iniciar o envio",
14681
- "neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que 5MB",
14645
+ "neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que {maxSize}MB",
14682
14646
  "neptune.UploadButton.allFileTypes": "Todos os tipos de arquivos",
14683
14647
  "neptune.UploadButton.dropFiles": "Arraste o arquivo para iniciar o envio",
14684
14648
  "neptune.UploadButton.instructions": "{fileTypes}, com menos de {size}MB",
@@ -14730,13 +14694,13 @@ var ro = {
14730
14694
  "neptune.Upload.csButtonText": "Încarci un alt fișier?",
14731
14695
  "neptune.Upload.csFailureText": "Încărcare eșuată. Te rugăm să încerci din nou",
14732
14696
  "neptune.Upload.csSuccessText": "Încărcare completă!",
14733
- "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de 5MB",
14697
+ "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de {maxSize} MB",
14734
14698
  "neptune.Upload.csWrongTypeMessage": "Tipul de fișier nu a fost acceptat. Te rugăm să încerci din nou cu un alt fișier",
14735
14699
  "neptune.Upload.psButtonText": "Anulează",
14736
14700
  "neptune.Upload.psProcessingText": "Se încarcă...",
14737
14701
  "neptune.Upload.usButtonText": "Sau selectează un fișier",
14738
14702
  "neptune.Upload.usDropMessage": "Atașează fișierul pentru a începe încărcarea",
14739
- "neptune.Upload.usPlaceholder": "Glisează și atașează un fișier de până în 5MB",
14703
+ "neptune.Upload.usPlaceholder": "Glisează și atașează un fișier mai mic de {maxSize} MB",
14740
14704
  "neptune.UploadButton.allFileTypes": "Toate tipurile de fișiere",
14741
14705
  "neptune.UploadButton.dropFiles": "Trage fișierul pentru a începe încărcarea",
14742
14706
  "neptune.UploadButton.instructions": "{fileTypes}, de maximum {size}MB",
@@ -14788,13 +14752,13 @@ var ru = {
14788
14752
  "neptune.Upload.csButtonText": "Загрузить другой файл?",
14789
14753
  "neptune.Upload.csFailureText": "Загрузка не удалась. Пожалуйста, попробуйте снова",
14790
14754
  "neptune.Upload.csSuccessText": "Загрузка завершена!",
14791
- "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее 5MB",
14755
+ "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее {maxSize} Мб",
14792
14756
  "neptune.Upload.csWrongTypeMessage": "Тип файла не поддерживается. Пожалуйста, попробуйте еще раз с другим файлом",
14793
14757
  "neptune.Upload.psButtonText": "Отменить",
14794
14758
  "neptune.Upload.psProcessingText": "Загружаем...",
14795
14759
  "neptune.Upload.usButtonText": "Или выберите файл",
14796
14760
  "neptune.Upload.usDropMessage": "Перетащите файл, чтобы начать загрузку",
14797
- "neptune.Upload.usPlaceholder": "Перетащите файл не больше 5MB",
14761
+ "neptune.Upload.usPlaceholder": "Перетащите файл размером не более {maxSize} Mб",
14798
14762
  "neptune.UploadButton.allFileTypes": "Все типы файлов",
14799
14763
  "neptune.UploadButton.dropFiles": "Перетащите файл, чтобы начать загрузку",
14800
14764
  "neptune.UploadButton.instructions": "{fileTypes}, не превышающий {size} MB",
@@ -14846,13 +14810,13 @@ var th = {
14846
14810
  "neptune.Upload.csButtonText": "อัพโหลดไฟล์อื่นหรือไม่",
14847
14811
  "neptune.Upload.csFailureText": "การอัปโหลดล้มเหลว กรุณาลองอีกครั้ง",
14848
14812
  "neptune.Upload.csSuccessText": "อัปโหลดเสร็จสมบูรณ์!",
14849
- "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า 5MB",
14813
+ "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า {maxSize}MB",
14850
14814
  "neptune.Upload.csWrongTypeMessage": "ไม่รองรับประเภทไฟล์ โปรดลองอีกครั้งโดยใช้ไฟล์อื่น",
14851
14815
  "neptune.Upload.psButtonText": "ยกเลิก",
14852
14816
  "neptune.Upload.psProcessingText": "กำลังอัปโหลด...",
14853
14817
  "neptune.Upload.usButtonText": "หรือเลือกไฟล์",
14854
14818
  "neptune.Upload.usDropMessage": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14855
- "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน 5MB",
14819
+ "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน {maxSize}MB",
14856
14820
  "neptune.UploadButton.allFileTypes": "ไฟล์ทุกประเภท",
14857
14821
  "neptune.UploadButton.dropFiles": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14858
14822
  "neptune.UploadButton.instructions": "{fileTypes} น้อยกว่า {size}MB",
@@ -14904,13 +14868,13 @@ var tr = {
14904
14868
  "neptune.Upload.csButtonText": "Başka bir dosya yükleyin?",
14905
14869
  "neptune.Upload.csFailureText": "Yükleme başarısız. Lütfen yine deneyin",
14906
14870
  "neptune.Upload.csSuccessText": "Yükleme tamamlandı!",
14907
- "neptune.Upload.csTooLargeMessage": "Lütfen 5 MB'den hüçük bir dosya sağlayın",
14871
+ "neptune.Upload.csTooLargeMessage": "Lütfen {maxSize} MB'den küçük bir dosya sağlayın",
14908
14872
  "neptune.Upload.csWrongTypeMessage": "Desteklenmeyen dosya biçimi. Lütfen başka bir dosyayla tekrar deneyin",
14909
14873
  "neptune.Upload.psButtonText": "İptal edin",
14910
14874
  "neptune.Upload.psProcessingText": "Yükleniyor...",
14911
14875
  "neptune.Upload.usButtonText": "Veya bir dosya seçin",
14912
14876
  "neptune.Upload.usDropMessage": "Yüklemeyi başlatmak için dosyayı bırakın",
14913
- "neptune.Upload.usPlaceholder": "5 MB'den küçük bir dosya sürükleyin ve bırakın",
14877
+ "neptune.Upload.usPlaceholder": "{maxSize} MB'den küçük bir dosya sürükleyin ve bırakın",
14914
14878
  "neptune.UploadButton.allFileTypes": "Tüm belge tipleri",
14915
14879
  "neptune.UploadButton.dropFiles": "Yüklemeyi başlatmak için dosyayı bırakın",
14916
14880
  "neptune.UploadButton.instructions": "{fileTypes}, en fazla {size}MB",
@@ -15019,13 +14983,13 @@ var zhCN = {
15019
14983
  "neptune.Upload.csButtonText": "上传另一个文件?",
15020
14984
  "neptune.Upload.csFailureText": "上传失败。请重试",
15021
14985
  "neptune.Upload.csSuccessText": "上传完毕!",
15022
- "neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
14986
+ "neptune.Upload.csTooLargeMessage": "请提供小于 {maxSize}MB 的文件",
15023
14987
  "neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
15024
14988
  "neptune.Upload.psButtonText": "取消",
15025
14989
  "neptune.Upload.psProcessingText": "正在上传…",
15026
14990
  "neptune.Upload.usButtonText": "或选择文件",
15027
14991
  "neptune.Upload.usDropMessage": "拖放文件开始上传",
15028
- "neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
14992
+ "neptune.Upload.usPlaceholder": "拖放小于 {maxSize}MB 的文件",
15029
14993
  "neptune.UploadButton.allFileTypes": "所有文件类型",
15030
14994
  "neptune.UploadButton.dropFiles": "拖放文件开始上传",
15031
14995
  "neptune.UploadButton.instructions": "{fileTypes},小于 {size} MB",
@@ -15077,13 +15041,13 @@ var zhHK = {
15077
15041
  "neptune.Upload.csButtonText": "上載另一個檔案?",
15078
15042
  "neptune.Upload.csFailureText": "上載失敗,請重試。",
15079
15043
  "neptune.Upload.csSuccessText": "上載完成!",
15080
- "neptune.Upload.csTooLargeMessage": "請提供小於5MB的檔案",
15044
+ "neptune.Upload.csTooLargeMessage": "請提供小於{maxSize}MB的檔案",
15081
15045
  "neptune.Upload.csWrongTypeMessage": "不支持檔案類型,請使用其他檔案重試",
15082
15046
  "neptune.Upload.psButtonText": "取消",
15083
15047
  "neptune.Upload.psProcessingText": "上載中...",
15084
15048
  "neptune.Upload.usButtonText": "或者選擇一個檔案",
15085
15049
  "neptune.Upload.usDropMessage": "拖放檔案以開始上載",
15086
- "neptune.Upload.usPlaceholder": "拖放不超過5MB的檔案",
15050
+ "neptune.Upload.usPlaceholder": "拖放不超過{maxSize}MB的檔案",
15087
15051
  "neptune.UploadButton.allFileTypes": "所有檔案類型",
15088
15052
  "neptune.UploadButton.dropFiles": "拖放檔案以開始上載",
15089
15053
  "neptune.UploadButton.instructions": "{fileTypes},小於{size}MB",
@@ -15201,14 +15165,14 @@ exports.Select = Select;
15201
15165
  exports.SelectInput = SelectInput;
15202
15166
  exports.SelectInputOptionContent = SelectInputOptionContent;
15203
15167
  exports.SelectInputTriggerButton = SelectInputTriggerButton;
15204
- exports.SlidingPanel = SlidingPanel$1;
15168
+ exports.SlidingPanel = SlidingPanel;
15205
15169
  exports.SnackbarConsumer = SnackbarConsumer;
15206
15170
  exports.SnackbarContext = SnackbarContext;
15207
15171
  exports.SnackbarPortal = SnackbarPortal;
15208
15172
  exports.SnackbarProvider = SnackbarProvider;
15209
15173
  exports.StatusIcon = StatusIcon;
15210
15174
  exports.Stepper = Stepper;
15211
- exports.Sticky = Sticky$1;
15175
+ exports.Sticky = Sticky;
15212
15176
  exports.Summary = Summary;
15213
15177
  exports.Switch = Switch;
15214
15178
  exports.SwitchOption = SwitchOption;