@transferwise/components 0.0.0-experimental-79c0fba → 0.0.0-experimental-75135c1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/build/i18n/cs.json +2 -2
  2. package/build/i18n/de.json +2 -2
  3. package/build/i18n/en.json +2 -2
  4. package/build/i18n/es.json +2 -2
  5. package/build/i18n/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 +130 -111
  18. package/build/index.esm.js.map +1 -1
  19. package/build/index.js +131 -112
  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/build/types/upload/steps/processingStep/processingStep.d.ts.map +1 -1
  36. package/package.json +1 -1
  37. package/src/circularButton/CircularButton.tsx +2 -2
  38. package/src/common/bottomSheet/BottomSheet.tsx +41 -47
  39. package/src/common/bottomSheet/__snapshots__/BottomSheet.spec.tsx.snap +33 -37
  40. package/src/i18n/cs.json +2 -2
  41. package/src/i18n/de.json +2 -2
  42. package/src/i18n/en.json +2 -2
  43. package/src/i18n/es.json +2 -2
  44. package/src/i18n/hu.json +2 -2
  45. package/src/i18n/id.json +2 -2
  46. package/src/i18n/it.json +2 -2
  47. package/src/i18n/ja.json +2 -2
  48. package/src/i18n/pl.json +2 -2
  49. package/src/i18n/pt.json +2 -2
  50. package/src/i18n/ro.json +2 -2
  51. package/src/i18n/ru.json +2 -2
  52. package/src/i18n/th.json +2 -2
  53. package/src/i18n/tr.json +2 -2
  54. package/src/i18n/zh-CN.json +2 -2
  55. package/src/i18n/zh-HK.json +2 -2
  56. package/src/index.ts +0 -2
  57. package/src/select/Select.spec.js +1 -1
  58. package/src/slidingPanel/SlidingPanel.js +73 -0
  59. package/src/slidingPanel/SlidingPanel.spec.js +19 -9
  60. package/src/slidingPanel/index.js +1 -0
  61. package/src/sticky/Sticky.js +23 -0
  62. package/src/sticky/Sticky.spec.js +1 -0
  63. package/src/sticky/{Sticky.story.tsx → Sticky.story.js} +3 -2
  64. package/src/sticky/index.js +1 -0
  65. package/src/upload/Upload.js +23 -22
  66. package/src/upload/Upload.messages.js +2 -2
  67. package/src/upload/Upload.story.js +1 -1
  68. package/src/upload/steps/processingStep/processingStep.js +9 -19
  69. package/src/slidingPanel/SlidingPanel.tsx +0 -62
  70. package/src/slidingPanel/index.ts +0 -2
  71. package/src/sticky/Sticky.tsx +0 -16
  72. package/src/sticky/index.ts +0 -2
  73. /package/src/slidingPanel/{SlidingPanel.story.tsx → SlidingPanel.story.js} +0 -0
package/build/index.js CHANGED
@@ -1786,14 +1786,15 @@ const useLayout = () => {
1786
1786
 
1787
1787
  const EXIT_ANIMATION = 350;
1788
1788
  const SlidingPanel = /*#__PURE__*/React.forwardRef(({
1789
- position = 'left',
1789
+ children,
1790
+ className,
1790
1791
  open,
1792
+ position,
1791
1793
  showSlidingPanelBorder,
1792
1794
  slidingPanelPositionFixed,
1793
- className,
1794
- children,
1795
1795
  ...rest
1796
1796
  }, reference) => {
1797
+ /** @type {RefObject<HTMLDivElement>} */
1797
1798
  const localReference = React.useRef(null);
1798
1799
  return /*#__PURE__*/React.createElement(reactTransitionGroup.CSSTransition, {
1799
1800
  ...rest,
@@ -1806,15 +1807,34 @@ const SlidingPanel = /*#__PURE__*/React.forwardRef(({
1806
1807
  enter: 0,
1807
1808
  exit: EXIT_ANIMATION
1808
1809
  },
1809
- classNames: "sliding-panel",
1810
+ classNames: classNames__default.default(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
1811
+ 'sliding-panel--fixed': slidingPanelPositionFixed
1812
+ }, 'sliding-panel'),
1810
1813
  appear: true,
1811
1814
  unmountOnExit: true
1812
1815
  }, /*#__PURE__*/jsxRuntime.jsx("div", {
1813
1816
  ref: mergeRefs__default.default([reference, localReference]),
1814
- className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, slidingPanelPositionFixed && 'sliding-panel--fixed', className),
1817
+ className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, className),
1815
1818
  children: children
1816
1819
  }));
1817
1820
  });
1821
+ SlidingPanel.propTypes = {
1822
+ children: PropTypes__default.default.node,
1823
+ className: PropTypes__default.default.string,
1824
+ open: PropTypes__default.default.bool,
1825
+ position: PropTypes__default.default.oneOf(['top', 'bottom', 'left', 'right']),
1826
+ showSlidingPanelBorder: PropTypes__default.default.bool,
1827
+ slidingPanelPositionFixed: PropTypes__default.default.bool
1828
+ };
1829
+ SlidingPanel.defaultProps = {
1830
+ children: null,
1831
+ className: undefined,
1832
+ open: false,
1833
+ position: 'left',
1834
+ showSlidingPanelBorder: false,
1835
+ slidingPanelPositionFixed: false
1836
+ };
1837
+ var SlidingPanel$1 = SlidingPanel;
1818
1838
 
1819
1839
  const Drawer = ({
1820
1840
  children,
@@ -1833,7 +1853,7 @@ const Drawer = ({
1833
1853
  return /*#__PURE__*/jsxRuntime.jsx(Dimmer$1, {
1834
1854
  open: open,
1835
1855
  onClose: onClose,
1836
- children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel, {
1856
+ children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel$1, {
1837
1857
  open: open,
1838
1858
  position: isMobile ? exports.Position.BOTTOM : position,
1839
1859
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
@@ -1950,15 +1970,15 @@ const BottomSheet$1 = props => {
1950
1970
  props.onClose(event);
1951
1971
  }
1952
1972
  }
1953
- const onSwipeStart = event => {
1954
- initialYCoordinate.current = ('touches' in event ? event.touches[0] : event).clientY;
1973
+ const onSwipeStart = isMobile => event => {
1974
+ initialYCoordinate.current = (isMobile ? event.touches[0] : event).clientY;
1955
1975
  setPressed(true);
1956
1976
  };
1957
- const onSwipeMove = event => {
1977
+ const onSwipeMove = isMobile => event => {
1958
1978
  if (pressed) {
1959
1979
  const {
1960
1980
  clientY
1961
- } = 'touches' in event ? event.touches[0] : event;
1981
+ } = isMobile ? event.touches[0] : event;
1962
1982
  const offset = calculateOffsetAfterMove(clientY);
1963
1983
  // check whether move is to the bottom only and content scroll position is at the top
1964
1984
  if (offset > INITIAL_Y_POSITION && isContentScrollPositionAtTop()) {
@@ -2027,37 +2047,34 @@ const BottomSheet$1 = props => {
2027
2047
  fadeContentOnEnter: true,
2028
2048
  fadeContentOnExit: true,
2029
2049
  onClose: close,
2030
- children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel, {
2050
+ children: /*#__PURE__*/jsxRuntime.jsxs(SlidingPanel$1, {
2031
2051
  ref: bottomSheetReference,
2032
2052
  open: props.open,
2033
2053
  position: exports.Position.BOTTOM,
2034
2054
  className: classNames__default.default('np-bottom-sheet', props.className),
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
2055
+ role: "dialog",
2056
+ onTouchStart: onSwipeStart(true),
2057
+ onTouchMove: onSwipeMove(true),
2058
+ onTouchEnd: onSwipeEnd,
2059
+ onMouseDown: onSwipeStart(false),
2060
+ onMouseMove: onSwipeMove(false),
2061
+ onMouseUp: onSwipeEnd,
2062
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
2063
+ ref: topBarReference,
2064
+ className: "np-bottom-sheet--top-bar",
2065
+ children: [/*#__PURE__*/jsxRuntime.jsx("div", {
2066
+ className: "np-bottom-sheet--handler"
2067
+ }), /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
2068
+ size: "sm",
2069
+ className: "sr-only np-bottom-sheet--close-btn",
2070
+ onClick: close
2059
2071
  })]
2060
- })
2072
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
2073
+ ref: contentReference,
2074
+ style: setContentMaxHeight(),
2075
+ className: "np-bottom-sheet--content",
2076
+ children: props.children
2077
+ })]
2061
2078
  })
2062
2079
  });
2063
2080
  };
@@ -9796,13 +9813,13 @@ var en = {
9796
9813
  "neptune.Upload.csButtonText": "Upload another file?",
9797
9814
  "neptune.Upload.csFailureText": "Upload failed. Please, try again",
9798
9815
  "neptune.Upload.csSuccessText": "Upload complete!",
9799
- "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than 5MB",
9816
+ "neptune.Upload.csTooLargeMessage": "Please provide a file smaller than {maxSize}MB",
9800
9817
  "neptune.Upload.csWrongTypeMessage": "File type not supported. Please try again with a different file",
9801
9818
  "neptune.Upload.psButtonText": "Cancel",
9802
9819
  "neptune.Upload.psProcessingText": "Uploading...",
9803
9820
  "neptune.Upload.usButtonText": "Or select a file",
9804
9821
  "neptune.Upload.usDropMessage": "Drop file to start upload",
9805
- "neptune.Upload.usPlaceholder": "Drag and drop a file less than 5MB",
9822
+ "neptune.Upload.usPlaceholder": "Drag and drop a file less than {maxSize}MB",
9806
9823
  "neptune.UploadButton.allFileTypes": "All file types",
9807
9824
  "neptune.UploadButton.dropFiles": "Drop file to start upload",
9808
9825
  "neptune.UploadButton.instructions": "{fileTypes}, less than {size}MB",
@@ -10958,19 +10975,28 @@ function SnackbarProvider({
10958
10975
  });
10959
10976
  }
10960
10977
 
10961
- function Sticky({
10962
- open = true,
10963
- position = 'bottom',
10978
+ const Sticky = ({
10979
+ open,
10980
+ position,
10964
10981
  children
10965
- }) {
10966
- return /*#__PURE__*/jsxRuntime.jsx(SlidingPanel, {
10967
- open: open,
10968
- position: position,
10969
- slidingPanelPositionFixed: true,
10970
- showSlidingPanelBorder: true,
10971
- children: children
10972
- });
10973
- }
10982
+ }) => /*#__PURE__*/jsxRuntime.jsx(SlidingPanel$1, {
10983
+ open: open,
10984
+ position: position,
10985
+ slidingPanelPositionFixed: true,
10986
+ showSlidingPanelBorder: true,
10987
+ children: children
10988
+ });
10989
+ Sticky.propTypes = {
10990
+ open: PropTypes__default.default.bool,
10991
+ position: PropTypes__default.default.oneOf(['top', 'bottom']),
10992
+ children: PropTypes__default.default.node
10993
+ };
10994
+ Sticky.defaultProps = {
10995
+ open: true,
10996
+ position: 'bottom',
10997
+ children: null
10998
+ };
10999
+ var Sticky$1 = Sticky;
10974
11000
 
10975
11001
  var messages$1 = reactIntl.defineMessages({
10976
11002
  statusNotDone: {
@@ -12793,9 +12819,6 @@ const ProcessingStep = props => {
12793
12819
  psProcessingText,
12794
12820
  psButtonDisabled
12795
12821
  } = props;
12796
- const {
12797
- isModern
12798
- } = componentsTheming.useTheme();
12799
12822
  let processStatus = exports.Status.PROCESSING;
12800
12823
  if (isError) {
12801
12824
  processStatus = exports.Status.FAILED;
@@ -12803,22 +12826,21 @@ const ProcessingStep = props => {
12803
12826
  if (isSuccess) {
12804
12827
  processStatus = exports.Status.SUCCEEDED;
12805
12828
  }
12829
+ React.useEffect(() => {
12830
+ if (processStatus !== exports.Status.PROCESSING) {
12831
+ onAnimationCompleted(processStatus);
12832
+ }
12833
+ }, [processStatus, onAnimationCompleted]);
12806
12834
  return /*#__PURE__*/jsxRuntime.jsx("div", {
12807
12835
  className: "droppable-processing-card droppable-card",
12808
12836
  "aria-hidden": isComplete,
12809
12837
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
12810
12838
  className: "droppable-card-content",
12811
12839
  children: [/*#__PURE__*/jsxRuntime.jsx(ProcessIndicator$1, {
12812
- size: exports.Size.Small,
12813
- status: processStatus,
12814
- onAnimationCompleted: status => onAnimationCompleted(status)
12840
+ size: exports.Size.SMALL,
12841
+ status: processStatus
12815
12842
  }), /*#__PURE__*/jsxRuntime.jsx(Title, {
12816
- className: classNames__default.default({
12817
- 'm-t-3': !isModern,
12818
- 'm-b-3': !isModern,
12819
- 'm-t-2': isModern,
12820
- 'm-b-2': isModern
12821
- }),
12843
+ className: "m-t-2 m-b-2",
12822
12844
  type: exports.Typography.TITLE_BODY,
12823
12845
  "aria-live": "polite",
12824
12846
  children: psProcessingText
@@ -12953,7 +12975,9 @@ class Upload extends React.Component {
12953
12975
  getErrorMessage(status) {
12954
12976
  switch (status) {
12955
12977
  case 413:
12956
- return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage);
12978
+ return this.props.csTooLargeMessage || this.props.intl.formatMessage(messages.csTooLargeMessage, {
12979
+ maxSize: this.props.maxSize / 1000000
12980
+ });
12957
12981
  case 415:
12958
12982
  return this.props.csWrongTypeMessage || this.props.intl.formatMessage(messages.csWrongTypeMessage);
12959
12983
  default:
@@ -13003,31 +13027,24 @@ class Upload extends React.Component {
13003
13027
  fileName
13004
13028
  } = this.state;
13005
13029
  // Success.
13006
- const {
13007
- animationDelay
13008
- } = this.props;
13009
13030
  if (isProcessing && status === exports.Status.SUCCEEDED) {
13010
13031
  const {
13011
13032
  onSuccess
13012
13033
  } = this.props;
13013
- this.timeouts = setTimeout(() => {
13014
- this.setState({
13015
- isProcessing: false,
13016
- isComplete: true
13017
- }, () => onSuccess ? onSuccess(response, fileName) : {});
13018
- }, animationDelay);
13034
+ this.setState({
13035
+ isProcessing: false,
13036
+ isComplete: true
13037
+ }, () => onSuccess ? onSuccess(response, fileName) : {});
13019
13038
  }
13020
13039
  // Failure.
13021
13040
  if (isProcessing && status === exports.Status.FAILED) {
13022
13041
  const {
13023
13042
  onFailure
13024
13043
  } = this.props;
13025
- this.timeouts = setTimeout(() => {
13026
- this.setState({
13027
- isProcessing: false,
13028
- isComplete: true
13029
- }, () => onFailure ? onFailure(response) : {});
13030
- }, animationDelay);
13044
+ this.setState({
13045
+ isProcessing: false,
13046
+ isComplete: true
13047
+ }, () => onFailure ? onFailure(response) : {});
13031
13048
  }
13032
13049
  };
13033
13050
  asyncPost = file => {
@@ -13211,7 +13228,9 @@ class Upload extends React.Component {
13211
13228
  usDisabled: usDisabled,
13212
13229
  usHelpImage: usHelpImage,
13213
13230
  usLabel: usLabel,
13214
- usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder)
13231
+ usPlaceholder: usPlaceholder || intl.formatMessage(messages.usPlaceholder, {
13232
+ maxSize: this.props.maxSize / 1000000
13233
+ })
13215
13234
  }), isProcessing && /*#__PURE__*/jsxRuntime.jsx(ProcessingStep$1, {
13216
13235
  isComplete: isComplete,
13217
13236
  isError: isError,
@@ -13293,7 +13312,7 @@ Upload.propTypes = {
13293
13312
  uploadStep: PropTypes__default.default.oneOf(['uploadImageStep', 'mediaUploadStep'])
13294
13313
  };
13295
13314
  Upload.defaultProps = {
13296
- animationDelay: 700,
13315
+ animationDelay: 0,
13297
13316
  csButtonText: undefined,
13298
13317
  csFailureText: undefined,
13299
13318
  csSuccessText: undefined,
@@ -14110,13 +14129,13 @@ var cs = {
14110
14129
  "neptune.Upload.csButtonText": "Nahrát další soubor?",
14111
14130
  "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
14112
14131
  "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
14113
- "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
14132
+ "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než {maxSize}MB",
14114
14133
  "neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
14115
14134
  "neptune.Upload.psButtonText": "Zrušit",
14116
14135
  "neptune.Upload.psProcessingText": "Načítání...",
14117
14136
  "neptune.Upload.usButtonText": "Nebo vyberte soubor",
14118
14137
  "neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
14119
- "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než 5MB",
14138
+ "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než {maxSize}MB",
14120
14139
  "neptune.UploadButton.allFileTypes": "Všechny typy souborů",
14121
14140
  "neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
14122
14141
  "neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
@@ -14168,13 +14187,13 @@ var de = {
14168
14187
  "neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
14169
14188
  "neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
14170
14189
  "neptune.Upload.csSuccessText": "Fertig hochgeladen!",
14171
- "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als 5 MB ist",
14190
+ "neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als {maxSize} MB ist",
14172
14191
  "neptune.Upload.csWrongTypeMessage": "Dateityp wird nicht unterstützt. Bitte versuche es erneut mit einer anderen Datei",
14173
14192
  "neptune.Upload.psButtonText": "Abbrechen",
14174
14193
  "neptune.Upload.psProcessingText": "Wird hochgeladen...",
14175
14194
  "neptune.Upload.usButtonText": "Oder wähle eine Datei aus",
14176
14195
  "neptune.Upload.usDropMessage": "Datei zum Hochladen in dieses Feld ziehen",
14177
- "neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als 5 MB ist",
14196
+ "neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als {maxSize} MB ist",
14178
14197
  "neptune.UploadButton.allFileTypes": "Alle Dateiformate",
14179
14198
  "neptune.UploadButton.dropFiles": "Datei zum Hochladen in dieses Feld ziehen",
14180
14199
  "neptune.UploadButton.instructions": "{fileTypes}, kleiner als {size} MB",
@@ -14226,13 +14245,13 @@ var es = {
14226
14245
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
14227
14246
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
14228
14247
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
14229
- "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de 5 MB",
14248
+ "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de {maxSize}MB",
14230
14249
  "neptune.Upload.csWrongTypeMessage": "Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente",
14231
14250
  "neptune.Upload.psButtonText": "Cancela",
14232
14251
  "neptune.Upload.psProcessingText": "Subiendo...",
14233
14252
  "neptune.Upload.usButtonText": "O selecciona un archivo",
14234
14253
  "neptune.Upload.usDropMessage": "Arrastra un archivo para subirlo",
14235
- "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de 5MB",
14254
+ "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de {maxSize}MB",
14236
14255
  "neptune.UploadButton.allFileTypes": "Todos los tipos de archivos",
14237
14256
  "neptune.UploadButton.dropFiles": "Arrastra un archivo para subirlo",
14238
14257
  "neptune.UploadButton.instructions": "{fileTypes}, menor que {size}MB",
@@ -14342,13 +14361,13 @@ var hu = {
14342
14361
  "neptune.Upload.csButtonText": "Másik fájl feltöltése?",
14343
14362
  "neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
14344
14363
  "neptune.Upload.csSuccessText": "Feltöltés sikeres",
14345
- "neptune.Upload.csTooLargeMessage": "Kérünk, 5 MB-nál kisebb fájlt tölts fel",
14364
+ "neptune.Upload.csTooLargeMessage": "Kérünk, {maxSize} MB-nál kisebb fájlt tölts fel",
14346
14365
  "neptune.Upload.csWrongTypeMessage": "Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal",
14347
14366
  "neptune.Upload.psButtonText": "Mégsem",
14348
14367
  "neptune.Upload.psProcessingText": "Feltöltés...",
14349
14368
  "neptune.Upload.usButtonText": "Vagy válaszd ki a fájlt",
14350
14369
  "neptune.Upload.usDropMessage": "Húzd ide a fájlokat a feltöltéshez",
14351
- "neptune.Upload.usPlaceholder": "Húzz ide egy 5MB-nál kisebb fájlt",
14370
+ "neptune.Upload.usPlaceholder": "Húzz ide egy {maxSize} MB-nál kisebb fájlt",
14352
14371
  "neptune.UploadButton.allFileTypes": "Összes fájltípus",
14353
14372
  "neptune.UploadButton.dropFiles": "Húzd a fájlokat ide a feltöltéshez",
14354
14373
  "neptune.UploadButton.instructions": "{fileTypes}, legfeljebb {size}MB",
@@ -14400,13 +14419,13 @@ var id = {
14400
14419
  "neptune.Upload.csButtonText": "Unggah file lainnya?",
14401
14420
  "neptune.Upload.csFailureText": "Unggahan gagal. Silakan coba lagi",
14402
14421
  "neptune.Upload.csSuccessText": "Pengunggahan selesai!",
14403
- "neptune.Upload.csTooLargeMessage": "Harap berikan file kurang dari 5MB",
14422
+ "neptune.Upload.csTooLargeMessage": "Harap berikan file kurang dari {maxSize}MB",
14404
14423
  "neptune.Upload.csWrongTypeMessage": "Tipe file ini tidak didukung. Mohon coba lagi dengan file yang berbeda",
14405
14424
  "neptune.Upload.psButtonText": "Batalkan",
14406
14425
  "neptune.Upload.psProcessingText": "Mengunggah...",
14407
14426
  "neptune.Upload.usButtonText": "Atau pilih file",
14408
14427
  "neptune.Upload.usDropMessage": "Letakkan file untuk mulai mengunggah",
14409
- "neptune.Upload.usPlaceholder": "Geser dan letakkan file berukuran kurang dari 5MB",
14428
+ "neptune.Upload.usPlaceholder": "Geser dan letakkan file berukuran kurang dari {maxSize}MB",
14410
14429
  "neptune.UploadButton.allFileTypes": "Semua jenis file",
14411
14430
  "neptune.UploadButton.dropFiles": "Lepaskan file untuk mulai mengunggah",
14412
14431
  "neptune.UploadButton.instructions": "{fileTypes}, kurang dari {size}MB",
@@ -14458,13 +14477,13 @@ var it = {
14458
14477
  "neptune.Upload.csButtonText": "Carica un altro documento?",
14459
14478
  "neptune.Upload.csFailureText": "Caricamento fallito. Per favore riprova",
14460
14479
  "neptune.Upload.csSuccessText": "Caricamento completato!",
14461
- "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di 5MB",
14480
+ "neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di {maxSize}MB",
14462
14481
  "neptune.Upload.csWrongTypeMessage": "Formato del documento non supportato. Riprova con un formato diverso",
14463
14482
  "neptune.Upload.psButtonText": "Annulla",
14464
14483
  "neptune.Upload.psProcessingText": "Caricamento...",
14465
14484
  "neptune.Upload.usButtonText": "O seleziona un documento",
14466
14485
  "neptune.Upload.usDropMessage": "Rilascia il documento per iniziare il caricamento",
14467
- "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a 5MB",
14486
+ "neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a {maxSize}MB",
14468
14487
  "neptune.UploadButton.allFileTypes": "Tutti i tipi di file",
14469
14488
  "neptune.UploadButton.dropFiles": "Rilascia file per iniziare a caricare",
14470
14489
  "neptune.UploadButton.instructions": "{fileTypes}, minore di {size}MB",
@@ -14516,13 +14535,13 @@ var ja = {
14516
14535
  "neptune.Upload.csButtonText": "別のファイルをアップロードしますか?",
14517
14536
  "neptune.Upload.csFailureText": "アップロードに失敗しました。もう一度やり直してください。",
14518
14537
  "neptune.Upload.csSuccessText": "アップロードが完了しました。",
14519
- "neptune.Upload.csTooLargeMessage": "5MBよりも小さいファイルをアップロードください",
14538
+ "neptune.Upload.csTooLargeMessage": "{maxSize}MBよりも小さいファイルをアップロードください",
14520
14539
  "neptune.Upload.csWrongTypeMessage": "ファイルの種類はサポートされていません。別のファイルで再度お試しください",
14521
14540
  "neptune.Upload.psButtonText": "キャンセル",
14522
14541
  "neptune.Upload.psProcessingText": "アップロード中…",
14523
14542
  "neptune.Upload.usButtonText": "または、ファイルを選択する",
14524
14543
  "neptune.Upload.usDropMessage": "ファイルをドロップしてアップロードする",
14525
- "neptune.Upload.usPlaceholder": "5MB以下のファイルのみドラッグ&ドロップが可能です",
14544
+ "neptune.Upload.usPlaceholder": "{maxSize}MB以下のファイルのみドラッグ&ドロップが可能です",
14526
14545
  "neptune.UploadButton.allFileTypes": "すべてのファイル種類",
14527
14546
  "neptune.UploadButton.dropFiles": "ファイルをドロップしてアップロードする",
14528
14547
  "neptune.UploadButton.instructions": "{fileTypes}、{size}MB以下",
@@ -14574,13 +14593,13 @@ var pl = {
14574
14593
  "neptune.Upload.csButtonText": "Prześlij kolejny plik?",
14575
14594
  "neptune.Upload.csFailureText": "Przesyłanie nie powiodło się. Proszę spróbować ponownie",
14576
14595
  "neptune.Upload.csSuccessText": "Przesyłanie zakończone!",
14577
- "neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż 5MB",
14596
+ "neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż {maxSize}MB",
14578
14597
  "neptune.Upload.csWrongTypeMessage": "Nieobsługiwany typ pliku. Spróbuj ponownie z innym plikiem",
14579
14598
  "neptune.Upload.psButtonText": "Anuluj",
14580
14599
  "neptune.Upload.psProcessingText": "Przesyłanie...",
14581
14600
  "neptune.Upload.usButtonText": "Lub wybierz plik",
14582
14601
  "neptune.Upload.usDropMessage": "Upuść plik, aby rozpocząć przesyłanie",
14583
- "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż 5MB",
14602
+ "neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż {maxSize}MB",
14584
14603
  "neptune.UploadButton.allFileTypes": "Wszystkie typy plików",
14585
14604
  "neptune.UploadButton.dropFiles": "Upuść plik, żeby rozpocząć przesyłanie",
14586
14605
  "neptune.UploadButton.instructions": "{fileTypes}, mniejsze niż {size}MB",
@@ -14632,13 +14651,13 @@ var pt = {
14632
14651
  "neptune.Upload.csButtonText": "Enviar outro documento?",
14633
14652
  "neptune.Upload.csFailureText": "Falha no envio. Por favor, tente novamente",
14634
14653
  "neptune.Upload.csSuccessText": "Envio concluído!",
14635
- "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de 5MB",
14654
+ "neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de {maxSize}MB",
14636
14655
  "neptune.Upload.csWrongTypeMessage": "Não trabalhamos com este tipo de arquivo. Por favor, tente novamente com um arquivo diferente",
14637
14656
  "neptune.Upload.psButtonText": "Cancelar",
14638
14657
  "neptune.Upload.psProcessingText": "Enviando...",
14639
14658
  "neptune.Upload.usButtonText": "Ou escolha um arquivo",
14640
14659
  "neptune.Upload.usDropMessage": "Arraste o arquivo para iniciar o envio",
14641
- "neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que 5MB",
14660
+ "neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que {maxSize}MB",
14642
14661
  "neptune.UploadButton.allFileTypes": "Todos os tipos de arquivos",
14643
14662
  "neptune.UploadButton.dropFiles": "Arraste o arquivo para iniciar o envio",
14644
14663
  "neptune.UploadButton.instructions": "{fileTypes}, com menos de {size}MB",
@@ -14690,13 +14709,13 @@ var ro = {
14690
14709
  "neptune.Upload.csButtonText": "Încarci un alt fișier?",
14691
14710
  "neptune.Upload.csFailureText": "Încărcare eșuată. Te rugăm să încerci din nou",
14692
14711
  "neptune.Upload.csSuccessText": "Încărcare completă!",
14693
- "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de 5MB",
14712
+ "neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de {maxSize}MB",
14694
14713
  "neptune.Upload.csWrongTypeMessage": "Tipul de fișier nu a fost acceptat. Te rugăm să încerci din nou cu un alt fișier",
14695
14714
  "neptune.Upload.psButtonText": "Anulează",
14696
14715
  "neptune.Upload.psProcessingText": "Se încarcă...",
14697
14716
  "neptune.Upload.usButtonText": "Sau selectează un fișier",
14698
14717
  "neptune.Upload.usDropMessage": "Atașează fișierul pentru a începe încărcarea",
14699
- "neptune.Upload.usPlaceholder": "Glisează și atașează un fișier de până în 5MB",
14718
+ "neptune.Upload.usPlaceholder": "Glisează și atașează un fișier de până în {maxSize}MB",
14700
14719
  "neptune.UploadButton.allFileTypes": "Toate tipurile de fișiere",
14701
14720
  "neptune.UploadButton.dropFiles": "Trage fișierul pentru a începe încărcarea",
14702
14721
  "neptune.UploadButton.instructions": "{fileTypes}, de maximum {size}MB",
@@ -14748,13 +14767,13 @@ var ru = {
14748
14767
  "neptune.Upload.csButtonText": "Загрузить другой файл?",
14749
14768
  "neptune.Upload.csFailureText": "Загрузка не удалась. Пожалуйста, попробуйте снова",
14750
14769
  "neptune.Upload.csSuccessText": "Загрузка завершена!",
14751
- "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее 5MB",
14770
+ "neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее {maxSize}MB",
14752
14771
  "neptune.Upload.csWrongTypeMessage": "Тип файла не поддерживается. Пожалуйста, попробуйте еще раз с другим файлом",
14753
14772
  "neptune.Upload.psButtonText": "Отменить",
14754
14773
  "neptune.Upload.psProcessingText": "Загружаем...",
14755
14774
  "neptune.Upload.usButtonText": "Или выберите файл",
14756
14775
  "neptune.Upload.usDropMessage": "Перетащите файл, чтобы начать загрузку",
14757
- "neptune.Upload.usPlaceholder": "Перетащите файл не больше 5MB",
14776
+ "neptune.Upload.usPlaceholder": "Перетащите файл не больше {maxSize}MB",
14758
14777
  "neptune.UploadButton.allFileTypes": "Все типы файлов",
14759
14778
  "neptune.UploadButton.dropFiles": "Перетащите файл, чтобы начать загрузку",
14760
14779
  "neptune.UploadButton.instructions": "{fileTypes}, не превышающий {size} MB",
@@ -14806,13 +14825,13 @@ var th = {
14806
14825
  "neptune.Upload.csButtonText": "อัพโหลดไฟล์อื่นหรือไม่",
14807
14826
  "neptune.Upload.csFailureText": "การอัปโหลดล้มเหลว กรุณาลองอีกครั้ง",
14808
14827
  "neptune.Upload.csSuccessText": "อัปโหลดเสร็จสมบูรณ์!",
14809
- "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า 5MB",
14828
+ "neptune.Upload.csTooLargeMessage": "กรุณาใช้ไฟล์ที่มีขนาดเล็กกว่า {maxSize}MB",
14810
14829
  "neptune.Upload.csWrongTypeMessage": "ไม่รองรับประเภทไฟล์ โปรดลองอีกครั้งโดยใช้ไฟล์อื่น",
14811
14830
  "neptune.Upload.psButtonText": "ยกเลิก",
14812
14831
  "neptune.Upload.psProcessingText": "กำลังอัปโหลด...",
14813
14832
  "neptune.Upload.usButtonText": "หรือเลือกไฟล์",
14814
14833
  "neptune.Upload.usDropMessage": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14815
- "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน 5MB",
14834
+ "neptune.Upload.usPlaceholder": "ลากและวางไฟล์ที่มีขนาดไม่เกิน {maxSize}MB",
14816
14835
  "neptune.UploadButton.allFileTypes": "ไฟล์ทุกประเภท",
14817
14836
  "neptune.UploadButton.dropFiles": "วางไฟล์เพื่อเริ่มการอัปโหลด",
14818
14837
  "neptune.UploadButton.instructions": "{fileTypes} น้อยกว่า {size}MB",
@@ -14864,13 +14883,13 @@ var tr = {
14864
14883
  "neptune.Upload.csButtonText": "Başka bir dosya yükleyin?",
14865
14884
  "neptune.Upload.csFailureText": "Yükleme başarısız. Lütfen yine deneyin",
14866
14885
  "neptune.Upload.csSuccessText": "Yükleme tamamlandı!",
14867
- "neptune.Upload.csTooLargeMessage": "Lütfen 5 MB'den hüçük bir dosya sağlayın",
14886
+ "neptune.Upload.csTooLargeMessage": "Lütfen {maxSize} MB'den hüçük bir dosya sağlayın",
14868
14887
  "neptune.Upload.csWrongTypeMessage": "Desteklenmeyen dosya biçimi. Lütfen başka bir dosyayla tekrar deneyin",
14869
14888
  "neptune.Upload.psButtonText": "İptal edin",
14870
14889
  "neptune.Upload.psProcessingText": "Yükleniyor...",
14871
14890
  "neptune.Upload.usButtonText": "Veya bir dosya seçin",
14872
14891
  "neptune.Upload.usDropMessage": "Yüklemeyi başlatmak için dosyayı bırakın",
14873
- "neptune.Upload.usPlaceholder": "5 MB'den küçük bir dosya sürükleyin ve bırakın",
14892
+ "neptune.Upload.usPlaceholder": "{maxSize} MB'den küçük bir dosya sürükleyin ve bırakın",
14874
14893
  "neptune.UploadButton.allFileTypes": "Tüm belge tipleri",
14875
14894
  "neptune.UploadButton.dropFiles": "Yüklemeyi başlatmak için dosyayı bırakın",
14876
14895
  "neptune.UploadButton.instructions": "{fileTypes}, en fazla {size}MB",
@@ -14979,13 +14998,13 @@ var zhCN = {
14979
14998
  "neptune.Upload.csButtonText": "上传另一个文件?",
14980
14999
  "neptune.Upload.csFailureText": "上传失败。请重试",
14981
15000
  "neptune.Upload.csSuccessText": "上传完毕!",
14982
- "neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
15001
+ "neptune.Upload.csTooLargeMessage": "请提供小于 {maxSize}MB 的文件",
14983
15002
  "neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
14984
15003
  "neptune.Upload.psButtonText": "取消",
14985
15004
  "neptune.Upload.psProcessingText": "正在上传…",
14986
15005
  "neptune.Upload.usButtonText": "或选择文件",
14987
15006
  "neptune.Upload.usDropMessage": "拖放文件开始上传",
14988
- "neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
15007
+ "neptune.Upload.usPlaceholder": "拖放小于 {maxSize}MB 的文件",
14989
15008
  "neptune.UploadButton.allFileTypes": "所有文件类型",
14990
15009
  "neptune.UploadButton.dropFiles": "拖放文件开始上传",
14991
15010
  "neptune.UploadButton.instructions": "{fileTypes},小于 {size} MB",
@@ -15037,13 +15056,13 @@ var zhHK = {
15037
15056
  "neptune.Upload.csButtonText": "上載另一個檔案?",
15038
15057
  "neptune.Upload.csFailureText": "上載失敗,請重試。",
15039
15058
  "neptune.Upload.csSuccessText": "上載完成!",
15040
- "neptune.Upload.csTooLargeMessage": "請提供小於5MB的檔案",
15059
+ "neptune.Upload.csTooLargeMessage": "請提供小於{maxSize}MB的檔案",
15041
15060
  "neptune.Upload.csWrongTypeMessage": "不支持檔案類型,請使用其他檔案重試",
15042
15061
  "neptune.Upload.psButtonText": "取消",
15043
15062
  "neptune.Upload.psProcessingText": "上載中...",
15044
15063
  "neptune.Upload.usButtonText": "或者選擇一個檔案",
15045
15064
  "neptune.Upload.usDropMessage": "拖放檔案以開始上載",
15046
- "neptune.Upload.usPlaceholder": "拖放不超過5MB的檔案",
15065
+ "neptune.Upload.usPlaceholder": "拖放不超過{maxSize}MB的檔案",
15047
15066
  "neptune.UploadButton.allFileTypes": "所有檔案類型",
15048
15067
  "neptune.UploadButton.dropFiles": "拖放檔案以開始上載",
15049
15068
  "neptune.UploadButton.instructions": "{fileTypes},小於{size}MB",
@@ -15161,14 +15180,14 @@ exports.Select = Select;
15161
15180
  exports.SelectInput = SelectInput;
15162
15181
  exports.SelectInputOptionContent = SelectInputOptionContent;
15163
15182
  exports.SelectInputTriggerButton = SelectInputTriggerButton;
15164
- exports.SlidingPanel = SlidingPanel;
15183
+ exports.SlidingPanel = SlidingPanel$1;
15165
15184
  exports.SnackbarConsumer = SnackbarConsumer;
15166
15185
  exports.SnackbarContext = SnackbarContext;
15167
15186
  exports.SnackbarPortal = SnackbarPortal;
15168
15187
  exports.SnackbarProvider = SnackbarProvider;
15169
15188
  exports.StatusIcon = StatusIcon;
15170
15189
  exports.Stepper = Stepper;
15171
- exports.Sticky = Sticky;
15190
+ exports.Sticky = Sticky$1;
15172
15191
  exports.Summary = Summary;
15173
15192
  exports.Switch = Switch;
15174
15193
  exports.SwitchOption = SwitchOption;