@transferwise/components 45.20.0 → 45.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 (131) hide show
  1. package/build/i18n/cs.json +11 -3
  2. package/build/i18n/de.json +11 -3
  3. package/build/i18n/en.json +1 -0
  4. package/build/i18n/es.json +11 -3
  5. package/build/i18n/fr.json +11 -3
  6. package/build/i18n/hu.json +11 -3
  7. package/build/i18n/id.json +11 -3
  8. package/build/i18n/it.json +11 -3
  9. package/build/i18n/ja.json +11 -3
  10. package/build/i18n/pl.json +11 -3
  11. package/build/i18n/pt.json +11 -3
  12. package/build/i18n/ro.json +11 -3
  13. package/build/i18n/ru.json +11 -3
  14. package/build/i18n/th.json +11 -3
  15. package/build/i18n/tr.json +11 -3
  16. package/build/i18n/uk.json +11 -3
  17. package/build/i18n/zh-CN.json +11 -3
  18. package/build/i18n/{zh.json → zh-HK.json} +11 -3
  19. package/build/index.esm.js +535 -236
  20. package/build/index.esm.js.map +1 -1
  21. package/build/index.js +535 -236
  22. package/build/index.js.map +1 -1
  23. package/build/main.css +1 -1
  24. package/build/styles/actionButton/ActionButton.css +1 -1
  25. package/build/styles/chips/Chip.css +1 -1
  26. package/build/styles/circularButton/CircularButton.css +1 -1
  27. package/build/styles/common/Option/Option.css +1 -1
  28. package/build/styles/common/bottomSheet/BottomSheet.css +1 -1
  29. package/build/styles/common/closeButton/CloseButton.css +1 -1
  30. package/build/styles/dateLookup/DateLookup.css +1 -1
  31. package/build/styles/drawer/Drawer.css +1 -1
  32. package/build/styles/flowNavigation/FlowNavigation.css +1 -1
  33. package/build/styles/inputs/SelectInput.css +1 -1
  34. package/build/styles/main.css +1 -1
  35. package/build/styles/overlayHeader/OverlayHeader.css +1 -1
  36. package/build/styles/statusIcon/StatusIcon.css +1 -1
  37. package/build/styles/summary/Summary.css +1 -1
  38. package/build/styles/typeahead/Typeahead.css +1 -1
  39. package/build/styles/uploadInput/UploadInput.css +1 -1
  40. package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -1
  41. package/build/types/common/locale/index.d.ts +10 -1
  42. package/build/types/common/locale/index.d.ts.map +1 -1
  43. package/build/types/common/propsValues/breakpoint.d.ts +1 -0
  44. package/build/types/common/propsValues/breakpoint.d.ts.map +1 -1
  45. package/build/types/dateLookup/DateLookup.d.ts.map +1 -1
  46. package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -1
  47. package/build/types/i18n/index.d.ts.map +1 -1
  48. package/build/types/inputs/SelectInput.d.ts.map +1 -1
  49. package/build/types/inputs/SelectInput.messages.d.ts +9 -0
  50. package/build/types/inputs/SelectInput.messages.d.ts.map +1 -0
  51. package/build/types/test-utils/story-config.d.ts +11 -1
  52. package/build/types/test-utils/story-config.d.ts.map +1 -1
  53. package/build/types/test-utils/window-mock.d.ts +2 -0
  54. package/build/types/test-utils/window-mock.d.ts.map +1 -0
  55. package/package.json +4 -4
  56. package/src/actionButton/ActionButton.css +1 -1
  57. package/src/actionButton/ActionButton.less +5 -1
  58. package/src/chips/Chip.css +1 -1
  59. package/src/chips/Chip.less +8 -0
  60. package/src/circularButton/CircularButton.css +1 -1
  61. package/src/circularButton/CircularButton.less +9 -3
  62. package/src/common/Option/Option.css +1 -1
  63. package/src/common/Option/Option.less +6 -0
  64. package/src/common/bottomSheet/BottomSheet.css +1 -1
  65. package/src/common/bottomSheet/BottomSheet.less +1 -1
  66. package/src/common/bottomSheet/BottomSheet.spec.tsx +4 -1
  67. package/src/common/bottomSheet/BottomSheet.story.tsx +4 -0
  68. package/src/common/bottomSheet/BottomSheet.tsx +10 -1
  69. package/src/common/closeButton/CloseButton.css +1 -1
  70. package/src/common/closeButton/CloseButton.less +12 -0
  71. package/src/common/hooks/useMedia.spec.ts +3 -17
  72. package/src/common/locale/index.js +10 -1
  73. package/src/common/locale/index.spec.js +1 -34
  74. package/src/common/propsValues/breakpoint.ts +1 -0
  75. package/src/dateLookup/DateLookup.css +1 -1
  76. package/src/dateLookup/DateLookup.js +7 -3
  77. package/src/dateLookup/DateLookup.keyboardEvents.spec.js +3 -0
  78. package/src/dateLookup/DateLookup.less +6 -0
  79. package/src/dateLookup/DateLookup.story.js +6 -1
  80. package/src/dateLookup/DateLookup.testingLibrary.spec.js +3 -1
  81. package/src/dateLookup/DateLookup.view.spec.js +4 -0
  82. package/src/dateLookup/dateHeader/DateHeader.js +4 -2
  83. package/src/drawer/Drawer.css +1 -1
  84. package/src/drawer/Drawer.less +6 -8
  85. package/src/drawer/Drawer.story.js +42 -2
  86. package/src/flowNavigation/FlowNavigation.css +1 -1
  87. package/src/i18n/cs.json +11 -3
  88. package/src/i18n/de.json +11 -3
  89. package/src/i18n/en.json +1 -0
  90. package/src/i18n/es.json +11 -3
  91. package/src/i18n/fr.json +11 -3
  92. package/src/i18n/hu.json +11 -3
  93. package/src/i18n/id.json +11 -3
  94. package/src/i18n/index.ts +6 -2
  95. package/src/i18n/it.json +11 -3
  96. package/src/i18n/ja.json +11 -3
  97. package/src/i18n/pl.json +11 -3
  98. package/src/i18n/pt.json +11 -3
  99. package/src/i18n/ro.json +11 -3
  100. package/src/i18n/ru.json +11 -3
  101. package/src/i18n/th.json +11 -3
  102. package/src/i18n/tr.json +11 -3
  103. package/src/i18n/uk.json +11 -3
  104. package/src/i18n/zh-CN.json +11 -3
  105. package/src/i18n/{zh.json → zh-HK.json} +11 -3
  106. package/src/inputs/SelectInput.css +1 -1
  107. package/src/inputs/SelectInput.less +13 -1
  108. package/src/inputs/SelectInput.messages.ts +9 -0
  109. package/src/inputs/SelectInput.story.tsx +8 -5
  110. package/src/inputs/SelectInput.tsx +55 -22
  111. package/src/inputs/_BottomSheet.tsx +19 -19
  112. package/src/main.css +1 -1
  113. package/src/modal/Modal.tsx +2 -2
  114. package/src/overlayHeader/OverlayHeader.css +1 -1
  115. package/src/popover/Popover.spec.js +3 -1
  116. package/src/radioGroup/RadioGroup.js +1 -1
  117. package/src/radioGroup/RadioGroup.spec.js +18 -0
  118. package/src/select/Select.spec.js +6 -9
  119. package/src/statusIcon/StatusIcon.css +1 -1
  120. package/src/statusIcon/StatusIcon.less +10 -0
  121. package/src/summary/Summary.css +1 -1
  122. package/src/summary/Summary.less +1 -1
  123. package/src/test-utils/index.js +1 -0
  124. package/src/test-utils/story-config.ts +21 -7
  125. package/src/test-utils/window-mock.ts +19 -0
  126. package/src/typeahead/Typeahead.css +1 -1
  127. package/src/typeahead/Typeahead.less +5 -6
  128. package/src/uploadInput/UploadInput.css +1 -1
  129. package/src/uploadInput/UploadInput.less +5 -1
  130. package/build/i18n/zh_CN.json +0 -44
  131. package/src/i18n/zh_CN.json +0 -44
package/build/index.js CHANGED
@@ -14,11 +14,11 @@ var reactTransitionGroup = require('react-transition-group');
14
14
  var reactDom = require('react-dom');
15
15
  var focus = require('@react-aria/focus');
16
16
  var mergeRefs = require('react-merge-refs');
17
+ var shim = require('use-sync-external-store/shim');
17
18
  var neptuneValidation = require('@transferwise/neptune-validation');
18
19
  var reactPopper = require('react-popper');
19
20
  var react$1 = require('@headlessui/react');
20
21
  var mergeProps = require('merge-props');
21
- var shim = require('use-sync-external-store/shim');
22
22
  var react = require('@floating-ui/react');
23
23
  var overlays = require('@react-aria/overlays');
24
24
  var art = require('@wise/art');
@@ -192,6 +192,7 @@ exports.Priority = void 0;
192
192
 
193
193
  exports.Breakpoint = void 0;
194
194
  (function (Breakpoint) {
195
+ Breakpoint[Breakpoint["ZOOM_400"] = 320] = "ZOOM_400";
195
196
  Breakpoint[Breakpoint["EXTRA_SMALL"] = 480] = "EXTRA_SMALL";
196
197
  Breakpoint[Breakpoint["SMALL"] = 576] = "SMALL";
197
198
  Breakpoint[Breakpoint["MEDIUM"] = 768] = "MEDIUM";
@@ -395,6 +396,11 @@ const DEFAULT_LOCALE = 'en-GB';
395
396
  * @type {string[]}
396
397
  */
397
398
  const RTL_LANGUAGES = ['ar', 'he'];
399
+
400
+ /**
401
+ * @deprecated The source of truth for supported languages lives in Crab.
402
+ * @type {string[]}
403
+ */
398
404
  const SUPPORTED_LANGUAGES = [DEFAULT_LANG, 'de', 'es', 'fr', 'hu', 'id', 'it', 'ja', 'pl', 'pt', 'ro', 'ru', 'th', 'tr', 'uk', 'zh'];
399
405
 
400
406
  /**
@@ -424,8 +430,13 @@ function adjustLocale(locale) {
424
430
  * Provides corresponding lang (iso2) for provided locale
425
431
  * if locale is invalid or language is unsupported returns null
426
432
  *
433
+ * @deprecated The use of this function almost always breaks language variants
434
+ * e.g. Simplified and Traditional Chinese.
435
+ * There should be no use case for this function.
436
+ * To select the correct translations from a translations object, pass the
437
+ * locale directly into Crab's getLocalisedMessages.
427
438
  * @param {string} locale (`es`, `es-ES`, `en-GB`, `en`, `ja`, `ja-JP` etc)
428
- * @returns {string|null}
439
+ * @returns {string|null} two-letter ISO639-1 language
429
440
  */
430
441
  function getLangFromLocale(locale) {
431
442
  const adjustedLocale = adjustLocale(locale);
@@ -1740,58 +1751,6 @@ const DimmerContentWrapper = ({
1740
1751
  };
1741
1752
  var Dimmer$1 = withNextPortalWrapper(Dimmer);
1742
1753
 
1743
- const EXIT_ANIMATION = 350;
1744
- const SlidingPanel = /*#__PURE__*/React.forwardRef(({
1745
- children,
1746
- className,
1747
- open,
1748
- position,
1749
- showSlidingPanelBorder,
1750
- slidingPanelPositionFixed,
1751
- ...rest
1752
- }, reference) => {
1753
- /** @type {RefObject<HTMLDivElement>} */
1754
- const localReference = React.useRef(null);
1755
- return /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
1756
- ...rest,
1757
- nodeRef: localReference,
1758
- in: open
1759
- // Wait for animation to finish before unmount.
1760
- ,
1761
- timeout: {
1762
- enter: 0,
1763
- exit: EXIT_ANIMATION
1764
- },
1765
- classNames: classNames__default.default(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
1766
- 'sliding-panel--fixed': slidingPanelPositionFixed
1767
- }, 'sliding-panel'),
1768
- appear: true,
1769
- unmountOnExit: true,
1770
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
1771
- ref: mergeRefs__default.default([reference, localReference]),
1772
- className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, className),
1773
- children: children
1774
- })
1775
- });
1776
- });
1777
- SlidingPanel.propTypes = {
1778
- children: PropTypes__default.default.node,
1779
- className: PropTypes__default.default.string,
1780
- open: PropTypes__default.default.bool,
1781
- position: PropTypes__default.default.oneOf(['top', 'bottom', 'left', 'right']),
1782
- showSlidingPanelBorder: PropTypes__default.default.bool,
1783
- slidingPanelPositionFixed: PropTypes__default.default.bool
1784
- };
1785
- SlidingPanel.defaultProps = {
1786
- children: null,
1787
- className: undefined,
1788
- open: false,
1789
- position: 'left',
1790
- showSlidingPanelBorder: false,
1791
- slidingPanelPositionFixed: false
1792
- };
1793
- var SlidingPanel$1 = SlidingPanel;
1794
-
1795
1754
  const THROTTLE_MS = 100;
1796
1755
  const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
1797
1756
  const useClientWidth = ({
@@ -1962,6 +1921,137 @@ const useLayout = () => {
1962
1921
  };
1963
1922
  };
1964
1923
 
1924
+ const EXIT_ANIMATION = 350;
1925
+ const SlidingPanel = /*#__PURE__*/React.forwardRef(({
1926
+ children,
1927
+ className,
1928
+ open,
1929
+ position,
1930
+ showSlidingPanelBorder,
1931
+ slidingPanelPositionFixed,
1932
+ ...rest
1933
+ }, reference) => {
1934
+ /** @type {RefObject<HTMLDivElement>} */
1935
+ const localReference = React.useRef(null);
1936
+ return /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
1937
+ ...rest,
1938
+ nodeRef: localReference,
1939
+ in: open
1940
+ // Wait for animation to finish before unmount.
1941
+ ,
1942
+ timeout: {
1943
+ enter: 0,
1944
+ exit: EXIT_ANIMATION
1945
+ },
1946
+ classNames: classNames__default.default(`sliding-panel--open-${position}`, showSlidingPanelBorder && `sliding-panel--border-${position}`, {
1947
+ 'sliding-panel--fixed': slidingPanelPositionFixed
1948
+ }, 'sliding-panel'),
1949
+ appear: true,
1950
+ unmountOnExit: true,
1951
+ children: /*#__PURE__*/jsxRuntime.jsx("div", {
1952
+ ref: mergeRefs__default.default([reference, localReference]),
1953
+ className: classNames__default.default('sliding-panel', `sliding-panel--open-${position}`, className),
1954
+ children: children
1955
+ })
1956
+ });
1957
+ });
1958
+ SlidingPanel.propTypes = {
1959
+ children: PropTypes__default.default.node,
1960
+ className: PropTypes__default.default.string,
1961
+ open: PropTypes__default.default.bool,
1962
+ position: PropTypes__default.default.oneOf(['top', 'bottom', 'left', 'right']),
1963
+ showSlidingPanelBorder: PropTypes__default.default.bool,
1964
+ slidingPanelPositionFixed: PropTypes__default.default.bool
1965
+ };
1966
+ SlidingPanel.defaultProps = {
1967
+ children: null,
1968
+ className: undefined,
1969
+ open: false,
1970
+ position: 'left',
1971
+ showSlidingPanelBorder: false,
1972
+ slidingPanelPositionFixed: false
1973
+ };
1974
+ var SlidingPanel$1 = SlidingPanel;
1975
+
1976
+ const Drawer = ({
1977
+ children,
1978
+ className,
1979
+ footerContent,
1980
+ headerTitle,
1981
+ onClose,
1982
+ open,
1983
+ position
1984
+ }) => {
1985
+ logActionRequiredIf('Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.', !onClose);
1986
+ const {
1987
+ isMobile
1988
+ } = useLayout();
1989
+ return /*#__PURE__*/jsxRuntime.jsx(Dimmer$1, {
1990
+ open: open,
1991
+ onClose: onClose,
1992
+ children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel$1, {
1993
+ open: open,
1994
+ position: isMobile ? exports.Position.BOTTOM : position,
1995
+ children: /*#__PURE__*/jsxRuntime.jsxs("div", {
1996
+ className: classNames__default.default('np-drawer', className),
1997
+ role: "dialog",
1998
+ children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
1999
+ className: classNames__default.default('np-drawer-header', {
2000
+ 'np-drawer-header--withborder': headerTitle
2001
+ }),
2002
+ children: [headerTitle && /*#__PURE__*/jsxRuntime.jsx(Title, {
2003
+ type: exports.Typography.TITLE_BODY,
2004
+ children: headerTitle
2005
+ }), /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
2006
+ onClick: onClose
2007
+ })]
2008
+ }), children && /*#__PURE__*/jsxRuntime.jsx("div", {
2009
+ className: classNames__default.default('np-drawer-content'),
2010
+ children: children
2011
+ }), footerContent && /*#__PURE__*/jsxRuntime.jsx("div", {
2012
+ className: classNames__default.default('np-drawer-footer'),
2013
+ children: footerContent
2014
+ })]
2015
+ })
2016
+ })
2017
+ });
2018
+ };
2019
+ Drawer.propTypes = {
2020
+ /** The content to appear in the drawer body. */
2021
+ children: PropTypes__default.default.node,
2022
+ className: PropTypes__default.default.string,
2023
+ /** The content to appear in the drawer footer. */
2024
+ footerContent: PropTypes__default.default.node,
2025
+ /** The content to appear in the drawer header. */
2026
+ headerTitle: PropTypes__default.default.node,
2027
+ /** The action to perform on close click. */
2028
+ onClose: PropTypes__default.default.func,
2029
+ /** The status of Drawer either open or not. */
2030
+ open: PropTypes__default.default.bool,
2031
+ /** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */
2032
+ position: PropTypes__default.default.oneOf(['left', 'right', 'bottom'])
2033
+ };
2034
+ Drawer.defaultProps = {
2035
+ children: null,
2036
+ className: undefined,
2037
+ footerContent: null,
2038
+ headerTitle: null,
2039
+ onClose: null,
2040
+ open: false,
2041
+ position: exports.Position.RIGHT
2042
+ };
2043
+ var Drawer$1 = Drawer;
2044
+
2045
+ function useMedia(query) {
2046
+ return shim.useSyncExternalStore(onStoreChange => {
2047
+ const mediaQueryList = window.matchMedia(query);
2048
+ mediaQueryList.addEventListener('change', onStoreChange);
2049
+ return () => {
2050
+ mediaQueryList.removeEventListener('change', onStoreChange);
2051
+ };
2052
+ }, () => typeof window !== 'undefined' ? window.matchMedia(query).matches : undefined, () => undefined);
2053
+ }
2054
+
1965
2055
  const INITIAL_Y_POSITION = 0;
1966
2056
  const CONTENT_SCROLL_THRESHOLD = 1;
1967
2057
  const MOVE_OFFSET_THRESHOLD = 50;
@@ -2089,7 +2179,13 @@ const BottomSheet$1 = props => {
2089
2179
  maxHeight: `calc(${screenHeight} - ${safeZoneHeight} - ${topbarHeight})`
2090
2180
  };
2091
2181
  }
2092
- return /*#__PURE__*/jsxRuntime.jsx(Dimmer$1, {
2182
+ const is400Zoom = useMedia(`(max-width: ${exports.Breakpoint.ZOOM_400}px)`);
2183
+ return is400Zoom ? /*#__PURE__*/jsxRuntime.jsx(Drawer$1, {
2184
+ open: props.open,
2185
+ className: props.className,
2186
+ onClose: close,
2187
+ children: props.children
2188
+ }) : /*#__PURE__*/jsxRuntime.jsx(Dimmer$1, {
2093
2189
  open: props.open,
2094
2190
  fadeContentOnEnter: true,
2095
2191
  fadeContentOnExit: true,
@@ -3316,7 +3412,7 @@ const ResponsivePanel = /*#__PURE__*/React.forwardRef(({
3316
3412
  });
3317
3413
  var ResponsivePanel$1 = ResponsivePanel;
3318
3414
 
3319
- var messages$6 = reactIntl.defineMessages({
3415
+ var dateTriggerMessages = reactIntl.defineMessages({
3320
3416
  ariaLabel: {
3321
3417
  id: "neptune.ClearButton.ariaLabel"
3322
3418
  }
@@ -3379,7 +3475,7 @@ const DateTrigger = ({
3379
3475
  className: "input-group-addon",
3380
3476
  children: /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
3381
3477
  className: `clear-btn clear-btn--${size}`,
3382
- "aria-label": formatMessage(messages$6.ariaLabel),
3478
+ "aria-label": formatMessage(dateTriggerMessages.ariaLabel),
3383
3479
  size: exports.Size.SMALL,
3384
3480
  onClick: event => {
3385
3481
  event.stopPropagation();
@@ -3409,7 +3505,7 @@ DateTrigger.defaultProps = {
3409
3505
  };
3410
3506
  var DateTrigger$1 = DateTrigger;
3411
3507
 
3412
- var messages$5 = reactIntl.defineMessages({
3508
+ var messages$6 = reactIntl.defineMessages({
3413
3509
  next: {
3414
3510
  id: "neptune.DateLookup.next"
3415
3511
  },
@@ -3445,14 +3541,17 @@ const DateHeader = ({
3445
3541
  dateMode
3446
3542
  }) => {
3447
3543
  const intl = reactIntl.useIntl();
3544
+ const {
3545
+ isMobile
3546
+ } = useLayout();
3448
3547
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
3449
- className: "text-xs-center p-t-1 p-b-2 clearfix",
3548
+ className: classNames__default.default('text-xs-center', !isMobile && ['clearfix', 'p-y-1']),
3450
3549
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
3451
3550
  className: "pull-left-single-direction",
3452
3551
  children: /*#__PURE__*/jsxRuntime.jsx("button", {
3453
3552
  type: "button",
3454
3553
  className: `d-inline-flex ${buttonClasses}`,
3455
- "aria-label": `${intl.formatMessage(messages$5.previous)} ${dateMode}`,
3554
+ "aria-label": `${intl.formatMessage(messages$6.previous)} ${dateMode}`,
3456
3555
  onClick: onPreviousClick,
3457
3556
  children: /*#__PURE__*/jsxRuntime.jsx(Chevron$1, {
3458
3557
  orientation: exports.Position.LEFT,
@@ -3466,7 +3565,7 @@ const DateHeader = ({
3466
3565
  children: /*#__PURE__*/jsxRuntime.jsx("button", {
3467
3566
  type: "button",
3468
3567
  className: `tw-date-lookup-header-current ${buttonClasses}`,
3469
- "aria-label": intl.formatMessage(messages$5.goTo20YearView),
3568
+ "aria-label": intl.formatMessage(messages$6.goTo20YearView),
3470
3569
  onClick: onLabelClick,
3471
3570
  children: label
3472
3571
  })
@@ -3475,7 +3574,7 @@ const DateHeader = ({
3475
3574
  children: /*#__PURE__*/jsxRuntime.jsx("button", {
3476
3575
  type: "button",
3477
3576
  className: `d-inline-flex ${buttonClasses}`,
3478
- "aria-label": `${reactIntl.useIntl().formatMessage(messages$5.next)} ${dateMode}`,
3577
+ "aria-label": `${reactIntl.useIntl().formatMessage(messages$6.next)} ${dateMode}`,
3479
3578
  onClick: onNextClick,
3480
3579
  children: /*#__PURE__*/jsxRuntime.jsx(Chevron$1, {
3481
3580
  orientation: exports.Position.RIGHT,
@@ -3519,7 +3618,7 @@ class TableLink extends React.PureComponent {
3519
3618
  };
3520
3619
  calculateAriaLabel = (longTitle, title, active, type, formatMessage) => {
3521
3620
  if (active) {
3522
- return `${longTitle || title}, ${formatMessage(messages$5.selected)} ${formatMessage(messages$5[type])}`;
3621
+ return `${longTitle || title}, ${formatMessage(messages$6.selected)} ${formatMessage(messages$6[type])}`;
3523
3622
  }
3524
3623
  return longTitle || title;
3525
3624
  };
@@ -3742,7 +3841,7 @@ class DayCalendar extends React.PureComponent {
3742
3841
  month: monthFormat,
3743
3842
  year: 'numeric'
3744
3843
  }),
3745
- dateMode: formatMessage(messages$5.month),
3844
+ dateMode: formatMessage(messages$6.month),
3746
3845
  onLabelClick: onLabelClick,
3747
3846
  onPreviousClick: this.selectPreviousMonth,
3748
3847
  onNextClick: this.selectNextMonth
@@ -3870,7 +3969,7 @@ class MonthCalendar extends React.PureComponent {
3870
3969
  } = this.props;
3871
3970
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
3872
3971
  children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader$1, {
3873
- dateMode: formatMessage(messages$5.year),
3972
+ dateMode: formatMessage(messages$6.year),
3874
3973
  label: formatting.formatDate(new Date(viewYear, 0), locale, {
3875
3974
  year: 'numeric'
3876
3975
  }),
@@ -3995,7 +4094,7 @@ class YearCalendar extends React.PureComponent {
3995
4094
  } = this.props;
3996
4095
  return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
3997
4096
  children: [/*#__PURE__*/jsxRuntime.jsx(DateHeader$1, {
3998
- dateMode: formatMessage(messages$5.twentyYears),
4097
+ dateMode: formatMessage(messages$6.twentyYears),
3999
4098
  onPreviousClick: this.selectPreviousYears,
4000
4099
  onNextClick: this.selectNextYears
4001
4100
  }), /*#__PURE__*/jsxRuntime.jsx(YearCalendarTable$1, {
@@ -4042,7 +4141,8 @@ class DateLookup extends React.PureComponent {
4042
4141
  viewMonth: (props.value || new Date()).getMonth(),
4043
4142
  viewYear: (props.value || new Date()).getFullYear(),
4044
4143
  open: false,
4045
- mode: MODE.DAY
4144
+ mode: MODE.DAY,
4145
+ isMobile: false
4046
4146
  };
4047
4147
  }
4048
4148
  static getDerivedStateFromProps(props, state) {
@@ -4077,6 +4177,10 @@ class DateLookup extends React.PureComponent {
4077
4177
  if (+this.props.value !== +previousProps.value && this.state.open) {
4078
4178
  this.focusOn('.active');
4079
4179
  }
4180
+ this.mediaQuery = window.matchMedia(`(max-width: ${exports.Breakpoint.SMALL}px)`);
4181
+ this.setState({
4182
+ isMobile: this.mediaQuery.matches
4183
+ });
4080
4184
  }
4081
4185
  componentWillUnmount() {
4082
4186
  // Prevents memory leak by cleaning state.
@@ -4209,14 +4313,17 @@ class DateLookup extends React.PureComponent {
4209
4313
  max,
4210
4314
  viewMonth,
4211
4315
  viewYear,
4212
- mode
4316
+ mode,
4317
+ isMobile
4213
4318
  } = this.state;
4214
4319
  const {
4215
4320
  placeholder,
4216
4321
  monthFormat
4217
4322
  } = this.props;
4218
4323
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
4219
- className: "p-a-1",
4324
+ className: classNames__default.default({
4325
+ 'p-a-1': !isMobile
4326
+ }),
4220
4327
  children: [mode === MODE.DAY && /*#__PURE__*/jsxRuntime.jsx(DayCalendar$1, {
4221
4328
  selectedDate,
4222
4329
  min,
@@ -4724,75 +4831,6 @@ function Display({
4724
4831
  });
4725
4832
  }
4726
4833
 
4727
- const Drawer = ({
4728
- children,
4729
- className,
4730
- footerContent,
4731
- headerTitle,
4732
- onClose,
4733
- open,
4734
- position
4735
- }) => {
4736
- logActionRequiredIf('Drawer now expects `onClose`, and will soon make this prop required. Please update your usage to provide it.', !onClose);
4737
- const {
4738
- isMobile
4739
- } = useLayout();
4740
- return /*#__PURE__*/jsxRuntime.jsx(Dimmer$1, {
4741
- open: open,
4742
- onClose: onClose,
4743
- children: /*#__PURE__*/jsxRuntime.jsx(SlidingPanel$1, {
4744
- open: open,
4745
- position: isMobile ? exports.Position.BOTTOM : position,
4746
- children: /*#__PURE__*/jsxRuntime.jsxs("div", {
4747
- className: classNames__default.default('np-drawer', className),
4748
- role: "dialog",
4749
- children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
4750
- className: classNames__default.default('np-drawer-header', {
4751
- 'np-drawer-header--withborder': headerTitle
4752
- }),
4753
- children: [headerTitle && /*#__PURE__*/jsxRuntime.jsx(Title, {
4754
- type: exports.Typography.TITLE_BODY,
4755
- children: headerTitle
4756
- }), /*#__PURE__*/jsxRuntime.jsx(CloseButton, {
4757
- onClick: onClose
4758
- })]
4759
- }), children && /*#__PURE__*/jsxRuntime.jsx("div", {
4760
- className: classNames__default.default('np-drawer-content'),
4761
- children: children
4762
- }), footerContent && /*#__PURE__*/jsxRuntime.jsx("div", {
4763
- className: classNames__default.default('np-drawer-footer'),
4764
- children: footerContent
4765
- })]
4766
- })
4767
- })
4768
- });
4769
- };
4770
- Drawer.propTypes = {
4771
- /** The content to appear in the drawer body. */
4772
- children: PropTypes__default.default.node,
4773
- className: PropTypes__default.default.string,
4774
- /** The content to appear in the drawer footer. */
4775
- footerContent: PropTypes__default.default.node,
4776
- /** The content to appear in the drawer header. */
4777
- headerTitle: PropTypes__default.default.node,
4778
- /** The action to perform on close click. */
4779
- onClose: PropTypes__default.default.func,
4780
- /** The status of Drawer either open or not. */
4781
- open: PropTypes__default.default.bool,
4782
- /** The placement of Drawer on the screen either left or right. On mobile it will default to bottom. */
4783
- position: PropTypes__default.default.oneOf(['left', 'right', 'bottom'])
4784
- };
4785
- Drawer.defaultProps = {
4786
- children: null,
4787
- className: undefined,
4788
- footerContent: null,
4789
- headerTitle: null,
4790
- onClose: null,
4791
- open: false,
4792
- position: exports.Position.RIGHT
4793
- };
4794
- var Drawer$1 = Drawer;
4795
-
4796
4834
  const DropFade = ({
4797
4835
  children,
4798
4836
  show
@@ -5693,7 +5731,7 @@ const Stepper = ({
5693
5731
  });
5694
5732
  };
5695
5733
 
5696
- var messages$4 = reactIntl.defineMessages({
5734
+ var messages$5 = reactIntl.defineMessages({
5697
5735
  back: {
5698
5736
  id: "neptune.FlowNavigation.back"
5699
5737
  }
@@ -5773,7 +5811,7 @@ const FlowNavigation = ({
5773
5811
  className: "m-x-1",
5774
5812
  labels: steps.map(step => step.label),
5775
5813
  activeLabel: activeStep - 1,
5776
- "aria-label": intl.formatMessage(messages$4.back)
5814
+ "aria-label": intl.formatMessage(messages$5.back)
5777
5815
  }),
5778
5816
  onClick: onGoBack
5779
5817
  }) : logo
@@ -5925,13 +5963,14 @@ const Modal = ({
5925
5963
  }) => {
5926
5964
  const checkSpecialClasses = classToCheck => className?.split(' ').includes(classToCheck);
5927
5965
  const {
5928
- isMobile
5966
+ isMobile,
5967
+ isMedium: isTablet
5929
5968
  } = useLayout();
5930
5969
  // These should be replaced with props in breaking change.
5931
5970
  const isCompact = checkSpecialClasses('compact');
5932
5971
  const noDivider = checkSpecialClasses('no-divider');
5933
5972
  const contentReference = React.useRef(null);
5934
- return isMobile ? /*#__PURE__*/jsxRuntime.jsx(Drawer$1, {
5973
+ return isMobile || isTablet ? /*#__PURE__*/jsxRuntime.jsx(Drawer$1, {
5935
5974
  open: open,
5936
5975
  headerTitle: title,
5937
5976
  footerContent: footer,
@@ -6354,16 +6393,6 @@ const SearchInput = /*#__PURE__*/React.forwardRef(function SearchInput({
6354
6393
  });
6355
6394
  });
6356
6395
 
6357
- function useMedia(query) {
6358
- return shim.useSyncExternalStore(onStoreChange => {
6359
- const mediaQueryList = window.matchMedia(query);
6360
- mediaQueryList.addEventListener('change', onStoreChange);
6361
- return () => {
6362
- mediaQueryList.removeEventListener('change', onStoreChange);
6363
- };
6364
- }, () => typeof window !== 'undefined' ? window.matchMedia(query).matches : undefined, () => undefined);
6365
- }
6366
-
6367
6396
  function useScreenSize(size) {
6368
6397
  return useMedia(`(min-width: ${size}px)`);
6369
6398
  }
@@ -6388,6 +6417,12 @@ function wrapInFragment(value) {
6388
6417
  });
6389
6418
  }
6390
6419
 
6420
+ var messages$4 = reactIntl.defineMessages({
6421
+ noResultsFound: {
6422
+ id: "neptune.SelectInput.noResultsFound"
6423
+ }
6424
+ });
6425
+
6391
6426
  function PreventScroll() {
6392
6427
  overlays.usePreventScroll();
6393
6428
  return null;
@@ -6433,29 +6468,29 @@ function BottomSheet({
6433
6468
  theme: theme,
6434
6469
  screenMode: screenMode,
6435
6470
  isNotRootProvider: true,
6436
- children: /*#__PURE__*/jsxRuntime.jsxs(react$1.Transition, {
6471
+ children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition, {
6437
6472
  show: open,
6438
6473
  className: "np-bottom-sheet-v2-container",
6439
6474
  beforeEnter: () => {
6440
6475
  setFloatingKey(prev => prev + 1);
6441
6476
  },
6442
- children: [/*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
6443
- enter: "np-bottom-sheet-v2-backdrop-container--enter",
6444
- enterFrom: "np-bottom-sheet-v2-backdrop-container--enter-from",
6445
- leave: "np-bottom-sheet-v2-backdrop-container--leave",
6446
- leaveTo: "np-bottom-sheet-v2-backdrop-container--leave-to",
6447
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
6448
- className: "np-bottom-sheet-v2-backdrop"
6449
- })
6450
- }), /*#__PURE__*/jsxRuntime.jsx("div", {
6451
- className: "np-bottom-sheet-v2",
6452
- children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
6453
- className: "np-bottom-sheet-v2-content",
6454
- enter: "np-bottom-sheet-v2-content--enter",
6455
- enterFrom: "np-bottom-sheet-v2-content--enter-from",
6456
- leave: "np-bottom-sheet-v2-content--leave",
6457
- leaveTo: "np-bottom-sheet-v2-content--leave-to",
6458
- children: /*#__PURE__*/jsxRuntime.jsx(FocusBoundary, {
6477
+ children: /*#__PURE__*/jsxRuntime.jsxs(FocusBoundary, {
6478
+ children: [/*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
6479
+ enter: "np-bottom-sheet-v2-backdrop-container--enter",
6480
+ enterFrom: "np-bottom-sheet-v2-backdrop-container--enter-from",
6481
+ leave: "np-bottom-sheet-v2-backdrop-container--leave",
6482
+ leaveTo: "np-bottom-sheet-v2-backdrop-container--leave-to",
6483
+ children: /*#__PURE__*/jsxRuntime.jsx("div", {
6484
+ className: "np-bottom-sheet-v2-backdrop"
6485
+ })
6486
+ }), /*#__PURE__*/jsxRuntime.jsx("div", {
6487
+ className: "np-bottom-sheet-v2",
6488
+ children: /*#__PURE__*/jsxRuntime.jsx(react$1.Transition.Child, {
6489
+ className: "np-bottom-sheet-v2-content",
6490
+ enter: "np-bottom-sheet-v2-content--enter",
6491
+ enterFrom: "np-bottom-sheet-v2-content--enter-from",
6492
+ leave: "np-bottom-sheet-v2-content--leave",
6493
+ leaveTo: "np-bottom-sheet-v2-content--leave-to",
6459
6494
  children: /*#__PURE__*/jsxRuntime.jsx(react.FloatingFocusManager, {
6460
6495
  context: context,
6461
6496
  initialFocus: initialFocusRef,
@@ -6489,8 +6524,8 @@ function BottomSheet({
6489
6524
  }, floatingKey)
6490
6525
  })
6491
6526
  })
6492
- })
6493
- })]
6527
+ })]
6528
+ })
6494
6529
  })
6495
6530
  })
6496
6531
  })]
@@ -6641,14 +6676,14 @@ function useSelectInputItemCheckPadding() {
6641
6676
  const SelectInputTriggerButtonPropsContext = /*#__PURE__*/React.createContext({});
6642
6677
  const SelectInputOptionContentWithinTriggerContext = /*#__PURE__*/React.createContext(false);
6643
6678
  function dedupeSelectInputOptionItem(item, existingValues) {
6644
- if (existingValues.has(item.value)) {
6645
- return {
6646
- ...item,
6647
- value: undefined
6648
- };
6679
+ if (!existingValues.has(item.value)) {
6680
+ existingValues.add(item.value);
6681
+ return item;
6649
6682
  }
6650
- existingValues.add(item.value);
6651
- return item;
6683
+ return {
6684
+ ...item,
6685
+ value: undefined
6686
+ };
6652
6687
  }
6653
6688
  function dedupeSelectInputItems(items) {
6654
6689
  const existingValues = new Set();
@@ -6669,6 +6704,24 @@ function dedupeSelectInputItems(items) {
6669
6704
  return item;
6670
6705
  });
6671
6706
  }
6707
+ function filterSelectInputOptionItem(item, needle) {
6708
+ return inferSearchableStrings(item.filterMatchers ?? item.value).some(haystack => haystack.includes(needle));
6709
+ }
6710
+ function filterSelectInputItems(items, needle) {
6711
+ return items.filter(item => {
6712
+ switch (item.type) {
6713
+ case 'option':
6714
+ {
6715
+ return filterSelectInputOptionItem(item, needle);
6716
+ }
6717
+ case 'group':
6718
+ {
6719
+ return item.options.some(option => filterSelectInputOptionItem(option, needle));
6720
+ }
6721
+ }
6722
+ return false;
6723
+ });
6724
+ }
6672
6725
  const defaultRenderTrigger = ({
6673
6726
  content,
6674
6727
  placeholderShown,
@@ -6716,7 +6769,7 @@ function SelectInputClearButton({
6716
6769
  const intl = reactIntl.useIntl();
6717
6770
  return /*#__PURE__*/jsxRuntime.jsx("button", {
6718
6771
  type: "button",
6719
- "aria-label": intl.formatMessage(messages$6.ariaLabel),
6772
+ "aria-label": intl.formatMessage(dateTriggerMessages.ariaLabel),
6720
6773
  className: classNames__default.default(className, 'np-select-input-addon np-select-input-addon--interactive'),
6721
6774
  onClick: onClick,
6722
6775
  children: /*#__PURE__*/jsxRuntime.jsx(icons.Cross, {
@@ -6857,9 +6910,14 @@ const SelectInputOptionsContainer = /*#__PURE__*/React.forwardRef(function Selec
6857
6910
  ref: ref,
6858
6911
  onKeyDown: event => {
6859
6912
  // Prevent absorbing dismissal requests too early
6860
- if (event.key !== 'Escape') {
6861
- onKeyDown?.(event);
6913
+ if (event.key === 'Escape') {
6914
+ return;
6915
+ }
6916
+ // Prevent confirmation close without an active item
6917
+ if (event.key === 'Enter' && ariaActiveDescendant == null) {
6918
+ return;
6862
6919
  }
6920
+ onKeyDown?.(event);
6863
6921
  },
6864
6922
  ...restProps
6865
6923
  })
@@ -6873,6 +6931,8 @@ function SelectInputOptions({
6873
6931
  searchInputRef,
6874
6932
  listboxRef
6875
6933
  }) {
6934
+ const intl = reactIntl.useIntl();
6935
+ const controllerRef = filterable ? searchInputRef : listboxRef;
6876
6936
  const [query, setQuery] = React.useState('');
6877
6937
  const needle = React.useMemo(() => {
6878
6938
  if (filterable) {
@@ -6880,14 +6940,16 @@ function SelectInputOptions({
6880
6940
  }
6881
6941
  return undefined;
6882
6942
  }, [filterable, query]);
6943
+ const empty = needle != null && filterSelectInputItems(items, needle).length === 0;
6883
6944
  const listboxContainerRef = React.useRef(null);
6884
6945
  React.useEffect(() => {
6885
6946
  if (listboxContainerRef.current != null) {
6886
6947
  listboxContainerRef.current.style.setProperty('--initial-height', `${listboxContainerRef.current.offsetHeight}px`);
6887
6948
  }
6888
6949
  }, []);
6950
+ const showStatus = empty;
6951
+ const statusId = reactId.useId();
6889
6952
  const listboxId = reactId.useId();
6890
- const controllerRef = filterable ? searchInputRef : listboxRef;
6891
6953
  return /*#__PURE__*/jsxRuntime.jsxs(react$1.Listbox.Options, {
6892
6954
  as: SelectInputOptionsContainer,
6893
6955
  static: true,
@@ -6909,6 +6971,7 @@ function SelectInputOptions({
6909
6971
  placeholder: filterPlaceholder,
6910
6972
  value: query,
6911
6973
  "aria-controls": listboxId,
6974
+ "aria-describedby": showStatus ? statusId : undefined,
6912
6975
  onKeyDown: event => {
6913
6976
  // Prevent interfering with the matcher of Headless UI
6914
6977
  // https://mathiasbynens.be/notes/javascript-unicode#regex
@@ -6920,24 +6983,31 @@ function SelectInputOptions({
6920
6983
  setQuery(event.currentTarget.value);
6921
6984
  }
6922
6985
  })
6923
- }) : null, /*#__PURE__*/jsxRuntime.jsx("div", {
6986
+ }) : null, /*#__PURE__*/jsxRuntime.jsxs("div", {
6924
6987
  ref: listboxContainerRef,
6925
6988
  className: classNames__default.default('np-select-input-listbox-container', items.some(item => item.type === 'group') && 'np-select-input-listbox-container--has-group'),
6926
- children: /*#__PURE__*/jsxRuntime.jsx("div", {
6989
+ children: [empty ? /*#__PURE__*/jsxRuntime.jsxs("div", {
6990
+ id: statusId,
6991
+ className: "np-select-input-options-status",
6992
+ children: [/*#__PURE__*/jsxRuntime.jsx(icons.CrossCircle, {
6993
+ size: 16,
6994
+ className: "np-select-input-options-status-icon"
6995
+ }), intl.formatMessage(messages$4.noResultsFound)]
6996
+ }) : null, /*#__PURE__*/jsxRuntime.jsx("div", {
6927
6997
  ref: listboxRef,
6928
6998
  id: listboxId,
6929
6999
  role: "listbox",
6930
7000
  "aria-orientation": "vertical",
6931
7001
  tabIndex: 0,
6932
7002
  className: "np-select-input-listbox",
6933
- children: (needle == null ? items : dedupeSelectInputItems(items)).map((item, index) => /*#__PURE__*/jsxRuntime.jsx(SelectInputItemView
7003
+ children: (needle != null ? dedupeSelectInputItems(items) : items).map((item, index) => /*#__PURE__*/jsxRuntime.jsx(SelectInputItemView
6934
7004
  // eslint-disable-next-line react/no-array-index-key
6935
7005
  , {
6936
7006
  item: item,
6937
7007
  renderValue: renderValue,
6938
7008
  needle: needle
6939
7009
  }, index))
6940
- })
7010
+ })]
6941
7011
  })]
6942
7012
  });
6943
7013
  }
@@ -6949,7 +7019,7 @@ function SelectInputItemView({
6949
7019
  switch (item.type) {
6950
7020
  case 'option':
6951
7021
  {
6952
- if (item.value != null && (!needle || inferSearchableStrings(item.filterMatchers ?? item.value).some(haystack => haystack.includes(needle)))) {
7022
+ if (item.value != null && (needle == null || filterSelectInputOptionItem(item, needle))) {
6953
7023
  return /*#__PURE__*/jsxRuntime.jsx(SelectInputOption, {
6954
7024
  value: item.value,
6955
7025
  disabled: item.disabled,
@@ -10724,6 +10794,7 @@ var en = {
10724
10794
  "neptune.Link.opensInNewTab": "(opens in new tab)",
10725
10795
  "neptune.MoneyInput.Select.placeholder": "Select an option...",
10726
10796
  "neptune.Select.searchPlaceholder": "Search...",
10797
+ "neptune.SelectInput.noResultsFound": "No results found",
10727
10798
  "neptune.Summary.statusDone": "Item done",
10728
10799
  "neptune.Summary.statusNotDone": "Item to do",
10729
10800
  "neptune.Summary.statusPending": "Item pending",
@@ -10951,7 +11022,7 @@ class RadioGroup extends React.Component {
10951
11022
  const {
10952
11023
  selectedValue
10953
11024
  } = this.state;
10954
- return radios && radios.length > 1 ? /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
11025
+ return radios && radios.length > 0 ? /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
10955
11026
  children: radios.map(({
10956
11027
  id,
10957
11028
  avatar,
@@ -14492,17 +14563,78 @@ function useSnackbar() {
14492
14563
  return createSnackbar;
14493
14564
  }
14494
14565
 
14566
+ var cs = {
14567
+ "neptune.Button.loadingAriaLabel": "načítání",
14568
+ "neptune.Chips.ariaLabel": "Vyčistit {choice}",
14569
+ "neptune.ClearButton.ariaLabel": "Vyčistit",
14570
+ "neptune.CloseButton.ariaLabel": "Zavřít",
14571
+ "neptune.DateInput.day.label": "Den",
14572
+ "neptune.DateInput.month.label": "Měsíc",
14573
+ "neptune.DateInput.year.label": "Rok",
14574
+ "neptune.DateLookup.day": "den",
14575
+ "neptune.DateLookup.goTo20YearView": "Go to 20 year view",
14576
+ "neptune.DateLookup.month": "měsíc",
14577
+ "neptune.DateLookup.next": "další",
14578
+ "neptune.DateLookup.previous": "předchozí",
14579
+ "neptune.DateLookup.selected": "vybráno",
14580
+ "neptune.DateLookup.twentyYears": "20 let",
14581
+ "neptune.DateLookup.year": "rok",
14582
+ "neptune.FlowNavigation.back": "back to previous step",
14583
+ "neptune.Link.opensInNewTab": "(opens in new tab)",
14584
+ "neptune.MoneyInput.Select.placeholder": "Vybrat možnost...",
14585
+ "neptune.Select.searchPlaceholder": "Hledat...",
14586
+ "neptune.Summary.statusDone": "Položka dokončena",
14587
+ "neptune.Summary.statusNotDone": "Položka k dokončení",
14588
+ "neptune.Summary.statusPending": "Čekající položka",
14589
+ "neptune.Upload.csButtonText": "Nahrát další soubor?",
14590
+ "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
14591
+ "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
14592
+ "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než 5MB",
14593
+ "neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
14594
+ "neptune.Upload.psButtonText": "Zrušit",
14595
+ "neptune.Upload.psProcessingText": "Načítání...",
14596
+ "neptune.Upload.usButtonText": "Nebo vyberte soubor",
14597
+ "neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
14598
+ "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než 5MB",
14599
+ "neptune.UploadButton.allFileTypes": "Všechny typy souborů",
14600
+ "neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
14601
+ "neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
14602
+ "neptune.UploadButton.uploadFile": "Nahrát soubor",
14603
+ "neptune.UploadButton.uploadFiles": "Nahrát soubory",
14604
+ "neptune.UploadInput.deleteModalBody": "Odstraněním tohoto souboru jej smažete z našeho systému.",
14605
+ "neptune.UploadInput.deleteModalCancelButtonText": "Zrušit",
14606
+ "neptune.UploadInput.deleteModalConfirmButtonText": "Odstranit",
14607
+ "neptune.UploadInput.deleteModalTitle": "Jistě chcete odstranit tento soubor?",
14608
+ "neptune.UploadInput.fileIsTooLarge": "Soubor je příliš velký",
14609
+ "neptune.UploadInput.fileTypeNotSupported": "Typ souboru není podporován",
14610
+ "neptune.UploadInput.maximumFilesAlreadyUploaded": "Je nám líto, ale toto nahrání se nezdařilo, protože můžeme přijmout pouze {maxFilesAllowed} souborů najednou.",
14611
+ "neptune.UploadItem.deleting": "Mažeme...",
14612
+ "neptune.UploadItem.removeFile": "Odstranit soubor {filename}",
14613
+ "neptune.UploadItem.uploaded": "Nahráno",
14614
+ "neptune.UploadItem.uploadedFile": "Nahraný soubor",
14615
+ "neptune.UploadItem.uploading": "Nahrávání...",
14616
+ "neptune.UploadItem.uploadingFailed": "Nahrání se nezdařilo"
14617
+ };
14618
+
14495
14619
  var de = {
14620
+ "neptune.Button.loadingAriaLabel": "wird geladen",
14496
14621
  "neptune.Chips.ariaLabel": "{choice} zurücksetzen",
14497
14622
  "neptune.ClearButton.ariaLabel": "Zurücksetzen",
14498
14623
  "neptune.CloseButton.ariaLabel": "Schließen",
14499
14624
  "neptune.DateInput.day.label": "Tag",
14500
14625
  "neptune.DateInput.month.label": "Monat",
14501
14626
  "neptune.DateInput.year.label": "Jahr",
14627
+ "neptune.DateLookup.day": "Tag",
14628
+ "neptune.DateLookup.goTo20YearView": "Zur 20-Jahres-Ansicht",
14629
+ "neptune.DateLookup.month": "Monat",
14630
+ "neptune.DateLookup.next": "weiter",
14631
+ "neptune.DateLookup.previous": "zurück",
14632
+ "neptune.DateLookup.selected": "ausgewählt",
14633
+ "neptune.DateLookup.twentyYears": "20 Jahre",
14634
+ "neptune.DateLookup.year": "Jahr",
14635
+ "neptune.FlowNavigation.back": "zurück zum vorherigen Schritt",
14636
+ "neptune.Link.opensInNewTab": "(wird in einem neuen Tab geöffnet)",
14502
14637
  "neptune.MoneyInput.Select.placeholder": "Wähle eine der Möglichkeiten aus...",
14503
- "neptune.Pagination.ariaLabel": "Seitennummer-Navigation",
14504
- "neptune.PaginationLink.ariaLabel.active": "Weiter zur Seite {pageNumber}",
14505
- "neptune.PaginationLink.ariaLabel.inactive": "Aktuelle Seite – Seite {pageNumber}",
14506
14638
  "neptune.Select.searchPlaceholder": "Wird gesucht...",
14507
14639
  "neptune.Summary.statusDone": "Schritt erledigt",
14508
14640
  "neptune.Summary.statusNotDone": "Schritt noch zu erledigen",
@@ -14538,16 +14670,24 @@ var de = {
14538
14670
  };
14539
14671
 
14540
14672
  var es = {
14673
+ "neptune.Button.loadingAriaLabel": "cargando",
14541
14674
  "neptune.Chips.ariaLabel": "Descartar {choice}",
14542
14675
  "neptune.ClearButton.ariaLabel": "Borrar",
14543
14676
  "neptune.CloseButton.ariaLabel": "Cerrar",
14544
14677
  "neptune.DateInput.day.label": "Día",
14545
14678
  "neptune.DateInput.month.label": "Mes",
14546
14679
  "neptune.DateInput.year.label": "Año",
14680
+ "neptune.DateLookup.day": "día",
14681
+ "neptune.DateLookup.goTo20YearView": "Ir a vista de 20 años",
14682
+ "neptune.DateLookup.month": "mes",
14683
+ "neptune.DateLookup.next": "siguiente",
14684
+ "neptune.DateLookup.previous": "anterior",
14685
+ "neptune.DateLookup.selected": "seleccionado",
14686
+ "neptune.DateLookup.twentyYears": "20 años",
14687
+ "neptune.DateLookup.year": "año",
14688
+ "neptune.FlowNavigation.back": "volver al paso anterior",
14689
+ "neptune.Link.opensInNewTab": "(se abre en una pestaña nueva)",
14547
14690
  "neptune.MoneyInput.Select.placeholder": "Selecciona una opción...",
14548
- "neptune.Pagination.ariaLabel": "Navegación por las páginas",
14549
- "neptune.PaginationLink.ariaLabel.active": "Ve a la página {pageNumber}",
14550
- "neptune.PaginationLink.ariaLabel.inactive": "Página actual, página {pageNumber}",
14551
14691
  "neptune.Select.searchPlaceholder": "Buscar...",
14552
14692
  "neptune.Summary.statusDone": "Apartado listo",
14553
14693
  "neptune.Summary.statusNotDone": "Apartado a completar",
@@ -14583,16 +14723,24 @@ var es = {
14583
14723
  };
14584
14724
 
14585
14725
  var fr = {
14726
+ "neptune.Button.loadingAriaLabel": "chargement",
14586
14727
  "neptune.Chips.ariaLabel": "Effacer {choice}",
14587
14728
  "neptune.ClearButton.ariaLabel": "Effacer",
14588
14729
  "neptune.CloseButton.ariaLabel": "Fermer",
14589
14730
  "neptune.DateInput.day.label": "Jour",
14590
14731
  "neptune.DateInput.month.label": "Mois",
14591
14732
  "neptune.DateInput.year.label": "Année",
14733
+ "neptune.DateLookup.day": "jour",
14734
+ "neptune.DateLookup.goTo20YearView": "Accéder à la vue sur 20 ans",
14735
+ "neptune.DateLookup.month": "mois",
14736
+ "neptune.DateLookup.next": "suivant",
14737
+ "neptune.DateLookup.previous": "précédent",
14738
+ "neptune.DateLookup.selected": "sélectionnée",
14739
+ "neptune.DateLookup.twentyYears": "20 ans",
14740
+ "neptune.DateLookup.year": "année",
14741
+ "neptune.FlowNavigation.back": "revenir à l'étape précédente",
14742
+ "neptune.Link.opensInNewTab": "(ouvre dans un nouvel onglet)",
14592
14743
  "neptune.MoneyInput.Select.placeholder": "Sélectionner une option...",
14593
- "neptune.Pagination.ariaLabel": "Navigation par pagination",
14594
- "neptune.PaginationLink.ariaLabel.active": "Aller à la page {pageNumber}",
14595
- "neptune.PaginationLink.ariaLabel.inactive": "Page actuelle, page {pageNumber}",
14596
14744
  "neptune.Select.searchPlaceholder": "Recherche...",
14597
14745
  "neptune.Summary.statusDone": "Validé",
14598
14746
  "neptune.Summary.statusNotDone": "À compléter",
@@ -14628,16 +14776,24 @@ var fr = {
14628
14776
  };
14629
14777
 
14630
14778
  var hu = {
14779
+ "neptune.Button.loadingAriaLabel": "betöltés",
14631
14780
  "neptune.Chips.ariaLabel": "{choice} törlése",
14632
14781
  "neptune.ClearButton.ariaLabel": "Törlés",
14633
14782
  "neptune.CloseButton.ariaLabel": "Bezárás",
14634
14783
  "neptune.DateInput.day.label": "Nap",
14635
14784
  "neptune.DateInput.month.label": "Hónap",
14636
14785
  "neptune.DateInput.year.label": "Év",
14786
+ "neptune.DateLookup.day": "nap",
14787
+ "neptune.DateLookup.goTo20YearView": "Ugrás a 20 éves nézetre",
14788
+ "neptune.DateLookup.month": "hónap",
14789
+ "neptune.DateLookup.next": "következő",
14790
+ "neptune.DateLookup.previous": "előző",
14791
+ "neptune.DateLookup.selected": "kiválasztva",
14792
+ "neptune.DateLookup.twentyYears": "20 év",
14793
+ "neptune.DateLookup.year": "év",
14794
+ "neptune.FlowNavigation.back": "vissza az előző lépéshez",
14795
+ "neptune.Link.opensInNewTab": "(új lapon nyílik meg)",
14637
14796
  "neptune.MoneyInput.Select.placeholder": "Válassz ki egy lehetőséget...",
14638
- "neptune.Pagination.ariaLabel": "Lapszámos navigáció",
14639
- "neptune.PaginationLink.ariaLabel.active": "Ugrás a(z) {pageNumber}. oldalra",
14640
- "neptune.PaginationLink.ariaLabel.inactive": "Jelenlegi oldal, {pageNumber}. oldal",
14641
14797
  "neptune.Select.searchPlaceholder": "Keresés...",
14642
14798
  "neptune.Summary.statusDone": "Kész",
14643
14799
  "neptune.Summary.statusNotDone": "Hátravan",
@@ -14673,16 +14829,24 @@ var hu = {
14673
14829
  };
14674
14830
 
14675
14831
  var id = {
14832
+ "neptune.Button.loadingAriaLabel": "memuat",
14676
14833
  "neptune.Chips.ariaLabel": "Hapus {choice}",
14677
14834
  "neptune.ClearButton.ariaLabel": "Hapus",
14678
14835
  "neptune.CloseButton.ariaLabel": "Tutup",
14679
14836
  "neptune.DateInput.day.label": "Hari",
14680
14837
  "neptune.DateInput.month.label": "Bulan",
14681
14838
  "neptune.DateInput.year.label": "Tahun",
14839
+ "neptune.DateLookup.day": "hari",
14840
+ "neptune.DateLookup.goTo20YearView": "Lihat tampilan 20 tahun",
14841
+ "neptune.DateLookup.month": "bulan",
14842
+ "neptune.DateLookup.next": "berikutnya",
14843
+ "neptune.DateLookup.previous": "sebelumnya",
14844
+ "neptune.DateLookup.selected": "terpilih",
14845
+ "neptune.DateLookup.twentyYears": "20 tahun",
14846
+ "neptune.DateLookup.year": "tahun",
14847
+ "neptune.FlowNavigation.back": "kembali ke langkah sebelumnya",
14848
+ "neptune.Link.opensInNewTab": "(terbuka di tab baru)",
14682
14849
  "neptune.MoneyInput.Select.placeholder": "Pilih opsi...",
14683
- "neptune.Pagination.ariaLabel": "Halaman navigasi",
14684
- "neptune.PaginationLink.ariaLabel.active": "Lanjut ke halaman {pageNumber}",
14685
- "neptune.PaginationLink.ariaLabel.inactive": "Halaman saat ini, halaman {pageNumber}",
14686
14850
  "neptune.Select.searchPlaceholder": "Cari...",
14687
14851
  "neptune.Summary.statusDone": "Item selesai",
14688
14852
  "neptune.Summary.statusNotDone": "Item yang harus dilakukan",
@@ -14718,16 +14882,24 @@ var id = {
14718
14882
  };
14719
14883
 
14720
14884
  var it = {
14885
+ "neptune.Button.loadingAriaLabel": "caricamento",
14721
14886
  "neptune.Chips.ariaLabel": "Rimuovi {choice}",
14722
14887
  "neptune.ClearButton.ariaLabel": "Elimina",
14723
14888
  "neptune.CloseButton.ariaLabel": "Chiudi",
14724
14889
  "neptune.DateInput.day.label": "Giorno",
14725
14890
  "neptune.DateInput.month.label": "Mese",
14726
14891
  "neptune.DateInput.year.label": "Anno",
14892
+ "neptune.DateLookup.day": "giorno",
14893
+ "neptune.DateLookup.goTo20YearView": "Vai alla vista su 20 anni",
14894
+ "neptune.DateLookup.month": "mese",
14895
+ "neptune.DateLookup.next": "continua",
14896
+ "neptune.DateLookup.previous": "indietro",
14897
+ "neptune.DateLookup.selected": "selezionata",
14898
+ "neptune.DateLookup.twentyYears": "20 anni",
14899
+ "neptune.DateLookup.year": "anno",
14900
+ "neptune.FlowNavigation.back": "torna al passaggio precedente",
14901
+ "neptune.Link.opensInNewTab": "(si apre in una nuova scheda)",
14727
14902
  "neptune.MoneyInput.Select.placeholder": "Seleziona un'opzione...",
14728
- "neptune.Pagination.ariaLabel": "Navigazione",
14729
- "neptune.PaginationLink.ariaLabel.active": "Via a pagina {pageNumber}",
14730
- "neptune.PaginationLink.ariaLabel.inactive": "Pagina corrente, pagina {pageNumber}",
14731
14903
  "neptune.Select.searchPlaceholder": "Cerca...",
14732
14904
  "neptune.Summary.statusDone": "Completato",
14733
14905
  "neptune.Summary.statusNotDone": "Da completare",
@@ -14763,16 +14935,24 @@ var it = {
14763
14935
  };
14764
14936
 
14765
14937
  var ja = {
14938
+ "neptune.Button.loadingAriaLabel": "読み込み中…",
14766
14939
  "neptune.Chips.ariaLabel": "{choice} をクリア",
14767
14940
  "neptune.ClearButton.ariaLabel": "消去",
14768
14941
  "neptune.CloseButton.ariaLabel": "閉じる",
14769
14942
  "neptune.DateInput.day.label": "日",
14770
14943
  "neptune.DateInput.month.label": "月",
14771
14944
  "neptune.DateInput.year.label": "年",
14945
+ "neptune.DateLookup.day": "日",
14946
+ "neptune.DateLookup.goTo20YearView": "20年表示に移動する",
14947
+ "neptune.DateLookup.month": "月",
14948
+ "neptune.DateLookup.next": "次",
14949
+ "neptune.DateLookup.previous": "前",
14950
+ "neptune.DateLookup.selected": "選択済み",
14951
+ "neptune.DateLookup.twentyYears": "20年",
14952
+ "neptune.DateLookup.year": "年",
14953
+ "neptune.FlowNavigation.back": "前のステップに戻る",
14954
+ "neptune.Link.opensInNewTab": "(新しいタブで開きます)",
14772
14955
  "neptune.MoneyInput.Select.placeholder": "選択してください...",
14773
- "neptune.Pagination.ariaLabel": "ページネーションナビゲーション",
14774
- "neptune.PaginationLink.ariaLabel.active": "{pageNumber}のページへ移動します",
14775
- "neptune.PaginationLink.ariaLabel.inactive": "現在のページ、{pageNumber}ページ",
14776
14956
  "neptune.Select.searchPlaceholder": "検索... ",
14777
14957
  "neptune.Summary.statusDone": "完了",
14778
14958
  "neptune.Summary.statusNotDone": "未対応",
@@ -14808,16 +14988,24 @@ var ja = {
14808
14988
  };
14809
14989
 
14810
14990
  var pl = {
14991
+ "neptune.Button.loadingAriaLabel": "ładowanie",
14811
14992
  "neptune.Chips.ariaLabel": "Wyczyść {choice}",
14812
14993
  "neptune.ClearButton.ariaLabel": "Wyczyść",
14813
14994
  "neptune.CloseButton.ariaLabel": "Zamknij",
14814
14995
  "neptune.DateInput.day.label": "Dzień",
14815
14996
  "neptune.DateInput.month.label": "Miesiąc",
14816
14997
  "neptune.DateInput.year.label": "Rok",
14998
+ "neptune.DateLookup.day": "dzień",
14999
+ "neptune.DateLookup.goTo20YearView": "Przejdź do widoku 20-letniego",
15000
+ "neptune.DateLookup.month": "miesiąc",
15001
+ "neptune.DateLookup.next": "następny",
15002
+ "neptune.DateLookup.previous": "poprzedni",
15003
+ "neptune.DateLookup.selected": "wybrano",
15004
+ "neptune.DateLookup.twentyYears": "20 lat",
15005
+ "neptune.DateLookup.year": "rok",
15006
+ "neptune.FlowNavigation.back": "wróć do poprzedniego kroku",
15007
+ "neptune.Link.opensInNewTab": "(otworzy się w nowej zakładce)",
14817
15008
  "neptune.MoneyInput.Select.placeholder": "Wybierz opcję...",
14818
- "neptune.Pagination.ariaLabel": "Nawigacja w paginacji",
14819
- "neptune.PaginationLink.ariaLabel.active": "Przejdź do strony {pageNumber}",
14820
- "neptune.PaginationLink.ariaLabel.inactive": "Obecna strona, strona {pageNumber}",
14821
15009
  "neptune.Select.searchPlaceholder": "Wyszukaj...",
14822
15010
  "neptune.Summary.statusDone": "Czynność wykonana",
14823
15011
  "neptune.Summary.statusNotDone": "Czynność do wykonania",
@@ -14853,16 +15041,24 @@ var pl = {
14853
15041
  };
14854
15042
 
14855
15043
  var pt = {
15044
+ "neptune.Button.loadingAriaLabel": "carregando",
14856
15045
  "neptune.Chips.ariaLabel": "Remover {choice}",
14857
15046
  "neptune.ClearButton.ariaLabel": "Remover",
14858
15047
  "neptune.CloseButton.ariaLabel": "Fechar",
14859
15048
  "neptune.DateInput.day.label": "Dia",
14860
15049
  "neptune.DateInput.month.label": "Mês",
14861
15050
  "neptune.DateInput.year.label": "Ano",
15051
+ "neptune.DateLookup.day": "dia",
15052
+ "neptune.DateLookup.goTo20YearView": "Go to 20 year view",
15053
+ "neptune.DateLookup.month": "mês",
15054
+ "neptune.DateLookup.next": "próximo",
15055
+ "neptune.DateLookup.previous": "anterior",
15056
+ "neptune.DateLookup.selected": "selecionada",
15057
+ "neptune.DateLookup.twentyYears": "20 anos",
15058
+ "neptune.DateLookup.year": "ano",
15059
+ "neptune.FlowNavigation.back": "back to previous step",
15060
+ "neptune.Link.opensInNewTab": "(abrir a página em uma nova aba)",
14862
15061
  "neptune.MoneyInput.Select.placeholder": "Escolha uma opção...",
14863
- "neptune.Pagination.ariaLabel": "Navegação pelas páginas",
14864
- "neptune.PaginationLink.ariaLabel.active": "Ir para a página {pageNumber}",
14865
- "neptune.PaginationLink.ariaLabel.inactive": "Página atual, página {pageNumber}",
14866
15062
  "neptune.Select.searchPlaceholder": "Buscar...",
14867
15063
  "neptune.Summary.statusDone": "Pronto",
14868
15064
  "neptune.Summary.statusNotDone": "Não iniciado",
@@ -14898,16 +15094,24 @@ var pt = {
14898
15094
  };
14899
15095
 
14900
15096
  var ro = {
15097
+ "neptune.Button.loadingAriaLabel": "se încarcă",
14901
15098
  "neptune.Chips.ariaLabel": "Șterge {choice}",
14902
15099
  "neptune.ClearButton.ariaLabel": "Elimină",
14903
15100
  "neptune.CloseButton.ariaLabel": "Închide",
14904
15101
  "neptune.DateInput.day.label": "Zi",
14905
15102
  "neptune.DateInput.month.label": "Lună",
14906
15103
  "neptune.DateInput.year.label": "An",
15104
+ "neptune.DateLookup.day": "zi",
15105
+ "neptune.DateLookup.goTo20YearView": "Accesează vizualizarea pe 20 de ani",
15106
+ "neptune.DateLookup.month": "luna",
15107
+ "neptune.DateLookup.next": "înainte",
15108
+ "neptune.DateLookup.previous": "precedenta",
15109
+ "neptune.DateLookup.selected": "selectată",
15110
+ "neptune.DateLookup.twentyYears": "20 de ani",
15111
+ "neptune.DateLookup.year": "anul",
15112
+ "neptune.FlowNavigation.back": "înapoi la pasul anterior",
15113
+ "neptune.Link.opensInNewTab": "(se deschide într-o filă nouă)",
14907
15114
  "neptune.MoneyInput.Select.placeholder": "Selectează o opţiune...",
14908
- "neptune.Pagination.ariaLabel": "Navigare prin pagină",
14909
- "neptune.PaginationLink.ariaLabel.active": "Du-te la pagina {pageNumber}",
14910
- "neptune.PaginationLink.ariaLabel.inactive": "Pagina curentă, pagina {pageNumber}",
14911
15115
  "neptune.Select.searchPlaceholder": "Caută...",
14912
15116
  "neptune.Summary.statusDone": "Finalizat",
14913
15117
  "neptune.Summary.statusNotDone": "De făcut",
@@ -14943,16 +15147,24 @@ var ro = {
14943
15147
  };
14944
15148
 
14945
15149
  var ru = {
15150
+ "neptune.Button.loadingAriaLabel": "загрузка",
14946
15151
  "neptune.Chips.ariaLabel": "Очистить {choice}",
14947
15152
  "neptune.ClearButton.ariaLabel": "Очистить",
14948
15153
  "neptune.CloseButton.ariaLabel": "Закрыть",
14949
15154
  "neptune.DateInput.day.label": "День",
14950
15155
  "neptune.DateInput.month.label": "Месяц",
14951
15156
  "neptune.DateInput.year.label": "Год",
15157
+ "neptune.DateLookup.day": "день",
15158
+ "neptune.DateLookup.goTo20YearView": "Перейти к обзору 20 лет",
15159
+ "neptune.DateLookup.month": "месяц",
15160
+ "neptune.DateLookup.next": "далее",
15161
+ "neptune.DateLookup.previous": "предыдущий",
15162
+ "neptune.DateLookup.selected": "выбрано",
15163
+ "neptune.DateLookup.twentyYears": "20 лет",
15164
+ "neptune.DateLookup.year": "год",
15165
+ "neptune.FlowNavigation.back": "вернуться к предыдущему шагу",
15166
+ "neptune.Link.opensInNewTab": "(откроется в новой вкладке)",
14952
15167
  "neptune.MoneyInput.Select.placeholder": "Выберите вариант...",
14953
- "neptune.Pagination.ariaLabel": "Постраничная навигация",
14954
- "neptune.PaginationLink.ariaLabel.active": "Перейти на страницу {pageNumber}",
14955
- "neptune.PaginationLink.ariaLabel.inactive": "Текущая страница, страница {pageNumber}",
14956
15168
  "neptune.Select.searchPlaceholder": "Поиск...",
14957
15169
  "neptune.Summary.statusDone": "Этап завершен",
14958
15170
  "neptune.Summary.statusNotDone": "Этап к выполнению",
@@ -14988,16 +15200,24 @@ var ru = {
14988
15200
  };
14989
15201
 
14990
15202
  var th = {
15203
+ "neptune.Button.loadingAriaLabel": "กำลังโหลด",
14991
15204
  "neptune.Chips.ariaLabel": "เคลียร์ {choice}",
14992
15205
  "neptune.ClearButton.ariaLabel": "ชัดเจน",
14993
15206
  "neptune.CloseButton.ariaLabel": "ปิด",
14994
15207
  "neptune.DateInput.day.label": "วัน",
14995
15208
  "neptune.DateInput.month.label": "เดือน",
14996
15209
  "neptune.DateInput.year.label": "ปี",
15210
+ "neptune.DateLookup.day": "วัน",
15211
+ "neptune.DateLookup.goTo20YearView": "Go to 20 year view",
15212
+ "neptune.DateLookup.month": "เดือน",
15213
+ "neptune.DateLookup.next": "ถัดไป",
15214
+ "neptune.DateLookup.previous": "ก่อนหน้า",
15215
+ "neptune.DateLookup.selected": "เลือกแล้ว",
15216
+ "neptune.DateLookup.twentyYears": "20 ปี",
15217
+ "neptune.DateLookup.year": "ปี",
15218
+ "neptune.FlowNavigation.back": "back to previous step",
15219
+ "neptune.Link.opensInNewTab": "(opens in new tab)",
14997
15220
  "neptune.MoneyInput.Select.placeholder": "เลือกตัวเลือก...",
14998
- "neptune.Pagination.ariaLabel": "การนำทางเลขหน้า",
14999
- "neptune.PaginationLink.ariaLabel.active": "ไปที่หน้า {pageNumber}",
15000
- "neptune.PaginationLink.ariaLabel.inactive": "หน้าปัจจุบัน หน้า {pageNumber}",
15001
15221
  "neptune.Select.searchPlaceholder": "ค้นหา...",
15002
15222
  "neptune.Summary.statusDone": "รายการที่ทำแล้ว",
15003
15223
  "neptune.Summary.statusNotDone": "รายการที่ต้องทำ",
@@ -15033,16 +15253,24 @@ var th = {
15033
15253
  };
15034
15254
 
15035
15255
  var tr = {
15256
+ "neptune.Button.loadingAriaLabel": "yükleniyor",
15036
15257
  "neptune.Chips.ariaLabel": "{choice} temizle",
15037
15258
  "neptune.ClearButton.ariaLabel": "Sil",
15038
15259
  "neptune.CloseButton.ariaLabel": "Kapat",
15039
15260
  "neptune.DateInput.day.label": "Gün",
15040
15261
  "neptune.DateInput.month.label": "Ay",
15041
15262
  "neptune.DateInput.year.label": "Yıl",
15263
+ "neptune.DateLookup.day": "gün",
15264
+ "neptune.DateLookup.goTo20YearView": "20 yıl görünümüne git",
15265
+ "neptune.DateLookup.month": "ay",
15266
+ "neptune.DateLookup.next": "devam et",
15267
+ "neptune.DateLookup.previous": "önceki",
15268
+ "neptune.DateLookup.selected": "seçili",
15269
+ "neptune.DateLookup.twentyYears": "20 yıl",
15270
+ "neptune.DateLookup.year": "yıl",
15271
+ "neptune.FlowNavigation.back": "önceki adıma dön",
15272
+ "neptune.Link.opensInNewTab": "(yeni sekmede açılır)",
15042
15273
  "neptune.MoneyInput.Select.placeholder": "Bir seçenek seçin...",
15043
- "neptune.Pagination.ariaLabel": "Sayfalandırma gezintisi",
15044
- "neptune.PaginationLink.ariaLabel.active": "{pageNumber} numaralı sayfaya git",
15045
- "neptune.PaginationLink.ariaLabel.inactive": "Mevcut sayfa, sayfa {pageNumber}",
15046
15274
  "neptune.Select.searchPlaceholder": "Ara...",
15047
15275
  "neptune.Summary.statusDone": "Tamamlanan aşama",
15048
15276
  "neptune.Summary.statusNotDone": "Yapılacak",
@@ -15078,16 +15306,24 @@ var tr = {
15078
15306
  };
15079
15307
 
15080
15308
  var uk = {
15309
+ "neptune.Button.loadingAriaLabel": "завантаження",
15081
15310
  "neptune.Chips.ariaLabel": "Очистити {choice}",
15082
15311
  "neptune.ClearButton.ariaLabel": "Очистити",
15083
15312
  "neptune.CloseButton.ariaLabel": "Закрити",
15084
15313
  "neptune.DateInput.day.label": "День",
15085
15314
  "neptune.DateInput.month.label": "Місяць",
15086
15315
  "neptune.DateInput.year.label": "Рік",
15316
+ "neptune.DateLookup.day": "дня",
15317
+ "neptune.DateLookup.goTo20YearView": "Go to 20 year view",
15318
+ "neptune.DateLookup.month": "місяць",
15319
+ "neptune.DateLookup.next": "уперед",
15320
+ "neptune.DateLookup.previous": "назад",
15321
+ "neptune.DateLookup.selected": "вибрано",
15322
+ "neptune.DateLookup.twentyYears": "20 років",
15323
+ "neptune.DateLookup.year": "рік",
15324
+ "neptune.FlowNavigation.back": "back to previous step",
15325
+ "neptune.Link.opensInNewTab": "(opens in new tab)",
15087
15326
  "neptune.MoneyInput.Select.placeholder": "Виберіть варіант…",
15088
- "neptune.Pagination.ariaLabel": "Перехід за сторінками",
15089
- "neptune.PaginationLink.ariaLabel.active": "Перейти на сторінку {pageNumber}",
15090
- "neptune.PaginationLink.ariaLabel.inactive": "Ця сторінка, сторінка {pageNumber}",
15091
15327
  "neptune.Select.searchPlaceholder": "Пошук…",
15092
15328
  "neptune.Summary.statusDone": "Виконано",
15093
15329
  "neptune.Summary.statusNotDone": "Не виконано",
@@ -15122,17 +15358,78 @@ var uk = {
15122
15358
  "neptune.UploadItem.uploadingFailed": "Не вдалося завантажити"
15123
15359
  };
15124
15360
 
15125
- var zh = {
15361
+ var zhCN = {
15362
+ "neptune.Button.loadingAriaLabel": "正在加载",
15363
+ "neptune.Chips.ariaLabel": "清除 {choice}",
15364
+ "neptune.ClearButton.ariaLabel": "清晰",
15365
+ "neptune.CloseButton.ariaLabel": "关闭",
15366
+ "neptune.DateInput.day.label": "日",
15367
+ "neptune.DateInput.month.label": "月",
15368
+ "neptune.DateInput.year.label": "年",
15369
+ "neptune.DateLookup.day": "日",
15370
+ "neptune.DateLookup.goTo20YearView": "Go to 20 year view",
15371
+ "neptune.DateLookup.month": "月",
15372
+ "neptune.DateLookup.next": "下一页",
15373
+ "neptune.DateLookup.previous": "上一页",
15374
+ "neptune.DateLookup.selected": "已选",
15375
+ "neptune.DateLookup.twentyYears": "20年",
15376
+ "neptune.DateLookup.year": "年",
15377
+ "neptune.FlowNavigation.back": "back to previous step",
15378
+ "neptune.Link.opensInNewTab": "(opens in new tab)",
15379
+ "neptune.MoneyInput.Select.placeholder": "请选择...",
15380
+ "neptune.Select.searchPlaceholder": "搜索",
15381
+ "neptune.Summary.statusDone": "已完成",
15382
+ "neptune.Summary.statusNotDone": "未完成",
15383
+ "neptune.Summary.statusPending": "待处理",
15384
+ "neptune.Upload.csButtonText": "上传另一个文件?",
15385
+ "neptune.Upload.csFailureText": "上传失败。请重试",
15386
+ "neptune.Upload.csSuccessText": "上传完毕!",
15387
+ "neptune.Upload.csTooLargeMessage": "请提供小于 5MB 的文件",
15388
+ "neptune.Upload.csWrongTypeMessage": "不支持该文件类型,请试试其他文件",
15389
+ "neptune.Upload.psButtonText": "取消",
15390
+ "neptune.Upload.psProcessingText": "正在上传…",
15391
+ "neptune.Upload.usButtonText": "或选择文件",
15392
+ "neptune.Upload.usDropMessage": "拖放文件开始上传",
15393
+ "neptune.Upload.usPlaceholder": "拖放小于 5MB 的文件",
15394
+ "neptune.UploadButton.allFileTypes": "所有文件类型",
15395
+ "neptune.UploadButton.dropFiles": "拖放文件开始上传",
15396
+ "neptune.UploadButton.instructions": "{fileTypes},小于 {size}MB",
15397
+ "neptune.UploadButton.uploadFile": "上传文件",
15398
+ "neptune.UploadButton.uploadFiles": "上传文件",
15399
+ "neptune.UploadInput.deleteModalBody": "删除此文件会将其从我们的系统中删除",
15400
+ "neptune.UploadInput.deleteModalCancelButtonText": "取消",
15401
+ "neptune.UploadInput.deleteModalConfirmButtonText": "删除",
15402
+ "neptune.UploadInput.deleteModalTitle": "确定要删除此文件吗?",
15403
+ "neptune.UploadInput.fileIsTooLarge": "文件太大",
15404
+ "neptune.UploadInput.fileTypeNotSupported": "文件类型不受支持",
15405
+ "neptune.UploadInput.maximumFilesAlreadyUploaded": "抱歉,此上传失败,因为我们一次只能接受 {maxFilesAllowed} 个文件。",
15406
+ "neptune.UploadItem.deleting": "正在删除…",
15407
+ "neptune.UploadItem.removeFile": "删除文件 {filename}",
15408
+ "neptune.UploadItem.uploaded": "已上传",
15409
+ "neptune.UploadItem.uploadedFile": "上传的文件",
15410
+ "neptune.UploadItem.uploading": "正在上传…",
15411
+ "neptune.UploadItem.uploadingFailed": "上传失败"
15412
+ };
15413
+
15414
+ var zhHK = {
15415
+ "neptune.Button.loadingAriaLabel": "載入中",
15126
15416
  "neptune.Chips.ariaLabel": "清除{choice}",
15127
15417
  "neptune.ClearButton.ariaLabel": "清除",
15128
15418
  "neptune.CloseButton.ariaLabel": "關閉",
15129
15419
  "neptune.DateInput.day.label": "日",
15130
15420
  "neptune.DateInput.month.label": "月",
15131
15421
  "neptune.DateInput.year.label": "年",
15422
+ "neptune.DateLookup.day": "日",
15423
+ "neptune.DateLookup.goTo20YearView": "切換至20年視圖",
15424
+ "neptune.DateLookup.month": "月",
15425
+ "neptune.DateLookup.next": "下一個",
15426
+ "neptune.DateLookup.previous": "上一個",
15427
+ "neptune.DateLookup.selected": "已選",
15428
+ "neptune.DateLookup.twentyYears": "20年",
15429
+ "neptune.DateLookup.year": "年",
15430
+ "neptune.FlowNavigation.back": "返回上一個步驟",
15431
+ "neptune.Link.opensInNewTab": "(在新分頁中開啟)",
15132
15432
  "neptune.MoneyInput.Select.placeholder": "選擇一個選項…",
15133
- "neptune.Pagination.ariaLabel": "分頁導航",
15134
- "neptune.PaginationLink.ariaLabel.active": "前往第{pageNumber}頁",
15135
- "neptune.PaginationLink.ariaLabel.inactive": "目前在第{pageNumber}頁",
15136
15433
  "neptune.Select.searchPlaceholder": "搜尋…",
15137
15434
  "neptune.Summary.statusDone": "已完成事項",
15138
15435
  "neptune.Summary.statusNotDone": "未完成事項",
@@ -15168,6 +15465,7 @@ var zh = {
15168
15465
  };
15169
15466
 
15170
15467
  const translations = {
15468
+ cs,
15171
15469
  de,
15172
15470
  en,
15173
15471
  es,
@@ -15183,7 +15481,8 @@ const translations = {
15183
15481
  th,
15184
15482
  tr,
15185
15483
  uk,
15186
- zh
15484
+ 'zh-CN': zhCN,
15485
+ 'zh-HK': zhHK
15187
15486
  };
15188
15487
 
15189
15488
  exports.Accordion = Accordion;