@transferwise/components 46.94.1 → 46.95.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 (475) hide show
  1. package/build/accordion/Accordion.js +4 -2
  2. package/build/accordion/Accordion.js.map +1 -1
  3. package/build/accordion/AccordionItem/AccordionItem.js +6 -4
  4. package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
  5. package/build/actionButton/ActionButton.js +3 -1
  6. package/build/actionButton/ActionButton.js.map +1 -1
  7. package/build/actionOption/ActionOption.js +5 -3
  8. package/build/actionOption/ActionOption.js.map +1 -1
  9. package/build/alert/Alert.js +4 -4
  10. package/build/alert/Alert.js.map +1 -1
  11. package/build/alert/inlineMarkdown/InlineMarkdown.js +4 -2
  12. package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
  13. package/build/avatar/Avatar.js +3 -1
  14. package/build/avatar/Avatar.js.map +1 -1
  15. package/build/avatarLayout/AvatarLayout.js +5 -3
  16. package/build/avatarLayout/AvatarLayout.js.map +1 -1
  17. package/build/avatarView/AvatarView.js +9 -7
  18. package/build/avatarView/AvatarView.js.map +1 -1
  19. package/build/avatarView/NotificationDot.js +3 -1
  20. package/build/avatarView/NotificationDot.js.map +1 -1
  21. package/build/avatarWrapper/AvatarWrapper.js +8 -6
  22. package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
  23. package/build/avatarWrapper/AvatarWrapper.mjs +1 -1
  24. package/build/avatarWrapper/index.js +3 -1
  25. package/build/avatarWrapper/index.js.map +1 -1
  26. package/build/badge/Badge.js +3 -1
  27. package/build/badge/Badge.js.map +1 -1
  28. package/build/badge/Badge.mjs.map +1 -1
  29. package/build/badge/BadgeAssets.js +9 -7
  30. package/build/badge/BadgeAssets.js.map +1 -1
  31. package/build/badge/BadgeAssets.mjs +2 -2
  32. package/build/badge/BadgeAssets.mjs.map +1 -1
  33. package/build/body/Body.js +3 -1
  34. package/build/body/Body.js.map +1 -1
  35. package/build/button/Button.js +8 -6
  36. package/build/button/Button.js.map +1 -1
  37. package/build/button/Button.resolver.js +5 -3
  38. package/build/button/Button.resolver.js.map +1 -1
  39. package/build/button/LegacyButton.js +5 -3
  40. package/build/button/LegacyButton.js.map +1 -1
  41. package/build/card/Card.js +6 -4
  42. package/build/card/Card.js.map +1 -1
  43. package/build/carousel/Carousel.js +7 -5
  44. package/build/carousel/Carousel.js.map +1 -1
  45. package/build/checkbox/Checkbox.js +6 -4
  46. package/build/checkbox/Checkbox.js.map +1 -1
  47. package/build/checkboxButton/CheckboxButton.js +3 -1
  48. package/build/checkboxButton/CheckboxButton.js.map +1 -1
  49. package/build/checkboxOption/CheckboxOption.js +5 -3
  50. package/build/checkboxOption/CheckboxOption.js.map +1 -1
  51. package/build/chevron/Chevron.js +3 -1
  52. package/build/chevron/Chevron.js.map +1 -1
  53. package/build/chips/Chip.js +4 -2
  54. package/build/chips/Chip.js.map +1 -1
  55. package/build/chips/Chips.js +5 -3
  56. package/build/chips/Chips.js.map +1 -1
  57. package/build/chips/Chips.messages.js +3 -1
  58. package/build/chips/Chips.messages.js.map +1 -1
  59. package/build/circularButton/CircularButton.js +5 -3
  60. package/build/circularButton/CircularButton.js.map +1 -1
  61. package/build/common/Option/Option.js +7 -5
  62. package/build/common/Option/Option.js.map +1 -1
  63. package/build/common/Option/Option.mjs +2 -2
  64. package/build/common/Option/Option.mjs.map +1 -1
  65. package/build/common/RadioButton/RadioButton.js +3 -1
  66. package/build/common/RadioButton/RadioButton.js.map +1 -1
  67. package/build/common/action/Action.js +2 -2
  68. package/build/common/action/Action.js.map +1 -1
  69. package/build/common/bottomSheet/BottomSheet.js +4 -2
  70. package/build/common/bottomSheet/BottomSheet.js.map +1 -1
  71. package/build/common/card/Card.js +3 -1
  72. package/build/common/card/Card.js.map +1 -1
  73. package/build/common/circle/Circle.js +3 -1
  74. package/build/common/circle/Circle.js.map +1 -1
  75. package/build/common/closeButton/CloseButton.js +1 -1
  76. package/build/common/closeButton/CloseButton.js.map +1 -1
  77. package/build/common/closeButton/CloseButton.messages.js +3 -1
  78. package/build/common/closeButton/CloseButton.messages.js.map +1 -1
  79. package/build/common/flowHeader/FlowHeader.js +3 -1
  80. package/build/common/flowHeader/FlowHeader.js.map +1 -1
  81. package/build/common/focusBoundary/FocusBoundary.js +3 -1
  82. package/build/common/focusBoundary/FocusBoundary.js.map +1 -1
  83. package/build/common/historyNavigator/historyNavigator.js +3 -1
  84. package/build/common/historyNavigator/historyNavigator.js.map +1 -1
  85. package/build/common/locale/index.js +0 -24
  86. package/build/common/locale/index.js.map +1 -1
  87. package/build/common/locale/index.mjs +0 -24
  88. package/build/common/locale/index.mjs.map +1 -1
  89. package/build/common/panel/Panel.js +3 -1
  90. package/build/common/panel/Panel.js.map +1 -1
  91. package/build/common/responsivePanel/ResponsivePanel.js +5 -3
  92. package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
  93. package/build/common/textFormat/formatWithPattern/formatWithPattern.js +4 -2
  94. package/build/common/textFormat/formatWithPattern/formatWithPattern.js.map +1 -1
  95. package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js +4 -2
  96. package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js.map +1 -1
  97. package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js +4 -2
  98. package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js.map +1 -1
  99. package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js +2 -2
  100. package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js.map +1 -1
  101. package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js +3 -1
  102. package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js.map +1 -1
  103. package/build/common/textFormat/unformatWithPattern/unformatWithPattern.js +3 -1
  104. package/build/common/textFormat/unformatWithPattern/unformatWithPattern.js.map +1 -1
  105. package/build/criticalBanner/CriticalCommsBanner.js +3 -1
  106. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  107. package/build/dateInput/DateInput.js +15 -13
  108. package/build/dateInput/DateInput.js.map +1 -1
  109. package/build/dateInput/DateInput.messages.js +3 -1
  110. package/build/dateInput/DateInput.messages.js.map +1 -1
  111. package/build/dateInput/DateInput.mjs +3 -3
  112. package/build/dateInput/DateInput.mjs.map +1 -1
  113. package/build/dateLookup/DateLookup.js +8 -6
  114. package/build/dateLookup/DateLookup.js.map +1 -1
  115. package/build/dateLookup/DateLookup.messages.js +3 -1
  116. package/build/dateLookup/DateLookup.messages.js.map +1 -1
  117. package/build/dateLookup/dateHeader/DateHeader.js +33 -26
  118. package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
  119. package/build/dateLookup/dateHeader/DateHeader.mjs +27 -22
  120. package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
  121. package/build/dateLookup/dateTrigger/DateTrigger.js +8 -6
  122. package/build/dateLookup/dateTrigger/DateTrigger.js.map +1 -1
  123. package/build/dateLookup/dateTrigger/DateTrigger.messages.js +4 -2
  124. package/build/dateLookup/dateTrigger/DateTrigger.messages.js.map +1 -1
  125. package/build/dateLookup/dateTrigger/DateTrigger.messages.mjs +2 -2
  126. package/build/dateLookup/dateTrigger/DateTrigger.messages.mjs.map +1 -1
  127. package/build/dateLookup/dateTrigger/DateTrigger.mjs +2 -2
  128. package/build/dateLookup/dateTrigger/DateTrigger.mjs.map +1 -1
  129. package/build/dateLookup/dayCalendar/DayCalendar.js +6 -4
  130. package/build/dateLookup/dayCalendar/DayCalendar.js.map +1 -1
  131. package/build/dateLookup/dayCalendar/table/DayCalendarTable.js +4 -2
  132. package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
  133. package/build/dateLookup/monthCalendar/MonthCalendar.js +6 -4
  134. package/build/dateLookup/monthCalendar/MonthCalendar.js.map +1 -1
  135. package/build/dateLookup/monthCalendar/table/MonthCalendarTable.js +4 -2
  136. package/build/dateLookup/monthCalendar/table/MonthCalendarTable.js.map +1 -1
  137. package/build/dateLookup/tableLink/TableLink.js +4 -2
  138. package/build/dateLookup/tableLink/TableLink.js.map +1 -1
  139. package/build/dateLookup/yearCalendar/YearCalendar.js +6 -4
  140. package/build/dateLookup/yearCalendar/YearCalendar.js.map +1 -1
  141. package/build/dateLookup/yearCalendar/table/YearCalendarTable.js +4 -2
  142. package/build/dateLookup/yearCalendar/table/YearCalendarTable.js.map +1 -1
  143. package/build/decision/Decision.js +2 -2
  144. package/build/decision/Decision.js.map +1 -1
  145. package/build/definitionList/DefinitionList.js +4 -2
  146. package/build/definitionList/DefinitionList.js.map +1 -1
  147. package/build/dimmer/Dimmer.js +3 -3
  148. package/build/dimmer/Dimmer.js.map +1 -1
  149. package/build/dimmer/dimmerManager/DimmerManager.js +3 -1
  150. package/build/dimmer/dimmerManager/DimmerManager.js.map +1 -1
  151. package/build/display/Display.js +3 -1
  152. package/build/display/Display.js.map +1 -1
  153. package/build/divider/Divider.js +35 -0
  154. package/build/divider/Divider.js.map +1 -0
  155. package/build/divider/Divider.mjs +31 -0
  156. package/build/divider/Divider.mjs.map +1 -0
  157. package/build/drawer/Drawer.js +4 -2
  158. package/build/drawer/Drawer.js.map +1 -1
  159. package/build/dropFade/DropFade.js +3 -1
  160. package/build/dropFade/DropFade.js.map +1 -1
  161. package/build/emphasis/Emphasis.js +4 -2
  162. package/build/emphasis/Emphasis.js.map +1 -1
  163. package/build/emphasis/EmphasisHtmlTransformer.js +3 -1
  164. package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
  165. package/build/field/Field.js +1 -1
  166. package/build/field/Field.js.map +1 -1
  167. package/build/flowNavigation/FlowNavigation.js +8 -6
  168. package/build/flowNavigation/FlowNavigation.js.map +1 -1
  169. package/build/flowNavigation/FlowNavigation.messages.js +3 -1
  170. package/build/flowNavigation/FlowNavigation.messages.js.map +1 -1
  171. package/build/flowNavigation/animatedLabel/AnimatedLabel.js +5 -3
  172. package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
  173. package/build/header/Header.js +4 -4
  174. package/build/header/Header.js.map +1 -1
  175. package/build/i18n/commonMessages/Button.messages.js +3 -1
  176. package/build/i18n/commonMessages/Button.messages.js.map +1 -1
  177. package/build/i18n/cs.json +22 -5
  178. package/build/i18n/cs.json.js +25 -6
  179. package/build/i18n/cs.json.js.map +1 -1
  180. package/build/i18n/cs.json.mjs +22 -5
  181. package/build/i18n/cs.json.mjs.map +1 -1
  182. package/build/i18n/de.json.js +3 -1
  183. package/build/i18n/de.json.js.map +1 -1
  184. package/build/i18n/en.json.js +3 -1
  185. package/build/i18n/en.json.js.map +1 -1
  186. package/build/i18n/es.json.js +3 -1
  187. package/build/i18n/es.json.js.map +1 -1
  188. package/build/i18n/fr.json.js +3 -1
  189. package/build/i18n/fr.json.js.map +1 -1
  190. package/build/i18n/hu.json.js +3 -1
  191. package/build/i18n/hu.json.js.map +1 -1
  192. package/build/i18n/id.json.js +3 -1
  193. package/build/i18n/id.json.js.map +1 -1
  194. package/build/i18n/index.js +22 -20
  195. package/build/i18n/index.js.map +1 -1
  196. package/build/i18n/it.json.js +3 -1
  197. package/build/i18n/it.json.js.map +1 -1
  198. package/build/i18n/ja.json.js +3 -1
  199. package/build/i18n/ja.json.js.map +1 -1
  200. package/build/i18n/nl.json +73 -0
  201. package/build/i18n/pl.json.js +3 -1
  202. package/build/i18n/pl.json.js.map +1 -1
  203. package/build/i18n/pt.json.js +3 -1
  204. package/build/i18n/pt.json.js.map +1 -1
  205. package/build/i18n/ro.json.js +3 -1
  206. package/build/i18n/ro.json.js.map +1 -1
  207. package/build/i18n/ru.json.js +3 -1
  208. package/build/i18n/ru.json.js.map +1 -1
  209. package/build/i18n/th.json.js +3 -1
  210. package/build/i18n/th.json.js.map +1 -1
  211. package/build/i18n/tr.json.js +3 -1
  212. package/build/i18n/tr.json.js.map +1 -1
  213. package/build/i18n/uk.json.js +3 -1
  214. package/build/i18n/uk.json.js.map +1 -1
  215. package/build/i18n/zh-CN.json.js +3 -1
  216. package/build/i18n/zh-CN.json.js.map +1 -1
  217. package/build/i18n/zh-HK.json.js +3 -1
  218. package/build/i18n/zh-HK.json.js.map +1 -1
  219. package/build/iconButton/IconButton.js +5 -3
  220. package/build/iconButton/IconButton.js.map +1 -1
  221. package/build/index.js +84 -82
  222. package/build/index.js.map +1 -1
  223. package/build/index.mjs +3 -2
  224. package/build/index.mjs.map +1 -1
  225. package/build/info/Info.js +8 -6
  226. package/build/info/Info.js.map +1 -1
  227. package/build/info/Info.messages.js +3 -1
  228. package/build/info/Info.messages.js.map +1 -1
  229. package/build/inlineAlert/InlineAlert.js +5 -3
  230. package/build/inlineAlert/InlineAlert.js.map +1 -1
  231. package/build/inputWithDisplayFormat/InputWithDisplayFormat.js +4 -2
  232. package/build/inputWithDisplayFormat/InputWithDisplayFormat.js.map +1 -1
  233. package/build/inputs/SelectInput.js +3 -3
  234. package/build/inputs/SelectInput.js.map +1 -1
  235. package/build/inputs/SelectInput.messages.js +3 -1
  236. package/build/inputs/SelectInput.messages.js.map +1 -1
  237. package/build/inputs/SelectInput.mjs +2 -2
  238. package/build/inputs/SelectInput.mjs.map +1 -1
  239. package/build/instructionsList/InstructionsList.js +4 -2
  240. package/build/instructionsList/InstructionsList.js.map +1 -1
  241. package/build/label/Label.js +3 -3
  242. package/build/label/Label.js.map +1 -1
  243. package/build/label/Label.messages.js +3 -1
  244. package/build/label/Label.messages.js.map +1 -1
  245. package/build/link/Link.js +5 -3
  246. package/build/link/Link.js.map +1 -1
  247. package/build/link/Link.messages.js +3 -1
  248. package/build/link/Link.messages.js.map +1 -1
  249. package/build/listItem/ListItem.js +5 -3
  250. package/build/listItem/ListItem.js.map +1 -1
  251. package/build/loader/Loader.js +3 -1
  252. package/build/loader/Loader.js.map +1 -1
  253. package/build/main.css +27 -8
  254. package/build/markdown/Markdown.js +3 -1
  255. package/build/markdown/Markdown.js.map +1 -1
  256. package/build/modal/Modal.js +5 -3
  257. package/build/modal/Modal.js.map +1 -1
  258. package/build/money/Money.js +3 -1
  259. package/build/money/Money.js.map +1 -1
  260. package/build/moneyInput/MoneyInput.js +7 -5
  261. package/build/moneyInput/MoneyInput.js.map +1 -1
  262. package/build/moneyInput/MoneyInput.messages.js +3 -1
  263. package/build/moneyInput/MoneyInput.messages.js.map +1 -1
  264. package/build/navigationOption/NavigationOption.js +5 -3
  265. package/build/navigationOption/NavigationOption.js.map +1 -1
  266. package/build/navigationOptionsList/NavigationOptionsList.js +3 -1
  267. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  268. package/build/nudge/Nudge.js +2 -2
  269. package/build/nudge/Nudge.js.map +1 -1
  270. package/build/overlayHeader/OverlayHeader.js +4 -2
  271. package/build/overlayHeader/OverlayHeader.js.map +1 -1
  272. package/build/phoneNumberInput/PhoneNumberInput.js +5 -3
  273. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  274. package/build/phoneNumberInput/PhoneNumberInput.messages.js +3 -1
  275. package/build/phoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
  276. package/build/phoneNumberInput/data/countries.js +3 -1
  277. package/build/phoneNumberInput/data/countries.js.map +1 -1
  278. package/build/phoneNumberInput/utils/findCountryByCode/index.js +1 -1
  279. package/build/phoneNumberInput/utils/findCountryByCode/index.js.map +1 -1
  280. package/build/phoneNumberInput/utils/findCountryByPrefix/index.js +1 -1
  281. package/build/phoneNumberInput/utils/findCountryByPrefix/index.js.map +1 -1
  282. package/build/popover/Popover.js +5 -3
  283. package/build/popover/Popover.js.map +1 -1
  284. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js +3 -1
  285. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
  286. package/build/primitives/PrimitiveButton/PrimitiveButton.js +4 -2
  287. package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
  288. package/build/processIndicator/ProcessIndicator.js +3 -1
  289. package/build/processIndicator/ProcessIndicator.js.map +1 -1
  290. package/build/progress/Progress.js +3 -1
  291. package/build/progress/Progress.js.map +1 -1
  292. package/build/progressBar/ProgressBar.js +7 -5
  293. package/build/progressBar/ProgressBar.js.map +1 -1
  294. package/build/promoCard/PromoCard.js +8 -6
  295. package/build/promoCard/PromoCard.js.map +1 -1
  296. package/build/promoCard/PromoCardGroup.js +3 -1
  297. package/build/promoCard/PromoCardGroup.js.map +1 -1
  298. package/build/promoCard/PromoCardIndicator.js +5 -3
  299. package/build/promoCard/PromoCardIndicator.js.map +1 -1
  300. package/build/provider/Provider.js +4 -2
  301. package/build/provider/Provider.js.map +1 -1
  302. package/build/radio/Radio.js +6 -4
  303. package/build/radio/Radio.js.map +1 -1
  304. package/build/radioGroup/RadioGroup.js +4 -2
  305. package/build/radioGroup/RadioGroup.js.map +1 -1
  306. package/build/radioOption/RadioOption.js +5 -3
  307. package/build/radioOption/RadioOption.js.map +1 -1
  308. package/build/section/Section.js +3 -1
  309. package/build/section/Section.js.map +1 -1
  310. package/build/segmentedControl/SegmentedControl.js +5 -3
  311. package/build/segmentedControl/SegmentedControl.js.map +1 -1
  312. package/build/select/Select.js +13 -11
  313. package/build/select/Select.js.map +1 -1
  314. package/build/select/Select.messages.js +3 -1
  315. package/build/select/Select.messages.js.map +1 -1
  316. package/build/select/option/Option.js +6 -4
  317. package/build/select/option/Option.js.map +1 -1
  318. package/build/select/option/index.js +3 -1
  319. package/build/select/option/index.js.map +1 -1
  320. package/build/select/searchBox/SearchBox.js +3 -1
  321. package/build/select/searchBox/SearchBox.js.map +1 -1
  322. package/build/selectOption/SelectOption.js +10 -8
  323. package/build/selectOption/SelectOption.js.map +1 -1
  324. package/build/selectOption/SelectOption.messages.js +3 -1
  325. package/build/selectOption/SelectOption.messages.js.map +1 -1
  326. package/build/snackbar/Snackbar.js +3 -3
  327. package/build/snackbar/Snackbar.js.map +1 -1
  328. package/build/snackbar/SnackbarProvider.js +3 -1
  329. package/build/snackbar/SnackbarProvider.js.map +1 -1
  330. package/build/snackbar/useSnackbar.js +3 -1
  331. package/build/snackbar/useSnackbar.js.map +1 -1
  332. package/build/statusIcon/StatusIcon.js +12 -10
  333. package/build/statusIcon/StatusIcon.js.map +1 -1
  334. package/build/statusIcon/StatusIcon.messages.js +3 -1
  335. package/build/statusIcon/StatusIcon.messages.js.map +1 -1
  336. package/build/stepper/Stepper.js +4 -2
  337. package/build/stepper/Stepper.js.map +1 -1
  338. package/build/sticky/Sticky.js +3 -1
  339. package/build/sticky/Sticky.js.map +1 -1
  340. package/build/styles/button/Button.css +2 -2
  341. package/build/styles/common/Option/Option.css +1 -1
  342. package/build/styles/dateLookup/DateLookup.css +0 -5
  343. package/build/styles/divider/Divider.css +24 -0
  344. package/build/styles/main.css +27 -8
  345. package/build/summary/Summary.js +9 -7
  346. package/build/summary/Summary.js.map +1 -1
  347. package/build/summary/Summary.messages.js +3 -1
  348. package/build/summary/Summary.messages.js.map +1 -1
  349. package/build/switch/Switch.js +3 -1
  350. package/build/switch/Switch.js.map +1 -1
  351. package/build/switchOption/SwitchOption.js +5 -3
  352. package/build/switchOption/SwitchOption.js.map +1 -1
  353. package/build/table/Table.js +16 -14
  354. package/build/table/Table.js.map +1 -1
  355. package/build/table/Table.messages.js +3 -1
  356. package/build/table/Table.messages.js.map +1 -1
  357. package/build/table/TableCell.js +9 -7
  358. package/build/table/TableCell.js.map +1 -1
  359. package/build/table/TableHeader.js +6 -4
  360. package/build/table/TableHeader.js.map +1 -1
  361. package/build/table/TableRow.js +6 -4
  362. package/build/table/TableRow.js.map +1 -1
  363. package/build/table/TableStatusText.js +4 -2
  364. package/build/table/TableStatusText.js.map +1 -1
  365. package/build/tabs/Tab.js +3 -1
  366. package/build/tabs/Tab.js.map +1 -1
  367. package/build/tabs/TabList.js +3 -1
  368. package/build/tabs/TabList.js.map +1 -1
  369. package/build/tabs/TabPanel.js +3 -1
  370. package/build/tabs/TabPanel.js.map +1 -1
  371. package/build/tabs/Tabs.js +6 -4
  372. package/build/tabs/Tabs.js.map +1 -1
  373. package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js +4 -2
  374. package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js.map +1 -1
  375. package/build/tile/Tile.js +5 -3
  376. package/build/tile/Tile.js.map +1 -1
  377. package/build/title/Title.js +3 -1
  378. package/build/title/Title.js.map +1 -1
  379. package/build/tooltip/Tooltip.js +3 -1
  380. package/build/tooltip/Tooltip.js.map +1 -1
  381. package/build/typeahead/Typeahead.js +8 -6
  382. package/build/typeahead/Typeahead.js.map +1 -1
  383. package/build/typeahead/Typeahead.messages.js +3 -1
  384. package/build/typeahead/Typeahead.messages.js.map +1 -1
  385. package/build/typeahead/typeaheadInput/TypeaheadInput.js +3 -1
  386. package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
  387. package/build/typeahead/typeaheadOption/TypeaheadOption.js +5 -3
  388. package/build/typeahead/typeaheadOption/TypeaheadOption.js.map +1 -1
  389. package/build/typeahead/util/highlight.js +3 -1
  390. package/build/typeahead/util/highlight.js.map +1 -1
  391. package/build/types/badge/Badge.d.ts +1 -1
  392. package/build/types/badge/Badge.d.ts.map +1 -1
  393. package/build/types/badge/BadgeAssets.d.ts.map +1 -1
  394. package/build/types/common/locale/index.d.ts +1 -1
  395. package/build/types/common/locale/index.d.ts.map +1 -1
  396. package/build/types/dateInput/DateInput.d.ts +1 -1
  397. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  398. package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -1
  399. package/build/types/divider/Divider.d.ts +29 -0
  400. package/build/types/divider/Divider.d.ts.map +1 -0
  401. package/build/types/divider/index.d.ts +3 -0
  402. package/build/types/divider/index.d.ts.map +1 -0
  403. package/build/types/index.d.ts +2 -0
  404. package/build/types/index.d.ts.map +1 -1
  405. package/build/types/upload/Upload.d.ts.map +1 -1
  406. package/build/upload/Upload.js +20 -18
  407. package/build/upload/Upload.js.map +1 -1
  408. package/build/upload/Upload.messages.js +3 -1
  409. package/build/upload/Upload.messages.js.map +1 -1
  410. package/build/upload/Upload.mjs +3 -1
  411. package/build/upload/Upload.mjs.map +1 -1
  412. package/build/upload/steps/completeStep/completeStep.js +30 -6
  413. package/build/upload/steps/completeStep/completeStep.js.map +1 -1
  414. package/build/upload/steps/completeStep/completeStep.mjs +24 -2
  415. package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
  416. package/build/upload/steps/processingStep/processingStep.js +6 -4
  417. package/build/upload/steps/processingStep/processingStep.js.map +1 -1
  418. package/build/upload/steps/uploadImageStep/uploadImageStep.js +5 -3
  419. package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
  420. package/build/uploadInput/UploadInput.js +13 -11
  421. package/build/uploadInput/UploadInput.js.map +1 -1
  422. package/build/uploadInput/UploadInput.messages.js +3 -1
  423. package/build/uploadInput/UploadInput.messages.js.map +1 -1
  424. package/build/uploadInput/uploadButton/UploadButton.js +8 -8
  425. package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
  426. package/build/uploadInput/uploadButton/UploadButton.messages.js +3 -1
  427. package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
  428. package/build/uploadInput/uploadButton/getAllowedFileTypes.js +3 -1
  429. package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
  430. package/build/uploadInput/uploadItem/UploadItem.js +12 -12
  431. package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
  432. package/build/uploadInput/uploadItem/UploadItem.messages.js +3 -1
  433. package/build/uploadInput/uploadItem/UploadItem.messages.js.map +1 -1
  434. package/build/withDisplayFormat/WithDisplayFormat.js +19 -17
  435. package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
  436. package/build/withId/withId.js +3 -1
  437. package/build/withId/withId.js.map +1 -1
  438. package/build/withNextPortal/withNextPortal.js +3 -1
  439. package/build/withNextPortal/withNextPortal.js.map +1 -1
  440. package/package.json +10 -11
  441. package/src/badge/Badge.tsx +1 -1
  442. package/src/badge/BadgeAssets.tsx +2 -2
  443. package/src/button/Button.css +2 -2
  444. package/src/button/Button.less +2 -2
  445. package/src/common/Option/Option.css +1 -1
  446. package/src/common/Option/Option.less +2 -2
  447. package/src/common/Option/Option.tsx +1 -1
  448. package/src/common/locale/index.ts +1 -1
  449. package/src/dateInput/DateInput.tsx +7 -1
  450. package/src/dateLookup/DateLookup.css +0 -5
  451. package/src/dateLookup/DateLookup.less +0 -4
  452. package/src/dateLookup/dateHeader/DateHeader.tsx +24 -26
  453. package/src/divider/Divider.accessibility.docs.mdx +61 -0
  454. package/src/divider/Divider.css +24 -0
  455. package/src/divider/Divider.less +31 -0
  456. package/src/divider/Divider.spec.tsx +60 -0
  457. package/src/divider/Divider.story.tsx +130 -0
  458. package/src/divider/Divider.tsx +54 -0
  459. package/src/divider/index.ts +2 -0
  460. package/src/i18n/cs.json +22 -5
  461. package/src/i18n/nl.json +73 -0
  462. package/src/index.ts +2 -0
  463. package/src/main.css +27 -8
  464. package/src/main.less +1 -0
  465. package/src/upload/Upload.spec.tsx +293 -0
  466. package/src/upload/Upload.tsx +5 -1
  467. package/src/upload/steps/completeStep/completeStep.spec.tsx +51 -0
  468. package/src/upload/steps/completeStep/completeStep.tsx +1 -1
  469. package/src/upload/steps/processingStep/processingStep.spec.tsx +59 -0
  470. package/src/upload/steps/uploadImageStep/uploadImageStep.spec.tsx +79 -0
  471. package/src/upload/Upload.events.spec.js +0 -49
  472. package/src/upload/Upload.spec.js +0 -305
  473. package/src/upload/steps/completeStep/completeStep.spec.js +0 -51
  474. package/src/upload/steps/processingStep/processingStep.spec.js +0 -55
  475. package/src/upload/steps/uploadImageStep/uploadImageStep.spec.js +0 -91
@@ -1,13 +1,13 @@
1
1
  import { clsx } from 'clsx';
2
2
  import { useIntl } from 'react-intl';
3
3
 
4
- import Chevron from '../../chevron';
5
- import { Position, Size, Typography } from '../../common';
4
+ import { Typography } from '../../common';
6
5
  import { useLayout } from '../../common/hooks';
7
6
  import Title from '../../title';
8
7
  import messages from '../DateLookup.messages';
9
-
10
- const buttonClasses = 'btn-link p-a-0 text-no-decoration np-text-body-large-bold rounded-sm';
8
+ import Button from '../../button/Button';
9
+ import { ChevronDown, ChevronLeft, ChevronRight } from '@transferwise/icons';
10
+ import IconButton from '../../iconButton';
11
11
 
12
12
  interface DateHeaderProps {
13
13
  label?: string;
@@ -29,44 +29,42 @@ const DateHeader: React.FC<DateHeaderProps> = ({
29
29
  return (
30
30
  <div className={clsx('text-xs-center', !isMobile && ['clearfix', 'p-y-1'])}>
31
31
  <div className="pull-left-single-direction">
32
- <button
33
- type="button"
34
- className={`d-inline-flex ${buttonClasses}`}
32
+ <IconButton
33
+ size={40}
34
+ priority="minimal"
35
+ className="d-inline-flex"
35
36
  aria-label={`${intl.formatMessage(messages.previous)} ${dateMode}`}
36
37
  onClick={onPreviousClick}
37
38
  >
38
- <Chevron
39
- orientation={Position.LEFT}
40
- className="left-single-direction"
41
- size={Size.MEDIUM}
42
- />
43
- </button>
39
+ <ChevronLeft className="left-single-direction" />
40
+ </IconButton>
44
41
  </div>
45
42
  {label && (
46
43
  <Title type={Typography.TITLE_BODY} className="tw-date-lookup-header-current-container">
47
- <button
44
+ <Button
45
+ v2
46
+ size="md"
48
47
  type="button"
49
- className={`tw-date-lookup-header-current ${buttonClasses}`}
48
+ priority="tertiary"
49
+ className="tw-date-lookup-header-current"
50
50
  aria-label={intl.formatMessage(messages.goTo20YearView)}
51
+ addonEnd={{ type: 'icon', value: <ChevronDown /> }}
51
52
  onClick={onLabelClick}
52
53
  >
53
54
  {label}
54
- </button>
55
+ </Button>
55
56
  </Title>
56
57
  )}
57
58
  <div className="pull-right-single-direction">
58
- <button
59
- type="button"
60
- className={`d-inline-flex ${buttonClasses}`}
61
- aria-label={`${useIntl().formatMessage(messages.next)} ${dateMode}`}
59
+ <IconButton
60
+ size={40}
61
+ className="d-inline-flex"
62
+ aria-label={`${intl.formatMessage(messages.next)} ${dateMode}`}
63
+ priority="minimal"
62
64
  onClick={onNextClick}
63
65
  >
64
- <Chevron
65
- orientation={Position.RIGHT}
66
- className="right-single-direction"
67
- size={Size.MEDIUM}
68
- />
69
- </button>
66
+ <ChevronRight className="right-single-direction" />
67
+ </IconButton>
70
68
  </div>
71
69
  </div>
72
70
  );
@@ -0,0 +1,61 @@
1
+ import { Meta, Canvas, Source } from '@storybook/blocks';
2
+ import { NavigationOption } from '..';
3
+ import { Bulb } from '@transferwise/icons';
4
+
5
+ <Meta title="Layouts/Divider/Accessibility" />
6
+
7
+ # Accessibility
8
+
9
+ A Divider is used to separate sections of content. While it doesn't directly announce anything to screen readers, there are a few considerations:
10
+
11
+ <NavigationOption
12
+ media={<Bulb size={24} />}
13
+ title="Design guidance"
14
+ content="Before you start, please review the documentation on how separators should be used, announced or hidden from assistive tech."
15
+ href="https://wise.design/components/divider"
16
+ />
17
+
18
+ <br />
19
+ <br />
20
+
21
+ ## Using `<hr />` vs `<div />`
22
+
23
+ By default, our Divider is rendered as `<div role="presentation" />`. However, you can optionally set `isContent` to true, which many screen readers interpret as a “separator.”
24
+
25
+ <Source dark code={`
26
+ // By default: non-semantic divider
27
+ <Divider isContent={false} />
28
+
29
+ // Alternatively, to provide a semantic HR:
30
+
31
+ <Divider isContent={true} />
32
+ `}/>
33
+
34
+ Compared to a `<div>`, `<hr>` tells assistive technologies that a thematic break or separation has occurred. However, sometimes you may not want an audible separation. In that case, using `<div>` (which omits semantic meaning) might be preferable.
35
+
36
+ <br />
37
+
38
+ ## Levels
39
+
40
+ The Divider supports levels like “section”, “subsection”, or “content” to visually change the separation style:
41
+
42
+ <Source
43
+ dark
44
+ code={`
45
+ // A few level examples
46
+ <>
47
+ <Divider level="section" />
48
+ <Divider level="subsection" />
49
+ <Divider level="content" />
50
+ </>
51
+ `}
52
+ />
53
+
54
+ Screen readers generally ignore these visual styling changes unless you explicitly provide more context (e.g., additional text or heading tags).
55
+
56
+ <br />
57
+
58
+ **Additional resources:**
59
+
60
+ 1. [WAI-ARIA Authoring Practices: Separator Role](https://www.w3.org/TR/wai-aria-practices-1.2/#separator)
61
+ 2. [MDN Web Docs: &lt;hr /&gt;](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr)
@@ -0,0 +1,24 @@
1
+ .wds-Divider {
2
+ --Divider-border-width: 4px;
3
+ --Divider-border-color: var(--color-border-neutral);
4
+ --Divider-border-style: solid;
5
+ --Divider-dash-length: 4px;
6
+ --Divider-dash-spacing: 4px;
7
+ border-top: 4px solid rgba(0,0,0,0.10196);
8
+ border-top: var(--Divider-border-width) var(--Divider-border-style) var(--Divider-border-color);
9
+ display: inline-block;
10
+ margin: 0;
11
+ padding: 0;
12
+ height: 4px;
13
+ height: var(--Divider-border-width);
14
+ width: 100%;
15
+ }
16
+ .wds-Divider--content {
17
+ border-top: none;
18
+ background: repeating-linear-gradient(to right, var(--Divider-border-color), var(--Divider-border-color) var(--Divider-dash-length), transparent var(--Divider-dash-length), transparent calc(var(--Divider-dash-length) + var(--Divider-dash-spacing)));
19
+ height: var(--Divider-border-width);
20
+ }
21
+ .wds-Divider--content,
22
+ .wds-Divider--subsection {
23
+ --Divider-border-width: 1px;
24
+ }
@@ -0,0 +1,31 @@
1
+ .wds-Divider {
2
+ --Divider-border-width: 4px;
3
+ --Divider-border-color: var(--color-border-neutral);
4
+ --Divider-border-style: solid;
5
+ --Divider-dash-length: 4px;
6
+ --Divider-dash-spacing: 4px;
7
+
8
+ border-top: var(--Divider-border-width) var(--Divider-border-style) var(--Divider-border-color);
9
+ display: inline-block;
10
+ margin: 0;
11
+ padding: 0;
12
+ height: var(--Divider-border-width);
13
+ width: 100%;
14
+
15
+ &--content {
16
+ border-top: none;
17
+ background: repeating-linear-gradient(
18
+ to right,
19
+ var(--Divider-border-color),
20
+ var(--Divider-border-color) var(--Divider-dash-length),
21
+ transparent var(--Divider-dash-length),
22
+ transparent calc(var(--Divider-dash-length) + var(--Divider-dash-spacing))
23
+ );
24
+ height: var(--Divider-border-width);
25
+ }
26
+
27
+ &--content,
28
+ &--subsection {
29
+ --Divider-border-width: 1px;
30
+ }
31
+ }
@@ -0,0 +1,60 @@
1
+ import React from 'react';
2
+ import { render, screen } from '@testing-library/react';
3
+ import Divider, { DividerProps } from './Divider';
4
+
5
+ describe('Divider', () => {
6
+ const defaultProps: DividerProps = {
7
+ testId: 'test-divider',
8
+ };
9
+
10
+ const renderDivider = (props: Partial<DividerProps> = {}) => {
11
+ const utils = render(<Divider {...defaultProps} {...props} />);
12
+ const rerender = (newProps: Partial<DividerProps> = {}) =>
13
+ utils.rerender(<Divider {...defaultProps} {...newProps} />);
14
+ return { ...utils, rerender };
15
+ };
16
+
17
+ it('should render the Divider component', () => {
18
+ renderDivider();
19
+ expect(screen.getByTestId('test-divider')).toBeInTheDocument();
20
+ expect(screen.getByTestId('test-divider')).toHaveClass('wds-Divider');
21
+ });
22
+
23
+ it('should render as a semantic <hr> when `isContent` is true', () => {
24
+ renderDivider({ isContent: true });
25
+ expect(screen.getByTestId('test-divider')).not.toHaveAttribute('role', 'presentation');
26
+ });
27
+
28
+ it('should render as a non-semantic <div> when `isContent` is false', () => {
29
+ renderDivider({ isContent: false });
30
+ expect(screen.getByTestId('test-divider')).toHaveAttribute('role', 'presentation');
31
+ });
32
+
33
+ it('should apply custom class names when provided', () => {
34
+ const { rerender } = renderDivider();
35
+ expect(screen.getByTestId('test-divider')).not.toHaveClass('custom-class');
36
+
37
+ // Re-render with updated props
38
+ rerender({ className: 'custom-class' });
39
+ expect(screen.getByTestId('test-divider')).toHaveClass('custom-class');
40
+ });
41
+
42
+ it('should apply the "content" level styling', () => {
43
+ const { rerender } = renderDivider();
44
+ expect(screen.getByTestId('test-divider')).not.toHaveClass('wds-Divider--content');
45
+
46
+ rerender({ level: 'content' });
47
+ expect(screen.getByTestId('test-divider')).toHaveClass('wds-Divider', 'wds-Divider--content');
48
+ });
49
+
50
+ it('should apply the "subsection" level styling', () => {
51
+ const { rerender } = renderDivider();
52
+ expect(screen.getByTestId('test-divider')).not.toHaveClass('wds-Divider--subsection');
53
+
54
+ rerender({ level: 'subsection' });
55
+ expect(screen.getByTestId('test-divider')).toHaveClass(
56
+ 'wds-Divider',
57
+ 'wds-Divider--subsection',
58
+ );
59
+ });
60
+ });
@@ -0,0 +1,130 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import Divider from './Divider';
3
+
4
+ /**
5
+ * Wraps stories with a container (e.g., centered or padded).
6
+ * Adjust styles to your needs.
7
+ */
8
+ const withContainer = (Story: any) => (
9
+ <div style={{ padding: '1rem' }}>
10
+ <Story />
11
+ </div>
12
+ );
13
+
14
+ /**
15
+ * Not all stories need access to all controls as it causes unnecessary UI noise.
16
+ */
17
+ const hideControls = (args: string[]) => {
18
+ const hidden = ['level', 'as', 'className', 'testId', ...args];
19
+
20
+ return Object.fromEntries(hidden.map((item) => [item, { table: { disable: true } }]));
21
+ };
22
+
23
+ /**
24
+ * The stories below document the `<Divider />` component, which can be rendered as either a semantic `<hr>` or a non-semantic `<div>`.
25
+ * levels allow customization for different visual separation needs.
26
+ *
27
+ * For more details, please refer to the [design documentation](https://wise.design/components/divider).
28
+ */
29
+ const meta: Meta<typeof Divider> = {
30
+ component: Divider,
31
+ title: 'Layouts/Divider',
32
+ tags: ['autodocs'],
33
+ decorators: [withContainer],
34
+ parameters: {
35
+ actions: { argTypesRegex: null },
36
+ },
37
+ argTypes: {
38
+ level: {
39
+ control: 'select',
40
+ options: ['section', 'subsection', 'content'],
41
+ description: 'Choose the Divider level.',
42
+ table: {
43
+ category: 'Appearance',
44
+ type: { summary: 'string' },
45
+ defaultValue: { summary: 'section' },
46
+ },
47
+ },
48
+ isContent: {
49
+ control: 'boolean',
50
+ description: 'Render as a semantic <hr> (true) or non-semantic <div> (false).',
51
+ table: {
52
+ category: 'Appearance',
53
+ type: { summary: 'boolean' },
54
+ defaultValue: { summary: 'false' },
55
+ },
56
+ },
57
+ className: {
58
+ description: 'Add custom class names to the Divider.',
59
+ table: {
60
+ category: 'Appearance',
61
+ type: { summary: 'string' },
62
+ },
63
+ },
64
+ testId: {
65
+ description: 'Add a data-testid attribute for testing.',
66
+ table: {
67
+ category: 'Testing',
68
+ type: { summary: 'string' },
69
+ },
70
+ },
71
+ },
72
+ args: {
73
+ isContent: false,
74
+ className: '',
75
+ testId: '',
76
+ level: 'section',
77
+ },
78
+ };
79
+ export default meta;
80
+
81
+ type Story = StoryObj<typeof Divider>;
82
+
83
+ export const Playground: Story = {
84
+ args: {
85
+ level: 'section',
86
+ },
87
+ tags: ['!autodocs'],
88
+ };
89
+
90
+ /**
91
+ * There are three different types of divider – `section`, `subsection`, and `content` –
92
+ * each designed to visually separate or group content. <br />
93
+ * [Design documentation](https://wise.design/components/divider)
94
+ */
95
+ export const Level: Story = {
96
+ argTypes: {
97
+ ...hideControls(['testId', 'className', 'isContent']),
98
+ },
99
+ args: {
100
+ level: 'section',
101
+ },
102
+ };
103
+
104
+ /**
105
+ * The `isContent` prop determines whether the divider is rendered as a semantic `<hr>` or a non-semantic `<div>`.
106
+ */
107
+ export const ContentDivider: Story = {
108
+ argTypes: {
109
+ ...hideControls(['level', 'testId', 'className']),
110
+ },
111
+ args: {
112
+ isContent: true,
113
+ },
114
+ };
115
+
116
+ export const AllVariants: Story = {
117
+ render: function Render() {
118
+ return (
119
+ <>
120
+ <Divider level="section" />
121
+ <Divider level="subsection" />
122
+ <Divider level="content" />
123
+ </>
124
+ );
125
+ },
126
+ argTypes: {
127
+ ...hideControls(['level', 'testId', 'className', 'isContent']),
128
+ },
129
+ tags: ['!autodocs'],
130
+ };
@@ -0,0 +1,54 @@
1
+ import { clsx } from 'clsx';
2
+ import React, { FunctionComponent } from 'react';
3
+
4
+ export interface DividerProps {
5
+ /**
6
+ * If `true`, renders the Divider as a semantic `<hr>`, providing clear separation to assistive technologies.
7
+ * Otherwise, a non-semantic `<div role="presentation">` is used for purely visual separation.
8
+ * @default false
9
+ */
10
+ isContent?: boolean;
11
+
12
+ /**
13
+ * Alters the visual style of the divider, accommodating different types
14
+ * of separated content. Accepts `'section'`, `'subsection'`, or `'content'`.
15
+ * @default 'section'
16
+ */
17
+ level?: 'section' | 'subsection' | 'content';
18
+
19
+ className?: string;
20
+ testId?: string;
21
+ }
22
+
23
+ /**
24
+ * @param {boolean} [isContent=false] - If `true`, uses a semantic `<hr>` for accessible separation; otherwise uses `<div role="presentation">`.
25
+ * @param {string} [className] - Optional class names for adding custom styling to the divider.
26
+ * @param {string} [testId] - Provides a `data-testid` for testing frameworks.
27
+ * @param {'section' | 'subsection' | 'content'} [level='section'] - Defines the visual style for the divider.
28
+ *
29
+ * @see {@link Divider} for further information.
30
+ * @see {@link https://storybook.wise.design/?path=/docs/layouts-divider--docs|Storybook Wise Design}
31
+ */
32
+ const Divider: FunctionComponent<DividerProps> = ({
33
+ className,
34
+ isContent = false,
35
+ testId,
36
+ level = 'section',
37
+ ...props
38
+ }) => {
39
+ const levelClass = level && level !== 'section' ? `wds-Divider--${level}` : '';
40
+
41
+ const commonProps = {
42
+ className: clsx('wds-Divider', levelClass, className),
43
+ 'data-testid': testId,
44
+ };
45
+
46
+ const divProps = {
47
+ ...commonProps,
48
+ role: 'presentation',
49
+ };
50
+
51
+ return isContent ? <hr {...commonProps} {...props} /> : <div {...divProps} {...props} />;
52
+ };
53
+
54
+ export default Divider;
@@ -0,0 +1,2 @@
1
+ export { default } from './Divider';
2
+ export type { DividerProps } from './Divider';
package/src/i18n/cs.json CHANGED
@@ -9,35 +9,52 @@
9
9
  "neptune.DateInput.year.label": "Rok",
10
10
  "neptune.DateInput.year.placeholder": "RRRR",
11
11
  "neptune.DateLookup.day": "den",
12
- "neptune.DateLookup.goTo20YearView": "Go to 20 year view",
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
15
  "neptune.DateLookup.previous": "předchozí",
16
16
  "neptune.DateLookup.selected": "vybráno",
17
17
  "neptune.DateLookup.twentyYears": "20 let",
18
18
  "neptune.DateLookup.year": "rok",
19
- "neptune.FlowNavigation.back": "back to previous step",
19
+ "neptune.FlowNavigation.back": "zpět na předchozí krok",
20
20
  "neptune.Info.ariaLabel": "Více informací",
21
- "neptune.Link.opensInNewTab": "(opens in new tab)",
21
+ "neptune.Label.optional": "(Volitelné)",
22
+ "neptune.Link.opensInNewTab": "(otevře se v nové kartě)",
22
23
  "neptune.MoneyInput.Select.placeholder": "Vybrat možnost...",
24
+ "neptune.MoneyInput.Select.selectCurrencyLabel": "Vybrat měnu",
25
+ "neptune.PhoneNumberInput.SelectInput.placeholder": "Vybrat možnost...",
23
26
  "neptune.Select.searchPlaceholder": "Hledat...",
24
27
  "neptune.SelectInput.noResultsFound": "Nebyly nalezeny žádné výsledky",
28
+ "neptune.SelectOption.action.label": "Vybrat",
29
+ "neptune.SelectOption.selected.action.label": "Změnit zvolenou možnost",
30
+ "neptune.StatusIcon.iconLabel.error": "Chyba:",
31
+ "neptune.StatusIcon.iconLabel.information": "Informace:",
32
+ "neptune.StatusIcon.iconLabel.pending": "Vyřizuje se:",
33
+ "neptune.StatusIcon.iconLabel.success": "Úspěšné:",
34
+ "neptune.StatusIcon.iconLabel.warning": "Upozornění:",
25
35
  "neptune.Summary.statusDone": "Položka dokončena",
26
36
  "neptune.Summary.statusNotDone": "Položka k dokončení",
27
37
  "neptune.Summary.statusPending": "Čekající položka",
38
+ "neptune.Table.actionHeader": "Akce",
39
+ "neptune.Table.emptyData": "Nebyly nalezeny žádné výsledky",
40
+ "neptune.Table.loaded": "Data tabulky byla načtena",
41
+ "neptune.Table.loading": "Data tabulky se načítají",
42
+ "neptune.Table.refreshPage": "Aktualizovat stránku",
28
43
  "neptune.Upload.csButtonText": "Nahrát další soubor?",
29
44
  "neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
30
45
  "neptune.Upload.csSuccessText": "Úspěšně nahráno!",
31
- "neptune.Upload.csTooLargeMessage": "Soubor musí být menší než {maxSize}MB",
46
+ "neptune.Upload.csTooLargeMessage": "Nahrajte soubor menší než {maxSize} MB",
32
47
  "neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
33
48
  "neptune.Upload.psButtonText": "Zrušit",
34
49
  "neptune.Upload.psProcessingText": "Načítání...",
50
+ "neptune.Upload.retry": "Opakovat",
35
51
  "neptune.Upload.usButtonText": "Nebo vyberte soubor",
36
52
  "neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
37
- "neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než {maxSize}MB",
53
+ "neptune.Upload.usPlaceholder": "Přetáhněte soubor menší než {maxSize} MB",
38
54
  "neptune.UploadButton.allFileTypes": "Všechny typy souborů",
39
55
  "neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
40
56
  "neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
57
+ "neptune.UploadButton.maximumFiles": "Max. počet souborů: {maxFiles}.",
41
58
  "neptune.UploadButton.uploadFile": "Nahrát soubor",
42
59
  "neptune.UploadButton.uploadFiles": "Nahrát soubory",
43
60
  "neptune.UploadInput.deleteModalBody": "Odstraněním tohoto souboru jej smažete z našeho systému.",
@@ -0,0 +1,73 @@
1
+ {
2
+ "neptune.Button.loadingAriaLabel": "laden",
3
+ "neptune.Chips.ariaLabel": "{choice} wissen",
4
+ "neptune.ClearButton.ariaLabel": "Wissen",
5
+ "neptune.CloseButton.ariaLabel": "Sluiten",
6
+ "neptune.DateInput.day.label": "Dag",
7
+ "neptune.DateInput.day.placeholder": "DD",
8
+ "neptune.DateInput.month.label": "Maand",
9
+ "neptune.DateInput.year.label": "Jaar",
10
+ "neptune.DateInput.year.placeholder": "JJJJ",
11
+ "neptune.DateLookup.day": "dag",
12
+ "neptune.DateLookup.goTo20YearView": "Naar 20-jaarsoverzicht",
13
+ "neptune.DateLookup.month": "maand",
14
+ "neptune.DateLookup.next": "volgende",
15
+ "neptune.DateLookup.previous": "vorige",
16
+ "neptune.DateLookup.selected": "geselecteerd",
17
+ "neptune.DateLookup.twentyYears": "20 jaar",
18
+ "neptune.DateLookup.year": "jaar",
19
+ "neptune.FlowNavigation.back": "terug naar vorige stap",
20
+ "neptune.Info.ariaLabel": "Meer informatie",
21
+ "neptune.Label.optional": "(Optioneel)",
22
+ "neptune.Link.opensInNewTab": "(wordt geopend in een nieuw tabblad)",
23
+ "neptune.MoneyInput.Select.placeholder": "Selecteer een optie...",
24
+ "neptune.MoneyInput.Select.selectCurrencyLabel": "Selecteer valuta",
25
+ "neptune.PhoneNumberInput.SelectInput.placeholder": "Selecteer een optie...",
26
+ "neptune.Select.searchPlaceholder": "Zoeken...",
27
+ "neptune.SelectInput.noResultsFound": "Geen resultaten gevonden",
28
+ "neptune.SelectOption.action.label": "Kiezen",
29
+ "neptune.SelectOption.selected.action.label": "Gekozen optie wijzigen",
30
+ "neptune.StatusIcon.iconLabel.error": "Fout:",
31
+ "neptune.StatusIcon.iconLabel.information": "Informatie:",
32
+ "neptune.StatusIcon.iconLabel.pending": "In behandeling:",
33
+ "neptune.StatusIcon.iconLabel.success": "Gelukt:",
34
+ "neptune.StatusIcon.iconLabel.warning": "Waarschuwing:",
35
+ "neptune.Summary.statusDone": "Item klaar",
36
+ "neptune.Summary.statusNotDone": "Item te doen",
37
+ "neptune.Summary.statusPending": "Item in behandeling",
38
+ "neptune.Table.actionHeader": "Actie",
39
+ "neptune.Table.emptyData": "Geen resultaten gevonden",
40
+ "neptune.Table.loaded": "Tabelgegevens zijn geladen",
41
+ "neptune.Table.loading": "Tabelgegevens worden geladen",
42
+ "neptune.Table.refreshPage": "Pagina vernieuwen",
43
+ "neptune.Upload.csButtonText": "Nog een bestand uploaden?",
44
+ "neptune.Upload.csFailureText": "Uploaden mislukt. Probeer het opnieuw",
45
+ "neptune.Upload.csSuccessText": "Uploaden voltooid!",
46
+ "neptune.Upload.csTooLargeMessage": "Upload een bestand kleiner dan {maxSize} MB",
47
+ "neptune.Upload.csWrongTypeMessage": "Het bestandstype wordt niet ondersteund. Probeer het opnieuw met een ander bestand.",
48
+ "neptune.Upload.psButtonText": "Annuleren",
49
+ "neptune.Upload.psProcessingText": "Uploaden...",
50
+ "neptune.Upload.retry": "Opnieuw proberen",
51
+ "neptune.Upload.usButtonText": "Of selecteer een bestand",
52
+ "neptune.Upload.usDropMessage": "Sleep het bestand hierheen om het te uploaden",
53
+ "neptune.Upload.usPlaceholder": "Sleep een bestand van maximaal {maxSize} MB",
54
+ "neptune.UploadButton.allFileTypes": "Alle bestandstypen",
55
+ "neptune.UploadButton.dropFiles": "Sleep het bestand hierheen om het te uploaden",
56
+ "neptune.UploadButton.instructions": "{fileTypes}, kleiner dan {size} MB",
57
+ "neptune.UploadButton.maximumFiles": "Maximaal {maxFiles} bestanden.",
58
+ "neptune.UploadButton.uploadFile": "Bestand uploaden",
59
+ "neptune.UploadButton.uploadFiles": "Bestanden uploaden",
60
+ "neptune.UploadInput.deleteModalBody": "Door dit bestand te verwijderen, wordt het uit ons systeem verwijderd.",
61
+ "neptune.UploadInput.deleteModalCancelButtonText": "Annuleren",
62
+ "neptune.UploadInput.deleteModalConfirmButtonText": "Verwijderen",
63
+ "neptune.UploadInput.deleteModalTitle": "Weet je zeker dat je dit bestand wilt verwijderen?",
64
+ "neptune.UploadInput.fileIsTooLarge": "Bestand is te groot",
65
+ "neptune.UploadInput.fileTypeNotSupported": "Bestandstype niet ondersteund",
66
+ "neptune.UploadInput.maximumFilesAlreadyUploaded": "Deze upload is mislukt omdat we maar {maxFilesAllowed} bestanden tegelijk kunnen accepteren.",
67
+ "neptune.UploadItem.deleting": "Verwijderen...",
68
+ "neptune.UploadItem.removeFile": "Bestand {filename} verwijderen",
69
+ "neptune.UploadItem.uploaded": "Geüpload",
70
+ "neptune.UploadItem.uploadedFile": "Geüpload bestand",
71
+ "neptune.UploadItem.uploading": "Uploaden...",
72
+ "neptune.UploadItem.uploadingFailed": "Uploaden mislukt"
73
+ }
package/src/index.ts CHANGED
@@ -31,6 +31,7 @@ export type { DecisionProps } from './decision/Decision';
31
31
  export type { DefinitionListProps, DefinitionListDefinition } from './definitionList';
32
32
  export type { DimmerProps } from './dimmer';
33
33
  export type { DrawerProps } from './drawer';
34
+ export type { DividerProps } from './divider';
34
35
  export type { EmphasisProps } from './emphasis';
35
36
  export type { FieldProps } from './field/Field';
36
37
  export type { InfoProps } from './info';
@@ -143,6 +144,7 @@ export { default as Decision } from './decision';
143
144
  export { default as DefinitionList } from './definitionList';
144
145
  export { default as Dimmer } from './dimmer';
145
146
  export { default as Display } from './display';
147
+ export { default as Divider } from './divider';
146
148
  export { default as Drawer } from './drawer';
147
149
  export { default as DropFade } from './dropFade';
148
150
  export { default as Emphasis } from './emphasis';
package/src/main.css CHANGED
@@ -874,10 +874,10 @@
874
874
  display: inline-block;
875
875
  }
876
876
  .wds-Button-icon--md {
877
- --Button-iconSize: calc(var(--size-10) + var(--size-8));
877
+ --Button-iconSize: 18px;
878
878
  }
879
879
  .wds-Button-icon--sm {
880
- --Button-iconSize: var(--size-16);
880
+ --Button-iconSize: 16px;
881
881
  }
882
882
  .wds-Button-icon svg {
883
883
  width: var(--Button-iconSize);
@@ -1782,7 +1782,7 @@ button.np-option {
1782
1782
  max-width: fit-content;
1783
1783
  }
1784
1784
  @media (max-width: 480px) {
1785
- .np-theme-personal .np-option-additional-content {
1785
+ .np-theme-personal :not(.np-option__sm-media) > .np-option-additional-content {
1786
1786
  margin-left: 16px;
1787
1787
  margin-left: var(--size-16);
1788
1788
  }
@@ -2009,11 +2009,6 @@ button.np-option {
2009
2009
  .np-theme-personal .tw-date-lookup-menu td {
2010
2010
  border: none;
2011
2011
  }
2012
- .np-theme-personal.tw-date-lookup-menu .tw-date-lookup-header-current,
2013
- .np-theme-personal .tw-date-lookup-menu .tw-date-lookup-header-current {
2014
- color: #37517e;
2015
- color: var(--color-content-primary);
2016
- }
2017
2012
  .np-date-trigger {
2018
2013
  overflow: hidden;
2019
2014
  text-overflow: ellipsis;
@@ -2286,6 +2281,30 @@ button.np-option {
2286
2281
  padding: var(--size-24);
2287
2282
  }
2288
2283
  }
2284
+ .wds-Divider {
2285
+ --Divider-border-width: 4px;
2286
+ --Divider-border-color: var(--color-border-neutral);
2287
+ --Divider-border-style: solid;
2288
+ --Divider-dash-length: 4px;
2289
+ --Divider-dash-spacing: 4px;
2290
+ border-top: 4px solid rgba(0,0,0,0.10196);
2291
+ border-top: var(--Divider-border-width) var(--Divider-border-style) var(--Divider-border-color);
2292
+ display: inline-block;
2293
+ margin: 0;
2294
+ padding: 0;
2295
+ height: 4px;
2296
+ height: var(--Divider-border-width);
2297
+ width: 100%;
2298
+ }
2299
+ .wds-Divider--content {
2300
+ border-top: none;
2301
+ background: repeating-linear-gradient(to right, var(--Divider-border-color), var(--Divider-border-color) var(--Divider-dash-length), transparent var(--Divider-dash-length), transparent calc(var(--Divider-dash-length) + var(--Divider-dash-spacing)));
2302
+ height: var(--Divider-border-width);
2303
+ }
2304
+ .wds-Divider--content,
2305
+ .wds-Divider--subsection {
2306
+ --Divider-border-width: 1px;
2307
+ }
2289
2308
  .np-dropfade,
2290
2309
  .np-dropfade-enter {
2291
2310
  opacity: 0;