@transferwise/components 46.23.0 → 46.24.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 (87) hide show
  1. package/build/i18n/es.json +2 -2
  2. package/build/i18n/hu.json +2 -2
  3. package/build/index.esm.js +97 -74
  4. package/build/index.esm.js.map +1 -1
  5. package/build/index.js +98 -76
  6. package/build/index.js.map +1 -1
  7. package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +3 -0
  8. package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
  9. package/build/types/common/dateUtils/index.d.ts +7 -6
  10. package/build/types/common/dateUtils/index.d.ts.map +1 -1
  11. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  12. package/build/types/emphasis/Emphasis.d.ts +1 -1
  13. package/build/types/emphasis/Emphasis.d.ts.map +1 -1
  14. package/build/types/emphasis/EmphasisHtmlTransformer.d.ts +1 -1
  15. package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -1
  16. package/build/types/emphasis/index.d.ts +1 -0
  17. package/build/types/emphasis/index.d.ts.map +1 -1
  18. package/build/types/i18n/index.d.ts.map +1 -1
  19. package/build/types/index.d.ts +5 -0
  20. package/build/types/index.d.ts.map +1 -1
  21. package/build/types/inputs/SelectInput.d.ts.map +1 -1
  22. package/build/types/loader/Loader.d.ts +3 -3
  23. package/build/types/loader/Loader.d.ts.map +1 -1
  24. package/build/types/loader/index.d.ts +2 -2
  25. package/build/types/loader/index.d.ts.map +1 -1
  26. package/build/types/money/Money.d.ts +8 -11
  27. package/build/types/money/Money.d.ts.map +1 -1
  28. package/build/types/money/index.d.ts +2 -1
  29. package/build/types/money/index.d.ts.map +1 -1
  30. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +7 -10
  31. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -1
  32. package/build/types/navigationOptionsList/index.d.ts +2 -1
  33. package/build/types/navigationOptionsList/index.d.ts.map +1 -1
  34. package/build/types/segmentedControl/SegmentedControl.d.ts.map +1 -1
  35. package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
  36. package/package.json +1 -2
  37. package/src/avatar/{Avatar.spec.js → Avatar.spec.tsx} +6 -13
  38. package/src/common/dateUtils/getFormatForLocale/getFormatForLocale.ts +2 -0
  39. package/src/common/dateUtils/index.ts +7 -6
  40. package/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.ts +1 -1
  41. package/src/dateInput/DateInput.spec.js +29 -9
  42. package/src/dateInput/DateInput.story.tsx +0 -3
  43. package/src/dateInput/DateInput.tsx +90 -48
  44. package/src/emphasis/{Emphasis.spec.js → Emphasis.spec.tsx} +2 -1
  45. package/src/emphasis/Emphasis.tsx +1 -1
  46. package/src/emphasis/{EmphasisHtmlTransformer.spec.js → EmphasisHtmlTransformer.spec.tsx} +0 -12
  47. package/src/emphasis/EmphasisHtmlTransformer.ts +1 -1
  48. package/src/emphasis/index.ts +1 -0
  49. package/src/i18n/es.json +2 -2
  50. package/src/i18n/hu.json +2 -2
  51. package/src/i18n/index.ts +1 -0
  52. package/src/index.ts +5 -0
  53. package/src/inputWithDisplayFormat/InputWithDisplayFormat.story.js +3 -2
  54. package/src/inputs/SelectInput.tsx +5 -3
  55. package/src/loader/Loader.tsx +3 -3
  56. package/src/loader/index.ts +2 -0
  57. package/src/money/{Money.spec.js → Money.spec.tsx} +1 -1
  58. package/src/money/{Money.js → Money.tsx} +6 -7
  59. package/src/money/index.ts +2 -0
  60. package/src/navigationOptionsList/NavigationOptionsList.tsx +20 -0
  61. package/src/navigationOptionsList/index.ts +2 -0
  62. package/src/radio/Radio.story.tsx +3 -4
  63. package/src/segmentedControl/SegmentedControl.tsx +1 -0
  64. package/src/slidingPanel/SlidingPanel.tsx +4 -4
  65. package/src/switch/Switch.story.tsx +4 -1
  66. package/build/types/common/dateUtils/getDayNames/index.d.ts +0 -2
  67. package/build/types/common/dateUtils/getDayNames/index.d.ts.map +0 -1
  68. package/build/types/common/dateUtils/getMonthNames/index.d.ts +0 -2
  69. package/build/types/common/dateUtils/getMonthNames/index.d.ts.map +0 -1
  70. package/build/types/common/dateUtils/isDateValid/index.d.ts +0 -2
  71. package/build/types/common/dateUtils/isDateValid/index.d.ts.map +0 -1
  72. package/build/types/common/dateUtils/isWithinRange/index.d.ts +0 -2
  73. package/build/types/common/dateUtils/isWithinRange/index.d.ts.map +0 -1
  74. package/build/types/common/dateUtils/moveToWithinRange/index.d.ts +0 -2
  75. package/build/types/common/dateUtils/moveToWithinRange/index.d.ts.map +0 -1
  76. package/src/common/dateUtils/getDayNames/index.ts +0 -1
  77. package/src/common/dateUtils/getMonthNames/index.ts +0 -1
  78. package/src/common/dateUtils/isDateValid/index.ts +0 -1
  79. package/src/common/dateUtils/isWithinRange/index.ts +0 -1
  80. package/src/common/dateUtils/moveToWithinRange/index.ts +0 -1
  81. package/src/loader/index.js +0 -3
  82. package/src/money/index.js +0 -1
  83. package/src/navigationOptionsList/NavigationOptionsList.js +0 -20
  84. package/src/navigationOptionsList/index.js +0 -1
  85. /package/src/loader/{Loader.spec.js → Loader.spec.tsx} +0 -0
  86. /package/src/navigationOptionsList/{NavigationOptionsList.spec.js → NavigationOptionsList.spec.tsx} +0 -0
  87. /package/src/navigationOptionsList/{NavigationOptionsList.story.js → NavigationOptionsList.story.tsx} +0 -0
@@ -29,13 +29,13 @@
29
29
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
30
30
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
31
31
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
32
- "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de {maxSize}MB",
32
+ "neptune.Upload.csTooLargeMessage": "Proporciona un archivo menor de {maxSize} MB",
33
33
  "neptune.Upload.csWrongTypeMessage": "Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente",
34
34
  "neptune.Upload.psButtonText": "Cancela",
35
35
  "neptune.Upload.psProcessingText": "Subiendo...",
36
36
  "neptune.Upload.usButtonText": "O selecciona un archivo",
37
37
  "neptune.Upload.usDropMessage": "Arrastra un archivo para subirlo",
38
- "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de {maxSize}MB",
38
+ "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo de menos de {maxSize} MB",
39
39
  "neptune.UploadButton.allFileTypes": "Todos los tipos de archivos",
40
40
  "neptune.UploadButton.dropFiles": "Arrastra un archivo para subirlo",
41
41
  "neptune.UploadButton.instructions": "{fileTypes}, menor que {size}MB",
@@ -29,13 +29,13 @@
29
29
  "neptune.Upload.csButtonText": "Másik fájl feltöltése?",
30
30
  "neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
31
31
  "neptune.Upload.csSuccessText": "Feltöltés sikeres",
32
- "neptune.Upload.csTooLargeMessage": "Kérünk, {maxSize} MB-nál kisebb fájlt tölts fel",
32
+ "neptune.Upload.csTooLargeMessage": "Kérünk, olyan fájlt küldj el, amely kisebb mint {maxSize}MB",
33
33
  "neptune.Upload.csWrongTypeMessage": "Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal",
34
34
  "neptune.Upload.psButtonText": "Mégsem",
35
35
  "neptune.Upload.psProcessingText": "Feltöltés...",
36
36
  "neptune.Upload.usButtonText": "Vagy válaszd ki a fájlt",
37
37
  "neptune.Upload.usDropMessage": "Húzd ide a fájlokat a feltöltéshez",
38
- "neptune.Upload.usPlaceholder": "Húzz ide egy {maxSize} MB-nál kisebb fájlt",
38
+ "neptune.Upload.usPlaceholder": "Húzz ide egy legfeljebb {maxSize} MB méretű fájlt",
39
39
  "neptune.UploadButton.allFileTypes": "Összes fájltípus",
40
40
  "neptune.UploadButton.dropFiles": "Húzd a fájlokat ide a feltöltéshez",
41
41
  "neptune.UploadButton.instructions": "{fileTypes}, legfeljebb {size}MB",
@@ -1,7 +1,7 @@
1
1
  import classNames from 'classnames';
2
2
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
3
  import * as React from 'react';
4
- import React__default, { forwardRef, cloneElement, useState, useRef, useMemo, useEffect, useCallback, useLayoutEffect, createContext, useContext, createElement, Component, PureComponent, createRef, isValidElement, Children, Fragment as Fragment$1 } from 'react';
4
+ import React__default, { forwardRef, cloneElement, useState, useRef, useMemo, useEffect, useCallback, useLayoutEffect, createContext, useContext, useImperativeHandle, createElement, Component, PureComponent, createRef, isValidElement, Children, Fragment as Fragment$1 } from 'react';
5
5
  import { useId } from '@radix-ui/react-id';
6
6
  import { ChevronUp, CrossCircleFill, Cross, NavigateAway, Check, Info as Info$1, Alert as Alert$2, ClockBorderless, CheckCircle, InfoCircle, Warning, CrossCircle, Clock, Briefcase, Person, ArrowLeft, QuestionMarkCircle, AlertCircle, Search, ChevronDown, CheckCircleFill, ArrowRight, Download, ClockFill, Upload as Upload$2, Document, Plus, PlusCircle, AlertCircleFill } from '@transferwise/icons';
7
7
  import { defineMessages, useIntl, injectIntl, IntlProvider } from 'react-intl';
@@ -10,7 +10,6 @@ import { useTheme, ThemeProvider } from '@wise/components-theming';
10
10
  import { formatDate, formatNumber, formatMoney, formatAmount } from '@transferwise/formatting';
11
11
  import { Transition, Listbox } from '@headlessui/react';
12
12
  import mergeProps from 'merge-props';
13
- import mergeRefs from 'react-merge-refs';
14
13
  import { useSyncExternalStore } from 'use-sync-external-store/shim';
15
14
  import { useFloating, useDismiss, useRole, useInteractions, FloatingPortal, FloatingFocusManager, offset, flip, shift, size, autoUpdate } from '@floating-ui/react';
16
15
  import { FocusScope } from '@react-aria/focus';
@@ -1762,6 +1761,7 @@ const SlidingPanel = /*#__PURE__*/forwardRef(({
1762
1761
  ...rest
1763
1762
  }, reference) => {
1764
1763
  const localReference = useRef(null);
1764
+ useImperativeHandle(reference, () => localReference.current, []);
1765
1765
  return /*#__PURE__*/createElement(CSSTransition, {
1766
1766
  ...rest,
1767
1767
  key: `sliding-panel--open-${position}`,
@@ -1777,7 +1777,7 @@ const SlidingPanel = /*#__PURE__*/forwardRef(({
1777
1777
  appear: true,
1778
1778
  unmountOnExit: true
1779
1779
  }, /*#__PURE__*/jsx("div", {
1780
- ref: mergeRefs([reference, localReference]),
1780
+ ref: localReference,
1781
1781
  className: classNames('sliding-panel', `sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, slidingPanelPositionFixed && 'sliding-panel--fixed', className),
1782
1782
  children: children
1783
1783
  }));
@@ -2697,6 +2697,9 @@ const validDateObject = dateObject => !isNaN(dateObject.getTime());
2697
2697
 
2698
2698
  const isMonthAndYearFormat = dateString => validDateString(dateString) && dateString.split('-').length < 3;
2699
2699
 
2700
+ const MDY = new Set(['en-US']);
2701
+ const YMD = new Set(['hu', 'hu-HU', 'zh-HK', 'zh-CN', 'ja', 'ja-JP']);
2702
+
2700
2703
  var messages$9 = defineMessages({
2701
2704
  monthLabel: {
2702
2705
  id: "neptune.DateInput.month.label"
@@ -2720,7 +2723,6 @@ const convertToLocalMidnight = date => {
2720
2723
  return new Date(utcDate.getUTCFullYear(), utcDate.getUTCMonth(), utcDate.getUTCDate());
2721
2724
  };
2722
2725
 
2723
- const MonthBeforeDay = new Set(['en-US', 'ja-JP']);
2724
2726
  const DateInput = ({
2725
2727
  'aria-labelledby': ariaLabelledBy,
2726
2728
  'aria-label': ariaLabel,
@@ -2910,7 +2912,64 @@ const DateInput = ({
2910
2912
  'col-sm-8': monthYearOnly,
2911
2913
  'col-sm-5': !monthYearOnly
2912
2914
  });
2913
- const monthBeforeDay = MonthBeforeDay.has(locale);
2915
+ const getMonth = () => {
2916
+ return /*#__PURE__*/jsx("div", {
2917
+ className: monthWidth,
2918
+ children: getSelectElement()
2919
+ });
2920
+ };
2921
+ const getDay = () => {
2922
+ return /*#__PURE__*/jsx("div", {
2923
+ className: "col-sm-3",
2924
+ children: /*#__PURE__*/jsxs("label", {
2925
+ children: [/*#__PURE__*/jsx("span", {
2926
+ className: "sr-only",
2927
+ children: dayLabel
2928
+ }), /*#__PURE__*/jsx("div", {
2929
+ className: `input-group input-group-${size}`,
2930
+ children: /*#__PURE__*/jsx(Input, {
2931
+ type: "text",
2932
+ inputMode: "numeric",
2933
+ pattern: "[0-9]*",
2934
+ name: "day",
2935
+ autoComplete: dayAutoComplete,
2936
+ value: day || '',
2937
+ placeholder: placeholders?.day,
2938
+ disabled: disabled,
2939
+ min: 1,
2940
+ onChange: event => handleDayChange(event)
2941
+ })
2942
+ })]
2943
+ })
2944
+ });
2945
+ };
2946
+ const getYear = () => {
2947
+ return /*#__PURE__*/jsx("div", {
2948
+ className: "col-sm-4",
2949
+ children: /*#__PURE__*/jsxs("label", {
2950
+ children: [/*#__PURE__*/jsx("span", {
2951
+ className: "sr-only",
2952
+ children: yearLabel
2953
+ }), /*#__PURE__*/jsx("div", {
2954
+ className: `input-group input-group-${size}`,
2955
+ children: /*#__PURE__*/jsx(Input, {
2956
+ type: "text",
2957
+ inputMode: "numeric",
2958
+ pattern: "[0-9]*",
2959
+ name: "year",
2960
+ autoComplete: yearAutoComplete,
2961
+ placeholder: placeholders?.year,
2962
+ value: year || '',
2963
+ disabled: disabled,
2964
+ min: 1,
2965
+ onChange: event => handleYearChange(event)
2966
+ })
2967
+ })]
2968
+ })
2969
+ });
2970
+ };
2971
+ const monthBeforeDay = MDY.has(locale);
2972
+ const yearFirst = YMD.has(locale);
2914
2973
  return /*#__PURE__*/jsx("div", {
2915
2974
  className: "tw-date",
2916
2975
  id: id,
@@ -2920,59 +2979,28 @@ const DateInput = ({
2920
2979
  ,
2921
2980
  onFocus: event => shouldPropagateOnFocus(event) ? onFocus && onFocus(event) : event.stopPropagation(),
2922
2981
  onBlur: event => shouldPropagateOnBlur(event) ? onBlur && onBlur(event) : event.stopPropagation(),
2923
- children: /*#__PURE__*/jsxs("div", {
2982
+ children: /*#__PURE__*/jsx("div", {
2924
2983
  className: "row",
2925
- children: [monthBeforeDay && /*#__PURE__*/jsx("div", {
2926
- className: monthWidth,
2927
- children: getSelectElement()
2928
- }), !monthYearOnly && /*#__PURE__*/jsx("div", {
2929
- className: "col-sm-3",
2930
- children: /*#__PURE__*/jsxs("label", {
2931
- children: [/*#__PURE__*/jsx("span", {
2932
- className: "sr-only",
2933
- children: dayLabel
2934
- }), /*#__PURE__*/jsx("div", {
2935
- className: `input-group input-group-${size}`,
2936
- children: /*#__PURE__*/jsx(Input, {
2937
- type: "text",
2938
- inputMode: "numeric",
2939
- pattern: "[0-9]*",
2940
- name: "day",
2941
- autoComplete: dayAutoComplete,
2942
- value: day || '',
2943
- placeholder: placeholders.day,
2944
- disabled: disabled,
2945
- min: 1,
2946
- onChange: event => handleDayChange(event)
2947
- })
2948
- })]
2949
- })
2950
- }), !monthBeforeDay && /*#__PURE__*/jsx("div", {
2951
- className: monthWidth,
2952
- children: getSelectElement()
2953
- }), /*#__PURE__*/jsx("div", {
2954
- className: "col-sm-4",
2955
- children: /*#__PURE__*/jsxs("label", {
2956
- children: [/*#__PURE__*/jsx("span", {
2957
- className: "sr-only",
2958
- children: yearLabel
2959
- }), /*#__PURE__*/jsx("div", {
2960
- className: `input-group input-group-${size}`,
2961
- children: /*#__PURE__*/jsx(Input, {
2962
- type: "text",
2963
- inputMode: "numeric",
2964
- pattern: "[0-9]*",
2965
- name: "year",
2966
- autoComplete: yearAutoComplete,
2967
- placeholder: placeholders.year,
2968
- value: year || '',
2969
- disabled: disabled,
2970
- min: 1,
2971
- onChange: event => handleYearChange(event)
2972
- })
2973
- })]
2974
- })
2975
- })]
2984
+ children: (() => {
2985
+ if (monthYearOnly) {
2986
+ return /*#__PURE__*/jsxs(Fragment, {
2987
+ children: [!yearFirst && getMonth(), getYear(), yearFirst && getMonth()]
2988
+ });
2989
+ }
2990
+ if (monthBeforeDay) {
2991
+ return /*#__PURE__*/jsxs(Fragment, {
2992
+ children: [getMonth(), getDay(), getYear()]
2993
+ });
2994
+ } else if (yearFirst) {
2995
+ return /*#__PURE__*/jsxs(Fragment, {
2996
+ children: [getYear(), getMonth(), getDay()]
2997
+ });
2998
+ } else {
2999
+ return /*#__PURE__*/jsxs(Fragment, {
3000
+ children: [getDay(), getMonth(), getYear()]
3001
+ });
3002
+ }
3003
+ })()
2976
3004
  })
2977
3005
  });
2978
3006
  };
@@ -6541,7 +6569,10 @@ function SelectInput({
6541
6569
  }) => /*#__PURE__*/jsx(SelectInputTriggerButtonPropsContext.Provider, {
6542
6570
  // eslint-disable-next-line react/jsx-no-constructed-context-values
6543
6571
  value: {
6544
- ref: mergeRefs([ref, triggerRef]),
6572
+ ref: node => {
6573
+ ref(node);
6574
+ triggerRef.current = node;
6575
+ },
6545
6576
  id,
6546
6577
  ...mergeProps({
6547
6578
  onClick: () => {
@@ -7382,7 +7413,6 @@ const getSupportedSize = size => {
7382
7413
  return Size.MEDIUM;
7383
7414
  }
7384
7415
  };
7385
- var Loader$1 = Loader;
7386
7416
 
7387
7417
  const Money = ({
7388
7418
  amount,
@@ -7395,11 +7425,6 @@ const Money = ({
7395
7425
  children: formatMoney(amount, currency, locale)
7396
7426
  });
7397
7427
  };
7398
- Money.propTypes = {
7399
- amount: PropTypes.number.isRequired,
7400
- currency: PropTypes.string.isRequired
7401
- };
7402
- var Money$1 = Money;
7403
7428
 
7404
7429
  var messages$4 = defineMessages({
7405
7430
  selectPlaceholder: {
@@ -7817,13 +7842,9 @@ const NavigationOptionList = ({
7817
7842
  children: Children.map(children, child => /*#__PURE__*/jsx("li", {
7818
7843
  className: "np-navigation-options-list__item",
7819
7844
  children: child
7820
- }, child.key))
7845
+ }, child?.toString()))
7821
7846
  });
7822
7847
  };
7823
- NavigationOptionList.propTypes = {
7824
- children: PropTypes.node.isRequired
7825
- };
7826
- var NavigationOptionList$1 = NavigationOptionList;
7827
7848
 
7828
7849
  const STORAGE_NAME = 'dismissedNudges';
7829
7850
  const getLocalStorage = () => {
@@ -10718,6 +10739,7 @@ const SegmentedControl = ({
10718
10739
  className: classNames('segmented-control__segments', {
10719
10740
  'segmented-control__segments--no-animate': !animate
10720
10741
  }),
10742
+ role: mode !== 'input' ? 'tablist' : undefined,
10721
10743
  children: segmentsWithRefs.map(segment => mode === 'input' ? /*#__PURE__*/jsxs("label", {
10722
10744
  ref: segment.ref,
10723
10745
  htmlFor: segment.id,
@@ -14200,13 +14222,13 @@ var es = {
14200
14222
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
14201
14223
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
14202
14224
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
14203
- "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de {maxSize}MB",
14225
+ "neptune.Upload.csTooLargeMessage": "Proporciona un archivo menor de {maxSize} MB",
14204
14226
  "neptune.Upload.csWrongTypeMessage": "Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente",
14205
14227
  "neptune.Upload.psButtonText": "Cancela",
14206
14228
  "neptune.Upload.psProcessingText": "Subiendo...",
14207
14229
  "neptune.Upload.usButtonText": "O selecciona un archivo",
14208
14230
  "neptune.Upload.usDropMessage": "Arrastra un archivo para subirlo",
14209
- "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de {maxSize}MB",
14231
+ "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo de menos de {maxSize} MB",
14210
14232
  "neptune.UploadButton.allFileTypes": "Todos los tipos de archivos",
14211
14233
  "neptune.UploadButton.dropFiles": "Arrastra un archivo para subirlo",
14212
14234
  "neptune.UploadButton.instructions": "{fileTypes}, menor que {size}MB",
@@ -14316,13 +14338,13 @@ var hu = {
14316
14338
  "neptune.Upload.csButtonText": "Másik fájl feltöltése?",
14317
14339
  "neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
14318
14340
  "neptune.Upload.csSuccessText": "Feltöltés sikeres",
14319
- "neptune.Upload.csTooLargeMessage": "Kérünk, {maxSize} MB-nál kisebb fájlt tölts fel",
14341
+ "neptune.Upload.csTooLargeMessage": "Kérünk, olyan fájlt küldj el, amely kisebb mint {maxSize}MB",
14320
14342
  "neptune.Upload.csWrongTypeMessage": "Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal",
14321
14343
  "neptune.Upload.psButtonText": "Mégsem",
14322
14344
  "neptune.Upload.psProcessingText": "Feltöltés...",
14323
14345
  "neptune.Upload.usButtonText": "Vagy válaszd ki a fájlt",
14324
14346
  "neptune.Upload.usDropMessage": "Húzd ide a fájlokat a feltöltéshez",
14325
- "neptune.Upload.usPlaceholder": "Húzz ide egy {maxSize} MB-nál kisebb fájlt",
14347
+ "neptune.Upload.usPlaceholder": "Húzz ide egy legfeljebb {maxSize} MB méretű fájlt",
14326
14348
  "neptune.UploadButton.allFileTypes": "Összes fájltípus",
14327
14349
  "neptune.UploadButton.dropFiles": "Húzd a fájlokat ide a feltöltéshez",
14328
14350
  "neptune.UploadButton.instructions": "{fileTypes}, legfeljebb {size}MB",
@@ -15042,6 +15064,7 @@ const translations = {
15042
15064
  cs,
15043
15065
  de,
15044
15066
  en,
15067
+ 'en-US': en,
15045
15068
  es,
15046
15069
  fr,
15047
15070
  hu,
@@ -15059,5 +15082,5 @@ const translations = {
15059
15082
  'zh-HK': zhHK
15060
15083
  };
15061
15084
 
15062
- 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, 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, Logo$1 as Logo, LogoType, Markdown, MarkdownNodeType, Modal, Money, MoneyInput$1 as MoneyInput, MonthFormat, NavigationOption, NavigationOptionList 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, Type, Typeahead, Typography, Upload$1 as Upload, UploadInput, UploadStep, Variant, Width, adjustLocale, getCountryFromLocale, getDirectionFromLocale, getLangFromLocale, isBrowser, isServerSide, translations, useDirection, useLayout, useScreenSize, useSnackbar };
15063
15086
  //# sourceMappingURL=index.esm.js.map