@transferwise/components 46.158.0 → 46.159.1

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 (201) hide show
  1. package/build/FlowNavigation/FlowNavigation.js +5 -14
  2. package/build/FlowNavigation/FlowNavigation.js.map +1 -1
  3. package/build/FlowNavigation/FlowNavigation.mjs +5 -14
  4. package/build/FlowNavigation/FlowNavigation.mjs.map +1 -1
  5. package/build/_deprecated/OverlayHeader/OverlayHeader.js +6 -41
  6. package/build/_deprecated/OverlayHeader/OverlayHeader.js.map +1 -1
  7. package/build/_deprecated/OverlayHeader/OverlayHeader.mjs +6 -41
  8. package/build/_deprecated/OverlayHeader/OverlayHeader.mjs.map +1 -1
  9. package/build/i18n/cs.json +5 -0
  10. package/build/i18n/cs.json.js +5 -0
  11. package/build/i18n/cs.json.js.map +1 -1
  12. package/build/i18n/cs.json.mjs +5 -0
  13. package/build/i18n/cs.json.mjs.map +1 -1
  14. package/build/i18n/de.json +5 -0
  15. package/build/i18n/de.json.js +5 -0
  16. package/build/i18n/de.json.js.map +1 -1
  17. package/build/i18n/de.json.mjs +5 -0
  18. package/build/i18n/de.json.mjs.map +1 -1
  19. package/build/i18n/es.json +5 -0
  20. package/build/i18n/es.json.js +5 -0
  21. package/build/i18n/es.json.js.map +1 -1
  22. package/build/i18n/es.json.mjs +5 -0
  23. package/build/i18n/es.json.mjs.map +1 -1
  24. package/build/i18n/fr.json +5 -0
  25. package/build/i18n/fr.json.js +5 -0
  26. package/build/i18n/fr.json.js.map +1 -1
  27. package/build/i18n/fr.json.mjs +5 -0
  28. package/build/i18n/fr.json.mjs.map +1 -1
  29. package/build/i18n/hu.json +5 -0
  30. package/build/i18n/hu.json.js +5 -0
  31. package/build/i18n/hu.json.js.map +1 -1
  32. package/build/i18n/hu.json.mjs +5 -0
  33. package/build/i18n/hu.json.mjs.map +1 -1
  34. package/build/i18n/id.json +5 -0
  35. package/build/i18n/id.json.js +5 -0
  36. package/build/i18n/id.json.js.map +1 -1
  37. package/build/i18n/id.json.mjs +5 -0
  38. package/build/i18n/id.json.mjs.map +1 -1
  39. package/build/i18n/it.json +5 -0
  40. package/build/i18n/it.json.js +5 -0
  41. package/build/i18n/it.json.js.map +1 -1
  42. package/build/i18n/it.json.mjs +5 -0
  43. package/build/i18n/it.json.mjs.map +1 -1
  44. package/build/i18n/ja.json +5 -0
  45. package/build/i18n/ja.json.js +5 -0
  46. package/build/i18n/ja.json.js.map +1 -1
  47. package/build/i18n/ja.json.mjs +5 -0
  48. package/build/i18n/ja.json.mjs.map +1 -1
  49. package/build/i18n/nl.json +5 -0
  50. package/build/i18n/nl.json.js +5 -0
  51. package/build/i18n/nl.json.js.map +1 -1
  52. package/build/i18n/nl.json.mjs +5 -0
  53. package/build/i18n/nl.json.mjs.map +1 -1
  54. package/build/i18n/pl.json +5 -0
  55. package/build/i18n/pl.json.js +5 -0
  56. package/build/i18n/pl.json.js.map +1 -1
  57. package/build/i18n/pl.json.mjs +5 -0
  58. package/build/i18n/pl.json.mjs.map +1 -1
  59. package/build/i18n/pt.json +5 -0
  60. package/build/i18n/pt.json.js +5 -0
  61. package/build/i18n/pt.json.js.map +1 -1
  62. package/build/i18n/pt.json.mjs +5 -0
  63. package/build/i18n/pt.json.mjs.map +1 -1
  64. package/build/i18n/ro.json +5 -0
  65. package/build/i18n/ro.json.js +5 -0
  66. package/build/i18n/ro.json.js.map +1 -1
  67. package/build/i18n/ro.json.mjs +5 -0
  68. package/build/i18n/ro.json.mjs.map +1 -1
  69. package/build/i18n/ru.json +5 -0
  70. package/build/i18n/ru.json.js +5 -0
  71. package/build/i18n/ru.json.js.map +1 -1
  72. package/build/i18n/ru.json.mjs +5 -0
  73. package/build/i18n/ru.json.mjs.map +1 -1
  74. package/build/i18n/th.json +5 -0
  75. package/build/i18n/th.json.js +5 -0
  76. package/build/i18n/th.json.js.map +1 -1
  77. package/build/i18n/th.json.mjs +5 -0
  78. package/build/i18n/th.json.mjs.map +1 -1
  79. package/build/i18n/uk.json +5 -0
  80. package/build/i18n/uk.json.js +5 -0
  81. package/build/i18n/uk.json.js.map +1 -1
  82. package/build/i18n/uk.json.mjs +5 -0
  83. package/build/i18n/uk.json.mjs.map +1 -1
  84. package/build/i18n/zh-HK.json +5 -0
  85. package/build/i18n/zh-HK.json.js +5 -0
  86. package/build/i18n/zh-HK.json.js.map +1 -1
  87. package/build/i18n/zh-HK.json.mjs +5 -0
  88. package/build/i18n/zh-HK.json.mjs.map +1 -1
  89. package/build/main.css +19 -4145
  90. package/build/styles/FlowNavigation/FlowNavigation.css +7 -13
  91. package/build/styles/ListItem/ListItem.css +1 -0
  92. package/build/styles/PocketSurface/PocketSurface.css +2 -11
  93. package/build/styles/SentimentSurface/SentimentSurface.css +0 -23
  94. package/build/styles/css/neptune.css +0 -2821
  95. package/build/styles/main.css +19 -4145
  96. package/build/styles/styles/less/neptune.css +0 -2821
  97. package/build/types/FlowNavigation/FlowNavigation.d.ts +2 -9
  98. package/build/types/FlowNavigation/FlowNavigation.d.ts.map +1 -1
  99. package/build/types/ListItem/_stories/variants/helpers.d.ts.map +1 -1
  100. package/build/types/_deprecated/OverlayHeader/OverlayHeader.d.ts.map +1 -1
  101. package/package.json +10 -10
  102. package/src/Accordion/_stories/Accordion.test.story.tsx +71 -0
  103. package/src/AvatarLayout/_stories/AvatarLayout.test.story.tsx +64 -0
  104. package/src/AvatarView/_stories/AvatarView.test.story.tsx +151 -0
  105. package/src/Button/LegacyButton/_stories/LegacyButton.test.story.tsx +22 -0
  106. package/src/Button/_stories/Button.test.story.tsx +65 -0
  107. package/src/Calendar/_stories/Calendar.test.story.tsx +73 -24
  108. package/src/Carousel/_stories/Carousel.test.story.tsx +59 -0
  109. package/src/Checkbox/_stories/Checkbox.test.story.tsx +20 -0
  110. package/src/CheckboxButton/_stories/CheckboxButton.test.story.tsx +17 -37
  111. package/src/Chevron/_stories/Chevron.test.story.tsx +26 -0
  112. package/src/Chips/_stories/Chips.test.story.tsx +39 -34
  113. package/src/CircularButton/_stories/CircularButton.test.story.tsx +0 -68
  114. package/src/DateInput/_stories/DateInput.test.story.tsx +13 -0
  115. package/src/DateLookup/_stories/DateLookup.rtl.test.story.tsx +88 -0
  116. package/src/Decision/_stories/Decision.test.story.tsx +79 -0
  117. package/src/DefinitionList/_stories/DefinitionList.test.story.tsx +54 -1
  118. package/src/Drawer/_stories/Drawer.rtl.test.story.tsx +58 -0
  119. package/src/ExpressiveMoneyInput/_stories/ExpressiveMoneyInput.rtl.test.story.tsx +118 -0
  120. package/src/Field/_stories/Field.test.story.tsx +46 -0
  121. package/src/FlowNavigation/FlowNavigation.css +7 -13
  122. package/src/FlowNavigation/FlowNavigation.less +6 -15
  123. package/src/FlowNavigation/FlowNavigation.tsx +6 -27
  124. package/src/FlowNavigation/_stories/FlowNavigation.story.tsx +0 -86
  125. package/src/FlowNavigation/_stories/FlowNavigation.test.story.tsx +44 -0
  126. package/src/Header/_stories/Header.test.story.tsx +27 -0
  127. package/src/Info/_stories/Info.rtl.test.story.tsx +64 -0
  128. package/src/Inputs/SelectInput/_stories/SelectInput.rtl.test.story.tsx +135 -0
  129. package/src/Inputs/_stories/InputGroup.test.story.tsx +69 -0
  130. package/src/Inputs/_stories/SearchInput.test.story.tsx +32 -0
  131. package/src/Inputs/_stories/TextArea.test.story.tsx +27 -0
  132. package/src/InstructionsList/_stories/InstructionsList.test.story.tsx +30 -0
  133. package/src/Label/_stories/Label.test.story.tsx +36 -0
  134. package/src/Link/_stories/Link.test.story.tsx +26 -0
  135. package/src/ListItem/ListItem.css +1 -0
  136. package/src/ListItem/_stories/{variants/ListItem.rtl.test.story.tsx → ListItem.rtl.test.story.tsx} +6 -10
  137. package/src/ListItem/_stories/variants/helpers.tsx +2 -6
  138. package/src/Logo/_stories/Logo.test.story.tsx +44 -0
  139. package/src/Modal/_stories/Modal.rtl.test.story.tsx +59 -0
  140. package/src/MoneyInput/_stories/MoneyInput.rtl.test.story.tsx +88 -0
  141. package/src/Nudge/_stories/Nudge.test.story.tsx +37 -0
  142. package/src/PhoneNumberInput/_stories/PhoneNumberInput.test.story.tsx +44 -0
  143. package/src/PocketSurface/PocketSurface.css +2 -11
  144. package/src/PocketSurface/PocketSurface.less +1 -1
  145. package/src/Popover/_stories/Popover.rtl.test.story.tsx +96 -0
  146. package/src/Progress/_stories/Progress.test.story.tsx +27 -0
  147. package/src/ProgressBar/_stories/ProgressBar.test.story.tsx +33 -0
  148. package/src/PromoCard/_stories/PromoCard.test.story.tsx +42 -0
  149. package/src/PromoCard/_stories/PromoCardGroup.test.story.tsx +51 -0
  150. package/src/Prompt/ActionPrompt/_stories/ActionPrompt.test.story.tsx +42 -1
  151. package/src/Prompt/CriticalBanner/_stories/CriticalBanner.test.story.tsx +34 -31
  152. package/src/Prompt/InfoPrompt/_stories/InfoPrompt.test.story.tsx +25 -0
  153. package/src/Prompt/InlinePrompt/_stories/InlinePrompt.test.story.tsx +27 -0
  154. package/src/Radio/_stories/Radio.test.story.tsx +61 -0
  155. package/src/RadioGroup/_stories/RadioGroup.test.story.tsx +56 -0
  156. package/src/Section/_stories/Section.test.story.tsx +29 -0
  157. package/src/SegmentedControl/_stories/SegmentedControl.test.story.tsx +45 -0
  158. package/src/SentimentSurface/SentimentSurface.css +0 -23
  159. package/src/SlidingPanel/_stories/SlidingPanel.rtl.test.story.tsx +70 -0
  160. package/src/Snackbar/_stories/Snackbar.rtl.test.story.tsx +45 -0
  161. package/src/Snackbar/_stories/Snackbar.test.story.tsx +0 -31
  162. package/src/Stepper/_stories/Stepper.test.story.tsx +17 -0
  163. package/src/Switch/_stories/Switch.test.story.tsx +20 -26
  164. package/src/Table/_stories/Table.test.story.tsx +104 -0
  165. package/src/Tabs/_stories/Tabs.test.story.tsx +72 -0
  166. package/src/TextareaWithDisplayFormat/_stories/TextareaWithDisplayFormat.test.story.tsx +48 -0
  167. package/src/Tooltip/_stories/Tooltip.rtl.test.story.tsx +79 -0
  168. package/src/Typeahead/_stories/Typeahead.rtl.test.story.tsx +90 -0
  169. package/src/Upload/_stories/Upload.rtl.test.story.tsx +53 -0
  170. package/src/UploadInput/_stories/UploadInput.test.story.tsx +47 -0
  171. package/src/_deprecated/Alert/_stories/Alert.test.story.tsx +28 -1
  172. package/src/_deprecated/Card/_stories/Card.test.story.tsx +38 -0
  173. package/src/_deprecated/CriticalBanner/_stories/CriticalCommsBanner.test.story.tsx +18 -0
  174. package/src/_deprecated/InlineAlert/_stories/InlineAlert.test.story.tsx +26 -0
  175. package/src/_deprecated/OverlayHeader/OverlayHeader.tsx +2 -21
  176. package/src/_deprecated/OverlayHeader/_stories/OverlayHeader.test.story.tsx +42 -0
  177. package/src/_deprecated/Select/_stories/Select.rtl.test.story.tsx +71 -0
  178. package/src/common/BottomSheet/_stories/BottomSheet.test.story.tsx +23 -0
  179. package/src/common/Panel/_stories/Panel.story.tsx +107 -36
  180. package/src/i18n/cs.json +5 -0
  181. package/src/i18n/de.json +5 -0
  182. package/src/i18n/es.json +5 -0
  183. package/src/i18n/fr.json +5 -0
  184. package/src/i18n/hu.json +5 -0
  185. package/src/i18n/id.json +5 -0
  186. package/src/i18n/it.json +5 -0
  187. package/src/i18n/ja.json +5 -0
  188. package/src/i18n/nl.json +5 -0
  189. package/src/i18n/pl.json +5 -0
  190. package/src/i18n/pt.json +5 -0
  191. package/src/i18n/ro.json +5 -0
  192. package/src/i18n/ru.json +5 -0
  193. package/src/i18n/th.json +5 -0
  194. package/src/i18n/uk.json +5 -0
  195. package/src/i18n/zh-HK.json +5 -0
  196. package/src/main.css +19 -4145
  197. package/src/main.less +0 -1
  198. package/src/styles/less/neptune.css +0 -2821
  199. package/build/styles/_deprecated/OverlayHeader/OverlayHeader.css +0 -15
  200. package/src/_deprecated/OverlayHeader/OverlayHeader.css +0 -15
  201. package/src/_deprecated/OverlayHeader/OverlayHeader.less +0 -24
@@ -46,7 +46,6 @@ const FlowNavigation = ({
46
46
  onClose,
47
47
  onGoBack,
48
48
  steps,
49
- composable = false,
50
49
  showBottomBorder = true
51
50
  }) => {
52
51
  const intl = reactIntl.useIntl();
@@ -59,7 +58,7 @@ const FlowNavigation = ({
59
58
  const newAvatar = done ? null : avatar;
60
59
  const displayGoBack = onGoBack != null && activeStep > 0;
61
60
  const flowHeaderContent = /*#__PURE__*/jsxRuntime.jsx(FlowHeader.default, {
62
- className: clsx.clsx('np-flow-navigation__content', !composable && 'p-x-3', screenSm == null ? 'np-flow-navigation--hidden' : {
61
+ className: clsx.clsx('np-flow-navigation__content', screenSm == null ? 'np-flow-navigation--hidden' : {
63
62
  'np-flow-navigation--xs-max': !screenSm,
64
63
  // Size switches on parent container which may or may not have the same size as the window.
65
64
  'np-flow-navigation--sm': screenSm,
@@ -95,18 +94,10 @@ const FlowNavigation = ({
95
94
  }) : null,
96
95
  layout: !screenLg ? layouts.Layout.VERTICAL : layouts.Layout.HORIZONTAL
97
96
  });
98
- if (composable) {
99
- return /*#__PURE__*/jsxRuntime.jsx(Container.default, {
100
- size: "fluid",
101
- className: clsx.clsx('np-flow-navigation np-flow-navigation--composable', {
102
- 'np-flow-navigation--border-bottom': showBottomBorder
103
- }),
104
- children: flowHeaderContent
105
- });
106
- }
107
- return /*#__PURE__*/jsxRuntime.jsx("div", {
108
- className: clsx.clsx('np-flow-navigation p-y-3', {
109
- 'np-flow-navigation--border-bottom': !done
97
+ return /*#__PURE__*/jsxRuntime.jsx(Container.default, {
98
+ size: "fluid",
99
+ className: clsx.clsx('np-flow-navigation', {
100
+ 'np-flow-navigation--border-bottom': showBottomBorder
110
101
  }),
111
102
  children: flowHeaderContent
112
103
  });
@@ -1 +1 @@
1
- {"version":3,"file":"FlowNavigation.js","sources":["../../src/FlowNavigation/FlowNavigation.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useIntl } from 'react-intl';\nimport { Breakpoint } from '@transferwise/neptune-tokens';\n\nimport { Layout } from '../common';\nimport { CloseButton } from '../common/CloseButton';\nimport FlowHeader from '../common/FlowHeader/FlowHeader';\nimport Logo from '../Logo';\nimport Stepper, { type Step } from '../Stepper/Stepper';\nimport Container from '../Container';\n\nimport { useScreenSize } from '../common/hooks/useScreenSize';\nimport messages from './FlowNavigation.messages';\nimport AnimatedLabel from './AnimatedLabel';\nimport IconButton from '../IconButton';\nimport { ArrowLeft } from '@transferwise/icons';\n\nconst defaultLogo = <Logo />;\n\nexport interface FlowNavigationProps {\n /** @default 0 */\n activeStep?: number;\n avatar?: React.ReactNode;\n /** @default <Logo /> */\n logo?: React.ReactNode;\n /** @default false */\n done?: boolean;\n /** Called when the close button is clicked. If not provided the close button won't show */\n onClose?: () => void;\n /** Called when the back button is clicked. If not provided the back button won't show. The back button only shows on small screens */\n onGoBack?: () => void;\n /** Steps to be displayed in stepper. If not provided, the stepper won't show. */\n steps?: readonly Step[];\n /**\n * When true, renders in composable mode using a fluid Container.\n * This allows the FlowNavigation to be used within custom layout containers.\n * @default false\n */\n composable?: boolean;\n /**\n * Controls whether the bottom border is displayed.\n * Only applies to the composable variant. Non-composable variant always uses the done state.\n * @default true\n */\n showBottomBorder?: boolean;\n}\n\nconst FlowNavigation = ({\n activeStep = 0,\n avatar,\n logo = defaultLogo,\n done = false,\n onClose,\n onGoBack,\n steps,\n composable = false,\n showBottomBorder = true,\n}: FlowNavigationProps) => {\n const intl = useIntl();\n const screenSm = useScreenSize(Breakpoint.SMALL);\n const screenLg = useScreenSize(Breakpoint.LARGE);\n\n const closeButton = onClose != null && <CloseButton size=\"lg\" onClick={onClose} />;\n\n const newAvatar = done ? null : avatar;\n const displayGoBack = onGoBack != null && activeStep > 0;\n\n const flowHeaderContent = (\n <FlowHeader\n className={clsx(\n 'np-flow-navigation__content',\n !composable && 'p-x-3',\n screenSm == null\n ? 'np-flow-navigation--hidden'\n : {\n 'np-flow-navigation--xs-max': !screenSm,\n // Size switches on parent container which may or may not have the same size as the window.\n 'np-flow-navigation--sm': screenSm,\n 'np-flow-navigation--lg': screenLg,\n },\n )}\n leftContent={\n <>\n {!screenSm && displayGoBack ? (\n <IconButton\n size={40}\n priority=\"tertiary\"\n type=\"default\"\n aria-label={intl.formatMessage(messages.back)}\n onClick={onGoBack}\n >\n <ArrowLeft />\n </IconButton>\n ) : (\n <div className=\"np-flow-header__left\">{logo}</div>\n )}\n {!screenSm && !done && steps && steps.length > 0 && (\n <AnimatedLabel className=\"m-x-1\" steps={steps} activeLabel={activeStep} />\n )}\n </>\n }\n rightContent={\n <div className=\"np-flow-header__right d-flex align-items-center justify-content-end order-2--lg\">\n {newAvatar}\n {newAvatar && closeButton && <span className=\"m-x-1\" />}\n {closeButton}\n </div>\n }\n bottomContent={\n !done && steps && steps.length > 0 ? (\n <Stepper\n activeStep={activeStep}\n steps={steps}\n className={clsx('np-flow-navigation__stepper')}\n />\n ) : null\n }\n layout={!screenLg ? Layout.VERTICAL : Layout.HORIZONTAL}\n />\n );\n\n if (composable) {\n return (\n <Container\n size=\"fluid\"\n className={clsx('np-flow-navigation np-flow-navigation--composable', {\n 'np-flow-navigation--border-bottom': showBottomBorder,\n })}\n >\n {flowHeaderContent}\n </Container>\n );\n }\n\n return (\n <div\n className={clsx('np-flow-navigation p-y-3', {\n 'np-flow-navigation--border-bottom': !done,\n })}\n >\n {flowHeaderContent}\n </div>\n );\n};\n\nexport default FlowNavigation;\n"],"names":["defaultLogo","_jsx","Logo","FlowNavigation","activeStep","avatar","logo","done","onClose","onGoBack","steps","composable","showBottomBorder","intl","useIntl","screenSm","useScreenSize","Breakpoint","SMALL","screenLg","LARGE","closeButton","CloseButton","size","onClick","newAvatar","displayGoBack","flowHeaderContent","FlowHeader","className","clsx","leftContent","_jsxs","_Fragment","children","IconButton","priority","type","formatMessage","messages","back","ArrowLeft","length","AnimatedLabel","activeLabel","rightContent","bottomContent","Stepper","layout","Layout","VERTICAL","HORIZONTAL","Container"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAMA,WAAW,gBAAGC,cAAA,CAACC,YAAI,KAAG;AA8B5B,MAAMC,cAAc,GA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AAA,CAACmD,iBAAS,EAAA;AACR7B,MAAAA,IAAI,EAAC,OAAO;AACZM,MAAAA,SAAS,EAAEC,SAAI,CAAC,mDAAmD,EAAE;AACnE,QAAA,mCAAmC,EAAElB;AACtC,OAAA,CAAE;AAAAsB,MAAAA,QAAA,EAEFP;AAAiB,KACT,CAAC;AAEhB,EAAA;AAEA,EAAA,oBACE1B,cAAA,CAAA,KAAA,EAAA;AACE4B,IAAAA,SAAS,EAAEC,SAAI,CAAC,0BAA0B,EAAE;AAC1C,MAAA,mCAAmC,EAAE,CAACvB;AACvC,KAAA,CAAE;AAAA2B,IAAAA,QAAA,EAEFP;AAAiB,GACf,CAAC;AAEV;;;;"}
1
+ {"version":3,"file":"FlowNavigation.js","sources":["../../src/FlowNavigation/FlowNavigation.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useIntl } from 'react-intl';\nimport { Breakpoint } from '@transferwise/neptune-tokens';\n\nimport { Layout } from '../common';\nimport { CloseButton } from '../common/CloseButton';\nimport FlowHeader from '../common/FlowHeader/FlowHeader';\nimport Logo from '../Logo';\nimport Stepper, { type Step } from '../Stepper/Stepper';\nimport Container from '../Container';\n\nimport { useScreenSize } from '../common/hooks/useScreenSize';\nimport messages from './FlowNavigation.messages';\nimport AnimatedLabel from './AnimatedLabel';\nimport IconButton from '../IconButton';\nimport { ArrowLeft } from '@transferwise/icons';\n\nconst defaultLogo = <Logo />;\n\nexport interface FlowNavigationProps {\n /** @default 0 */\n activeStep?: number;\n avatar?: React.ReactNode;\n /** @default <Logo /> */\n logo?: React.ReactNode;\n /** @default false */\n done?: boolean;\n /** Called when the close button is clicked. If not provided the close button won't show */\n onClose?: (() => void) | React.MouseEventHandler<HTMLButtonElement>;\n /** Called when the back button is clicked. If not provided the back button won't show. The back button only shows on small screens */\n onGoBack?: () => void;\n /** Steps to be displayed in stepper. If not provided, the stepper won't show. */\n steps?: readonly Step[];\n /**\n * Controls whether the bottom border is displayed.\n * @default true\n */\n showBottomBorder?: boolean;\n}\n\nconst FlowNavigation = ({\n activeStep = 0,\n avatar,\n logo = defaultLogo,\n done = false,\n onClose,\n onGoBack,\n steps,\n showBottomBorder = true,\n}: FlowNavigationProps) => {\n const intl = useIntl();\n const screenSm = useScreenSize(Breakpoint.SMALL);\n const screenLg = useScreenSize(Breakpoint.LARGE);\n\n const closeButton = onClose != null && <CloseButton size=\"lg\" onClick={onClose} />;\n\n const newAvatar = done ? null : avatar;\n const displayGoBack = onGoBack != null && activeStep > 0;\n\n const flowHeaderContent = (\n <FlowHeader\n className={clsx(\n 'np-flow-navigation__content',\n screenSm == null\n ? 'np-flow-navigation--hidden'\n : {\n 'np-flow-navigation--xs-max': !screenSm,\n // Size switches on parent container which may or may not have the same size as the window.\n 'np-flow-navigation--sm': screenSm,\n 'np-flow-navigation--lg': screenLg,\n },\n )}\n leftContent={\n <>\n {!screenSm && displayGoBack ? (\n <IconButton\n size={40}\n priority=\"tertiary\"\n type=\"default\"\n aria-label={intl.formatMessage(messages.back)}\n onClick={onGoBack}\n >\n <ArrowLeft />\n </IconButton>\n ) : (\n <div className=\"np-flow-header__left\">{logo}</div>\n )}\n {!screenSm && !done && steps && steps.length > 0 && (\n <AnimatedLabel className=\"m-x-1\" steps={steps} activeLabel={activeStep} />\n )}\n </>\n }\n rightContent={\n <div className=\"np-flow-header__right d-flex align-items-center justify-content-end order-2--lg\">\n {newAvatar}\n {newAvatar && closeButton && <span className=\"m-x-1\" />}\n {closeButton}\n </div>\n }\n bottomContent={\n !done && steps && steps.length > 0 ? (\n <Stepper\n activeStep={activeStep}\n steps={steps}\n className={clsx('np-flow-navigation__stepper')}\n />\n ) : null\n }\n layout={!screenLg ? Layout.VERTICAL : Layout.HORIZONTAL}\n />\n );\n\n return (\n <Container\n size=\"fluid\"\n className={clsx('np-flow-navigation', {\n 'np-flow-navigation--border-bottom': showBottomBorder,\n })}\n >\n {flowHeaderContent}\n </Container>\n );\n};\n\nexport default FlowNavigation;\n"],"names":["defaultLogo","_jsx","Logo","FlowNavigation","activeStep","avatar","logo","done","onClose","onGoBack","steps","showBottomBorder","intl","useIntl","screenSm","useScreenSize","Breakpoint","SMALL","screenLg","LARGE","closeButton","CloseButton","size","onClick","newAvatar","displayGoBack","flowHeaderContent","FlowHeader","className","clsx","leftContent","_jsxs","_Fragment","children","IconButton","priority","type","formatMessage","messages","back","ArrowLeft","length","AnimatedLabel","activeLabel","rightContent","bottomContent","Stepper","layout","Layout","VERTICAL","HORIZONTAL","Container"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAMA,WAAW,gBAAGC,cAAA,CAACC,YAAI,KAAG;AAuB5B,MAAMC,cAAc,GAAGA,CAAC;AACtBC,EAAAA,UAAU,GAAG,CAAC;EACdC,MAAM;AACNC,EAAAA,IAAI,GAAGN,WAAW;AAClBO,EAAAA,IAAI,GAAG,KAAK;EACZC,OAAO;EACPC,QAAQ;EACRC,KAAK;AACLC,EAAAA,gBAAgB,GAAG;AAAI,CACH,KAAI;AACxB,EAAA,MAAMC,IAAI,GAAGC,iBAAO,EAAE;AACtB,EAAA,MAAMC,QAAQ,GAAGC,2BAAa,CAACC,wBAAU,CAACC,KAAK,CAAC;AAChD,EAAA,MAAMC,QAAQ,GAAGH,2BAAa,CAACC,wBAAU,CAACG,KAAK,CAAC;EAEhD,MAAMC,WAAW,GAAGZ,OAAO,IAAI,IAAI,iBAAIP,cAAA,CAACoB,uBAAW,EAAA;AAACC,IAAAA,IAAI,EAAC,IAAI;AAACC,IAAAA,OAAO,EAAEf;AAAQ,IAAG;AAElF,EAAA,MAAMgB,SAAS,GAAGjB,IAAI,GAAG,IAAI,GAAGF,MAAM;EACtC,MAAMoB,aAAa,GAAGhB,QAAQ,IAAI,IAAI,IAAIL,UAAU,GAAG,CAAC;AAExD,EAAA,MAAMsB,iBAAiB,gBACrBzB,cAAA,CAAC0B,kBAAU,EAAA;IACTC,SAAS,EAAEC,SAAI,CACb,6BAA6B,EAC7Bf,QAAQ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,KAAK,IAAIA,KAAK,CAAC+B,MAAM,GAAG,CAAC,gBAChCxC,cAAA,CAAC6C,eAAO,EAAA;AACN1C,MAAAA,UAAU,EAAEA,UAAW;AACvBM,MAAAA,KAAK,EAAEA,KAAM;MACbkB,SAAS,EAAEC,SAAI,CAAC,6BAA6B;KAAE,CAC/C,GACA,IACL;IACDkB,MAAM,EAAE,CAAC7B,QAAQ,GAAG8B,cAAM,CAACC,QAAQ,GAAGD,cAAM,CAACE;AAAW,GAAA,CAE3D;EAED,oBACEjD,cAAA,CAACkD,iBAAS,EAAA;AACR7B,IAAAA,IAAI,EAAC,OAAO;AACZM,IAAAA,SAAS,EAAEC,SAAI,CAAC,oBAAoB,EAAE;AACpC,MAAA,mCAAmC,EAAElB;AACtC,KAAA,CAAE;AAAAsB,IAAAA,QAAA,EAEFP;AAAiB,GACT,CAAC;AAEhB;;;;"}
@@ -42,7 +42,6 @@ const FlowNavigation = ({
42
42
  onClose,
43
43
  onGoBack,
44
44
  steps,
45
- composable = false,
46
45
  showBottomBorder = true
47
46
  }) => {
48
47
  const intl = useIntl();
@@ -55,7 +54,7 @@ const FlowNavigation = ({
55
54
  const newAvatar = done ? null : avatar;
56
55
  const displayGoBack = onGoBack != null && activeStep > 0;
57
56
  const flowHeaderContent = /*#__PURE__*/jsx(FlowHeader, {
58
- className: clsx('np-flow-navigation__content', !composable && 'p-x-3', screenSm == null ? 'np-flow-navigation--hidden' : {
57
+ className: clsx('np-flow-navigation__content', screenSm == null ? 'np-flow-navigation--hidden' : {
59
58
  'np-flow-navigation--xs-max': !screenSm,
60
59
  // Size switches on parent container which may or may not have the same size as the window.
61
60
  'np-flow-navigation--sm': screenSm,
@@ -91,18 +90,10 @@ const FlowNavigation = ({
91
90
  }) : null,
92
91
  layout: !screenLg ? Layout.VERTICAL : Layout.HORIZONTAL
93
92
  });
94
- if (composable) {
95
- return /*#__PURE__*/jsx(Container, {
96
- size: "fluid",
97
- className: clsx('np-flow-navigation np-flow-navigation--composable', {
98
- 'np-flow-navigation--border-bottom': showBottomBorder
99
- }),
100
- children: flowHeaderContent
101
- });
102
- }
103
- return /*#__PURE__*/jsx("div", {
104
- className: clsx('np-flow-navigation p-y-3', {
105
- 'np-flow-navigation--border-bottom': !done
93
+ return /*#__PURE__*/jsx(Container, {
94
+ size: "fluid",
95
+ className: clsx('np-flow-navigation', {
96
+ 'np-flow-navigation--border-bottom': showBottomBorder
106
97
  }),
107
98
  children: flowHeaderContent
108
99
  });
@@ -1 +1 @@
1
- {"version":3,"file":"FlowNavigation.mjs","sources":["../../src/FlowNavigation/FlowNavigation.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useIntl } from 'react-intl';\nimport { Breakpoint } from '@transferwise/neptune-tokens';\n\nimport { Layout } from '../common';\nimport { CloseButton } from '../common/CloseButton';\nimport FlowHeader from '../common/FlowHeader/FlowHeader';\nimport Logo from '../Logo';\nimport Stepper, { type Step } from '../Stepper/Stepper';\nimport Container from '../Container';\n\nimport { useScreenSize } from '../common/hooks/useScreenSize';\nimport messages from './FlowNavigation.messages';\nimport AnimatedLabel from './AnimatedLabel';\nimport IconButton from '../IconButton';\nimport { ArrowLeft } from '@transferwise/icons';\n\nconst defaultLogo = <Logo />;\n\nexport interface FlowNavigationProps {\n /** @default 0 */\n activeStep?: number;\n avatar?: React.ReactNode;\n /** @default <Logo /> */\n logo?: React.ReactNode;\n /** @default false */\n done?: boolean;\n /** Called when the close button is clicked. If not provided the close button won't show */\n onClose?: () => void;\n /** Called when the back button is clicked. If not provided the back button won't show. The back button only shows on small screens */\n onGoBack?: () => void;\n /** Steps to be displayed in stepper. If not provided, the stepper won't show. */\n steps?: readonly Step[];\n /**\n * When true, renders in composable mode using a fluid Container.\n * This allows the FlowNavigation to be used within custom layout containers.\n * @default false\n */\n composable?: boolean;\n /**\n * Controls whether the bottom border is displayed.\n * Only applies to the composable variant. Non-composable variant always uses the done state.\n * @default true\n */\n showBottomBorder?: boolean;\n}\n\nconst FlowNavigation = ({\n activeStep = 0,\n avatar,\n logo = defaultLogo,\n done = false,\n onClose,\n onGoBack,\n steps,\n composable = false,\n showBottomBorder = true,\n}: FlowNavigationProps) => {\n const intl = useIntl();\n const screenSm = useScreenSize(Breakpoint.SMALL);\n const screenLg = useScreenSize(Breakpoint.LARGE);\n\n const closeButton = onClose != null && <CloseButton size=\"lg\" onClick={onClose} />;\n\n const newAvatar = done ? null : avatar;\n const displayGoBack = onGoBack != null && activeStep > 0;\n\n const flowHeaderContent = (\n <FlowHeader\n className={clsx(\n 'np-flow-navigation__content',\n !composable && 'p-x-3',\n screenSm == null\n ? 'np-flow-navigation--hidden'\n : {\n 'np-flow-navigation--xs-max': !screenSm,\n // Size switches on parent container which may or may not have the same size as the window.\n 'np-flow-navigation--sm': screenSm,\n 'np-flow-navigation--lg': screenLg,\n },\n )}\n leftContent={\n <>\n {!screenSm && displayGoBack ? (\n <IconButton\n size={40}\n priority=\"tertiary\"\n type=\"default\"\n aria-label={intl.formatMessage(messages.back)}\n onClick={onGoBack}\n >\n <ArrowLeft />\n </IconButton>\n ) : (\n <div className=\"np-flow-header__left\">{logo}</div>\n )}\n {!screenSm && !done && steps && steps.length > 0 && (\n <AnimatedLabel className=\"m-x-1\" steps={steps} activeLabel={activeStep} />\n )}\n </>\n }\n rightContent={\n <div className=\"np-flow-header__right d-flex align-items-center justify-content-end order-2--lg\">\n {newAvatar}\n {newAvatar && closeButton && <span className=\"m-x-1\" />}\n {closeButton}\n </div>\n }\n bottomContent={\n !done && steps && steps.length > 0 ? (\n <Stepper\n activeStep={activeStep}\n steps={steps}\n className={clsx('np-flow-navigation__stepper')}\n />\n ) : null\n }\n layout={!screenLg ? Layout.VERTICAL : Layout.HORIZONTAL}\n />\n );\n\n if (composable) {\n return (\n <Container\n size=\"fluid\"\n className={clsx('np-flow-navigation np-flow-navigation--composable', {\n 'np-flow-navigation--border-bottom': showBottomBorder,\n })}\n >\n {flowHeaderContent}\n </Container>\n );\n }\n\n return (\n <div\n className={clsx('np-flow-navigation p-y-3', {\n 'np-flow-navigation--border-bottom': !done,\n })}\n >\n {flowHeaderContent}\n </div>\n );\n};\n\nexport default FlowNavigation;\n"],"names":["defaultLogo","_jsx","Logo","FlowNavigation","activeStep","avatar","logo","done","onClose","onGoBack","steps","composable","showBottomBorder","intl","useIntl","screenSm","useScreenSize","Breakpoint","SMALL","screenLg","LARGE","closeButton","CloseButton","size","onClick","newAvatar","displayGoBack","flowHeaderContent","FlowHeader","className","clsx","leftContent","_jsxs","_Fragment","children","IconButton","priority","type","formatMessage","messages","back","ArrowLeft","length","AnimatedLabel","activeLabel","rightContent","bottomContent","Stepper","layout","Layout","VERTICAL","HORIZONTAL","Container"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAMA,WAAW,gBAAGC,GAAA,CAACC,IAAI,KAAG;AA8B5B,MAAMC,cAAc,GAAGA,CAAC;AACtBC,EAAAA,UAAU,GAAG,CAAC;EACdC,MAAM;AACNC,EAAAA,IAAI,GAAGN,WAAW;AAClBO,EAAAA,IAAI,GAAG,KAAK;EACZC,OAAO;EACPC,QAAQ;EACRC,KAAK;AACLC,EAAAA,UAAU,GAAG,KAAK;AAClBC,EAAAA,gBAAgB,GAAG;AAAI,CACH,KAAI;AACxB,EAAA,MAAMC,IAAI,GAAGC,OAAO,EAAE;AACtB,EAAA,MAAMC,QAAQ,GAAGC,aAAa,CAACC,UAAU,CAACC,KAAK,CAAC;AAChD,EAAA,MAAMC,QAAQ,GAAGH,aAAa,CAACC,UAAU,CAACG,KAAK,CAAC;EAEhD,MAAMC,WAAW,GAAGb,OAAO,IAAI,IAAI,iBAAIP,GAAA,CAACqB,WAAW,EAAA;AAACC,IAAAA,IAAI,EAAC,IAAI;AAACC,IAAAA,OAAO,EAAEhB;AAAQ,IAAG;AAElF,EAAA,MAAMiB,SAAS,GAAGlB,IAAI,GAAG,IAAI,GAAGF,MAAM;EACtC,MAAMqB,aAAa,GAAGjB,QAAQ,IAAI,IAAI,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S,EACTA,SAAS,IAAIJ,WAAW,iBAAIpB,GAAA,CAAA,MAAA,EAAA;AAAM4B,QAAAA,SAAS,EAAC;OAAO,CAAG,EACtDR,WAAW;AAAA,KACT,CACN;AACDyB,IAAAA,aAAa,EACX,CAACvC,IAAI,IAAIG,KAAK,IAAIA,KAAK,CAACgC,MAAM,GAAG,CAAC,gBAChCzC,GAAA,CAAC8C,OAAO,EAAA;AACN3C,MAAAA,UAAU,EAAEA,UAAW;AACvBM,MAAAA,KAAK,EAAEA,KAAM;MACbmB,SAAS,EAAEC,IAAI,CAAC,6BAA6B;KAAE,CAC/C,GACA,IACL;IACDkB,MAAM,EAAE,CAAC7B,QAAQ,GAAG8B,MAAM,CAACC,QAAQ,GAAGD,MAAM,CAACE;AAAW,GAAA,CAE3D;AAED,EAAA,IAAIxC,UAAU,EAAE;IACd,oBACEV,GAAA,CAACmD,SAAS,EAAA;AACR7B,MAAAA,IAAI,EAAC,OAAO;AACZM,MAAAA,SAAS,EAAEC,IAAI,CAAC,mDAAmD,EAAE;AACnE,QAAA,mCAAmC,EAAElB;AACtC,OAAA,CAAE;AAAAsB,MAAAA,QAAA,EAEFP;AAAiB,KACT,CAAC;AAEhB,EAAA;AAEA,EAAA,oBACE1B,GAAA,CAAA,KAAA,EAAA;AACE4B,IAAAA,SAAS,EAAEC,IAAI,CAAC,0BAA0B,EAAE;AAC1C,MAAA,mCAAmC,EAAE,CAACvB;AACvC,KAAA,CAAE;AAAA2B,IAAAA,QAAA,EAEFP;AAAiB,GACf,CAAC;AAEV;;;;"}
1
+ {"version":3,"file":"FlowNavigation.mjs","sources":["../../src/FlowNavigation/FlowNavigation.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useIntl } from 'react-intl';\nimport { Breakpoint } from '@transferwise/neptune-tokens';\n\nimport { Layout } from '../common';\nimport { CloseButton } from '../common/CloseButton';\nimport FlowHeader from '../common/FlowHeader/FlowHeader';\nimport Logo from '../Logo';\nimport Stepper, { type Step } from '../Stepper/Stepper';\nimport Container from '../Container';\n\nimport { useScreenSize } from '../common/hooks/useScreenSize';\nimport messages from './FlowNavigation.messages';\nimport AnimatedLabel from './AnimatedLabel';\nimport IconButton from '../IconButton';\nimport { ArrowLeft } from '@transferwise/icons';\n\nconst defaultLogo = <Logo />;\n\nexport interface FlowNavigationProps {\n /** @default 0 */\n activeStep?: number;\n avatar?: React.ReactNode;\n /** @default <Logo /> */\n logo?: React.ReactNode;\n /** @default false */\n done?: boolean;\n /** Called when the close button is clicked. If not provided the close button won't show */\n onClose?: (() => void) | React.MouseEventHandler<HTMLButtonElement>;\n /** Called when the back button is clicked. If not provided the back button won't show. The back button only shows on small screens */\n onGoBack?: () => void;\n /** Steps to be displayed in stepper. If not provided, the stepper won't show. */\n steps?: readonly Step[];\n /**\n * Controls whether the bottom border is displayed.\n * @default true\n */\n showBottomBorder?: boolean;\n}\n\nconst FlowNavigation = ({\n activeStep = 0,\n avatar,\n logo = defaultLogo,\n done = false,\n onClose,\n onGoBack,\n steps,\n showBottomBorder = true,\n}: FlowNavigationProps) => {\n const intl = useIntl();\n const screenSm = useScreenSize(Breakpoint.SMALL);\n const screenLg = useScreenSize(Breakpoint.LARGE);\n\n const closeButton = onClose != null && <CloseButton size=\"lg\" onClick={onClose} />;\n\n const newAvatar = done ? null : avatar;\n const displayGoBack = onGoBack != null && activeStep > 0;\n\n const flowHeaderContent = (\n <FlowHeader\n className={clsx(\n 'np-flow-navigation__content',\n screenSm == null\n ? 'np-flow-navigation--hidden'\n : {\n 'np-flow-navigation--xs-max': !screenSm,\n // Size switches on parent container which may or may not have the same size as the window.\n 'np-flow-navigation--sm': screenSm,\n 'np-flow-navigation--lg': screenLg,\n },\n )}\n leftContent={\n <>\n {!screenSm && displayGoBack ? (\n <IconButton\n size={40}\n priority=\"tertiary\"\n type=\"default\"\n aria-label={intl.formatMessage(messages.back)}\n onClick={onGoBack}\n >\n <ArrowLeft />\n </IconButton>\n ) : (\n <div className=\"np-flow-header__left\">{logo}</div>\n )}\n {!screenSm && !done && steps && steps.length > 0 && (\n <AnimatedLabel className=\"m-x-1\" steps={steps} activeLabel={activeStep} />\n )}\n </>\n }\n rightContent={\n <div className=\"np-flow-header__right d-flex align-items-center justify-content-end order-2--lg\">\n {newAvatar}\n {newAvatar && closeButton && <span className=\"m-x-1\" />}\n {closeButton}\n </div>\n }\n bottomContent={\n !done && steps && steps.length > 0 ? (\n <Stepper\n activeStep={activeStep}\n steps={steps}\n className={clsx('np-flow-navigation__stepper')}\n />\n ) : null\n }\n layout={!screenLg ? Layout.VERTICAL : Layout.HORIZONTAL}\n />\n );\n\n return (\n <Container\n size=\"fluid\"\n className={clsx('np-flow-navigation', {\n 'np-flow-navigation--border-bottom': showBottomBorder,\n })}\n >\n {flowHeaderContent}\n </Container>\n );\n};\n\nexport default FlowNavigation;\n"],"names":["defaultLogo","_jsx","Logo","FlowNavigation","activeStep","avatar","logo","done","onClose","onGoBack","steps","showBottomBorder","intl","useIntl","screenSm","useScreenSize","Breakpoint","SMALL","screenLg","LARGE","closeButton","CloseButton","size","onClick","newAvatar","displayGoBack","flowHeaderContent","FlowHeader","className","clsx","leftContent","_jsxs","_Fragment","children","IconButton","priority","type","formatMessage","messages","back","ArrowLeft","length","AnimatedLabel","activeLabel","rightContent","bottomContent","Stepper","layout","Layout","VERTICAL","HORIZONTAL","Container"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiBA,MAAMA,WAAW,gBAAGC,GAAA,CAACC,IAAI,KAAG;AAuB5B,MAAMC,cAAc,GAAGA,CAAC;AACtBC,EAAAA,UAAU,GAAG,CAAC;EACdC,MAAM;AACNC,EAAAA,IAAI,GAAGN,WAAW;AAClBO,EAAAA,IAAI,GAAG,KAAK;EACZC,OAAO;EACPC,QAAQ;EACRC,KAAK;AACLC,EAAAA,gBAAgB,GAAG;AAAI,CACH,KAAI;AACxB,EAAA,MAAMC,IAAI,GAAGC,OAAO,EAAE;AACtB,EAAA,MAAMC,QAAQ,G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P,IAAI,IAAIG,KAAK,IAAIA,KAAK,CAAC+B,MAAM,GAAG,CAAC,iBAC9CxC,GAAA,CAACyC,aAAa,EAAA;AAACd,QAAAA,SAAS,EAAC,OAAO;AAAClB,QAAAA,KAAK,EAAEA,KAAM;AAACiC,QAAAA,WAAW,EAAEvC;AAAW,OAAA,CACxE;AAAA,KACH,CACD;AACDwC,IAAAA,YAAY,eACVb,IAAA,CAAA,KAAA,EAAA;AAAKH,MAAAA,SAAS,EAAC,iFAAiF;AAAAK,MAAAA,QAAA,GAC7FT,SAAS,EACTA,SAAS,IAAIJ,WAAW,iBAAInB,GAAA,CAAA,MAAA,EAAA;AAAM2B,QAAAA,SAAS,EAAC;OAAO,CAAG,EACtDR,WAAW;AAAA,KACT,CACN;AACDyB,IAAAA,aAAa,EACX,CAACtC,IAAI,IAAIG,KAAK,IAAIA,KAAK,CAAC+B,MAAM,GAAG,CAAC,gBAChCxC,GAAA,CAAC6C,OAAO,EAAA;AACN1C,MAAAA,UAAU,EAAEA,UAAW;AACvBM,MAAAA,KAAK,EAAEA,KAAM;MACbkB,SAAS,EAAEC,IAAI,CAAC,6BAA6B;KAAE,CAC/C,GACA,IACL;IACDkB,MAAM,EAAE,CAAC7B,QAAQ,GAAG8B,MAAM,CAACC,QAAQ,GAAGD,MAAM,CAACE;AAAW,GAAA,CAE3D;EAED,oBACEjD,GAAA,CAACkD,SAAS,EAAA;AACR7B,IAAAA,IAAI,EAAC,OAAO;AACZM,IAAAA,SAAS,EAAEC,IAAI,CAAC,oBAAoB,EAAE;AACpC,MAAA,mCAAmC,EAAElB;AACtC,KAAA,CAAE;AAAAsB,IAAAA,QAAA,EAEFP;AAAiB,GACT,CAAC;AAEhB;;;;"}
@@ -2,32 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var clsx = require('clsx');
6
- require('../../common/theme.js');
7
- require('../../common/direction.js');
8
- require('@transferwise/neptune-tokens');
9
- require('../../common/PropsValues/control.js');
10
- var size = require('../../common/PropsValues/size.js');
11
- require('../../common/PropsValues/typography.js');
12
- require('../../common/PropsValues/width.js');
13
- require('../../common/PropsValues/type.js');
14
- require('../../common/PropsValues/dateMode.js');
15
- require('../../common/PropsValues/monthFormat.js');
16
- require('../../common/PropsValues/position.js');
17
- require('../../common/PropsValues/layouts.js');
18
- require('../../common/PropsValues/status.js');
19
- require('../../common/PropsValues/sentiment.js');
20
- require('../../common/PropsValues/profileType.js');
21
- require('../../common/PropsValues/variant.js');
22
- require('../../common/PropsValues/scroll.js');
23
- require('../../common/PropsValues/markdownNodeType.js');
24
- require('../../common/fileType.js');
25
- require('@transferwise/formatting');
26
- var CloseButton = require('../../common/CloseButton/CloseButton.js');
27
- require('react');
28
- var jsxRuntime = require('react/jsx-runtime');
29
- var FlowHeader = require('../../common/FlowHeader/FlowHeader.js');
30
5
  var Logo = require('../../Logo/Logo.js');
6
+ var FlowNavigation = require('../../FlowNavigation/FlowNavigation.js');
7
+ var jsxRuntime = require('react/jsx-runtime');
31
8
 
32
9
  const defaultLogo = /*#__PURE__*/jsxRuntime.jsx(Logo.default, {});
33
10
  /**
@@ -38,22 +15,10 @@ function OverlayHeader({
38
15
  onClose,
39
16
  logo = defaultLogo
40
17
  }) {
41
- const closeButton = onClose && /*#__PURE__*/jsxRuntime.jsx(CloseButton.CloseButton, {
42
- size: size.Size.LARGE,
43
- onClick: onClose
44
- });
45
- return /*#__PURE__*/jsxRuntime.jsx("div", {
46
- className: "np-overlay-header d-flex justify-content-center",
47
- children: /*#__PURE__*/jsxRuntime.jsx(FlowHeader.default, {
48
- className: "np-overlay-header__content p-a-3",
49
- leftContent: logo,
50
- rightContent: /*#__PURE__*/jsxRuntime.jsxs("div", {
51
- className: clsx.clsx('d-flex', 'align-items-center', 'order-2'),
52
- children: [avatar, avatar && closeButton && /*#__PURE__*/jsxRuntime.jsx("span", {
53
- className: clsx.clsx('m-x-1')
54
- }), closeButton]
55
- })
56
- })
18
+ return /*#__PURE__*/jsxRuntime.jsx(FlowNavigation.default, {
19
+ avatar,
20
+ onClose,
21
+ logo
57
22
  });
58
23
  }
59
24
 
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayHeader.js","sources":["../../../src/_deprecated/OverlayHeader/OverlayHeader.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport { Size } from '../../common';\nimport { CloseButton } from '../../common/CloseButton';\nimport FlowHeader from '../../common/FlowHeader';\nimport Logo from '../../Logo';\n\n/**\n * @deprecated Use `FlowNavigation` component instead, with `steps={[]}`\n */\nexport interface OverlayHeaderProps {\n /** An Avatar */\n avatar?: React.ReactNode;\n logo?: React.ReactNode;\n /** Function called when the close is clicked */\n onClose?: React.MouseEventHandler<HTMLButtonElement>;\n}\n\nconst defaultLogo = <Logo />;\n\n/**\n * @deprecated Use `FlowNavigation` component instead\n */\nexport default function OverlayHeader({ avatar, onClose, logo = defaultLogo }: OverlayHeaderProps) {\n const closeButton = onClose && <CloseButton size={Size.LARGE} onClick={onClose} />;\n return (\n <div className=\"np-overlay-header d-flex justify-content-center\">\n <FlowHeader\n className=\"np-overlay-header__content p-a-3\"\n leftContent={logo}\n rightContent={\n <div className={clsx('d-flex', 'align-items-center', 'order-2')}>\n {avatar}\n {avatar && closeButton && <span className={clsx('m-x-1')} />}\n {closeButton}\n </div>\n }\n />\n </div>\n );\n}\n"],"names":["defaultLogo","_jsx","Logo","OverlayHeader","avatar","onClose","logo","closeButton","CloseButton","size","Size","LARGE","onClick","className","children","FlowHeader","leftContent","rightContent","_jsxs","clsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAMA,WAAW,gBAAGC,cAAA,CAACC,YAAI,KAAG;AAE5B;;AAEG;AACW,SAAUC,aAAaA,CAAC;EAAEC,MAAM;EAAEC,OAAO;AAAEC,EAAAA,IAAI,GAAGN;AAAW,CAAsB,EAAA;AAC/F,EAAA,MAAMO,WAAW,GAAGF,OAAO,iBAAIJ,cAAA,CAACO,uBAAW,EAAA;IAACC,IAAI,EAAEC,SAAI,CAACC,KAAM;AAACC,IAAAA,OAAO,EAAEP;AAAQ,GAAA,CAAG;AAClF,EAAA,oBACEJ,cAAA,CAAA,KAAA,EAAA;AAAKY,IAAAA,SAAS,EAAC,iDAAiD;IAAAC,QAAA,eAC9Db,cAAA,CAACc,kBAAU,EAAA;AACTF,MAAAA,SAAS,EAAC,kCAAkC;AAC5CG,MAAAA,WAAW,EAAEV,IAAK;AAClBW,MAAAA,YAAY,eACVC,eAAA,CAAA,KAAA,EAAA;QAAKL,SAAS,EAAEM,SAAI,CAAC,QAAQ,EAAE,oBAAoB,EAAE,SAAS,CAAE;AAAAL,QAAAA,QAAA,GAC7DV,MAAM,EACNA,MAAM,IAAIG,WAAW,iBAAIN,cAAA,CAAA,MAAA,EAAA;UAAMY,SAAS,EAAEM,SAAI,CAAC,OAAO;UAAK,EAC3DZ,WAAW;OACT;KACN;AAEL,GAAK,CAAC;AAEV;;;;"}
1
+ {"version":3,"file":"OverlayHeader.js","sources":["../../../src/_deprecated/OverlayHeader/OverlayHeader.tsx"],"sourcesContent":["import Logo from '../../Logo';\nimport FlowNavigation from '../../FlowNavigation';\n\n/**\n * @deprecated Use `FlowNavigation` component instead, with `steps={[]}`\n */\nexport interface OverlayHeaderProps {\n /** An Avatar */\n avatar?: React.ReactNode;\n logo?: React.ReactNode;\n /** Function called when the close is clicked */\n onClose?: React.MouseEventHandler<HTMLButtonElement>;\n}\n\nconst defaultLogo = <Logo />;\n\n/**\n * @deprecated Use `FlowNavigation` component instead\n */\nexport default function OverlayHeader({ avatar, onClose, logo = defaultLogo }: OverlayHeaderProps) {\n return <FlowNavigation {...{ avatar, onClose, logo }} />;\n}\n"],"names":["defaultLogo","_jsx","Logo","OverlayHeader","avatar","onClose","logo","FlowNavigation"],"mappings":";;;;;;;;AAcA,MAAMA,WAAW,gBAAGC,cAAA,CAACC,YAAI,KAAG;AAE5B;;AAEG;AACW,SAAUC,aAAaA,CAAC;EAAEC,MAAM;EAAEC,OAAO;AAAEC,EAAAA,IAAI,GAAGN;AAAW,CAAsB,EAAA;EAC/F,oBAAOC,cAAA,CAACM,sBAAc,EAAA;IAAOH,MAAM;IAAEC,OAAO;AAAEC,IAAAA;AAAI,IAAM;AAC1D;;;;"}
@@ -1,29 +1,6 @@
1
- import { clsx } from 'clsx';
2
- import '../../common/theme.mjs';
3
- import '../../common/direction.mjs';
4
- import '@transferwise/neptune-tokens';
5
- import '../../common/PropsValues/control.mjs';
6
- import { Size } from '../../common/PropsValues/size.mjs';
7
- import '../../common/PropsValues/typography.mjs';
8
- import '../../common/PropsValues/width.mjs';
9
- import '../../common/PropsValues/type.mjs';
10
- import '../../common/PropsValues/dateMode.mjs';
11
- import '../../common/PropsValues/monthFormat.mjs';
12
- import '../../common/PropsValues/position.mjs';
13
- import '../../common/PropsValues/layouts.mjs';
14
- import '../../common/PropsValues/status.mjs';
15
- import '../../common/PropsValues/sentiment.mjs';
16
- import '../../common/PropsValues/profileType.mjs';
17
- import '../../common/PropsValues/variant.mjs';
18
- import '../../common/PropsValues/scroll.mjs';
19
- import '../../common/PropsValues/markdownNodeType.mjs';
20
- import '../../common/fileType.mjs';
21
- import '@transferwise/formatting';
22
- import { CloseButton } from '../../common/CloseButton/CloseButton.mjs';
23
- import 'react';
24
- import { jsx, jsxs } from 'react/jsx-runtime';
25
- import FlowHeader from '../../common/FlowHeader/FlowHeader.mjs';
26
1
  import Logo from '../../Logo/Logo.mjs';
2
+ import FlowNavigation from '../../FlowNavigation/FlowNavigation.mjs';
3
+ import { jsx } from 'react/jsx-runtime';
27
4
 
28
5
  const defaultLogo = /*#__PURE__*/jsx(Logo, {});
29
6
  /**
@@ -34,22 +11,10 @@ function OverlayHeader({
34
11
  onClose,
35
12
  logo = defaultLogo
36
13
  }) {
37
- const closeButton = onClose && /*#__PURE__*/jsx(CloseButton, {
38
- size: Size.LARGE,
39
- onClick: onClose
40
- });
41
- return /*#__PURE__*/jsx("div", {
42
- className: "np-overlay-header d-flex justify-content-center",
43
- children: /*#__PURE__*/jsx(FlowHeader, {
44
- className: "np-overlay-header__content p-a-3",
45
- leftContent: logo,
46
- rightContent: /*#__PURE__*/jsxs("div", {
47
- className: clsx('d-flex', 'align-items-center', 'order-2'),
48
- children: [avatar, avatar && closeButton && /*#__PURE__*/jsx("span", {
49
- className: clsx('m-x-1')
50
- }), closeButton]
51
- })
52
- })
14
+ return /*#__PURE__*/jsx(FlowNavigation, {
15
+ avatar,
16
+ onClose,
17
+ logo
53
18
  });
54
19
  }
55
20
 
@@ -1 +1 @@
1
- {"version":3,"file":"OverlayHeader.mjs","sources":["../../../src/_deprecated/OverlayHeader/OverlayHeader.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nimport { Size } from '../../common';\nimport { CloseButton } from '../../common/CloseButton';\nimport FlowHeader from '../../common/FlowHeader';\nimport Logo from '../../Logo';\n\n/**\n * @deprecated Use `FlowNavigation` component instead, with `steps={[]}`\n */\nexport interface OverlayHeaderProps {\n /** An Avatar */\n avatar?: React.ReactNode;\n logo?: React.ReactNode;\n /** Function called when the close is clicked */\n onClose?: React.MouseEventHandler<HTMLButtonElement>;\n}\n\nconst defaultLogo = <Logo />;\n\n/**\n * @deprecated Use `FlowNavigation` component instead\n */\nexport default function OverlayHeader({ avatar, onClose, logo = defaultLogo }: OverlayHeaderProps) {\n const closeButton = onClose && <CloseButton size={Size.LARGE} onClick={onClose} />;\n return (\n <div className=\"np-overlay-header d-flex justify-content-center\">\n <FlowHeader\n className=\"np-overlay-header__content p-a-3\"\n leftContent={logo}\n rightContent={\n <div className={clsx('d-flex', 'align-items-center', 'order-2')}>\n {avatar}\n {avatar && closeButton && <span className={clsx('m-x-1')} />}\n {closeButton}\n </div>\n }\n />\n </div>\n );\n}\n"],"names":["defaultLogo","_jsx","Logo","OverlayHeader","avatar","onClose","logo","closeButton","CloseButton","size","Size","LARGE","onClick","className","children","FlowHeader","leftContent","rightContent","_jsxs","clsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,MAAMA,WAAW,gBAAGC,GAAA,CAACC,IAAI,KAAG;AAE5B;;AAEG;AACW,SAAUC,aAAaA,CAAC;EAAEC,MAAM;EAAEC,OAAO;AAAEC,EAAAA,IAAI,GAAGN;AAAW,CAAsB,EAAA;AAC/F,EAAA,MAAMO,WAAW,GAAGF,OAAO,iBAAIJ,GAAA,CAACO,WAAW,EAAA;IAACC,IAAI,EAAEC,IAAI,CAACC,KAAM;AAACC,IAAAA,OAAO,EAAEP;AAAQ,GAAA,CAAG;AAClF,EAAA,oBACEJ,GAAA,CAAA,KAAA,EAAA;AAAKY,IAAAA,SAAS,EAAC,iDAAiD;IAAAC,QAAA,eAC9Db,GAAA,CAACc,UAAU,EAAA;AACTF,MAAAA,SAAS,EAAC,kCAAkC;AAC5CG,MAAAA,WAAW,EAAEV,IAAK;AAClBW,MAAAA,YAAY,eACVC,IAAA,CAAA,KAAA,EAAA;QAAKL,SAAS,EAAEM,IAAI,CAAC,QAAQ,EAAE,oBAAoB,EAAE,SAAS,CAAE;AAAAL,QAAAA,QAAA,GAC7DV,MAAM,EACNA,MAAM,IAAIG,WAAW,iBAAIN,GAAA,CAAA,MAAA,EAAA;UAAMY,SAAS,EAAEM,IAAI,CAAC,OAAO;UAAK,EAC3DZ,WAAW;OACT;KACN;AAEL,GAAK,CAAC;AAEV;;;;"}
1
+ {"version":3,"file":"OverlayHeader.mjs","sources":["../../../src/_deprecated/OverlayHeader/OverlayHeader.tsx"],"sourcesContent":["import Logo from '../../Logo';\nimport FlowNavigation from '../../FlowNavigation';\n\n/**\n * @deprecated Use `FlowNavigation` component instead, with `steps={[]}`\n */\nexport interface OverlayHeaderProps {\n /** An Avatar */\n avatar?: React.ReactNode;\n logo?: React.ReactNode;\n /** Function called when the close is clicked */\n onClose?: React.MouseEventHandler<HTMLButtonElement>;\n}\n\nconst defaultLogo = <Logo />;\n\n/**\n * @deprecated Use `FlowNavigation` component instead\n */\nexport default function OverlayHeader({ avatar, onClose, logo = defaultLogo }: OverlayHeaderProps) {\n return <FlowNavigation {...{ avatar, onClose, logo }} />;\n}\n"],"names":["defaultLogo","_jsx","Logo","OverlayHeader","avatar","onClose","logo","FlowNavigation"],"mappings":";;;;AAcA,MAAMA,WAAW,gBAAGC,GAAA,CAACC,IAAI,KAAG;AAE5B;;AAEG;AACW,SAAUC,aAAaA,CAAC;EAAEC,MAAM;EAAEC,OAAO;AAAEC,EAAAA,IAAI,GAAGN;AAAW,CAAsB,EAAA;EAC/F,oBAAOC,GAAA,CAACM,cAAc,EAAA;IAAOH,MAAM;IAAEC,OAAO;AAAEC,IAAAA;AAAI,IAAM;AAC1D;;;;"}
@@ -12,6 +12,10 @@
12
12
  "neptune.DateLookup.goTo20YearView": "Přejít na zobrazení 20 let",
13
13
  "neptune.DateLookup.month": "měsíc",
14
14
  "neptune.DateLookup.next": "další",
15
+ "neptune.DateLookup.notAvailable": "není dostupné",
16
+ "neptune.DateLookup.outOfRangeAfter": "Zadejte {min} nebo pozdější datum.",
17
+ "neptune.DateLookup.outOfRangeBefore": "Zadejte {max} nebo dřívější datum.",
18
+ "neptune.DateLookup.outOfRangeBetween": "Vyberte datum mezi {min} a {max}.",
15
19
  "neptune.DateLookup.previous": "předchozí",
16
20
  "neptune.DateLookup.selected": "vybráno",
17
21
  "neptune.DateLookup.twentyYears": "20 let",
@@ -46,6 +50,7 @@
46
50
  "neptune.Table.loaded": "Data tabulky byla načtena",
47
51
  "neptune.Table.loading": "Data tabulky se načítají",
48
52
  "neptune.Table.refreshPage": "Aktualizovat stránku",
53
+ "neptune.Typeahead.suggestionsLabel": "Návrhy",
49
54
  "neptune.Upload.csButtonText": "Nahrát další soubor?",
50
55
  "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
51
56
  "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
@@ -16,6 +16,10 @@ var cs = {
16
16
  "neptune.DateLookup.goTo20YearView": "Přejít na zobrazení 20 let",
17
17
  "neptune.DateLookup.month": "měsíc",
18
18
  "neptune.DateLookup.next": "další",
19
+ "neptune.DateLookup.notAvailable": "není dostupné",
20
+ "neptune.DateLookup.outOfRangeAfter": "Zadejte {min} nebo pozdější datum.",
21
+ "neptune.DateLookup.outOfRangeBefore": "Zadejte {max} nebo dřívější datum.",
22
+ "neptune.DateLookup.outOfRangeBetween": "Vyberte datum mezi {min} a {max}.",
19
23
  "neptune.DateLookup.previous": "předchozí",
20
24
  "neptune.DateLookup.selected": "vybráno",
21
25
  "neptune.DateLookup.twentyYears": "20 let",
@@ -50,6 +54,7 @@ var cs = {
50
54
  "neptune.Table.loaded": "Data tabulky byla načtena",
51
55
  "neptune.Table.loading": "Data tabulky se načítají",
52
56
  "neptune.Table.refreshPage": "Aktualizovat stránku",
57
+ "neptune.Typeahead.suggestionsLabel": "Návrhy",
53
58
  "neptune.Upload.csButtonText": "Nahrát další soubor?",
54
59
  "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
55
60
  "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
@@ -1 +1 @@
1
- {"version":3,"file":"cs.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"cs.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -12,6 +12,10 @@ var cs = {
12
12
  "neptune.DateLookup.goTo20YearView": "Přejít na zobrazení 20 let",
13
13
  "neptune.DateLookup.month": "měsíc",
14
14
  "neptune.DateLookup.next": "další",
15
+ "neptune.DateLookup.notAvailable": "není dostupné",
16
+ "neptune.DateLookup.outOfRangeAfter": "Zadejte {min} nebo pozdější datum.",
17
+ "neptune.DateLookup.outOfRangeBefore": "Zadejte {max} nebo dřívější datum.",
18
+ "neptune.DateLookup.outOfRangeBetween": "Vyberte datum mezi {min} a {max}.",
15
19
  "neptune.DateLookup.previous": "předchozí",
16
20
  "neptune.DateLookup.selected": "vybráno",
17
21
  "neptune.DateLookup.twentyYears": "20 let",
@@ -46,6 +50,7 @@ var cs = {
46
50
  "neptune.Table.loaded": "Data tabulky byla načtena",
47
51
  "neptune.Table.loading": "Data tabulky se načítají",
48
52
  "neptune.Table.refreshPage": "Aktualizovat stránku",
53
+ "neptune.Typeahead.suggestionsLabel": "Návrhy",
49
54
  "neptune.Upload.csButtonText": "Nahrát další soubor?",
50
55
  "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
51
56
  "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
@@ -1 +1 @@
1
- {"version":3,"file":"cs.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"cs.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -12,6 +12,10 @@
12
12
  "neptune.DateLookup.goTo20YearView": "Zur 20-Jahres-Ansicht",
13
13
  "neptune.DateLookup.month": "Monat",
14
14
  "neptune.DateLookup.next": "weiter",
15
+ "neptune.DateLookup.notAvailable": "nicht verfügbar",
16
+ "neptune.DateLookup.outOfRangeAfter": "Gib bitte den {min} oder ein späteres Datum ein.",
17
+ "neptune.DateLookup.outOfRangeBefore": "Gib bitte den {max} oder ein früheres Datum ein.",
18
+ "neptune.DateLookup.outOfRangeBetween": "Wähle bitte ein Datum zwischen dem {min} und dem {max}.",
15
19
  "neptune.DateLookup.previous": "zurück",
16
20
  "neptune.DateLookup.selected": "ausgewählt",
17
21
  "neptune.DateLookup.twentyYears": "20 Jahre",
@@ -46,6 +50,7 @@
46
50
  "neptune.Table.loaded": "Tabellendaten wurden geladen",
47
51
  "neptune.Table.loading": "Tabellendaten werden geladen",
48
52
  "neptune.Table.refreshPage": "Seite aktualisieren",
53
+ "neptune.Typeahead.suggestionsLabel": "Vorschläge",
49
54
  "neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
50
55
  "neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
51
56
  "neptune.Upload.csSuccessText": "Fertig hochgeladen!",
@@ -16,6 +16,10 @@ var de = {
16
16
  "neptune.DateLookup.goTo20YearView": "Zur 20-Jahres-Ansicht",
17
17
  "neptune.DateLookup.month": "Monat",
18
18
  "neptune.DateLookup.next": "weiter",
19
+ "neptune.DateLookup.notAvailable": "nicht verfügbar",
20
+ "neptune.DateLookup.outOfRangeAfter": "Gib bitte den {min} oder ein späteres Datum ein.",
21
+ "neptune.DateLookup.outOfRangeBefore": "Gib bitte den {max} oder ein früheres Datum ein.",
22
+ "neptune.DateLookup.outOfRangeBetween": "Wähle bitte ein Datum zwischen dem {min} und dem {max}.",
19
23
  "neptune.DateLookup.previous": "zurück",
20
24
  "neptune.DateLookup.selected": "ausgewählt",
21
25
  "neptune.DateLookup.twentyYears": "20 Jahre",
@@ -50,6 +54,7 @@ var de = {
50
54
  "neptune.Table.loaded": "Tabellendaten wurden geladen",
51
55
  "neptune.Table.loading": "Tabellendaten werden geladen",
52
56
  "neptune.Table.refreshPage": "Seite aktualisieren",
57
+ "neptune.Typeahead.suggestionsLabel": "Vorschläge",
53
58
  "neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
54
59
  "neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
55
60
  "neptune.Upload.csSuccessText": "Fertig hochgeladen!",
@@ -1 +1 @@
1
- {"version":3,"file":"de.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"de.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -12,6 +12,10 @@ var de = {
12
12
  "neptune.DateLookup.goTo20YearView": "Zur 20-Jahres-Ansicht",
13
13
  "neptune.DateLookup.month": "Monat",
14
14
  "neptune.DateLookup.next": "weiter",
15
+ "neptune.DateLookup.notAvailable": "nicht verfügbar",
16
+ "neptune.DateLookup.outOfRangeAfter": "Gib bitte den {min} oder ein späteres Datum ein.",
17
+ "neptune.DateLookup.outOfRangeBefore": "Gib bitte den {max} oder ein früheres Datum ein.",
18
+ "neptune.DateLookup.outOfRangeBetween": "Wähle bitte ein Datum zwischen dem {min} und dem {max}.",
15
19
  "neptune.DateLookup.previous": "zurück",
16
20
  "neptune.DateLookup.selected": "ausgewählt",
17
21
  "neptune.DateLookup.twentyYears": "20 Jahre",
@@ -46,6 +50,7 @@ var de = {
46
50
  "neptune.Table.loaded": "Tabellendaten wurden geladen",
47
51
  "neptune.Table.loading": "Tabellendaten werden geladen",
48
52
  "neptune.Table.refreshPage": "Seite aktualisieren",
53
+ "neptune.Typeahead.suggestionsLabel": "Vorschläge",
49
54
  "neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
50
55
  "neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
51
56
  "neptune.Upload.csSuccessText": "Fertig hochgeladen!",
@@ -1 +1 @@
1
- {"version":3,"file":"de.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"de.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -12,6 +12,10 @@
12
12
  "neptune.DateLookup.goTo20YearView": "Ir a vista de 20 años",
13
13
  "neptune.DateLookup.month": "mes",
14
14
  "neptune.DateLookup.next": "siguiente",
15
+ "neptune.DateLookup.notAvailable": "no disponible",
16
+ "neptune.DateLookup.outOfRangeAfter": "Introduce {min} o una fecha posterior.",
17
+ "neptune.DateLookup.outOfRangeBefore": "Introduce {max} o una fecha anterior.",
18
+ "neptune.DateLookup.outOfRangeBetween": "Selecciona una fecha entre {min} y {max}.",
15
19
  "neptune.DateLookup.previous": "anterior",
16
20
  "neptune.DateLookup.selected": "seleccionado",
17
21
  "neptune.DateLookup.twentyYears": "20 años",
@@ -46,6 +50,7 @@
46
50
  "neptune.Table.loaded": "Los datos de la tabla se han cargado",
47
51
  "neptune.Table.loading": "Los datos de la tabla se están cargando",
48
52
  "neptune.Table.refreshPage": "Actualizar página",
53
+ "neptune.Typeahead.suggestionsLabel": "Sugerencias",
49
54
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
50
55
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
51
56
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
@@ -16,6 +16,10 @@ var es = {
16
16
  "neptune.DateLookup.goTo20YearView": "Ir a vista de 20 años",
17
17
  "neptune.DateLookup.month": "mes",
18
18
  "neptune.DateLookup.next": "siguiente",
19
+ "neptune.DateLookup.notAvailable": "no disponible",
20
+ "neptune.DateLookup.outOfRangeAfter": "Introduce {min} o una fecha posterior.",
21
+ "neptune.DateLookup.outOfRangeBefore": "Introduce {max} o una fecha anterior.",
22
+ "neptune.DateLookup.outOfRangeBetween": "Selecciona una fecha entre {min} y {max}.",
19
23
  "neptune.DateLookup.previous": "anterior",
20
24
  "neptune.DateLookup.selected": "seleccionado",
21
25
  "neptune.DateLookup.twentyYears": "20 años",
@@ -50,6 +54,7 @@ var es = {
50
54
  "neptune.Table.loaded": "Los datos de la tabla se han cargado",
51
55
  "neptune.Table.loading": "Los datos de la tabla se están cargando",
52
56
  "neptune.Table.refreshPage": "Actualizar página",
57
+ "neptune.Typeahead.suggestionsLabel": "Sugerencias",
53
58
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
54
59
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
55
60
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
@@ -1 +1 @@
1
- {"version":3,"file":"es.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"es.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -12,6 +12,10 @@ var es = {
12
12
  "neptune.DateLookup.goTo20YearView": "Ir a vista de 20 años",
13
13
  "neptune.DateLookup.month": "mes",
14
14
  "neptune.DateLookup.next": "siguiente",
15
+ "neptune.DateLookup.notAvailable": "no disponible",
16
+ "neptune.DateLookup.outOfRangeAfter": "Introduce {min} o una fecha posterior.",
17
+ "neptune.DateLookup.outOfRangeBefore": "Introduce {max} o una fecha anterior.",
18
+ "neptune.DateLookup.outOfRangeBetween": "Selecciona una fecha entre {min} y {max}.",
15
19
  "neptune.DateLookup.previous": "anterior",
16
20
  "neptune.DateLookup.selected": "seleccionado",
17
21
  "neptune.DateLookup.twentyYears": "20 años",
@@ -46,6 +50,7 @@ var es = {
46
50
  "neptune.Table.loaded": "Los datos de la tabla se han cargado",
47
51
  "neptune.Table.loading": "Los datos de la tabla se están cargando",
48
52
  "neptune.Table.refreshPage": "Actualizar página",
53
+ "neptune.Typeahead.suggestionsLabel": "Sugerencias",
49
54
  "neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
50
55
  "neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
51
56
  "neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
@@ -1 +1 @@
1
- {"version":3,"file":"es.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"es.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -12,6 +12,10 @@
12
12
  "neptune.DateLookup.goTo20YearView": "Accéder à la vue sur 20 ans",
13
13
  "neptune.DateLookup.month": "mois",
14
14
  "neptune.DateLookup.next": "suivant",
15
+ "neptune.DateLookup.notAvailable": "indisponible",
16
+ "neptune.DateLookup.outOfRangeAfter": "Veuillez saisir {min} ou une date antérieure.",
17
+ "neptune.DateLookup.outOfRangeBefore": "Veuillez saisir {max} ou une date antérieure.",
18
+ "neptune.DateLookup.outOfRangeBetween": "Veuillez sélectionner une date entre {min} et {max}.",
15
19
  "neptune.DateLookup.previous": "précédent",
16
20
  "neptune.DateLookup.selected": "sélectionnée",
17
21
  "neptune.DateLookup.twentyYears": "20 ans",
@@ -46,6 +50,7 @@
46
50
  "neptune.Table.loaded": "Les données du tableau ont été chargées",
47
51
  "neptune.Table.loading": "Chargement des données du tableau",
48
52
  "neptune.Table.refreshPage": "Rafraichir la page",
53
+ "neptune.Typeahead.suggestionsLabel": "Suggestions",
49
54
  "neptune.Upload.csButtonText": "Envoyer un autre fichier ?",
50
55
  "neptune.Upload.csFailureText": "Échec du téléchargement. Veuillez réessayer",
51
56
  "neptune.Upload.csSuccessText": "Téléchargement terminé !",
@@ -16,6 +16,10 @@ var fr = {
16
16
  "neptune.DateLookup.goTo20YearView": "Accéder à la vue sur 20 ans",
17
17
  "neptune.DateLookup.month": "mois",
18
18
  "neptune.DateLookup.next": "suivant",
19
+ "neptune.DateLookup.notAvailable": "indisponible",
20
+ "neptune.DateLookup.outOfRangeAfter": "Veuillez saisir {min} ou une date antérieure.",
21
+ "neptune.DateLookup.outOfRangeBefore": "Veuillez saisir {max} ou une date antérieure.",
22
+ "neptune.DateLookup.outOfRangeBetween": "Veuillez sélectionner une date entre {min} et {max}.",
19
23
  "neptune.DateLookup.previous": "précédent",
20
24
  "neptune.DateLookup.selected": "sélectionnée",
21
25
  "neptune.DateLookup.twentyYears": "20 ans",
@@ -50,6 +54,7 @@ var fr = {
50
54
  "neptune.Table.loaded": "Les données du tableau ont été chargées",
51
55
  "neptune.Table.loading": "Chargement des données du tableau",
52
56
  "neptune.Table.refreshPage": "Rafraichir la page",
57
+ "neptune.Typeahead.suggestionsLabel": "Suggestions",
53
58
  "neptune.Upload.csButtonText": "Envoyer un autre fichier ?",
54
59
  "neptune.Upload.csFailureText": "Échec du téléchargement. Veuillez réessayer",
55
60
  "neptune.Upload.csSuccessText": "Téléchargement terminé !",
@@ -1 +1 @@
1
- {"version":3,"file":"fr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"fr.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -12,6 +12,10 @@ var fr = {
12
12
  "neptune.DateLookup.goTo20YearView": "Accéder à la vue sur 20 ans",
13
13
  "neptune.DateLookup.month": "mois",
14
14
  "neptune.DateLookup.next": "suivant",
15
+ "neptune.DateLookup.notAvailable": "indisponible",
16
+ "neptune.DateLookup.outOfRangeAfter": "Veuillez saisir {min} ou une date antérieure.",
17
+ "neptune.DateLookup.outOfRangeBefore": "Veuillez saisir {max} ou une date antérieure.",
18
+ "neptune.DateLookup.outOfRangeBetween": "Veuillez sélectionner une date entre {min} et {max}.",
15
19
  "neptune.DateLookup.previous": "précédent",
16
20
  "neptune.DateLookup.selected": "sélectionnée",
17
21
  "neptune.DateLookup.twentyYears": "20 ans",
@@ -46,6 +50,7 @@ var fr = {
46
50
  "neptune.Table.loaded": "Les données du tableau ont été chargées",
47
51
  "neptune.Table.loading": "Chargement des données du tableau",
48
52
  "neptune.Table.refreshPage": "Rafraichir la page",
53
+ "neptune.Typeahead.suggestionsLabel": "Suggestions",
49
54
  "neptune.Upload.csButtonText": "Envoyer un autre fichier ?",
50
55
  "neptune.Upload.csFailureText": "Échec du téléchargement. Veuillez réessayer",
51
56
  "neptune.Upload.csSuccessText": "Téléchargement terminé !",
@@ -1 +1 @@
1
- {"version":3,"file":"fr.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"fr.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}