@transferwise/components 46.23.0 → 46.25.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 (100) hide show
  1. package/build/i18n/es.json +2 -2
  2. package/build/i18n/hu.json +2 -2
  3. package/build/i18n/zh-HK.json +2 -2
  4. package/build/index.js +103 -80
  5. package/build/index.js.map +1 -1
  6. package/build/{index.esm.js → index.mjs} +102 -78
  7. package/build/index.mjs.map +1 -0
  8. package/build/mocks.js +33 -27
  9. package/build/mocks.js.map +1 -1
  10. package/build/mocks.mjs +40 -0
  11. package/build/mocks.mjs.map +1 -0
  12. package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +3 -0
  13. package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
  14. package/build/types/common/dateUtils/index.d.ts +7 -6
  15. package/build/types/common/dateUtils/index.d.ts.map +1 -1
  16. package/build/types/common/hooks/useMedia.d.ts.map +1 -1
  17. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  18. package/build/types/emphasis/Emphasis.d.ts +1 -1
  19. package/build/types/emphasis/Emphasis.d.ts.map +1 -1
  20. package/build/types/emphasis/EmphasisHtmlTransformer.d.ts +1 -1
  21. package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -1
  22. package/build/types/emphasis/index.d.ts +1 -0
  23. package/build/types/emphasis/index.d.ts.map +1 -1
  24. package/build/types/i18n/index.d.ts.map +1 -1
  25. package/build/types/index.d.ts +5 -0
  26. package/build/types/index.d.ts.map +1 -1
  27. package/build/types/inputs/SelectInput.d.ts.map +1 -1
  28. package/build/types/loader/Loader.d.ts +3 -3
  29. package/build/types/loader/Loader.d.ts.map +1 -1
  30. package/build/types/loader/index.d.ts +2 -2
  31. package/build/types/loader/index.d.ts.map +1 -1
  32. package/build/types/money/Money.d.ts +8 -11
  33. package/build/types/money/Money.d.ts.map +1 -1
  34. package/build/types/money/index.d.ts +2 -1
  35. package/build/types/money/index.d.ts.map +1 -1
  36. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +7 -10
  37. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -1
  38. package/build/types/navigationOptionsList/index.d.ts +2 -1
  39. package/build/types/navigationOptionsList/index.d.ts.map +1 -1
  40. package/build/types/segmentedControl/SegmentedControl.d.ts.map +1 -1
  41. package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
  42. package/package.json +20 -5
  43. package/src/avatar/{Avatar.spec.js → Avatar.spec.tsx} +6 -13
  44. package/src/common/dateUtils/getFormatForLocale/getFormatForLocale.ts +2 -0
  45. package/src/common/dateUtils/index.ts +7 -6
  46. package/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.ts +1 -1
  47. package/src/common/hooks/useMedia.ts +2 -1
  48. package/src/dateInput/DateInput.spec.js +29 -9
  49. package/src/dateInput/DateInput.story.tsx +0 -3
  50. package/src/dateInput/DateInput.tsx +90 -48
  51. package/src/emphasis/{Emphasis.spec.js → Emphasis.spec.tsx} +2 -1
  52. package/src/emphasis/Emphasis.tsx +1 -1
  53. package/src/emphasis/{EmphasisHtmlTransformer.spec.js → EmphasisHtmlTransformer.spec.tsx} +0 -12
  54. package/src/emphasis/EmphasisHtmlTransformer.ts +1 -1
  55. package/src/emphasis/index.ts +1 -0
  56. package/src/i18n/es.json +2 -2
  57. package/src/i18n/hu.json +2 -2
  58. package/src/i18n/index.ts +1 -0
  59. package/src/i18n/zh-HK.json +2 -2
  60. package/src/index.ts +5 -0
  61. package/src/inputWithDisplayFormat/InputWithDisplayFormat.story.js +3 -2
  62. package/src/inputs/SelectInput.tsx +5 -3
  63. package/src/loader/Loader.tsx +3 -3
  64. package/src/loader/index.ts +2 -0
  65. package/src/money/{Money.spec.js → Money.spec.tsx} +1 -1
  66. package/src/money/{Money.js → Money.tsx} +6 -7
  67. package/src/money/index.ts +2 -0
  68. package/src/navigationOptionsList/NavigationOptionsList.tsx +20 -0
  69. package/src/navigationOptionsList/index.ts +2 -0
  70. package/src/radio/Radio.story.tsx +3 -4
  71. package/src/segmentedControl/SegmentedControl.tsx +1 -0
  72. package/src/slidingPanel/SlidingPanel.tsx +4 -4
  73. package/src/switch/Switch.story.tsx +4 -1
  74. package/build/index.esm.js.map +0 -1
  75. package/build/mocks.d.ts +0 -9
  76. package/build/mocks.d.ts.map +0 -1
  77. package/build/mocks.esm.js +0 -34
  78. package/build/mocks.esm.js.map +0 -1
  79. package/build/types/common/dateUtils/getDayNames/index.d.ts +0 -2
  80. package/build/types/common/dateUtils/getDayNames/index.d.ts.map +0 -1
  81. package/build/types/common/dateUtils/getMonthNames/index.d.ts +0 -2
  82. package/build/types/common/dateUtils/getMonthNames/index.d.ts.map +0 -1
  83. package/build/types/common/dateUtils/isDateValid/index.d.ts +0 -2
  84. package/build/types/common/dateUtils/isDateValid/index.d.ts.map +0 -1
  85. package/build/types/common/dateUtils/isWithinRange/index.d.ts +0 -2
  86. package/build/types/common/dateUtils/isWithinRange/index.d.ts.map +0 -1
  87. package/build/types/common/dateUtils/moveToWithinRange/index.d.ts +0 -2
  88. package/build/types/common/dateUtils/moveToWithinRange/index.d.ts.map +0 -1
  89. package/src/common/dateUtils/getDayNames/index.ts +0 -1
  90. package/src/common/dateUtils/getMonthNames/index.ts +0 -1
  91. package/src/common/dateUtils/isDateValid/index.ts +0 -1
  92. package/src/common/dateUtils/isWithinRange/index.ts +0 -1
  93. package/src/common/dateUtils/moveToWithinRange/index.ts +0 -1
  94. package/src/loader/index.js +0 -3
  95. package/src/money/index.js +0 -1
  96. package/src/navigationOptionsList/NavigationOptionsList.js +0 -20
  97. package/src/navigationOptionsList/index.js +0 -1
  98. /package/src/loader/{Loader.spec.js → Loader.spec.tsx} +0 -0
  99. /package/src/navigationOptionsList/{NavigationOptionsList.spec.js → NavigationOptionsList.spec.tsx} +0 -0
  100. /package/src/navigationOptionsList/{NavigationOptionsList.story.js → NavigationOptionsList.story.tsx} +0 -0
@@ -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,8 +10,7 @@ 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
- import { useSyncExternalStore } from 'use-sync-external-store/shim';
13
+ import { useSyncExternalStore } from 'use-sync-external-store/shim/index.js';
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';
17
16
  import { usePreventScroll } from '@react-aria/overlays';
@@ -1718,6 +1717,7 @@ const useHasIntersected = ({
1718
1717
  return [hasIntersected];
1719
1718
  };
1720
1719
 
1720
+ // eslint-disable-next-line import/extensions
1721
1721
  function useMedia(query) {
1722
1722
  return useSyncExternalStore(onStoreChange => {
1723
1723
  const mediaQueryList = window.matchMedia(query);
@@ -1762,6 +1762,7 @@ const SlidingPanel = /*#__PURE__*/forwardRef(({
1762
1762
  ...rest
1763
1763
  }, reference) => {
1764
1764
  const localReference = useRef(null);
1765
+ useImperativeHandle(reference, () => localReference.current, []);
1765
1766
  return /*#__PURE__*/createElement(CSSTransition, {
1766
1767
  ...rest,
1767
1768
  key: `sliding-panel--open-${position}`,
@@ -1777,7 +1778,7 @@ const SlidingPanel = /*#__PURE__*/forwardRef(({
1777
1778
  appear: true,
1778
1779
  unmountOnExit: true
1779
1780
  }, /*#__PURE__*/jsx("div", {
1780
- ref: mergeRefs([reference, localReference]),
1781
+ ref: localReference,
1781
1782
  className: classNames('sliding-panel', `sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, slidingPanelPositionFixed && 'sliding-panel--fixed', className),
1782
1783
  children: children
1783
1784
  }));
@@ -2697,6 +2698,9 @@ const validDateObject = dateObject => !isNaN(dateObject.getTime());
2697
2698
 
2698
2699
  const isMonthAndYearFormat = dateString => validDateString(dateString) && dateString.split('-').length < 3;
2699
2700
 
2701
+ const MDY = new Set(['en-US']);
2702
+ const YMD = new Set(['hu', 'hu-HU', 'zh-HK', 'zh-CN', 'ja', 'ja-JP']);
2703
+
2700
2704
  var messages$9 = defineMessages({
2701
2705
  monthLabel: {
2702
2706
  id: "neptune.DateInput.month.label"
@@ -2720,7 +2724,6 @@ const convertToLocalMidnight = date => {
2720
2724
  return new Date(utcDate.getUTCFullYear(), utcDate.getUTCMonth(), utcDate.getUTCDate());
2721
2725
  };
2722
2726
 
2723
- const MonthBeforeDay = new Set(['en-US', 'ja-JP']);
2724
2727
  const DateInput = ({
2725
2728
  'aria-labelledby': ariaLabelledBy,
2726
2729
  'aria-label': ariaLabel,
@@ -2910,7 +2913,64 @@ const DateInput = ({
2910
2913
  'col-sm-8': monthYearOnly,
2911
2914
  'col-sm-5': !monthYearOnly
2912
2915
  });
2913
- const monthBeforeDay = MonthBeforeDay.has(locale);
2916
+ const getMonth = () => {
2917
+ return /*#__PURE__*/jsx("div", {
2918
+ className: monthWidth,
2919
+ children: getSelectElement()
2920
+ });
2921
+ };
2922
+ const getDay = () => {
2923
+ return /*#__PURE__*/jsx("div", {
2924
+ className: "col-sm-3",
2925
+ children: /*#__PURE__*/jsxs("label", {
2926
+ children: [/*#__PURE__*/jsx("span", {
2927
+ className: "sr-only",
2928
+ children: dayLabel
2929
+ }), /*#__PURE__*/jsx("div", {
2930
+ className: `input-group input-group-${size}`,
2931
+ children: /*#__PURE__*/jsx(Input, {
2932
+ type: "text",
2933
+ inputMode: "numeric",
2934
+ pattern: "[0-9]*",
2935
+ name: "day",
2936
+ autoComplete: dayAutoComplete,
2937
+ value: day || '',
2938
+ placeholder: placeholders?.day,
2939
+ disabled: disabled,
2940
+ min: 1,
2941
+ onChange: event => handleDayChange(event)
2942
+ })
2943
+ })]
2944
+ })
2945
+ });
2946
+ };
2947
+ const getYear = () => {
2948
+ return /*#__PURE__*/jsx("div", {
2949
+ className: "col-sm-4",
2950
+ children: /*#__PURE__*/jsxs("label", {
2951
+ children: [/*#__PURE__*/jsx("span", {
2952
+ className: "sr-only",
2953
+ children: yearLabel
2954
+ }), /*#__PURE__*/jsx("div", {
2955
+ className: `input-group input-group-${size}`,
2956
+ children: /*#__PURE__*/jsx(Input, {
2957
+ type: "text",
2958
+ inputMode: "numeric",
2959
+ pattern: "[0-9]*",
2960
+ name: "year",
2961
+ autoComplete: yearAutoComplete,
2962
+ placeholder: placeholders?.year,
2963
+ value: year || '',
2964
+ disabled: disabled,
2965
+ min: 1,
2966
+ onChange: event => handleYearChange(event)
2967
+ })
2968
+ })]
2969
+ })
2970
+ });
2971
+ };
2972
+ const monthBeforeDay = MDY.has(locale);
2973
+ const yearFirst = YMD.has(locale);
2914
2974
  return /*#__PURE__*/jsx("div", {
2915
2975
  className: "tw-date",
2916
2976
  id: id,
@@ -2920,59 +2980,28 @@ const DateInput = ({
2920
2980
  ,
2921
2981
  onFocus: event => shouldPropagateOnFocus(event) ? onFocus && onFocus(event) : event.stopPropagation(),
2922
2982
  onBlur: event => shouldPropagateOnBlur(event) ? onBlur && onBlur(event) : event.stopPropagation(),
2923
- children: /*#__PURE__*/jsxs("div", {
2983
+ children: /*#__PURE__*/jsx("div", {
2924
2984
  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
- })]
2985
+ children: (() => {
2986
+ if (monthYearOnly) {
2987
+ return /*#__PURE__*/jsxs(Fragment, {
2988
+ children: [!yearFirst && getMonth(), getYear(), yearFirst && getMonth()]
2989
+ });
2990
+ }
2991
+ if (monthBeforeDay) {
2992
+ return /*#__PURE__*/jsxs(Fragment, {
2993
+ children: [getMonth(), getDay(), getYear()]
2994
+ });
2995
+ } else if (yearFirst) {
2996
+ return /*#__PURE__*/jsxs(Fragment, {
2997
+ children: [getYear(), getMonth(), getDay()]
2998
+ });
2999
+ } else {
3000
+ return /*#__PURE__*/jsxs(Fragment, {
3001
+ children: [getDay(), getMonth(), getYear()]
3002
+ });
3003
+ }
3004
+ })()
2976
3005
  })
2977
3006
  });
2978
3007
  };
@@ -6541,7 +6570,10 @@ function SelectInput({
6541
6570
  }) => /*#__PURE__*/jsx(SelectInputTriggerButtonPropsContext.Provider, {
6542
6571
  // eslint-disable-next-line react/jsx-no-constructed-context-values
6543
6572
  value: {
6544
- ref: mergeRefs([ref, triggerRef]),
6573
+ ref: node => {
6574
+ ref(node);
6575
+ triggerRef.current = node;
6576
+ },
6545
6577
  id,
6546
6578
  ...mergeProps({
6547
6579
  onClick: () => {
@@ -7382,7 +7414,6 @@ const getSupportedSize = size => {
7382
7414
  return Size.MEDIUM;
7383
7415
  }
7384
7416
  };
7385
- var Loader$1 = Loader;
7386
7417
 
7387
7418
  const Money = ({
7388
7419
  amount,
@@ -7395,11 +7426,6 @@ const Money = ({
7395
7426
  children: formatMoney(amount, currency, locale)
7396
7427
  });
7397
7428
  };
7398
- Money.propTypes = {
7399
- amount: PropTypes.number.isRequired,
7400
- currency: PropTypes.string.isRequired
7401
- };
7402
- var Money$1 = Money;
7403
7429
 
7404
7430
  var messages$4 = defineMessages({
7405
7431
  selectPlaceholder: {
@@ -7817,13 +7843,9 @@ const NavigationOptionList = ({
7817
7843
  children: Children.map(children, child => /*#__PURE__*/jsx("li", {
7818
7844
  className: "np-navigation-options-list__item",
7819
7845
  children: child
7820
- }, child.key))
7846
+ }, child?.toString()))
7821
7847
  });
7822
7848
  };
7823
- NavigationOptionList.propTypes = {
7824
- children: PropTypes.node.isRequired
7825
- };
7826
- var NavigationOptionList$1 = NavigationOptionList;
7827
7849
 
7828
7850
  const STORAGE_NAME = 'dismissedNudges';
7829
7851
  const getLocalStorage = () => {
@@ -10718,6 +10740,7 @@ const SegmentedControl = ({
10718
10740
  className: classNames('segmented-control__segments', {
10719
10741
  'segmented-control__segments--no-animate': !animate
10720
10742
  }),
10743
+ role: mode !== 'input' ? 'tablist' : undefined,
10721
10744
  children: segmentsWithRefs.map(segment => mode === 'input' ? /*#__PURE__*/jsxs("label", {
10722
10745
  ref: segment.ref,
10723
10746
  htmlFor: segment.id,
@@ -14200,13 +14223,13 @@ var es = {
14200
14223
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
14201
14224
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
14202
14225
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
14203
- "neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de {maxSize}MB",
14226
+ "neptune.Upload.csTooLargeMessage": "Proporciona un archivo menor de {maxSize} MB",
14204
14227
  "neptune.Upload.csWrongTypeMessage": "Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente",
14205
14228
  "neptune.Upload.psButtonText": "Cancela",
14206
14229
  "neptune.Upload.psProcessingText": "Subiendo...",
14207
14230
  "neptune.Upload.usButtonText": "O selecciona un archivo",
14208
14231
  "neptune.Upload.usDropMessage": "Arrastra un archivo para subirlo",
14209
- "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de {maxSize}MB",
14232
+ "neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo de menos de {maxSize} MB",
14210
14233
  "neptune.UploadButton.allFileTypes": "Todos los tipos de archivos",
14211
14234
  "neptune.UploadButton.dropFiles": "Arrastra un archivo para subirlo",
14212
14235
  "neptune.UploadButton.instructions": "{fileTypes}, menor que {size}MB",
@@ -14316,13 +14339,13 @@ var hu = {
14316
14339
  "neptune.Upload.csButtonText": "Másik fájl feltöltése?",
14317
14340
  "neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
14318
14341
  "neptune.Upload.csSuccessText": "Feltöltés sikeres",
14319
- "neptune.Upload.csTooLargeMessage": "Kérünk, {maxSize} MB-nál kisebb fájlt tölts fel",
14342
+ "neptune.Upload.csTooLargeMessage": "Kérünk, olyan fájlt küldj el, amely kisebb mint {maxSize}MB",
14320
14343
  "neptune.Upload.csWrongTypeMessage": "Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal",
14321
14344
  "neptune.Upload.psButtonText": "Mégsem",
14322
14345
  "neptune.Upload.psProcessingText": "Feltöltés...",
14323
14346
  "neptune.Upload.usButtonText": "Vagy válaszd ki a fájlt",
14324
14347
  "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",
14348
+ "neptune.Upload.usPlaceholder": "Húzz ide egy legfeljebb {maxSize} MB méretű fájlt",
14326
14349
  "neptune.UploadButton.allFileTypes": "Összes fájltípus",
14327
14350
  "neptune.UploadButton.dropFiles": "Húzd a fájlokat ide a feltöltéshez",
14328
14351
  "neptune.UploadButton.instructions": "{fileTypes}, legfeljebb {size}MB",
@@ -14986,10 +15009,10 @@ var zhHK = {
14986
15009
  "neptune.ClearButton.ariaLabel": "清除",
14987
15010
  "neptune.CloseButton.ariaLabel": "關閉",
14988
15011
  "neptune.DateInput.day.label": "日",
14989
- "neptune.DateInput.day.placeholder": "DD",
15012
+ "neptune.DateInput.day.placeholder": "",
14990
15013
  "neptune.DateInput.month.label": "月",
14991
15014
  "neptune.DateInput.year.label": "年",
14992
- "neptune.DateInput.year.placeholder": "YYYY",
15015
+ "neptune.DateInput.year.placeholder": "",
14993
15016
  "neptune.DateLookup.day": "日",
14994
15017
  "neptune.DateLookup.goTo20YearView": "切換至20年視圖",
14995
15018
  "neptune.DateLookup.month": "月",
@@ -15042,6 +15065,7 @@ const translations = {
15042
15065
  cs,
15043
15066
  de,
15044
15067
  en,
15068
+ 'en-US': en,
15045
15069
  es,
15046
15070
  fr,
15047
15071
  hu,
@@ -15059,5 +15083,5 @@ const translations = {
15059
15083
  'zh-HK': zhHK
15060
15084
  };
15061
15085
 
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 };
15063
- //# sourceMappingURL=index.esm.js.map
15086
+ 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 };
15087
+ //# sourceMappingURL=index.mjs.map