@transferwise/components 0.0.0-experimental-463fe0b

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 (1410) hide show
  1. package/LICENSE.md +13 -0
  2. package/README.md +59 -0
  3. package/build/es/no-polyfill/accordion/Accordion.js +1 -0
  4. package/build/es/no-polyfill/accordion/AccordionItem/AccordionItem.js +1 -0
  5. package/build/es/no-polyfill/accordion/AccordionItem/index.js +1 -0
  6. package/build/es/no-polyfill/accordion/index.js +1 -0
  7. package/build/es/no-polyfill/actionButton/ActionButton.js +1 -0
  8. package/build/es/no-polyfill/actionButton/ActionButton.spec.js +1 -0
  9. package/build/es/no-polyfill/actionButton/ActionButton.story.js +1 -0
  10. package/build/es/no-polyfill/actionButton/index.js +1 -0
  11. package/build/es/no-polyfill/actionOption/ActionOption.js +1 -0
  12. package/build/es/no-polyfill/actionOption/ActionOption.story.js +1 -0
  13. package/build/es/no-polyfill/actionOption/index.js +1 -0
  14. package/build/es/no-polyfill/alert/Alert.js +1 -0
  15. package/build/es/no-polyfill/alert/index.js +1 -0
  16. package/build/es/no-polyfill/alert/inlineMarkdown/InlineMarkdown.js +1 -0
  17. package/build/es/no-polyfill/alert/inlineMarkdown/index.js +1 -0
  18. package/build/es/no-polyfill/alert/withArrow/alertArrowPositions.js +2 -0
  19. package/build/es/no-polyfill/alert/withArrow/index.js +1 -0
  20. package/build/es/no-polyfill/alert/withArrow/withArrow.js +1 -0
  21. package/build/es/no-polyfill/avatar/Avatar.js +1 -0
  22. package/build/es/no-polyfill/avatar/avatarTypes.js +2 -0
  23. package/build/es/no-polyfill/avatar/index.js +1 -0
  24. package/build/es/no-polyfill/avatarWrapper/AvatarWrapper.js +1 -0
  25. package/build/es/no-polyfill/avatarWrapper/index.js +1 -0
  26. package/build/es/no-polyfill/badge/Badge.js +1 -0
  27. package/build/es/no-polyfill/badge/index.js +1 -0
  28. package/build/es/no-polyfill/body/Body.js +3 -0
  29. package/build/es/no-polyfill/body/Body.spec.js +1 -0
  30. package/build/es/no-polyfill/body/Body.story.js +1 -0
  31. package/build/es/no-polyfill/body/index.js +1 -0
  32. package/build/es/no-polyfill/button/Button.js +7 -0
  33. package/build/es/no-polyfill/button/classMap.js +1 -0
  34. package/build/es/no-polyfill/button/index.js +1 -0
  35. package/build/es/no-polyfill/button/legacyUtils/index.js +1 -0
  36. package/build/es/no-polyfill/button/legacyUtils/legacyUtils.js +4 -0
  37. package/build/es/no-polyfill/card/Card.js +1 -0
  38. package/build/es/no-polyfill/card/index.js +1 -0
  39. package/build/es/no-polyfill/checkbox/Checkbox.js +1 -0
  40. package/build/es/no-polyfill/checkbox/index.js +1 -0
  41. package/build/es/no-polyfill/checkboxButton/CheckboxButton.js +1 -0
  42. package/build/es/no-polyfill/checkboxButton/CheckboxButton.spec.js +1 -0
  43. package/build/es/no-polyfill/checkboxButton/CheckboxButton.story.js +1 -0
  44. package/build/es/no-polyfill/checkboxButton/index.js +1 -0
  45. package/build/es/no-polyfill/checkboxOption/CheckboxOption.js +1 -0
  46. package/build/es/no-polyfill/checkboxOption/CheckboxOption.spec.js +1 -0
  47. package/build/es/no-polyfill/checkboxOption/CheckboxOption.story.js +1 -0
  48. package/build/es/no-polyfill/checkboxOption/index.js +1 -0
  49. package/build/es/no-polyfill/chevron/Chevron.js +1 -0
  50. package/build/es/no-polyfill/chevron/index.js +1 -0
  51. package/build/es/no-polyfill/chips/Chip.js +1 -0
  52. package/build/es/no-polyfill/chips/Chips.js +1 -0
  53. package/build/es/no-polyfill/chips/Chips.messages.js +1 -0
  54. package/build/es/no-polyfill/chips/Chips.spec.js +1 -0
  55. package/build/es/no-polyfill/chips/Chips.story.js +1 -0
  56. package/build/es/no-polyfill/chips/index.js +1 -0
  57. package/build/es/no-polyfill/circularButton/CircularButton.js +1 -0
  58. package/build/es/no-polyfill/circularButton/index.js +1 -0
  59. package/build/es/no-polyfill/common/DOMOperations/DOMOperations.js +9 -0
  60. package/build/es/no-polyfill/common/DOMOperations/index.js +1 -0
  61. package/build/es/no-polyfill/common/Option/Option.js +1 -0
  62. package/build/es/no-polyfill/common/Option/index.js +1 -0
  63. package/build/es/no-polyfill/common/RadioButton/RadioButton.js +1 -0
  64. package/build/es/no-polyfill/common/RadioButton/index.js +1 -0
  65. package/build/es/no-polyfill/common/bottomSheet/BottomSheet.js +10 -0
  66. package/build/es/no-polyfill/common/bottomSheet/BottomSheet.spec.js +1 -0
  67. package/build/es/no-polyfill/common/bottomSheet/index.js +1 -0
  68. package/build/es/no-polyfill/common/closeButton/CloseButton.js +1 -0
  69. package/build/es/no-polyfill/common/closeButton/CloseButton.messages.js +1 -0
  70. package/build/es/no-polyfill/common/closeButton/index.js +1 -0
  71. package/build/es/no-polyfill/common/commonProps.js +0 -0
  72. package/build/es/no-polyfill/common/dateUtils/getDayNames/getDayNames.js +2 -0
  73. package/build/es/no-polyfill/common/dateUtils/getDayNames/index.js +1 -0
  74. package/build/es/no-polyfill/common/dateUtils/getMonthNames/getMonthNames.js +1 -0
  75. package/build/es/no-polyfill/common/dateUtils/getMonthNames/index.js +1 -0
  76. package/build/es/no-polyfill/common/dateUtils/index.js +1 -0
  77. package/build/es/no-polyfill/common/dateUtils/isDateValid/index.js +1 -0
  78. package/build/es/no-polyfill/common/dateUtils/isDateValid/isDateValid.js +1 -0
  79. package/build/es/no-polyfill/common/dateUtils/isMonthAndYearFormat/index.js +1 -0
  80. package/build/es/no-polyfill/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js +1 -0
  81. package/build/es/no-polyfill/common/dateUtils/isWithinRange/index.js +1 -0
  82. package/build/es/no-polyfill/common/dateUtils/isWithinRange/isWithinRange.js +1 -0
  83. package/build/es/no-polyfill/common/dateUtils/moveToWithinRange/index.js +1 -0
  84. package/build/es/no-polyfill/common/dateUtils/moveToWithinRange/moveToWithinRange.js +2 -0
  85. package/build/es/no-polyfill/common/deviceDetection/deviceDetection.js +1 -0
  86. package/build/es/no-polyfill/common/deviceDetection/index.js +1 -0
  87. package/build/es/no-polyfill/common/direction.js +1 -0
  88. package/build/es/no-polyfill/common/domHelpers/documentIosClick.js +5 -0
  89. package/build/es/no-polyfill/common/domHelpers/index.js +1 -0
  90. package/build/es/no-polyfill/common/fakeEvents.js +1 -0
  91. package/build/es/no-polyfill/common/fileType.js +1 -0
  92. package/build/es/no-polyfill/common/flowHeader/FlowHeader.js +1 -0
  93. package/build/es/no-polyfill/common/flowHeader/index.js +1 -0
  94. package/build/es/no-polyfill/common/focusBoundary/FocusBoundary.js +1 -0
  95. package/build/es/no-polyfill/common/focusBoundary/FocusBoundary.spec.js +1 -0
  96. package/build/es/no-polyfill/common/focusBoundary/index.js +1 -0
  97. package/build/es/no-polyfill/common/focusBoundary/utils/getFocusableElements.js +6 -0
  98. package/build/es/no-polyfill/common/focusBoundary/utils/index.js +1 -0
  99. package/build/es/no-polyfill/common/focusBoundary/utils/resetFocus.js +6 -0
  100. package/build/es/no-polyfill/common/historyNavigator/historyNavigator.js +1 -0
  101. package/build/es/no-polyfill/common/historyNavigator/index.js +1 -0
  102. package/build/es/no-polyfill/common/hooks/index.js +1 -0
  103. package/build/es/no-polyfill/common/hooks/useClientWidth/index.js +1 -0
  104. package/build/es/no-polyfill/common/hooks/useClientWidth/useClientWidth.js +5 -0
  105. package/build/es/no-polyfill/common/hooks/useConditionalListener/index.js +1 -0
  106. package/build/es/no-polyfill/common/hooks/useConditionalListener/useConditionalListener.js +1 -0
  107. package/build/es/no-polyfill/common/hooks/useDirection/index.js +1 -0
  108. package/build/es/no-polyfill/common/hooks/useDirection/useDirection.js +1 -0
  109. package/build/es/no-polyfill/common/hooks/useHasIntersected/index.js +1 -0
  110. package/build/es/no-polyfill/common/hooks/useHasIntersected/useHasIntersected.js +11 -0
  111. package/build/es/no-polyfill/common/hooks/useLayout/index.js +1 -0
  112. package/build/es/no-polyfill/common/hooks/useLayout/useLayout.js +1 -0
  113. package/build/es/no-polyfill/common/index.js +2 -0
  114. package/build/es/no-polyfill/common/key.js +1 -0
  115. package/build/es/no-polyfill/common/keyCodes.js +5 -0
  116. package/build/es/no-polyfill/common/locale/index.js +37 -0
  117. package/build/es/no-polyfill/common/panel/Panel.js +10 -0
  118. package/build/es/no-polyfill/common/panel/index.js +1 -0
  119. package/build/es/no-polyfill/common/propsValues/breakpoint.js +1 -0
  120. package/build/es/no-polyfill/common/propsValues/control.js +1 -0
  121. package/build/es/no-polyfill/common/propsValues/dateMode.js +1 -0
  122. package/build/es/no-polyfill/common/propsValues/layouts.js +1 -0
  123. package/build/es/no-polyfill/common/propsValues/markdownNodeType.js +1 -0
  124. package/build/es/no-polyfill/common/propsValues/monthFormat.js +1 -0
  125. package/build/es/no-polyfill/common/propsValues/position.js +1 -0
  126. package/build/es/no-polyfill/common/propsValues/profileType.js +1 -0
  127. package/build/es/no-polyfill/common/propsValues/scroll.js +1 -0
  128. package/build/es/no-polyfill/common/propsValues/sentiment.js +1 -0
  129. package/build/es/no-polyfill/common/propsValues/size.js +1 -0
  130. package/build/es/no-polyfill/common/propsValues/status.js +1 -0
  131. package/build/es/no-polyfill/common/propsValues/type.js +3 -0
  132. package/build/es/no-polyfill/common/propsValues/typography.js +1 -0
  133. package/build/es/no-polyfill/common/propsValues/variant.js +1 -0
  134. package/build/es/no-polyfill/common/propsValues/width.js +1 -0
  135. package/build/es/no-polyfill/common/requirements.js +3 -0
  136. package/build/es/no-polyfill/common/responsivePanel/ResponsivePanel.js +1 -0
  137. package/build/es/no-polyfill/common/responsivePanel/index.js +1 -0
  138. package/build/es/no-polyfill/common/textFormat/formatWithPattern/formatWithPattern.js +2 -0
  139. package/build/es/no-polyfill/common/textFormat/formatWithPattern/index.js +1 -0
  140. package/build/es/no-polyfill/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js +1 -0
  141. package/build/es/no-polyfill/common/textFormat/getCountOfSymbolsInSelection/index.js +1 -0
  142. package/build/es/no-polyfill/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js +1 -0
  143. package/build/es/no-polyfill/common/textFormat/getCursorPositionAfterKeystroke/index.js +1 -0
  144. package/build/es/no-polyfill/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js +2 -0
  145. package/build/es/no-polyfill/common/textFormat/getDistanceToSymbol/index.js +1 -0
  146. package/build/es/no-polyfill/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js +1 -0
  147. package/build/es/no-polyfill/common/textFormat/getSymbolsInPatternWithPosition/index.js +1 -0
  148. package/build/es/no-polyfill/common/textFormat/index.js +1 -0
  149. package/build/es/no-polyfill/common/textFormat/unformatWithPattern/index.js +1 -0
  150. package/build/es/no-polyfill/common/textFormat/unformatWithPattern/unformatWithPattern.js +1 -0
  151. package/build/es/no-polyfill/common/theme.js +1 -0
  152. package/build/es/no-polyfill/criticalBanner/CriticalCommsBanner.js +1 -0
  153. package/build/es/no-polyfill/criticalBanner/CriticalCommsBanner.story.js +1 -0
  154. package/build/es/no-polyfill/criticalBanner/index.js +1 -0
  155. package/build/es/no-polyfill/dateInput/DateInput.js +4 -0
  156. package/build/es/no-polyfill/dateInput/DateInput.messages.js +1 -0
  157. package/build/es/no-polyfill/dateInput/index.js +1 -0
  158. package/build/es/no-polyfill/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +2 -0
  159. package/build/es/no-polyfill/dateInput/utils/convertToLocalMidnight/index.js +1 -0
  160. package/build/es/no-polyfill/dateInput/utils/explodeDate/explodeDate.js +1 -0
  161. package/build/es/no-polyfill/dateInput/utils/explodeDate/index.js +1 -0
  162. package/build/es/no-polyfill/dateInput/utils/index.js +1 -0
  163. package/build/es/no-polyfill/dateLookup/DateLookup.js +3 -0
  164. package/build/es/no-polyfill/dateLookup/dateHeader/DateHeader.js +1 -0
  165. package/build/es/no-polyfill/dateLookup/dateHeader/index.js +1 -0
  166. package/build/es/no-polyfill/dateLookup/dateTrigger/DateTrigger.js +1 -0
  167. package/build/es/no-polyfill/dateLookup/dateTrigger/DateTrigger.messages.js +1 -0
  168. package/build/es/no-polyfill/dateLookup/dateTrigger/index.js +1 -0
  169. package/build/es/no-polyfill/dateLookup/dayCalendar/DayCalendar.js +1 -0
  170. package/build/es/no-polyfill/dateLookup/dayCalendar/index.js +1 -0
  171. package/build/es/no-polyfill/dateLookup/dayCalendar/table/DayCalendarTable.js +4 -0
  172. package/build/es/no-polyfill/dateLookup/dayCalendar/table/index.js +1 -0
  173. package/build/es/no-polyfill/dateLookup/getStartOfDay/getStartOfDay.js +5 -0
  174. package/build/es/no-polyfill/dateLookup/getStartOfDay/index.js +1 -0
  175. package/build/es/no-polyfill/dateLookup/index.js +1 -0
  176. package/build/es/no-polyfill/dateLookup/monthCalendar/MonthCalendar.js +1 -0
  177. package/build/es/no-polyfill/dateLookup/monthCalendar/index.js +1 -0
  178. package/build/es/no-polyfill/dateLookup/monthCalendar/table/MonthCalendarTable.js +1 -0
  179. package/build/es/no-polyfill/dateLookup/monthCalendar/table/index.js +1 -0
  180. package/build/es/no-polyfill/dateLookup/tableLink/TableLink.js +2 -0
  181. package/build/es/no-polyfill/dateLookup/tableLink/index.js +1 -0
  182. package/build/es/no-polyfill/dateLookup/yearCalendar/YearCalendar.js +1 -0
  183. package/build/es/no-polyfill/dateLookup/yearCalendar/index.js +1 -0
  184. package/build/es/no-polyfill/dateLookup/yearCalendar/table/YearCalendarTable.js +1 -0
  185. package/build/es/no-polyfill/dateLookup/yearCalendar/table/index.js +1 -0
  186. package/build/es/no-polyfill/decision/Decision.js +5 -0
  187. package/build/es/no-polyfill/decision/decisionEnums.js +3 -0
  188. package/build/es/no-polyfill/decision/index.js +1 -0
  189. package/build/es/no-polyfill/definitionList/DefinitionList.js +1 -0
  190. package/build/es/no-polyfill/definitionList/index.js +1 -0
  191. package/build/es/no-polyfill/dimmer/Dimmer.js +6 -0
  192. package/build/es/no-polyfill/dimmer/Dimmer.story.js +1 -0
  193. package/build/es/no-polyfill/dimmer/dimmerManager/DimmerManager.js +5 -0
  194. package/build/es/no-polyfill/dimmer/dimmerManager/index.js +1 -0
  195. package/build/es/no-polyfill/dimmer/index.js +1 -0
  196. package/build/es/no-polyfill/display/Display.js +1 -0
  197. package/build/es/no-polyfill/display/Display.story.js +2 -0
  198. package/build/es/no-polyfill/display/index.js +1 -0
  199. package/build/es/no-polyfill/drawer/Drawer.js +1 -0
  200. package/build/es/no-polyfill/drawer/index.js +1 -0
  201. package/build/es/no-polyfill/dropFade/DropFade.js +3 -0
  202. package/build/es/no-polyfill/dropFade/DropFade.story.js +1 -0
  203. package/build/es/no-polyfill/dropFade/index.js +1 -0
  204. package/build/es/no-polyfill/dynamicFieldDefinitionList/DynamicFieldDefinitionList.js +1 -0
  205. package/build/es/no-polyfill/dynamicFieldDefinitionList/FormattedValue/FormattedValue.js +8 -0
  206. package/build/es/no-polyfill/dynamicFieldDefinitionList/FormattedValue/index.js +1 -0
  207. package/build/es/no-polyfill/dynamicFieldDefinitionList/index.js +1 -0
  208. package/build/es/no-polyfill/dynamicFieldDefinitionList/utils/createDefinitions.js +2 -0
  209. package/build/es/no-polyfill/dynamicFieldDefinitionList/utils/text-format.js +1 -0
  210. package/build/es/no-polyfill/emphasis/Emphasis.js +2 -0
  211. package/build/es/no-polyfill/emphasis/EmphasisHtmlTransformer.js +7 -0
  212. package/build/es/no-polyfill/emphasis/index.js +1 -0
  213. package/build/es/no-polyfill/flowNavigation/FlowNavigation.js +2 -0
  214. package/build/es/no-polyfill/flowNavigation/animatedLabel/AnimatedLabel.js +1 -0
  215. package/build/es/no-polyfill/flowNavigation/animatedLabel/index.js +1 -0
  216. package/build/es/no-polyfill/flowNavigation/backButton/BackButton.js +1 -0
  217. package/build/es/no-polyfill/flowNavigation/backButton/index.js +1 -0
  218. package/build/es/no-polyfill/flowNavigation/index.js +1 -0
  219. package/build/es/no-polyfill/header/Header.js +5 -0
  220. package/build/es/no-polyfill/header/Header.spec.js +1 -0
  221. package/build/es/no-polyfill/header/Header.story.js +2 -0
  222. package/build/es/no-polyfill/header/index.js +1 -0
  223. package/build/es/no-polyfill/i18n/cs.json +44 -0
  224. package/build/es/no-polyfill/i18n/de.json +44 -0
  225. package/build/es/no-polyfill/i18n/en.json +41 -0
  226. package/build/es/no-polyfill/i18n/es.json +44 -0
  227. package/build/es/no-polyfill/i18n/fr.json +44 -0
  228. package/build/es/no-polyfill/i18n/hu.json +44 -0
  229. package/build/es/no-polyfill/i18n/id.json +44 -0
  230. package/build/es/no-polyfill/i18n/index.js +1 -0
  231. package/build/es/no-polyfill/i18n/it.json +44 -0
  232. package/build/es/no-polyfill/i18n/ja.json +44 -0
  233. package/build/es/no-polyfill/i18n/pl.json +44 -0
  234. package/build/es/no-polyfill/i18n/pt.json +44 -0
  235. package/build/es/no-polyfill/i18n/ro.json +44 -0
  236. package/build/es/no-polyfill/i18n/ru.json +44 -0
  237. package/build/es/no-polyfill/i18n/th.json +44 -0
  238. package/build/es/no-polyfill/i18n/tr.json +44 -0
  239. package/build/es/no-polyfill/i18n/uk.json +44 -0
  240. package/build/es/no-polyfill/i18n/zh-CN.json +44 -0
  241. package/build/es/no-polyfill/i18n/zh.json +44 -0
  242. package/build/es/no-polyfill/image/Image.js +12 -0
  243. package/build/es/no-polyfill/image/index.js +1 -0
  244. package/build/es/no-polyfill/index.js +13 -0
  245. package/build/es/no-polyfill/info/Info.js +1 -0
  246. package/build/es/no-polyfill/info/index.js +1 -0
  247. package/build/es/no-polyfill/info/infoPresentations.js +2 -0
  248. package/build/es/no-polyfill/inlineAlert/InlineAlert.js +1 -0
  249. package/build/es/no-polyfill/inlineAlert/index.js +1 -0
  250. package/build/es/no-polyfill/inputWithDisplayFormat/InputWithDisplayFormat.js +1 -0
  251. package/build/es/no-polyfill/inputWithDisplayFormat/index.js +1 -0
  252. package/build/es/no-polyfill/inputs/Input.js +1 -0
  253. package/build/es/no-polyfill/inputs/TextArea.js +1 -0
  254. package/build/es/no-polyfill/inputs/_common.js +2 -0
  255. package/build/es/no-polyfill/instructionsList/InstructionsList.js +3 -0
  256. package/build/es/no-polyfill/instructionsList/index.js +1 -0
  257. package/build/es/no-polyfill/link/Link.js +5 -0
  258. package/build/es/no-polyfill/link/Link.spec.js +1 -0
  259. package/build/es/no-polyfill/link/Link.story.js +1 -0
  260. package/build/es/no-polyfill/link/index.js +1 -0
  261. package/build/es/no-polyfill/loader/Loader.js +11 -0
  262. package/build/es/no-polyfill/loader/index.js +1 -0
  263. package/build/es/no-polyfill/logo/Logo.js +1 -0
  264. package/build/es/no-polyfill/logo/index.js +1 -0
  265. package/build/es/no-polyfill/logo/logoTypes.js +2 -0
  266. package/build/es/no-polyfill/logo/svg/flag-inverse.svg +1 -0
  267. package/build/es/no-polyfill/logo/svg/flag.svg +1 -0
  268. package/build/es/no-polyfill/logo/svg/logo-business-inverse.svg +1 -0
  269. package/build/es/no-polyfill/logo/svg/logo-business.svg +1 -0
  270. package/build/es/no-polyfill/logo/svg/logo-inverse.svg +1 -0
  271. package/build/es/no-polyfill/logo/svg/logo.svg +1 -0
  272. package/build/es/no-polyfill/markdown/Markdown.js +1 -0
  273. package/build/es/no-polyfill/markdown/index.js +1 -0
  274. package/build/es/no-polyfill/modal/Modal.js +1 -0
  275. package/build/es/no-polyfill/modal/Modal.story.js +1 -0
  276. package/build/es/no-polyfill/modal/index.js +1 -0
  277. package/build/es/no-polyfill/money/Money.js +1 -0
  278. package/build/es/no-polyfill/money/index.js +1 -0
  279. package/build/es/no-polyfill/moneyInput/MoneyInput.js +5 -0
  280. package/build/es/no-polyfill/moneyInput/MoneyInput.messages.js +1 -0
  281. package/build/es/no-polyfill/moneyInput/currencyFormatting.js +4 -0
  282. package/build/es/no-polyfill/moneyInput/index.js +1 -0
  283. package/build/es/no-polyfill/navigationOption/NavigationOption.js +1 -0
  284. package/build/es/no-polyfill/navigationOption/index.js +1 -0
  285. package/build/es/no-polyfill/navigationOptionsList/NavigationOptionsList.js +1 -0
  286. package/build/es/no-polyfill/navigationOptionsList/index.js +1 -0
  287. package/build/es/no-polyfill/nudge/Nudge.js +1 -0
  288. package/build/es/no-polyfill/nudge/index.js +1 -0
  289. package/build/es/no-polyfill/overlayHeader/OverlayHeader.js +1 -0
  290. package/build/es/no-polyfill/overlayHeader/index.js +1 -0
  291. package/build/es/no-polyfill/phoneNumberInput/PhoneNumberInput.js +1 -0
  292. package/build/es/no-polyfill/phoneNumberInput/data/countries.js +1 -0
  293. package/build/es/no-polyfill/phoneNumberInput/index.js +1 -0
  294. package/build/es/no-polyfill/phoneNumberInput/utils/cleanNumber/cleanNumber.js +1 -0
  295. package/build/es/no-polyfill/phoneNumberInput/utils/cleanNumber/index.js +1 -0
  296. package/build/es/no-polyfill/phoneNumberInput/utils/explodeNumberModel/index.js +7 -0
  297. package/build/es/no-polyfill/phoneNumberInput/utils/filterOptionsForQuery/index.js +7 -0
  298. package/build/es/no-polyfill/phoneNumberInput/utils/findCountryByCode/index.js +1 -0
  299. package/build/es/no-polyfill/phoneNumberInput/utils/findCountryByPrefix/index.js +1 -0
  300. package/build/es/no-polyfill/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js +1 -0
  301. package/build/es/no-polyfill/phoneNumberInput/utils/groupCountriesByPrefix/index.js +1 -0
  302. package/build/es/no-polyfill/phoneNumberInput/utils/index.js +1 -0
  303. package/build/es/no-polyfill/phoneNumberInput/utils/isOptionAndFitsQuery/index.js +1 -0
  304. package/build/es/no-polyfill/phoneNumberInput/utils/isOptionAndFitsQuery/isOptionAndFitsQuery.js +7 -0
  305. package/build/es/no-polyfill/phoneNumberInput/utils/isStringNumeric/index.js +1 -0
  306. package/build/es/no-polyfill/phoneNumberInput/utils/isStringNumeric/isStringNumeric.js +1 -0
  307. package/build/es/no-polyfill/phoneNumberInput/utils/isValidPhoneNumber/index.js +1 -0
  308. package/build/es/no-polyfill/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js +6 -0
  309. package/build/es/no-polyfill/phoneNumberInput/utils/longestMatchingPrefix/index.js +1 -0
  310. package/build/es/no-polyfill/phoneNumberInput/utils/setDefaultPrefix/index.js +11 -0
  311. package/build/es/no-polyfill/phoneNumberInput/utils/sortArrayByProperty/index.js +1 -0
  312. package/build/es/no-polyfill/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js +2 -0
  313. package/build/es/no-polyfill/popover/Popover.js +4 -0
  314. package/build/es/no-polyfill/popover/index.js +1 -0
  315. package/build/es/no-polyfill/processIndicator/ProcessIndicator.js +12 -0
  316. package/build/es/no-polyfill/processIndicator/index.js +1 -0
  317. package/build/es/no-polyfill/progress/Progress.js +1 -0
  318. package/build/es/no-polyfill/progress/index.js +1 -0
  319. package/build/es/no-polyfill/progressBar/ProgressBar.js +1 -0
  320. package/build/es/no-polyfill/progressBar/ProgressBar.story.js +1 -0
  321. package/build/es/no-polyfill/progressBar/index.js +1 -0
  322. package/build/es/no-polyfill/provider/Provider.js +1 -0
  323. package/build/es/no-polyfill/provider/Provider.spec.js +1 -0
  324. package/build/es/no-polyfill/provider/Provider.story.js +1 -0
  325. package/build/es/no-polyfill/provider/direction/DirectionProvider.js +1 -0
  326. package/build/es/no-polyfill/provider/direction/DirectionProvider.spec.js +1 -0
  327. package/build/es/no-polyfill/provider/direction/index.js +1 -0
  328. package/build/es/no-polyfill/provider/index.js +1 -0
  329. package/build/es/no-polyfill/provider/language/LanguageProvider.js +1 -0
  330. package/build/es/no-polyfill/provider/language/LanguageProvider.spec.js +1 -0
  331. package/build/es/no-polyfill/provider/language/index.js +1 -0
  332. package/build/es/no-polyfill/radio/Radio.js +1 -0
  333. package/build/es/no-polyfill/radio/index.js +1 -0
  334. package/build/es/no-polyfill/radioGroup/RadioGroup.js +2 -0
  335. package/build/es/no-polyfill/radioGroup/index.js +1 -0
  336. package/build/es/no-polyfill/radioOption/RadioOption.js +1 -0
  337. package/build/es/no-polyfill/radioOption/index.js +1 -0
  338. package/build/es/no-polyfill/section/Section.js +5 -0
  339. package/build/es/no-polyfill/section/Section.spec.js +1 -0
  340. package/build/es/no-polyfill/section/Section.story.js +1 -0
  341. package/build/es/no-polyfill/section/index.js +1 -0
  342. package/build/es/no-polyfill/select/Select.js +16 -0
  343. package/build/es/no-polyfill/select/Select.messages.js +1 -0
  344. package/build/es/no-polyfill/select/index.js +1 -0
  345. package/build/es/no-polyfill/select/option/Option.js +2 -0
  346. package/build/es/no-polyfill/select/option/index.js +1 -0
  347. package/build/es/no-polyfill/select/searchBox/SearchBox.js +1 -0
  348. package/build/es/no-polyfill/select/searchBox/index.js +1 -0
  349. package/build/es/no-polyfill/sizeSwapper/SizeSwapper.js +5 -0
  350. package/build/es/no-polyfill/sizeSwapper/index.js +1 -0
  351. package/build/es/no-polyfill/slidingPanel/SlidingPanel.js +2 -0
  352. package/build/es/no-polyfill/slidingPanel/index.js +1 -0
  353. package/build/es/no-polyfill/snackbar/Snackbar.js +1 -0
  354. package/build/es/no-polyfill/snackbar/SnackbarContext.js +1 -0
  355. package/build/es/no-polyfill/snackbar/SnackbarProvider.js +1 -0
  356. package/build/es/no-polyfill/snackbar/index.js +1 -0
  357. package/build/es/no-polyfill/snackbar/useSnackbar.js +1 -0
  358. package/build/es/no-polyfill/statusIcon/StatusIcon.js +1 -0
  359. package/build/es/no-polyfill/statusIcon/index.js +1 -0
  360. package/build/es/no-polyfill/stepper/Stepper.js +1 -0
  361. package/build/es/no-polyfill/stepper/deviceDetection.js +4 -0
  362. package/build/es/no-polyfill/stepper/index.js +1 -0
  363. package/build/es/no-polyfill/sticky/Sticky.js +1 -0
  364. package/build/es/no-polyfill/sticky/index.js +1 -0
  365. package/build/es/no-polyfill/summary/Summary.js +1 -0
  366. package/build/es/no-polyfill/summary/Summary.messages.js +1 -0
  367. package/build/es/no-polyfill/summary/index.js +1 -0
  368. package/build/es/no-polyfill/switch/Switch.js +1 -0
  369. package/build/es/no-polyfill/switch/Switch.story.js +1 -0
  370. package/build/es/no-polyfill/switch/index.js +1 -0
  371. package/build/es/no-polyfill/switchOption/SwitchOption.js +1 -0
  372. package/build/es/no-polyfill/switchOption/SwitchOption.story.js +1 -0
  373. package/build/es/no-polyfill/switchOption/index.js +1 -0
  374. package/build/es/no-polyfill/tabs/Tab.js +1 -0
  375. package/build/es/no-polyfill/tabs/TabList.js +1 -0
  376. package/build/es/no-polyfill/tabs/TabPanel.js +1 -0
  377. package/build/es/no-polyfill/tabs/Tabs.js +1 -0
  378. package/build/es/no-polyfill/tabs/index.js +1 -0
  379. package/build/es/no-polyfill/tabs/utils.js +5 -0
  380. package/build/es/no-polyfill/textareaWithDisplayFormat/TextareaWithDisplayFormat.js +1 -0
  381. package/build/es/no-polyfill/textareaWithDisplayFormat/index.js +1 -0
  382. package/build/es/no-polyfill/tile/Tile.js +1 -0
  383. package/build/es/no-polyfill/tile/index.js +1 -0
  384. package/build/es/no-polyfill/title/Title.js +1 -0
  385. package/build/es/no-polyfill/title/Title.spec.js +1 -0
  386. package/build/es/no-polyfill/title/Title.story.js +1 -0
  387. package/build/es/no-polyfill/title/index.js +1 -0
  388. package/build/es/no-polyfill/tooltip/Tooltip.js +8 -0
  389. package/build/es/no-polyfill/tooltip/Tooltip.spec.js +1 -0
  390. package/build/es/no-polyfill/tooltip/Tooltip.story.js +1 -0
  391. package/build/es/no-polyfill/tooltip/index.js +1 -0
  392. package/build/es/no-polyfill/typeahead/Typeahead.js +1 -0
  393. package/build/es/no-polyfill/typeahead/index.js +1 -0
  394. package/build/es/no-polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -0
  395. package/build/es/no-polyfill/typeahead/typeaheadOption/TypeaheadOption.js +1 -0
  396. package/build/es/no-polyfill/typeahead/util/highlight.js +1 -0
  397. package/build/es/no-polyfill/upload/Upload.js +12 -0
  398. package/build/es/no-polyfill/upload/Upload.messages.js +1 -0
  399. package/build/es/no-polyfill/upload/index.js +1 -0
  400. package/build/es/no-polyfill/upload/steps/completeStep/completeStep.js +1 -0
  401. package/build/es/no-polyfill/upload/steps/completeStep/index.js +1 -0
  402. package/build/es/no-polyfill/upload/steps/index.js +1 -0
  403. package/build/es/no-polyfill/upload/steps/mediaUploadStep/index.js +1 -0
  404. package/build/es/no-polyfill/upload/steps/mediaUploadStep/mediaUploadStep.js +1 -0
  405. package/build/es/no-polyfill/upload/steps/processingStep/index.js +1 -0
  406. package/build/es/no-polyfill/upload/steps/processingStep/processingStep.js +1 -0
  407. package/build/es/no-polyfill/upload/steps/uploadImageStep/index.js +1 -0
  408. package/build/es/no-polyfill/upload/steps/uploadImageStep/uploadImageStep.js +1 -0
  409. package/build/es/no-polyfill/upload/uploadSteps.js +2 -0
  410. package/build/es/no-polyfill/upload/utils/asyncFileRead/asyncFileRead.js +1 -0
  411. package/build/es/no-polyfill/upload/utils/asyncFileRead/index.js +1 -0
  412. package/build/es/no-polyfill/upload/utils/getFileType/getFileType.js +1 -0
  413. package/build/es/no-polyfill/upload/utils/getFileType/index.js +1 -0
  414. package/build/es/no-polyfill/upload/utils/getSupportedSpotMimeTypes/getSupportedSpotMimeTypes.js +2 -0
  415. package/build/es/no-polyfill/upload/utils/getSupportedSpotMimeTypes/index.js +1 -0
  416. package/build/es/no-polyfill/upload/utils/index.js +1 -0
  417. package/build/es/no-polyfill/upload/utils/isSizeValid/index.js +1 -0
  418. package/build/es/no-polyfill/upload/utils/isSizeValid/isSizeValid.js +1 -0
  419. package/build/es/no-polyfill/upload/utils/isTypeValid/index.js +1 -0
  420. package/build/es/no-polyfill/upload/utils/isTypeValid/isTypeValid.js +1 -0
  421. package/build/es/no-polyfill/upload/utils/postData/index.js +1 -0
  422. package/build/es/no-polyfill/upload/utils/postData/postData.js +1 -0
  423. package/build/es/no-polyfill/upload/utils/requestMedia/index.js +1 -0
  424. package/build/es/no-polyfill/upload/utils/requestMedia/requestMedia.js +1 -0
  425. package/build/es/no-polyfill/uploadInput/UploadInput.js +8 -0
  426. package/build/es/no-polyfill/uploadInput/UploadInput.messages.js +1 -0
  427. package/build/es/no-polyfill/uploadInput/UploadInput.spec.js +1 -0
  428. package/build/es/no-polyfill/uploadInput/UploadInput.story.js +1 -0
  429. package/build/es/no-polyfill/uploadInput/index.js +1 -0
  430. package/build/es/no-polyfill/uploadInput/types.js +1 -0
  431. package/build/es/no-polyfill/uploadInput/uploadButton/UploadButton.js +1 -0
  432. package/build/es/no-polyfill/uploadInput/uploadButton/UploadButton.messages.js +1 -0
  433. package/build/es/no-polyfill/uploadInput/uploadButton/UploadButton.spec.js +3 -0
  434. package/build/es/no-polyfill/uploadInput/uploadButton/defaults.js +1 -0
  435. package/build/es/no-polyfill/uploadInput/uploadButton/getAllowedFileTypes.js +3 -0
  436. package/build/es/no-polyfill/uploadInput/uploadButton/getAllowedFileTypes.spec.js +1 -0
  437. package/build/es/no-polyfill/uploadInput/uploadItem/UploadItem.js +2 -0
  438. package/build/es/no-polyfill/uploadInput/uploadItem/UploadItem.messages.js +1 -0
  439. package/build/es/no-polyfill/uploadInput/uploadItem/UploadItem.spec.js +1 -0
  440. package/build/es/no-polyfill/uploadInput/uploadItem/UploadItemBody.js +1 -0
  441. package/build/es/no-polyfill/utilities/deprecatedProperty/deprecatedProperty.js +1 -0
  442. package/build/es/no-polyfill/utilities/deprecatedProperty/index.js +1 -0
  443. package/build/es/no-polyfill/utilities/index.js +1 -0
  444. package/build/es/no-polyfill/utilities/logActionRequired.js +1 -0
  445. package/build/es/no-polyfill/utils.js +0 -0
  446. package/build/es/no-polyfill/withDisplayFormat/WithDisplayFormat.js +8 -0
  447. package/build/es/no-polyfill/withDisplayFormat/index.js +1 -0
  448. package/build/es/no-polyfill/withNextPortal/withNextPortal.js +1 -0
  449. package/build/es/polyfill/accordion/Accordion.js +1 -0
  450. package/build/es/polyfill/accordion/AccordionItem/AccordionItem.js +1 -0
  451. package/build/es/polyfill/accordion/AccordionItem/index.js +1 -0
  452. package/build/es/polyfill/accordion/index.js +1 -0
  453. package/build/es/polyfill/actionButton/ActionButton.js +1 -0
  454. package/build/es/polyfill/actionButton/ActionButton.spec.js +1 -0
  455. package/build/es/polyfill/actionButton/ActionButton.story.js +1 -0
  456. package/build/es/polyfill/actionButton/index.js +1 -0
  457. package/build/es/polyfill/actionOption/ActionOption.js +1 -0
  458. package/build/es/polyfill/actionOption/ActionOption.story.js +1 -0
  459. package/build/es/polyfill/actionOption/index.js +1 -0
  460. package/build/es/polyfill/alert/Alert.js +1 -0
  461. package/build/es/polyfill/alert/index.js +1 -0
  462. package/build/es/polyfill/alert/inlineMarkdown/InlineMarkdown.js +1 -0
  463. package/build/es/polyfill/alert/inlineMarkdown/index.js +1 -0
  464. package/build/es/polyfill/alert/withArrow/alertArrowPositions.js +2 -0
  465. package/build/es/polyfill/alert/withArrow/index.js +1 -0
  466. package/build/es/polyfill/alert/withArrow/withArrow.js +1 -0
  467. package/build/es/polyfill/avatar/Avatar.js +1 -0
  468. package/build/es/polyfill/avatar/avatarTypes.js +2 -0
  469. package/build/es/polyfill/avatar/index.js +1 -0
  470. package/build/es/polyfill/avatarWrapper/AvatarWrapper.js +1 -0
  471. package/build/es/polyfill/avatarWrapper/index.js +1 -0
  472. package/build/es/polyfill/badge/Badge.js +1 -0
  473. package/build/es/polyfill/badge/index.js +1 -0
  474. package/build/es/polyfill/body/Body.js +3 -0
  475. package/build/es/polyfill/body/Body.spec.js +1 -0
  476. package/build/es/polyfill/body/Body.story.js +1 -0
  477. package/build/es/polyfill/body/index.js +1 -0
  478. package/build/es/polyfill/button/Button.js +7 -0
  479. package/build/es/polyfill/button/classMap.js +1 -0
  480. package/build/es/polyfill/button/index.js +1 -0
  481. package/build/es/polyfill/button/legacyUtils/index.js +1 -0
  482. package/build/es/polyfill/button/legacyUtils/legacyUtils.js +4 -0
  483. package/build/es/polyfill/card/Card.js +1 -0
  484. package/build/es/polyfill/card/index.js +1 -0
  485. package/build/es/polyfill/checkbox/Checkbox.js +1 -0
  486. package/build/es/polyfill/checkbox/index.js +1 -0
  487. package/build/es/polyfill/checkboxButton/CheckboxButton.js +1 -0
  488. package/build/es/polyfill/checkboxButton/CheckboxButton.spec.js +1 -0
  489. package/build/es/polyfill/checkboxButton/CheckboxButton.story.js +1 -0
  490. package/build/es/polyfill/checkboxButton/index.js +1 -0
  491. package/build/es/polyfill/checkboxOption/CheckboxOption.js +1 -0
  492. package/build/es/polyfill/checkboxOption/CheckboxOption.spec.js +1 -0
  493. package/build/es/polyfill/checkboxOption/CheckboxOption.story.js +1 -0
  494. package/build/es/polyfill/checkboxOption/index.js +1 -0
  495. package/build/es/polyfill/chevron/Chevron.js +1 -0
  496. package/build/es/polyfill/chevron/index.js +1 -0
  497. package/build/es/polyfill/chips/Chip.js +1 -0
  498. package/build/es/polyfill/chips/Chips.js +1 -0
  499. package/build/es/polyfill/chips/Chips.messages.js +1 -0
  500. package/build/es/polyfill/chips/Chips.spec.js +1 -0
  501. package/build/es/polyfill/chips/Chips.story.js +1 -0
  502. package/build/es/polyfill/chips/index.js +1 -0
  503. package/build/es/polyfill/circularButton/CircularButton.js +1 -0
  504. package/build/es/polyfill/circularButton/index.js +1 -0
  505. package/build/es/polyfill/common/DOMOperations/DOMOperations.js +9 -0
  506. package/build/es/polyfill/common/DOMOperations/index.js +1 -0
  507. package/build/es/polyfill/common/Option/Option.js +1 -0
  508. package/build/es/polyfill/common/Option/index.js +1 -0
  509. package/build/es/polyfill/common/RadioButton/RadioButton.js +1 -0
  510. package/build/es/polyfill/common/RadioButton/index.js +1 -0
  511. package/build/es/polyfill/common/bottomSheet/BottomSheet.js +10 -0
  512. package/build/es/polyfill/common/bottomSheet/BottomSheet.spec.js +1 -0
  513. package/build/es/polyfill/common/bottomSheet/index.js +1 -0
  514. package/build/es/polyfill/common/closeButton/CloseButton.js +1 -0
  515. package/build/es/polyfill/common/closeButton/CloseButton.messages.js +1 -0
  516. package/build/es/polyfill/common/closeButton/index.js +1 -0
  517. package/build/es/polyfill/common/commonProps.js +0 -0
  518. package/build/es/polyfill/common/dateUtils/getDayNames/getDayNames.js +2 -0
  519. package/build/es/polyfill/common/dateUtils/getDayNames/index.js +1 -0
  520. package/build/es/polyfill/common/dateUtils/getMonthNames/getMonthNames.js +1 -0
  521. package/build/es/polyfill/common/dateUtils/getMonthNames/index.js +1 -0
  522. package/build/es/polyfill/common/dateUtils/index.js +1 -0
  523. package/build/es/polyfill/common/dateUtils/isDateValid/index.js +1 -0
  524. package/build/es/polyfill/common/dateUtils/isDateValid/isDateValid.js +1 -0
  525. package/build/es/polyfill/common/dateUtils/isMonthAndYearFormat/index.js +1 -0
  526. package/build/es/polyfill/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js +1 -0
  527. package/build/es/polyfill/common/dateUtils/isWithinRange/index.js +1 -0
  528. package/build/es/polyfill/common/dateUtils/isWithinRange/isWithinRange.js +1 -0
  529. package/build/es/polyfill/common/dateUtils/moveToWithinRange/index.js +1 -0
  530. package/build/es/polyfill/common/dateUtils/moveToWithinRange/moveToWithinRange.js +2 -0
  531. package/build/es/polyfill/common/deviceDetection/deviceDetection.js +1 -0
  532. package/build/es/polyfill/common/deviceDetection/index.js +1 -0
  533. package/build/es/polyfill/common/direction.js +1 -0
  534. package/build/es/polyfill/common/domHelpers/documentIosClick.js +5 -0
  535. package/build/es/polyfill/common/domHelpers/index.js +1 -0
  536. package/build/es/polyfill/common/fakeEvents.js +1 -0
  537. package/build/es/polyfill/common/fileType.js +1 -0
  538. package/build/es/polyfill/common/flowHeader/FlowHeader.js +1 -0
  539. package/build/es/polyfill/common/flowHeader/index.js +1 -0
  540. package/build/es/polyfill/common/focusBoundary/FocusBoundary.js +1 -0
  541. package/build/es/polyfill/common/focusBoundary/FocusBoundary.spec.js +1 -0
  542. package/build/es/polyfill/common/focusBoundary/index.js +1 -0
  543. package/build/es/polyfill/common/focusBoundary/utils/getFocusableElements.js +6 -0
  544. package/build/es/polyfill/common/focusBoundary/utils/index.js +1 -0
  545. package/build/es/polyfill/common/focusBoundary/utils/resetFocus.js +6 -0
  546. package/build/es/polyfill/common/historyNavigator/historyNavigator.js +1 -0
  547. package/build/es/polyfill/common/historyNavigator/index.js +1 -0
  548. package/build/es/polyfill/common/hooks/index.js +1 -0
  549. package/build/es/polyfill/common/hooks/useClientWidth/index.js +1 -0
  550. package/build/es/polyfill/common/hooks/useClientWidth/useClientWidth.js +5 -0
  551. package/build/es/polyfill/common/hooks/useConditionalListener/index.js +1 -0
  552. package/build/es/polyfill/common/hooks/useConditionalListener/useConditionalListener.js +1 -0
  553. package/build/es/polyfill/common/hooks/useDirection/index.js +1 -0
  554. package/build/es/polyfill/common/hooks/useDirection/useDirection.js +1 -0
  555. package/build/es/polyfill/common/hooks/useHasIntersected/index.js +1 -0
  556. package/build/es/polyfill/common/hooks/useHasIntersected/useHasIntersected.js +11 -0
  557. package/build/es/polyfill/common/hooks/useLayout/index.js +1 -0
  558. package/build/es/polyfill/common/hooks/useLayout/useLayout.js +1 -0
  559. package/build/es/polyfill/common/index.js +2 -0
  560. package/build/es/polyfill/common/key.js +1 -0
  561. package/build/es/polyfill/common/keyCodes.js +5 -0
  562. package/build/es/polyfill/common/locale/index.js +37 -0
  563. package/build/es/polyfill/common/panel/Panel.js +10 -0
  564. package/build/es/polyfill/common/panel/index.js +1 -0
  565. package/build/es/polyfill/common/propsValues/breakpoint.js +1 -0
  566. package/build/es/polyfill/common/propsValues/control.js +1 -0
  567. package/build/es/polyfill/common/propsValues/dateMode.js +1 -0
  568. package/build/es/polyfill/common/propsValues/layouts.js +1 -0
  569. package/build/es/polyfill/common/propsValues/markdownNodeType.js +1 -0
  570. package/build/es/polyfill/common/propsValues/monthFormat.js +1 -0
  571. package/build/es/polyfill/common/propsValues/position.js +1 -0
  572. package/build/es/polyfill/common/propsValues/profileType.js +1 -0
  573. package/build/es/polyfill/common/propsValues/scroll.js +1 -0
  574. package/build/es/polyfill/common/propsValues/sentiment.js +1 -0
  575. package/build/es/polyfill/common/propsValues/size.js +1 -0
  576. package/build/es/polyfill/common/propsValues/status.js +1 -0
  577. package/build/es/polyfill/common/propsValues/type.js +3 -0
  578. package/build/es/polyfill/common/propsValues/typography.js +1 -0
  579. package/build/es/polyfill/common/propsValues/variant.js +1 -0
  580. package/build/es/polyfill/common/propsValues/width.js +1 -0
  581. package/build/es/polyfill/common/requirements.js +3 -0
  582. package/build/es/polyfill/common/responsivePanel/ResponsivePanel.js +1 -0
  583. package/build/es/polyfill/common/responsivePanel/index.js +1 -0
  584. package/build/es/polyfill/common/textFormat/formatWithPattern/formatWithPattern.js +2 -0
  585. package/build/es/polyfill/common/textFormat/formatWithPattern/index.js +1 -0
  586. package/build/es/polyfill/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js +1 -0
  587. package/build/es/polyfill/common/textFormat/getCountOfSymbolsInSelection/index.js +1 -0
  588. package/build/es/polyfill/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js +1 -0
  589. package/build/es/polyfill/common/textFormat/getCursorPositionAfterKeystroke/index.js +1 -0
  590. package/build/es/polyfill/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js +2 -0
  591. package/build/es/polyfill/common/textFormat/getDistanceToSymbol/index.js +1 -0
  592. package/build/es/polyfill/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js +1 -0
  593. package/build/es/polyfill/common/textFormat/getSymbolsInPatternWithPosition/index.js +1 -0
  594. package/build/es/polyfill/common/textFormat/index.js +1 -0
  595. package/build/es/polyfill/common/textFormat/unformatWithPattern/index.js +1 -0
  596. package/build/es/polyfill/common/textFormat/unformatWithPattern/unformatWithPattern.js +1 -0
  597. package/build/es/polyfill/common/theme.js +1 -0
  598. package/build/es/polyfill/criticalBanner/CriticalCommsBanner.js +1 -0
  599. package/build/es/polyfill/criticalBanner/CriticalCommsBanner.story.js +1 -0
  600. package/build/es/polyfill/criticalBanner/index.js +1 -0
  601. package/build/es/polyfill/dateInput/DateInput.js +4 -0
  602. package/build/es/polyfill/dateInput/DateInput.messages.js +1 -0
  603. package/build/es/polyfill/dateInput/index.js +1 -0
  604. package/build/es/polyfill/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +2 -0
  605. package/build/es/polyfill/dateInput/utils/convertToLocalMidnight/index.js +1 -0
  606. package/build/es/polyfill/dateInput/utils/explodeDate/explodeDate.js +1 -0
  607. package/build/es/polyfill/dateInput/utils/explodeDate/index.js +1 -0
  608. package/build/es/polyfill/dateInput/utils/index.js +1 -0
  609. package/build/es/polyfill/dateLookup/DateLookup.js +3 -0
  610. package/build/es/polyfill/dateLookup/dateHeader/DateHeader.js +1 -0
  611. package/build/es/polyfill/dateLookup/dateHeader/index.js +1 -0
  612. package/build/es/polyfill/dateLookup/dateTrigger/DateTrigger.js +1 -0
  613. package/build/es/polyfill/dateLookup/dateTrigger/DateTrigger.messages.js +1 -0
  614. package/build/es/polyfill/dateLookup/dateTrigger/index.js +1 -0
  615. package/build/es/polyfill/dateLookup/dayCalendar/DayCalendar.js +1 -0
  616. package/build/es/polyfill/dateLookup/dayCalendar/index.js +1 -0
  617. package/build/es/polyfill/dateLookup/dayCalendar/table/DayCalendarTable.js +4 -0
  618. package/build/es/polyfill/dateLookup/dayCalendar/table/index.js +1 -0
  619. package/build/es/polyfill/dateLookup/getStartOfDay/getStartOfDay.js +5 -0
  620. package/build/es/polyfill/dateLookup/getStartOfDay/index.js +1 -0
  621. package/build/es/polyfill/dateLookup/index.js +1 -0
  622. package/build/es/polyfill/dateLookup/monthCalendar/MonthCalendar.js +1 -0
  623. package/build/es/polyfill/dateLookup/monthCalendar/index.js +1 -0
  624. package/build/es/polyfill/dateLookup/monthCalendar/table/MonthCalendarTable.js +1 -0
  625. package/build/es/polyfill/dateLookup/monthCalendar/table/index.js +1 -0
  626. package/build/es/polyfill/dateLookup/tableLink/TableLink.js +2 -0
  627. package/build/es/polyfill/dateLookup/tableLink/index.js +1 -0
  628. package/build/es/polyfill/dateLookup/yearCalendar/YearCalendar.js +1 -0
  629. package/build/es/polyfill/dateLookup/yearCalendar/index.js +1 -0
  630. package/build/es/polyfill/dateLookup/yearCalendar/table/YearCalendarTable.js +1 -0
  631. package/build/es/polyfill/dateLookup/yearCalendar/table/index.js +1 -0
  632. package/build/es/polyfill/decision/Decision.js +5 -0
  633. package/build/es/polyfill/decision/decisionEnums.js +3 -0
  634. package/build/es/polyfill/decision/index.js +1 -0
  635. package/build/es/polyfill/definitionList/DefinitionList.js +1 -0
  636. package/build/es/polyfill/definitionList/index.js +1 -0
  637. package/build/es/polyfill/dimmer/Dimmer.js +6 -0
  638. package/build/es/polyfill/dimmer/Dimmer.story.js +1 -0
  639. package/build/es/polyfill/dimmer/dimmerManager/DimmerManager.js +5 -0
  640. package/build/es/polyfill/dimmer/dimmerManager/index.js +1 -0
  641. package/build/es/polyfill/dimmer/index.js +1 -0
  642. package/build/es/polyfill/display/Display.js +1 -0
  643. package/build/es/polyfill/display/Display.story.js +2 -0
  644. package/build/es/polyfill/display/index.js +1 -0
  645. package/build/es/polyfill/drawer/Drawer.js +1 -0
  646. package/build/es/polyfill/drawer/index.js +1 -0
  647. package/build/es/polyfill/dropFade/DropFade.js +3 -0
  648. package/build/es/polyfill/dropFade/DropFade.story.js +1 -0
  649. package/build/es/polyfill/dropFade/index.js +1 -0
  650. package/build/es/polyfill/dynamicFieldDefinitionList/DynamicFieldDefinitionList.js +1 -0
  651. package/build/es/polyfill/dynamicFieldDefinitionList/FormattedValue/FormattedValue.js +8 -0
  652. package/build/es/polyfill/dynamicFieldDefinitionList/FormattedValue/index.js +1 -0
  653. package/build/es/polyfill/dynamicFieldDefinitionList/index.js +1 -0
  654. package/build/es/polyfill/dynamicFieldDefinitionList/utils/createDefinitions.js +2 -0
  655. package/build/es/polyfill/dynamicFieldDefinitionList/utils/text-format.js +1 -0
  656. package/build/es/polyfill/emphasis/Emphasis.js +2 -0
  657. package/build/es/polyfill/emphasis/EmphasisHtmlTransformer.js +7 -0
  658. package/build/es/polyfill/emphasis/index.js +1 -0
  659. package/build/es/polyfill/flowNavigation/FlowNavigation.js +2 -0
  660. package/build/es/polyfill/flowNavigation/animatedLabel/AnimatedLabel.js +1 -0
  661. package/build/es/polyfill/flowNavigation/animatedLabel/index.js +1 -0
  662. package/build/es/polyfill/flowNavigation/backButton/BackButton.js +1 -0
  663. package/build/es/polyfill/flowNavigation/backButton/index.js +1 -0
  664. package/build/es/polyfill/flowNavigation/index.js +1 -0
  665. package/build/es/polyfill/header/Header.js +5 -0
  666. package/build/es/polyfill/header/Header.spec.js +1 -0
  667. package/build/es/polyfill/header/Header.story.js +2 -0
  668. package/build/es/polyfill/header/index.js +1 -0
  669. package/build/es/polyfill/i18n/cs.json +44 -0
  670. package/build/es/polyfill/i18n/de.json +44 -0
  671. package/build/es/polyfill/i18n/en.json +41 -0
  672. package/build/es/polyfill/i18n/es.json +44 -0
  673. package/build/es/polyfill/i18n/fr.json +44 -0
  674. package/build/es/polyfill/i18n/hu.json +44 -0
  675. package/build/es/polyfill/i18n/id.json +44 -0
  676. package/build/es/polyfill/i18n/index.js +1 -0
  677. package/build/es/polyfill/i18n/it.json +44 -0
  678. package/build/es/polyfill/i18n/ja.json +44 -0
  679. package/build/es/polyfill/i18n/pl.json +44 -0
  680. package/build/es/polyfill/i18n/pt.json +44 -0
  681. package/build/es/polyfill/i18n/ro.json +44 -0
  682. package/build/es/polyfill/i18n/ru.json +44 -0
  683. package/build/es/polyfill/i18n/th.json +44 -0
  684. package/build/es/polyfill/i18n/tr.json +44 -0
  685. package/build/es/polyfill/i18n/uk.json +44 -0
  686. package/build/es/polyfill/i18n/zh-CN.json +44 -0
  687. package/build/es/polyfill/i18n/zh.json +44 -0
  688. package/build/es/polyfill/image/Image.js +12 -0
  689. package/build/es/polyfill/image/index.js +1 -0
  690. package/build/es/polyfill/index.js +13 -0
  691. package/build/es/polyfill/info/Info.js +1 -0
  692. package/build/es/polyfill/info/index.js +1 -0
  693. package/build/es/polyfill/info/infoPresentations.js +2 -0
  694. package/build/es/polyfill/inlineAlert/InlineAlert.js +1 -0
  695. package/build/es/polyfill/inlineAlert/index.js +1 -0
  696. package/build/es/polyfill/inputWithDisplayFormat/InputWithDisplayFormat.js +1 -0
  697. package/build/es/polyfill/inputWithDisplayFormat/index.js +1 -0
  698. package/build/es/polyfill/inputs/Input.js +1 -0
  699. package/build/es/polyfill/inputs/TextArea.js +1 -0
  700. package/build/es/polyfill/inputs/_common.js +2 -0
  701. package/build/es/polyfill/instructionsList/InstructionsList.js +3 -0
  702. package/build/es/polyfill/instructionsList/index.js +1 -0
  703. package/build/es/polyfill/link/Link.js +5 -0
  704. package/build/es/polyfill/link/Link.spec.js +1 -0
  705. package/build/es/polyfill/link/Link.story.js +1 -0
  706. package/build/es/polyfill/link/index.js +1 -0
  707. package/build/es/polyfill/loader/Loader.js +11 -0
  708. package/build/es/polyfill/loader/index.js +1 -0
  709. package/build/es/polyfill/logo/Logo.js +1 -0
  710. package/build/es/polyfill/logo/index.js +1 -0
  711. package/build/es/polyfill/logo/logoTypes.js +2 -0
  712. package/build/es/polyfill/logo/svg/flag-inverse.svg +1 -0
  713. package/build/es/polyfill/logo/svg/flag.svg +1 -0
  714. package/build/es/polyfill/logo/svg/logo-business-inverse.svg +1 -0
  715. package/build/es/polyfill/logo/svg/logo-business.svg +1 -0
  716. package/build/es/polyfill/logo/svg/logo-inverse.svg +1 -0
  717. package/build/es/polyfill/logo/svg/logo.svg +1 -0
  718. package/build/es/polyfill/markdown/Markdown.js +1 -0
  719. package/build/es/polyfill/markdown/index.js +1 -0
  720. package/build/es/polyfill/modal/Modal.js +1 -0
  721. package/build/es/polyfill/modal/Modal.story.js +1 -0
  722. package/build/es/polyfill/modal/index.js +1 -0
  723. package/build/es/polyfill/money/Money.js +1 -0
  724. package/build/es/polyfill/money/index.js +1 -0
  725. package/build/es/polyfill/moneyInput/MoneyInput.js +5 -0
  726. package/build/es/polyfill/moneyInput/MoneyInput.messages.js +1 -0
  727. package/build/es/polyfill/moneyInput/currencyFormatting.js +4 -0
  728. package/build/es/polyfill/moneyInput/index.js +1 -0
  729. package/build/es/polyfill/navigationOption/NavigationOption.js +1 -0
  730. package/build/es/polyfill/navigationOption/index.js +1 -0
  731. package/build/es/polyfill/navigationOptionsList/NavigationOptionsList.js +1 -0
  732. package/build/es/polyfill/navigationOptionsList/index.js +1 -0
  733. package/build/es/polyfill/nudge/Nudge.js +1 -0
  734. package/build/es/polyfill/nudge/index.js +1 -0
  735. package/build/es/polyfill/overlayHeader/OverlayHeader.js +1 -0
  736. package/build/es/polyfill/overlayHeader/index.js +1 -0
  737. package/build/es/polyfill/phoneNumberInput/PhoneNumberInput.js +1 -0
  738. package/build/es/polyfill/phoneNumberInput/data/countries.js +1 -0
  739. package/build/es/polyfill/phoneNumberInput/index.js +1 -0
  740. package/build/es/polyfill/phoneNumberInput/utils/cleanNumber/cleanNumber.js +1 -0
  741. package/build/es/polyfill/phoneNumberInput/utils/cleanNumber/index.js +1 -0
  742. package/build/es/polyfill/phoneNumberInput/utils/explodeNumberModel/index.js +7 -0
  743. package/build/es/polyfill/phoneNumberInput/utils/filterOptionsForQuery/index.js +7 -0
  744. package/build/es/polyfill/phoneNumberInput/utils/findCountryByCode/index.js +1 -0
  745. package/build/es/polyfill/phoneNumberInput/utils/findCountryByPrefix/index.js +1 -0
  746. package/build/es/polyfill/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js +1 -0
  747. package/build/es/polyfill/phoneNumberInput/utils/groupCountriesByPrefix/index.js +1 -0
  748. package/build/es/polyfill/phoneNumberInput/utils/index.js +1 -0
  749. package/build/es/polyfill/phoneNumberInput/utils/isOptionAndFitsQuery/index.js +1 -0
  750. package/build/es/polyfill/phoneNumberInput/utils/isOptionAndFitsQuery/isOptionAndFitsQuery.js +7 -0
  751. package/build/es/polyfill/phoneNumberInput/utils/isStringNumeric/index.js +1 -0
  752. package/build/es/polyfill/phoneNumberInput/utils/isStringNumeric/isStringNumeric.js +1 -0
  753. package/build/es/polyfill/phoneNumberInput/utils/isValidPhoneNumber/index.js +1 -0
  754. package/build/es/polyfill/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js +6 -0
  755. package/build/es/polyfill/phoneNumberInput/utils/longestMatchingPrefix/index.js +1 -0
  756. package/build/es/polyfill/phoneNumberInput/utils/setDefaultPrefix/index.js +11 -0
  757. package/build/es/polyfill/phoneNumberInput/utils/sortArrayByProperty/index.js +1 -0
  758. package/build/es/polyfill/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js +2 -0
  759. package/build/es/polyfill/popover/Popover.js +4 -0
  760. package/build/es/polyfill/popover/index.js +1 -0
  761. package/build/es/polyfill/processIndicator/ProcessIndicator.js +12 -0
  762. package/build/es/polyfill/processIndicator/index.js +1 -0
  763. package/build/es/polyfill/progress/Progress.js +1 -0
  764. package/build/es/polyfill/progress/index.js +1 -0
  765. package/build/es/polyfill/progressBar/ProgressBar.js +1 -0
  766. package/build/es/polyfill/progressBar/ProgressBar.story.js +1 -0
  767. package/build/es/polyfill/progressBar/index.js +1 -0
  768. package/build/es/polyfill/provider/Provider.js +1 -0
  769. package/build/es/polyfill/provider/Provider.spec.js +1 -0
  770. package/build/es/polyfill/provider/Provider.story.js +1 -0
  771. package/build/es/polyfill/provider/direction/DirectionProvider.js +1 -0
  772. package/build/es/polyfill/provider/direction/DirectionProvider.spec.js +1 -0
  773. package/build/es/polyfill/provider/direction/index.js +1 -0
  774. package/build/es/polyfill/provider/index.js +1 -0
  775. package/build/es/polyfill/provider/language/LanguageProvider.js +1 -0
  776. package/build/es/polyfill/provider/language/LanguageProvider.spec.js +1 -0
  777. package/build/es/polyfill/provider/language/index.js +1 -0
  778. package/build/es/polyfill/radio/Radio.js +1 -0
  779. package/build/es/polyfill/radio/index.js +1 -0
  780. package/build/es/polyfill/radioGroup/RadioGroup.js +2 -0
  781. package/build/es/polyfill/radioGroup/index.js +1 -0
  782. package/build/es/polyfill/radioOption/RadioOption.js +1 -0
  783. package/build/es/polyfill/radioOption/index.js +1 -0
  784. package/build/es/polyfill/section/Section.js +5 -0
  785. package/build/es/polyfill/section/Section.spec.js +1 -0
  786. package/build/es/polyfill/section/Section.story.js +1 -0
  787. package/build/es/polyfill/section/index.js +1 -0
  788. package/build/es/polyfill/select/Select.js +16 -0
  789. package/build/es/polyfill/select/Select.messages.js +1 -0
  790. package/build/es/polyfill/select/index.js +1 -0
  791. package/build/es/polyfill/select/option/Option.js +2 -0
  792. package/build/es/polyfill/select/option/index.js +1 -0
  793. package/build/es/polyfill/select/searchBox/SearchBox.js +1 -0
  794. package/build/es/polyfill/select/searchBox/index.js +1 -0
  795. package/build/es/polyfill/sizeSwapper/SizeSwapper.js +5 -0
  796. package/build/es/polyfill/sizeSwapper/index.js +1 -0
  797. package/build/es/polyfill/slidingPanel/SlidingPanel.js +2 -0
  798. package/build/es/polyfill/slidingPanel/index.js +1 -0
  799. package/build/es/polyfill/snackbar/Snackbar.js +1 -0
  800. package/build/es/polyfill/snackbar/SnackbarContext.js +1 -0
  801. package/build/es/polyfill/snackbar/SnackbarProvider.js +1 -0
  802. package/build/es/polyfill/snackbar/index.js +1 -0
  803. package/build/es/polyfill/snackbar/useSnackbar.js +1 -0
  804. package/build/es/polyfill/statusIcon/StatusIcon.js +1 -0
  805. package/build/es/polyfill/statusIcon/index.js +1 -0
  806. package/build/es/polyfill/stepper/Stepper.js +1 -0
  807. package/build/es/polyfill/stepper/deviceDetection.js +4 -0
  808. package/build/es/polyfill/stepper/index.js +1 -0
  809. package/build/es/polyfill/sticky/Sticky.js +1 -0
  810. package/build/es/polyfill/sticky/index.js +1 -0
  811. package/build/es/polyfill/summary/Summary.js +1 -0
  812. package/build/es/polyfill/summary/Summary.messages.js +1 -0
  813. package/build/es/polyfill/summary/index.js +1 -0
  814. package/build/es/polyfill/switch/Switch.js +1 -0
  815. package/build/es/polyfill/switch/Switch.story.js +1 -0
  816. package/build/es/polyfill/switch/index.js +1 -0
  817. package/build/es/polyfill/switchOption/SwitchOption.js +1 -0
  818. package/build/es/polyfill/switchOption/SwitchOption.story.js +1 -0
  819. package/build/es/polyfill/switchOption/index.js +1 -0
  820. package/build/es/polyfill/tabs/Tab.js +1 -0
  821. package/build/es/polyfill/tabs/TabList.js +1 -0
  822. package/build/es/polyfill/tabs/TabPanel.js +1 -0
  823. package/build/es/polyfill/tabs/Tabs.js +1 -0
  824. package/build/es/polyfill/tabs/index.js +1 -0
  825. package/build/es/polyfill/tabs/utils.js +5 -0
  826. package/build/es/polyfill/textareaWithDisplayFormat/TextareaWithDisplayFormat.js +1 -0
  827. package/build/es/polyfill/textareaWithDisplayFormat/index.js +1 -0
  828. package/build/es/polyfill/tile/Tile.js +1 -0
  829. package/build/es/polyfill/tile/index.js +1 -0
  830. package/build/es/polyfill/title/Title.js +1 -0
  831. package/build/es/polyfill/title/Title.spec.js +1 -0
  832. package/build/es/polyfill/title/Title.story.js +1 -0
  833. package/build/es/polyfill/title/index.js +1 -0
  834. package/build/es/polyfill/tooltip/Tooltip.js +8 -0
  835. package/build/es/polyfill/tooltip/Tooltip.spec.js +1 -0
  836. package/build/es/polyfill/tooltip/Tooltip.story.js +1 -0
  837. package/build/es/polyfill/tooltip/index.js +1 -0
  838. package/build/es/polyfill/typeahead/Typeahead.js +1 -0
  839. package/build/es/polyfill/typeahead/index.js +1 -0
  840. package/build/es/polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -0
  841. package/build/es/polyfill/typeahead/typeaheadOption/TypeaheadOption.js +1 -0
  842. package/build/es/polyfill/typeahead/util/highlight.js +1 -0
  843. package/build/es/polyfill/upload/Upload.js +12 -0
  844. package/build/es/polyfill/upload/Upload.messages.js +1 -0
  845. package/build/es/polyfill/upload/index.js +1 -0
  846. package/build/es/polyfill/upload/steps/completeStep/completeStep.js +1 -0
  847. package/build/es/polyfill/upload/steps/completeStep/index.js +1 -0
  848. package/build/es/polyfill/upload/steps/index.js +1 -0
  849. package/build/es/polyfill/upload/steps/mediaUploadStep/index.js +1 -0
  850. package/build/es/polyfill/upload/steps/mediaUploadStep/mediaUploadStep.js +1 -0
  851. package/build/es/polyfill/upload/steps/processingStep/index.js +1 -0
  852. package/build/es/polyfill/upload/steps/processingStep/processingStep.js +1 -0
  853. package/build/es/polyfill/upload/steps/uploadImageStep/index.js +1 -0
  854. package/build/es/polyfill/upload/steps/uploadImageStep/uploadImageStep.js +1 -0
  855. package/build/es/polyfill/upload/uploadSteps.js +2 -0
  856. package/build/es/polyfill/upload/utils/asyncFileRead/asyncFileRead.js +1 -0
  857. package/build/es/polyfill/upload/utils/asyncFileRead/index.js +1 -0
  858. package/build/es/polyfill/upload/utils/getFileType/getFileType.js +1 -0
  859. package/build/es/polyfill/upload/utils/getFileType/index.js +1 -0
  860. package/build/es/polyfill/upload/utils/getSupportedSpotMimeTypes/getSupportedSpotMimeTypes.js +2 -0
  861. package/build/es/polyfill/upload/utils/getSupportedSpotMimeTypes/index.js +1 -0
  862. package/build/es/polyfill/upload/utils/index.js +1 -0
  863. package/build/es/polyfill/upload/utils/isSizeValid/index.js +1 -0
  864. package/build/es/polyfill/upload/utils/isSizeValid/isSizeValid.js +1 -0
  865. package/build/es/polyfill/upload/utils/isTypeValid/index.js +1 -0
  866. package/build/es/polyfill/upload/utils/isTypeValid/isTypeValid.js +1 -0
  867. package/build/es/polyfill/upload/utils/postData/index.js +1 -0
  868. package/build/es/polyfill/upload/utils/postData/postData.js +1 -0
  869. package/build/es/polyfill/upload/utils/requestMedia/index.js +1 -0
  870. package/build/es/polyfill/upload/utils/requestMedia/requestMedia.js +1 -0
  871. package/build/es/polyfill/uploadInput/UploadInput.js +8 -0
  872. package/build/es/polyfill/uploadInput/UploadInput.messages.js +1 -0
  873. package/build/es/polyfill/uploadInput/UploadInput.spec.js +1 -0
  874. package/build/es/polyfill/uploadInput/UploadInput.story.js +1 -0
  875. package/build/es/polyfill/uploadInput/index.js +1 -0
  876. package/build/es/polyfill/uploadInput/types.js +1 -0
  877. package/build/es/polyfill/uploadInput/uploadButton/UploadButton.js +1 -0
  878. package/build/es/polyfill/uploadInput/uploadButton/UploadButton.messages.js +1 -0
  879. package/build/es/polyfill/uploadInput/uploadButton/UploadButton.spec.js +3 -0
  880. package/build/es/polyfill/uploadInput/uploadButton/defaults.js +1 -0
  881. package/build/es/polyfill/uploadInput/uploadButton/getAllowedFileTypes.js +3 -0
  882. package/build/es/polyfill/uploadInput/uploadButton/getAllowedFileTypes.spec.js +1 -0
  883. package/build/es/polyfill/uploadInput/uploadItem/UploadItem.js +2 -0
  884. package/build/es/polyfill/uploadInput/uploadItem/UploadItem.messages.js +1 -0
  885. package/build/es/polyfill/uploadInput/uploadItem/UploadItem.spec.js +1 -0
  886. package/build/es/polyfill/uploadInput/uploadItem/UploadItemBody.js +1 -0
  887. package/build/es/polyfill/utilities/deprecatedProperty/deprecatedProperty.js +1 -0
  888. package/build/es/polyfill/utilities/deprecatedProperty/index.js +1 -0
  889. package/build/es/polyfill/utilities/index.js +1 -0
  890. package/build/es/polyfill/utilities/logActionRequired.js +1 -0
  891. package/build/es/polyfill/utils.js +0 -0
  892. package/build/es/polyfill/withDisplayFormat/WithDisplayFormat.js +8 -0
  893. package/build/es/polyfill/withDisplayFormat/index.js +1 -0
  894. package/build/es/polyfill/withNextPortal/withNextPortal.js +1 -0
  895. package/build/i18n/cs.json +44 -0
  896. package/build/i18n/de.json +44 -0
  897. package/build/i18n/en.json +41 -0
  898. package/build/i18n/es.json +44 -0
  899. package/build/i18n/fr.json +44 -0
  900. package/build/i18n/hu.json +44 -0
  901. package/build/i18n/id.json +44 -0
  902. package/build/i18n/it.json +44 -0
  903. package/build/i18n/ja.json +44 -0
  904. package/build/i18n/pl.json +44 -0
  905. package/build/i18n/pt.json +44 -0
  906. package/build/i18n/ro.json +44 -0
  907. package/build/i18n/ru.json +44 -0
  908. package/build/i18n/th.json +44 -0
  909. package/build/i18n/tr.json +44 -0
  910. package/build/i18n/uk.json +44 -0
  911. package/build/i18n/zh-CN.json +44 -0
  912. package/build/i18n/zh.json +44 -0
  913. package/build/main.css +1 -0
  914. package/build/styles/accordion/Accordion.css +1 -0
  915. package/build/styles/actionButton/ActionButton.css +1 -0
  916. package/build/styles/avatar/Avatar.css +1 -0
  917. package/build/styles/badge/Badge.css +1 -0
  918. package/build/styles/button/Button.css +1 -0
  919. package/build/styles/card/Card.css +1 -0
  920. package/build/styles/checkboxButton/CheckboxButton.css +1 -0
  921. package/build/styles/chips/Chip.css +1 -0
  922. package/build/styles/circularButton/CircularButton.css +1 -0
  923. package/build/styles/common/Option/Option.css +1 -0
  924. package/build/styles/common/RadioButton/RadioButton.css +1 -0
  925. package/build/styles/common/bottomSheet/BottomSheet.css +1 -0
  926. package/build/styles/common/closeButton/CloseButton.css +1 -0
  927. package/build/styles/common/panel/Panel.css +1 -0
  928. package/build/styles/criticalBanner/CriticalCommsBanner.css +1 -0
  929. package/build/styles/dateInput/DateInput.css +1 -0
  930. package/build/styles/dateLookup/DateLookup.css +1 -0
  931. package/build/styles/dateLookup/dateTrigger/DateTrigger.css +1 -0
  932. package/build/styles/decision/Decision.css +1 -0
  933. package/build/styles/definitionList/DefinitionList.css +1 -0
  934. package/build/styles/dimmer/Dimmer.css +1 -0
  935. package/build/styles/drawer/Drawer.css +1 -0
  936. package/build/styles/dropFade/DropFade.css +1 -0
  937. package/build/styles/dynamicFieldDefinitionList/FormattedValue/FormattedValue.css +1 -0
  938. package/build/styles/emphasis/Emphasis.css +1 -0
  939. package/build/styles/flowNavigation/FlowNavigation.css +1 -0
  940. package/build/styles/flowNavigation/animatedLabel/AnimatedLabel.css +1 -0
  941. package/build/styles/flowNavigation/backButton/BackButton.css +1 -0
  942. package/build/styles/header/Header.css +1 -0
  943. package/build/styles/image/Image.css +1 -0
  944. package/build/styles/info/Info.css +1 -0
  945. package/build/styles/inputs/Input.css +1 -0
  946. package/build/styles/inputs/TextArea.css +1 -0
  947. package/build/styles/instructionsList/InstructionsList.css +1 -0
  948. package/build/styles/link/Link.css +1 -0
  949. package/build/styles/loader/Loader.css +1 -0
  950. package/build/styles/logo/Logo.css +1 -0
  951. package/build/styles/main.css +1 -0
  952. package/build/styles/modal/Modal.css +1 -0
  953. package/build/styles/moneyInput/MoneyInput.css +1 -0
  954. package/build/styles/navigationOption/NavigationOption.css +1 -0
  955. package/build/styles/navigationOptionsList/NavigationOptionsList.css +1 -0
  956. package/build/styles/nudge/Nudge.css +1 -0
  957. package/build/styles/overlayHeader/OverlayHeader.css +1 -0
  958. package/build/styles/phoneNumberInput/PhoneNumberInput.css +1 -0
  959. package/build/styles/popover/Popover.css +1 -0
  960. package/build/styles/progress/Progress.css +1 -0
  961. package/build/styles/progressBar/ProgressBar.css +1 -0
  962. package/build/styles/section/Section.css +1 -0
  963. package/build/styles/select/Select.css +1 -0
  964. package/build/styles/slidingPanel/SlidingPanel.css +1 -0
  965. package/build/styles/snackbar/Snackbar.css +1 -0
  966. package/build/styles/statusIcon/StatusIcon.css +1 -0
  967. package/build/styles/stepper/Stepper.css +1 -0
  968. package/build/styles/summary/Summary.css +1 -0
  969. package/build/styles/switch/Switch.css +1 -0
  970. package/build/styles/tabs/Tabs.css +1 -0
  971. package/build/styles/tile/Tile.css +1 -0
  972. package/build/styles/tooltip/Tooltip.css +1 -0
  973. package/build/styles/typeahead/Typeahead.css +1 -0
  974. package/build/styles/typeahead/typeaheadOption/TypeaheadOption.css +1 -0
  975. package/build/styles/upload/Upload.css +1 -0
  976. package/build/styles/uploadInput/UploadInput.css +1 -0
  977. package/build/styles/uploadInput/uploadButton/UploadButton.css +1 -0
  978. package/build/styles/uploadInput/uploadItem/UploadItem.css +1 -0
  979. package/build/types/accordion/Accordion.d.ts +22 -0
  980. package/build/types/accordion/AccordionItem/AccordionItem.d.ts +30 -0
  981. package/build/types/accordion/AccordionItem/index.d.ts +1 -0
  982. package/build/types/accordion/index.d.ts +1 -0
  983. package/build/types/actionButton/ActionButton.d.ts +14 -0
  984. package/build/types/actionButton/ActionButton.spec.d.ts +1 -0
  985. package/build/types/actionButton/ActionButton.story.d.ts +11 -0
  986. package/build/types/actionButton/index.d.ts +2 -0
  987. package/build/types/actionOption/ActionOption.d.ts +16 -0
  988. package/build/types/actionOption/ActionOption.story.d.ts +8 -0
  989. package/build/types/actionOption/index.d.ts +1 -0
  990. package/build/types/alert/Alert.d.ts +54 -0
  991. package/build/types/alert/index.d.ts +1 -0
  992. package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts +12 -0
  993. package/build/types/alert/inlineMarkdown/index.d.ts +1 -0
  994. package/build/types/alert/withArrow/alertArrowPositions.d.ts +8 -0
  995. package/build/types/alert/withArrow/index.d.ts +2 -0
  996. package/build/types/alert/withArrow/withArrow.d.ts +10 -0
  997. package/build/types/avatar/Avatar.d.ts +22 -0
  998. package/build/types/avatar/avatarTypes.d.ts +6 -0
  999. package/build/types/avatar/index.d.ts +2 -0
  1000. package/build/types/avatarWrapper/AvatarWrapper.d.ts +27 -0
  1001. package/build/types/avatarWrapper/index.d.ts +2 -0
  1002. package/build/types/badge/Badge.d.ts +10 -0
  1003. package/build/types/badge/index.d.ts +1 -0
  1004. package/build/types/body/Body.d.ts +13 -0
  1005. package/build/types/body/Body.spec.d.ts +1 -0
  1006. package/build/types/body/Body.story.d.ts +11 -0
  1007. package/build/types/body/index.d.ts +1 -0
  1008. package/build/types/button/Button.d.ts +27 -0
  1009. package/build/types/button/classMap.d.ts +10 -0
  1010. package/build/types/button/index.d.ts +2 -0
  1011. package/build/types/button/legacyUtils/index.d.ts +1 -0
  1012. package/build/types/button/legacyUtils/legacyUtils.d.ts +6 -0
  1013. package/build/types/card/Card.d.ts +20 -0
  1014. package/build/types/card/index.d.ts +1 -0
  1015. package/build/types/checkbox/Checkbox.d.ts +20 -0
  1016. package/build/types/checkbox/index.d.ts +2 -0
  1017. package/build/types/checkboxButton/CheckboxButton.d.ts +4 -0
  1018. package/build/types/checkboxButton/CheckboxButton.spec.d.ts +1 -0
  1019. package/build/types/checkboxButton/CheckboxButton.story.d.ts +6 -0
  1020. package/build/types/checkboxButton/index.d.ts +1 -0
  1021. package/build/types/checkboxOption/CheckboxOption.d.ts +24 -0
  1022. package/build/types/checkboxOption/CheckboxOption.spec.d.ts +1 -0
  1023. package/build/types/checkboxOption/CheckboxOption.story.d.ts +8 -0
  1024. package/build/types/checkboxOption/index.d.ts +1 -0
  1025. package/build/types/chevron/Chevron.d.ts +17 -0
  1026. package/build/types/chevron/index.d.ts +1 -0
  1027. package/build/types/chips/Chip.d.ts +15 -0
  1028. package/build/types/chips/Chips.d.ts +22 -0
  1029. package/build/types/chips/Chips.messages.d.ts +8 -0
  1030. package/build/types/chips/Chips.spec.d.ts +1 -0
  1031. package/build/types/chips/Chips.story.d.ts +9 -0
  1032. package/build/types/chips/index.d.ts +2 -0
  1033. package/build/types/circularButton/CircularButton.d.ts +20 -0
  1034. package/build/types/circularButton/index.d.ts +1 -0
  1035. package/build/types/common/DOMOperations/DOMOperations.d.ts +2 -0
  1036. package/build/types/common/DOMOperations/index.d.ts +3 -0
  1037. package/build/types/common/Option/Option.d.ts +28 -0
  1038. package/build/types/common/Option/index.d.ts +1 -0
  1039. package/build/types/common/RadioButton/RadioButton.d.ts +35 -0
  1040. package/build/types/common/RadioButton/index.d.ts +1 -0
  1041. package/build/types/common/bottomSheet/BottomSheet.d.ts +14 -0
  1042. package/build/types/common/bottomSheet/BottomSheet.spec.d.ts +1 -0
  1043. package/build/types/common/bottomSheet/index.d.ts +1 -0
  1044. package/build/types/common/closeButton/CloseButton.d.ts +10 -0
  1045. package/build/types/common/closeButton/CloseButton.messages.d.ts +8 -0
  1046. package/build/types/common/closeButton/index.d.ts +2 -0
  1047. package/build/types/common/commonProps.d.ts +20 -0
  1048. package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts +1 -0
  1049. package/build/types/common/dateUtils/getDayNames/index.d.ts +1 -0
  1050. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts +1 -0
  1051. package/build/types/common/dateUtils/getMonthNames/index.d.ts +1 -0
  1052. package/build/types/common/dateUtils/index.d.ts +6 -0
  1053. package/build/types/common/dateUtils/isDateValid/index.d.ts +1 -0
  1054. package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts +2 -0
  1055. package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts +1 -0
  1056. package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +1 -0
  1057. package/build/types/common/dateUtils/isWithinRange/index.d.ts +1 -0
  1058. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts +1 -0
  1059. package/build/types/common/dateUtils/moveToWithinRange/index.d.ts +1 -0
  1060. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +1 -0
  1061. package/build/types/common/deviceDetection/deviceDetection.d.ts +1 -0
  1062. package/build/types/common/deviceDetection/index.d.ts +1 -0
  1063. package/build/types/common/direction.d.ts +6 -0
  1064. package/build/types/common/domHelpers/documentIosClick.d.ts +2 -0
  1065. package/build/types/common/domHelpers/index.d.ts +6 -0
  1066. package/build/types/common/fileType.d.ts +6 -0
  1067. package/build/types/common/flowHeader/FlowHeader.d.ts +2 -0
  1068. package/build/types/common/flowHeader/index.d.ts +1 -0
  1069. package/build/types/common/focusBoundary/FocusBoundary.d.ts +6 -0
  1070. package/build/types/common/focusBoundary/FocusBoundary.spec.d.ts +1 -0
  1071. package/build/types/common/focusBoundary/index.d.ts +1 -0
  1072. package/build/types/common/focusBoundary/utils/getFocusableElements.d.ts +1 -0
  1073. package/build/types/common/focusBoundary/utils/index.d.ts +2 -0
  1074. package/build/types/common/focusBoundary/utils/resetFocus.d.ts +1 -0
  1075. package/build/types/common/historyNavigator/historyNavigator.d.ts +11 -0
  1076. package/build/types/common/historyNavigator/index.d.ts +1 -0
  1077. package/build/types/common/hooks/index.d.ts +5 -0
  1078. package/build/types/common/hooks/useClientWidth/index.d.ts +1 -0
  1079. package/build/types/common/hooks/useClientWidth/useClientWidth.d.ts +9 -0
  1080. package/build/types/common/hooks/useConditionalListener/index.d.ts +1 -0
  1081. package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts +9 -0
  1082. package/build/types/common/hooks/useDirection/index.d.ts +1 -0
  1083. package/build/types/common/hooks/useDirection/useDirection.d.ts +5 -0
  1084. package/build/types/common/hooks/useHasIntersected/index.d.ts +1 -0
  1085. package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts +4 -0
  1086. package/build/types/common/hooks/useLayout/index.d.ts +1 -0
  1087. package/build/types/common/hooks/useLayout/useLayout.d.ts +8 -0
  1088. package/build/types/common/index.d.ts +25 -0
  1089. package/build/types/common/key.d.ts +8 -0
  1090. package/build/types/common/keyCodes.d.ts +15 -0
  1091. package/build/types/common/locale/index.d.ts +52 -0
  1092. package/build/types/common/panel/Panel.d.ts +25 -0
  1093. package/build/types/common/panel/index.d.ts +1 -0
  1094. package/build/types/common/propsValues/breakpoint.d.ts +7 -0
  1095. package/build/types/common/propsValues/control.d.ts +16 -0
  1096. package/build/types/common/propsValues/dateMode.d.ts +4 -0
  1097. package/build/types/common/propsValues/layouts.d.ts +9 -0
  1098. package/build/types/common/propsValues/markdownNodeType.d.ts +18 -0
  1099. package/build/types/common/propsValues/monthFormat.d.ts +4 -0
  1100. package/build/types/common/propsValues/position.d.ts +16 -0
  1101. package/build/types/common/propsValues/profileType.d.ts +4 -0
  1102. package/build/types/common/propsValues/scroll.d.ts +6 -0
  1103. package/build/types/common/propsValues/sentiment.d.ts +19 -0
  1104. package/build/types/common/propsValues/size.d.ts +12 -0
  1105. package/build/types/common/propsValues/status.d.ts +9 -0
  1106. package/build/types/common/propsValues/type.d.ts +13 -0
  1107. package/build/types/common/propsValues/typography.d.ts +37 -0
  1108. package/build/types/common/propsValues/variant.d.ts +4 -0
  1109. package/build/types/common/propsValues/width.d.ts +4 -0
  1110. package/build/types/common/requirements.d.ts +2 -0
  1111. package/build/types/common/responsivePanel/ResponsivePanel.d.ts +14 -0
  1112. package/build/types/common/responsivePanel/index.d.ts +1 -0
  1113. package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts +2 -0
  1114. package/build/types/common/textFormat/formatWithPattern/index.d.ts +1 -0
  1115. package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +2 -0
  1116. package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts +1 -0
  1117. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +2 -0
  1118. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts +1 -0
  1119. package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +2 -0
  1120. package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts +1 -0
  1121. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +2 -0
  1122. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts +1 -0
  1123. package/build/types/common/textFormat/index.d.ts +6 -0
  1124. package/build/types/common/textFormat/unformatWithPattern/index.d.ts +1 -0
  1125. package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts +2 -0
  1126. package/build/types/common/theme.d.ts +19 -0
  1127. package/build/types/criticalBanner/CriticalCommsBanner.d.ts +12 -0
  1128. package/build/types/criticalBanner/CriticalCommsBanner.story.d.ts +8 -0
  1129. package/build/types/criticalBanner/index.d.ts +1 -0
  1130. package/build/types/dateInput/DateInput.d.ts +37 -0
  1131. package/build/types/dateInput/DateInput.messages.d.ts +19 -0
  1132. package/build/types/dateInput/index.d.ts +2 -0
  1133. package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +1 -0
  1134. package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts +1 -0
  1135. package/build/types/dateInput/utils/explodeDate/explodeDate.d.ts +5 -0
  1136. package/build/types/dateInput/utils/explodeDate/index.d.ts +1 -0
  1137. package/build/types/dateInput/utils/index.d.ts +2 -0
  1138. package/build/types/dateLookup/DateLookup.d.ts +26 -0
  1139. package/build/types/dateLookup/dateHeader/DateHeader.d.ts +21 -0
  1140. package/build/types/dateLookup/dateHeader/index.d.ts +1 -0
  1141. package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts +32 -0
  1142. package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts +8 -0
  1143. package/build/types/dateLookup/dateTrigger/index.d.ts +1 -0
  1144. package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts +4 -0
  1145. package/build/types/dateLookup/dayCalendar/index.d.ts +1 -0
  1146. package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts +4 -0
  1147. package/build/types/dateLookup/dayCalendar/table/index.d.ts +1 -0
  1148. package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts +1 -0
  1149. package/build/types/dateLookup/getStartOfDay/index.d.ts +1 -0
  1150. package/build/types/dateLookup/index.d.ts +1 -0
  1151. package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts +4 -0
  1152. package/build/types/dateLookup/monthCalendar/index.d.ts +1 -0
  1153. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +27 -0
  1154. package/build/types/dateLookup/monthCalendar/table/index.d.ts +1 -0
  1155. package/build/types/dateLookup/tableLink/TableLink.d.ts +26 -0
  1156. package/build/types/dateLookup/tableLink/index.d.ts +1 -0
  1157. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +29 -0
  1158. package/build/types/dateLookup/yearCalendar/index.d.ts +1 -0
  1159. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts +27 -0
  1160. package/build/types/dateLookup/yearCalendar/table/index.d.ts +1 -0
  1161. package/build/types/decision/Decision.d.ts +52 -0
  1162. package/build/types/decision/decisionEnums.d.ts +8 -0
  1163. package/build/types/decision/index.d.ts +2 -0
  1164. package/build/types/definitionList/DefinitionList.d.ts +24 -0
  1165. package/build/types/definitionList/index.d.ts +1 -0
  1166. package/build/types/dimmer/Dimmer.d.ts +33 -0
  1167. package/build/types/dimmer/Dimmer.story.d.ts +17 -0
  1168. package/build/types/dimmer/dimmerManager/DimmerManager.d.ts +13 -0
  1169. package/build/types/dimmer/dimmerManager/index.d.ts +1 -0
  1170. package/build/types/dimmer/index.d.ts +1 -0
  1171. package/build/types/display/Display.d.ts +10 -0
  1172. package/build/types/display/Display.story.d.ts +7 -0
  1173. package/build/types/display/index.d.ts +1 -0
  1174. package/build/types/drawer/Drawer.d.ts +36 -0
  1175. package/build/types/drawer/index.d.ts +1 -0
  1176. package/build/types/dropFade/DropFade.d.ts +6 -0
  1177. package/build/types/dropFade/DropFade.story.d.ts +10 -0
  1178. package/build/types/dropFade/index.d.ts +1 -0
  1179. package/build/types/dynamicFieldDefinitionList/DynamicFieldDefinitionList.d.ts +21 -0
  1180. package/build/types/dynamicFieldDefinitionList/FormattedValue/FormattedValue.d.ts +11 -0
  1181. package/build/types/dynamicFieldDefinitionList/FormattedValue/index.d.ts +1 -0
  1182. package/build/types/dynamicFieldDefinitionList/index.d.ts +1 -0
  1183. package/build/types/dynamicFieldDefinitionList/utils/createDefinitions.d.ts +1 -0
  1184. package/build/types/dynamicFieldDefinitionList/utils/text-format.d.ts +1 -0
  1185. package/build/types/emphasis/Emphasis.d.ts +6 -0
  1186. package/build/types/emphasis/EmphasisHtmlTransformer.d.ts +16 -0
  1187. package/build/types/emphasis/index.d.ts +1 -0
  1188. package/build/types/flowNavigation/FlowNavigation.d.ts +34 -0
  1189. package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts +17 -0
  1190. package/build/types/flowNavigation/animatedLabel/index.d.ts +1 -0
  1191. package/build/types/flowNavigation/backButton/BackButton.d.ts +19 -0
  1192. package/build/types/flowNavigation/backButton/index.d.ts +2 -0
  1193. package/build/types/flowNavigation/index.d.ts +1 -0
  1194. package/build/types/header/Header.d.ts +28 -0
  1195. package/build/types/header/Header.spec.d.ts +1 -0
  1196. package/build/types/header/Header.story.d.ts +10 -0
  1197. package/build/types/header/index.d.ts +1 -0
  1198. package/build/types/i18n/index.d.ts +2 -0
  1199. package/build/types/image/Image.d.ts +20 -0
  1200. package/build/types/image/index.d.ts +1 -0
  1201. package/build/types/index.d.ts +112 -0
  1202. package/build/types/info/Info.d.ts +35 -0
  1203. package/build/types/info/index.d.ts +2 -0
  1204. package/build/types/info/infoPresentations.d.ts +4 -0
  1205. package/build/types/inlineAlert/InlineAlert.d.ts +15 -0
  1206. package/build/types/inlineAlert/index.d.ts +1 -0
  1207. package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts +11 -0
  1208. package/build/types/inputWithDisplayFormat/index.d.ts +1 -0
  1209. package/build/types/inputs/Input.d.ts +13 -0
  1210. package/build/types/inputs/TextArea.d.ts +10 -0
  1211. package/build/types/inputs/_common.d.ts +5 -0
  1212. package/build/types/instructionsList/InstructionsList.d.ts +8 -0
  1213. package/build/types/instructionsList/index.d.ts +2 -0
  1214. package/build/types/link/Link.d.ts +12 -0
  1215. package/build/types/link/Link.spec.d.ts +1 -0
  1216. package/build/types/link/Link.story.d.ts +9 -0
  1217. package/build/types/link/index.d.ts +1 -0
  1218. package/build/types/loader/Loader.d.ts +26 -0
  1219. package/build/types/loader/index.d.ts +2 -0
  1220. package/build/types/logo/Logo.d.ts +23 -0
  1221. package/build/types/logo/index.d.ts +2 -0
  1222. package/build/types/logo/logoTypes.d.ts +4 -0
  1223. package/build/types/markdown/Markdown.d.ts +25 -0
  1224. package/build/types/markdown/index.d.ts +1 -0
  1225. package/build/types/modal/Modal.d.ts +14 -0
  1226. package/build/types/modal/Modal.story.d.ts +10 -0
  1227. package/build/types/modal/index.d.ts +2 -0
  1228. package/build/types/money/Money.d.ts +11 -0
  1229. package/build/types/money/index.d.ts +1 -0
  1230. package/build/types/moneyInput/MoneyInput.d.ts +31 -0
  1231. package/build/types/moneyInput/MoneyInput.messages.d.ts +7 -0
  1232. package/build/types/moneyInput/currencyFormatting.d.ts +3 -0
  1233. package/build/types/moneyInput/index.d.ts +1 -0
  1234. package/build/types/navigationOption/NavigationOption.d.ts +4 -0
  1235. package/build/types/navigationOption/index.d.ts +1 -0
  1236. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +10 -0
  1237. package/build/types/navigationOptionsList/index.d.ts +1 -0
  1238. package/build/types/nudge/Nudge.d.ts +20 -0
  1239. package/build/types/nudge/index.d.ts +1 -0
  1240. package/build/types/overlayHeader/OverlayHeader.d.ts +18 -0
  1241. package/build/types/overlayHeader/index.d.ts +1 -0
  1242. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts +23 -0
  1243. package/build/types/phoneNumberInput/data/countries.d.ts +14 -0
  1244. package/build/types/phoneNumberInput/index.d.ts +1 -0
  1245. package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts +1 -0
  1246. package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts +1 -0
  1247. package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts +5 -0
  1248. package/build/types/phoneNumberInput/utils/filterOptionsForQuery/index.d.ts +1 -0
  1249. package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts +1 -0
  1250. package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts +1 -0
  1251. package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +1 -0
  1252. package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts +1 -0
  1253. package/build/types/phoneNumberInput/utils/index.d.ts +12 -0
  1254. package/build/types/phoneNumberInput/utils/isOptionAndFitsQuery/index.d.ts +1 -0
  1255. package/build/types/phoneNumberInput/utils/isOptionAndFitsQuery/isOptionAndFitsQuery.d.ts +2 -0
  1256. package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts +1 -0
  1257. package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts +1 -0
  1258. package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts +1 -0
  1259. package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +1 -0
  1260. package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts +1 -0
  1261. package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts +1 -0
  1262. package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts +1 -0
  1263. package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts +1 -0
  1264. package/build/types/popover/Popover.d.ts +20 -0
  1265. package/build/types/popover/index.d.ts +1 -0
  1266. package/build/types/processIndicator/ProcessIndicator.d.ts +19 -0
  1267. package/build/types/processIndicator/index.d.ts +2 -0
  1268. package/build/types/progress/Progress.d.ts +11 -0
  1269. package/build/types/progress/index.d.ts +1 -0
  1270. package/build/types/progressBar/ProgressBar.d.ts +14 -0
  1271. package/build/types/progressBar/ProgressBar.story.d.ts +6 -0
  1272. package/build/types/progressBar/index.d.ts +1 -0
  1273. package/build/types/provider/Provider.d.ts +19 -0
  1274. package/build/types/provider/Provider.spec.d.ts +1 -0
  1275. package/build/types/provider/Provider.story.d.ts +19 -0
  1276. package/build/types/provider/direction/DirectionProvider.d.ts +8 -0
  1277. package/build/types/provider/direction/DirectionProvider.spec.d.ts +1 -0
  1278. package/build/types/provider/direction/index.d.ts +1 -0
  1279. package/build/types/provider/index.d.ts +3 -0
  1280. package/build/types/provider/language/LanguageProvider.d.ts +7 -0
  1281. package/build/types/provider/language/LanguageProvider.spec.d.ts +1 -0
  1282. package/build/types/provider/language/index.d.ts +1 -0
  1283. package/build/types/radio/Radio.d.ts +21 -0
  1284. package/build/types/radio/index.d.ts +2 -0
  1285. package/build/types/radioGroup/RadioGroup.d.ts +26 -0
  1286. package/build/types/radioGroup/index.d.ts +1 -0
  1287. package/build/types/radioOption/RadioOption.d.ts +23 -0
  1288. package/build/types/radioOption/index.d.ts +1 -0
  1289. package/build/types/section/Section.d.ts +12 -0
  1290. package/build/types/section/Section.spec.d.ts +1 -0
  1291. package/build/types/section/Section.story.d.ts +15 -0
  1292. package/build/types/section/index.d.ts +1 -0
  1293. package/build/types/select/Select.d.ts +94 -0
  1294. package/build/types/select/Select.messages.d.ts +7 -0
  1295. package/build/types/select/index.d.ts +2 -0
  1296. package/build/types/select/option/Option.d.ts +13 -0
  1297. package/build/types/select/option/index.d.ts +2 -0
  1298. package/build/types/select/searchBox/SearchBox.d.ts +7 -0
  1299. package/build/types/select/searchBox/index.d.ts +1 -0
  1300. package/build/types/sizeSwapper/SizeSwapper.d.ts +2 -0
  1301. package/build/types/sizeSwapper/index.d.ts +1 -0
  1302. package/build/types/slidingPanel/SlidingPanel.d.ts +17 -0
  1303. package/build/types/slidingPanel/index.d.ts +1 -0
  1304. package/build/types/snackbar/Snackbar.d.ts +22 -0
  1305. package/build/types/snackbar/SnackbarContext.d.ts +2 -0
  1306. package/build/types/snackbar/SnackbarProvider.d.ts +12 -0
  1307. package/build/types/snackbar/useSnackbar.d.ts +2 -0
  1308. package/build/types/statusIcon/StatusIcon.d.ts +8 -0
  1309. package/build/types/statusIcon/index.d.ts +1 -0
  1310. package/build/types/stepper/Stepper.d.ts +18 -0
  1311. package/build/types/stepper/deviceDetection.d.ts +1 -0
  1312. package/build/types/stepper/index.d.ts +2 -0
  1313. package/build/types/sticky/Sticky.d.ts +14 -0
  1314. package/build/types/sticky/index.d.ts +1 -0
  1315. package/build/types/summary/Summary.d.ts +71 -0
  1316. package/build/types/summary/Summary.messages.d.ts +19 -0
  1317. package/build/types/summary/index.d.ts +1 -0
  1318. package/build/types/switch/Switch.d.ts +17 -0
  1319. package/build/types/switch/Switch.story.d.ts +15 -0
  1320. package/build/types/switch/index.d.ts +1 -0
  1321. package/build/types/switchOption/SwitchOption.d.ts +17 -0
  1322. package/build/types/switchOption/SwitchOption.story.d.ts +22 -0
  1323. package/build/types/switchOption/index.d.ts +1 -0
  1324. package/build/types/tabs/Tab.d.ts +2 -0
  1325. package/build/types/tabs/TabList.d.ts +9 -0
  1326. package/build/types/tabs/TabPanel.d.ts +15 -0
  1327. package/build/types/tabs/Tabs.d.ts +30 -0
  1328. package/build/types/tabs/index.d.ts +1 -0
  1329. package/build/types/tabs/utils.d.ts +7 -0
  1330. package/build/types/test-utils/GlobalsDecorator.d.ts +4 -0
  1331. package/build/types/test-utils/fake-data.d.ts +5 -0
  1332. package/build/types/test-utils/index.d.ts +103 -0
  1333. package/build/types/test-utils/story-config.d.ts +54 -0
  1334. package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts +11 -0
  1335. package/build/types/textareaWithDisplayFormat/index.d.ts +1 -0
  1336. package/build/types/tile/Tile.d.ts +38 -0
  1337. package/build/types/tile/index.d.ts +1 -0
  1338. package/build/types/title/Title.d.ts +14 -0
  1339. package/build/types/title/Title.spec.d.ts +1 -0
  1340. package/build/types/title/Title.story.d.ts +8 -0
  1341. package/build/types/title/index.d.ts +1 -0
  1342. package/build/types/tooltip/Tooltip.d.ts +9 -0
  1343. package/build/types/tooltip/Tooltip.spec.d.ts +1 -0
  1344. package/build/types/tooltip/Tooltip.story.d.ts +20 -0
  1345. package/build/types/tooltip/index.d.ts +2 -0
  1346. package/build/types/typeahead/Typeahead.d.ts +57 -0
  1347. package/build/types/typeahead/index.d.ts +2 -0
  1348. package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts +46 -0
  1349. package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts +18 -0
  1350. package/build/types/typeahead/util/highlight.d.ts +1 -0
  1351. package/build/types/upload/Upload.d.ts +55 -0
  1352. package/build/types/upload/Upload.messages.d.ts +61 -0
  1353. package/build/types/upload/index.d.ts +2 -0
  1354. package/build/types/upload/steps/completeStep/completeStep.d.ts +19 -0
  1355. package/build/types/upload/steps/completeStep/index.d.ts +1 -0
  1356. package/build/types/upload/steps/index.d.ts +4 -0
  1357. package/build/types/upload/steps/mediaUploadStep/index.d.ts +1 -0
  1358. package/build/types/upload/steps/mediaUploadStep/mediaUploadStep.d.ts +23 -0
  1359. package/build/types/upload/steps/processingStep/index.d.ts +1 -0
  1360. package/build/types/upload/steps/processingStep/processingStep.d.ts +14 -0
  1361. package/build/types/upload/steps/uploadImageStep/index.d.ts +1 -0
  1362. package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts +21 -0
  1363. package/build/types/upload/uploadSteps.d.ts +4 -0
  1364. package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts +1 -0
  1365. package/build/types/upload/utils/asyncFileRead/index.d.ts +1 -0
  1366. package/build/types/upload/utils/getFileType/getFileType.d.ts +1 -0
  1367. package/build/types/upload/utils/getFileType/index.d.ts +1 -0
  1368. package/build/types/upload/utils/getSupportedSpotMimeTypes/getSupportedSpotMimeTypes.d.ts +1 -0
  1369. package/build/types/upload/utils/getSupportedSpotMimeTypes/index.d.ts +1 -0
  1370. package/build/types/upload/utils/index.d.ts +7 -0
  1371. package/build/types/upload/utils/isSizeValid/index.d.ts +1 -0
  1372. package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts +1 -0
  1373. package/build/types/upload/utils/isTypeValid/index.d.ts +1 -0
  1374. package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts +1 -0
  1375. package/build/types/upload/utils/postData/index.d.ts +1 -0
  1376. package/build/types/upload/utils/postData/postData.d.ts +1 -0
  1377. package/build/types/upload/utils/requestMedia/index.d.ts +1 -0
  1378. package/build/types/upload/utils/requestMedia/requestMedia.d.ts +1 -0
  1379. package/build/types/uploadInput/UploadInput.d.ts +75 -0
  1380. package/build/types/uploadInput/UploadInput.messages.d.ts +38 -0
  1381. package/build/types/uploadInput/UploadInput.spec.d.ts +1 -0
  1382. package/build/types/uploadInput/UploadInput.story.d.ts +20 -0
  1383. package/build/types/uploadInput/index.d.ts +1 -0
  1384. package/build/types/uploadInput/types.d.ts +46 -0
  1385. package/build/types/uploadInput/uploadButton/UploadButton.d.ts +53 -0
  1386. package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts +28 -0
  1387. package/build/types/uploadInput/uploadButton/UploadButton.spec.d.ts +1 -0
  1388. package/build/types/uploadInput/uploadButton/defaults.d.ts +3 -0
  1389. package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts +3 -0
  1390. package/build/types/uploadInput/uploadButton/getAllowedFileTypes.spec.d.ts +1 -0
  1391. package/build/types/uploadInput/uploadItem/UploadItem.d.ts +24 -0
  1392. package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts +33 -0
  1393. package/build/types/uploadInput/uploadItem/UploadItem.spec.d.ts +1 -0
  1394. package/build/types/uploadInput/uploadItem/UploadItemBody.d.ts +8 -0
  1395. package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts +7 -0
  1396. package/build/types/utilities/deprecatedProperty/index.d.ts +1 -0
  1397. package/build/types/utilities/index.d.ts +2 -0
  1398. package/build/types/utilities/logActionRequired.d.ts +2 -0
  1399. package/build/types/utils.d.ts +1 -0
  1400. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +89 -0
  1401. package/build/types/withDisplayFormat/index.d.ts +1 -0
  1402. package/build/types/withNextPortal/withNextPortal.d.ts +2 -0
  1403. package/build/umd/no-polyfill/main.js +1 -0
  1404. package/build/umd/polyfill/main.js +1 -0
  1405. package/package.json +161 -0
  1406. package/scripts/generate-type-declarations.js +79 -0
  1407. package/scripts/neptune-upgrader.js +114 -0
  1408. package/upgrades/2021-02-v34-35.js +193 -0
  1409. package/upgrades/2021-04-v35-36-typescript-support.js +290 -0
  1410. package/upgrades/utils/index.js +17 -0
package/package.json ADDED
@@ -0,0 +1,161 @@
1
+ {
2
+ "name": "@transferwise/components",
3
+ "version": "0.0.0-experimental-463fe0b",
4
+ "description": "Neptune React components",
5
+ "license": "Apache-2.0",
6
+ "main": "./build/umd/polyfill/main.js",
7
+ "module": "./build/es/polyfill/index.js",
8
+ "types": "./build/types/index.d.ts",
9
+ "style": "./build/main.css",
10
+ "sideEffects": [
11
+ "*.css"
12
+ ],
13
+ "files": [
14
+ "build",
15
+ "scripts",
16
+ "upgrades"
17
+ ],
18
+ "repository": {
19
+ "type": "git",
20
+ "fullname": "transferwise/neptune",
21
+ "url": "git+https://github.com/transferwise/neptune-web.git"
22
+ },
23
+ "bin": {
24
+ "neptune-upgrade-util": "scripts/neptune-upgrader.js"
25
+ },
26
+ "devDependencies": {
27
+ "@formatjs/cli": "^4.8.3",
28
+ "@rollup/plugin-babel": "^5.2.2",
29
+ "@rollup/plugin-commonjs": "^11.0.2",
30
+ "@rollup/plugin-image": "^3.0.1",
31
+ "@rollup/plugin-json": "^4.0.3",
32
+ "@rollup/plugin-node-resolve": "^7.1.3",
33
+ "@storybook/addon-a11y": "^7.0.6",
34
+ "@storybook/addon-actions": "^7.0.6",
35
+ "@storybook/addon-essentials": "^7.0.6",
36
+ "@storybook/addon-interactions": "^7.0.6",
37
+ "@storybook/addon-knobs": "^7.0.0",
38
+ "@storybook/addon-viewport": "^7.0.6",
39
+ "@storybook/addons": "^7.0.0",
40
+ "@storybook/api": "^7.0.0",
41
+ "@storybook/components": "^7.0.0",
42
+ "@storybook/core-events": "^7.0.0",
43
+ "@storybook/react": "^7.0.6",
44
+ "@storybook/react-webpack5": "^7.0.6",
45
+ "@storybook/testing-library": "^0.1.0",
46
+ "@storybook/theming": "^7.0.0",
47
+ "@testing-library/dom": "^7.21.4",
48
+ "@testing-library/jest-dom": "^5.14.1",
49
+ "@testing-library/react": "^12.0.0",
50
+ "@testing-library/react-hooks": "^8.0.0",
51
+ "@testing-library/user-event": "^13.2.1",
52
+ "@transferwise/icons": "^3.2.3",
53
+ "@transferwise/neptune-tokens": "^8.4.0",
54
+ "@types/jest": "^26.0.20",
55
+ "@types/jscodeshift": "^0.11.0",
56
+ "@types/node": "^14.14.31",
57
+ "@types/react-transition-group": "4.4.5",
58
+ "@types/testing-library__jest-dom": "^5.14.5",
59
+ "@wise/art": "^2.0.1",
60
+ "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
61
+ "babel-plugin-inline-react-svg": "^2.0.1",
62
+ "enzyme": "^3.11.0",
63
+ "html-loader": "^1.3.2",
64
+ "jest": "^27.0.6",
65
+ "jest-cli": "^27.0.6",
66
+ "jest-fetch-mock": "^3.0.3",
67
+ "lodash.times": "^4.3.2",
68
+ "npm-watch": "^0.11.0",
69
+ "react-intl": "^5.10.0",
70
+ "rollup": "^2.34.0",
71
+ "rollup-plugin-uglify": "^6.0.4",
72
+ "storybook": "^7.0.6",
73
+ "@transferwise/less-config": "3.0.6",
74
+ "@transferwise/neptune-css": "0.0.0-experimental-463fe0b",
75
+ "@wise/components-theming": "0.7.5"
76
+ },
77
+ "peerDependencies": {
78
+ "@transferwise/icons": "^3.2.3",
79
+ "@transferwise/neptune-css": "0.0.0-experimental-463fe0b",
80
+ "@wise/art": "^2",
81
+ "@wise/components-theming": "0.5 - 0.7",
82
+ "currency-flags": "^4.0.2",
83
+ "prop-types": "^15.7.2",
84
+ "react": ">=16.14",
85
+ "react-dom": ">=16.14",
86
+ "react-intl": "^5.10.0 || ^6"
87
+ },
88
+ "peerDependenciesMeta": {
89
+ "currency-flags": {
90
+ "optional": true
91
+ },
92
+ "prop-types": {
93
+ "optional": true
94
+ }
95
+ },
96
+ "dependencies": {
97
+ "@babel/runtime": "^7.18.3",
98
+ "@formatjs/intl-locale": "^2.4.14",
99
+ "@popperjs/core": "^2.6.0",
100
+ "@react-spring/web": "~9.6.1",
101
+ "@transferwise/formatting": "^2.1.0",
102
+ "@transferwise/neptune-validation": "^3.0.12",
103
+ "classnames": "^2.2.6",
104
+ "commonmark": "0.29.1",
105
+ "core-js": "^3.8.0",
106
+ "inquirer": "^8.1.1",
107
+ "inquirer-file-tree-selection-prompt": "^1.0.7",
108
+ "jscodeshift": "^0.11.0",
109
+ "lodash.clamp": "^4.0.3",
110
+ "lodash.debounce": "^4.0.8",
111
+ "lodash.difference": "^4.5.0",
112
+ "lodash.throttle": "^4.1.1",
113
+ "lodash.topairs": "^4.3.0",
114
+ "react-merge-refs": "^1.1.0",
115
+ "react-popper": "^2.2.4",
116
+ "react-required-if": "^1.0.3",
117
+ "react-transition-group": "^4.4.2"
118
+ },
119
+ "watch": {
120
+ "build:crowdin-source-file": "src/**/*.messages.js"
121
+ },
122
+ "resolutions": {
123
+ "**/remark-parse/trim": "0.0.3",
124
+ "**/chokidar/glob-parent": "5.1.2",
125
+ "**/fast-glob/glob-parent": "5.1.2"
126
+ },
127
+ "publishConfig": {
128
+ "access": "public"
129
+ },
130
+ "scripts": {
131
+ "dev": "npm-run-all --parallel dev:*",
132
+ "dev:watch-less": "gulp watchLess --dest=src",
133
+ "dev:translations": "npx npm-watch",
134
+ "sb:dev": "storybook dev -p 3001",
135
+ "sb:build": "storybook build",
136
+ "build-css": "gulp compileLess --dest=src",
137
+ "build": "npm-run-all build:*",
138
+ "build:clean": "rm -rf lib build",
139
+ "build:crowdin-source-file": "formatjs extract 'src/**/*.messages.+(js|ts|tsx)' --out-file src/i18n/en.json --format simple && prettier --find-config-path --write src/i18n/*.json",
140
+ "build:es": "NODE_ENV=es babel src --extensions '.tsx,.js,.ts' -d build/es/polyfill --ignore '**/*.spec.js','**/*.story.js','**/__mocks__','**/test-utils'",
141
+ "build:es-nopolyfill": "NODE_ENV=es-nopolyfill babel src --extensions '.tsx,.js,.ts' -d build/es/no-polyfill --ignore '**/*.spec.js','**/*.story.js','**/__mocks__','**/test-utils'",
142
+ "build:umd": "NODE_ENV=umd rollup -c",
143
+ "build:umd-nopolyfill": "NODE_ENV=umd-nopolyfill rollup -c",
144
+ "build:generate-types": "tsc && node ./scripts/generate-type-declarations.js",
145
+ "build:copy-files": "cpx 'src/**/!(db)/*.{json,svg}' build/es/polyfill & cpx 'src/**/!(db)/*.{json,svg}' build/es/no-polyfill",
146
+ "build:copy-css": "cpx 'src/main.css' build/ & cpx 'src/**/*.css' build/styles/",
147
+ "build:copy-lang": "cpx 'src/i18n/*.json' build/i18n && cpx 'src/i18n/index.js' build/i18n",
148
+ "docs": "pnpm build",
149
+ "test": "jest --env=jsdom --maxWorkers=4",
150
+ "test:watch": "jest --watch --env=jsdom",
151
+ "test:visual": "build-storybook && percy storybook ./storybook-static",
152
+ "lint": "pnpm run lint:check",
153
+ "lint:check": "npm-run-all --parallel lint:check:*",
154
+ "lint:check:format": "prettier --check --ignore-path ../../.prettierignore . || echo \"Prettier failed. Remove this to make this a failure\"",
155
+ "lint:check:js+ts": "eslint --ext .js,.jsx,.mjs,.ts,.tsx,.mts --ignore-path ../../.gitignore .",
156
+ "lint:check:types": "tsc --noEmit --emitDeclarationOnly false",
157
+ "lint:fix": "npm-run-all --serial lint:fix:*",
158
+ "lint:fix:format": "prettier --write --ignore-path ../../.prettierignore .",
159
+ "lint:fix:js+ts": "pnpm run lint:check:js+ts --fix"
160
+ }
161
+ }
@@ -0,0 +1,79 @@
1
+ const fs = require('fs');
2
+
3
+ const { generateFromFile } = require('react-to-typescript-definitions');
4
+
5
+ /**
6
+ * dir where we would place generated `.d.ts` files
7
+ * (same folder as we specifing in `tsconfig.json` via `declarationDir`)
8
+ */
9
+ const typesDistFolder = 'build/types';
10
+
11
+ /**
12
+ * list of JS files that uses prop-types (basically React components)
13
+ * and that are exposed from `@transferwise/components` library
14
+ */
15
+ const jsFiles = [
16
+ { filename: 'Provider', folder: 'provider' },
17
+ { filename: 'Checkbox', folder: 'checkbox' },
18
+ { filename: 'Radio', folder: 'radio' },
19
+ { filename: 'Select', folder: 'select' },
20
+ { filename: 'MoneyInput', folder: 'moneyInput' },
21
+ { filename: 'Stepper', folder: 'stepper' },
22
+ { filename: 'FlowNavigation', folder: 'flowNavigation' },
23
+ { filename: 'Popover', folder: 'popover' },
24
+ { filename: 'Money', folder: 'money' },
25
+ { filename: 'RadioOption', folder: 'radioOption' },
26
+ { filename: 'NavigationOptionsList', folder: 'navigationOptionsList' },
27
+ { filename: 'DateLookup', folder: 'dateLookup' },
28
+ { filename: 'PhoneNumberInput', folder: 'phoneNumberInput' },
29
+ { filename: 'DateInput', folder: 'dateInput' },
30
+ { filename: 'ProcessIndicator', folder: 'processIndicator' },
31
+ { filename: 'Upload', folder: 'upload' },
32
+ { filename: 'DefinitionList', folder: 'definitionList' },
33
+ { filename: 'DynamicFieldDefinitionList', folder: 'dynamicFieldDefinitionList' },
34
+ { filename: 'Avatar', folder: 'avatar' },
35
+ { filename: 'CircularButton', folder: 'circularButton' },
36
+ { filename: 'Info', folder: 'info' },
37
+ { filename: 'RadioGroup', folder: 'radioGroup' },
38
+ { filename: 'Alert', folder: 'alert' },
39
+ { filename: 'InputWithDisplayFormat', folder: 'inputWithDisplayFormat' },
40
+ { filename: 'TextareaWithDisplayFormat', folder: 'textareaWithDisplayFormat' },
41
+ { filename: 'Chevron', folder: 'chevron' },
42
+ { filename: 'Accordion', folder: 'accordion' },
43
+ { filename: 'SlidingPanel', folder: 'slidingPanel' },
44
+ { filename: 'Drawer', folder: 'drawer' },
45
+ { filename: 'Sticky', folder: 'sticky' },
46
+ { filename: 'Typeahead', folder: 'typeahead' },
47
+ { filename: 'Snackbar', folder: 'snackbar' },
48
+ { filename: 'SnackbarProvider', folder: 'snackbar' },
49
+ { filename: 'Tabs', folder: 'tabs' },
50
+ { filename: 'OverlayHeader', folder: 'overlayHeader' },
51
+ { filename: 'Image', folder: 'image' },
52
+ { filename: 'Markdown', folder: 'markdown' },
53
+ { filename: 'Card', folder: 'card' },
54
+ { filename: 'Summary', folder: 'summary' },
55
+ { filename: 'Decision', folder: 'decision' },
56
+ { filename: 'Nudge', folder: 'nudge' },
57
+ { filename: 'InlineAlert', folder: 'inlineAlert' },
58
+ { filename: 'AvatarWrapper', folder: 'avatarWrapper' },
59
+ { filename: 'Logo', folder: 'logo' },
60
+ ];
61
+
62
+ jsFiles.forEach(({ filename, folder }) => {
63
+ const filePath = `${folder}/${filename}`;
64
+
65
+ // generate types declration content
66
+ let fileTypeDeclrationContent = null;
67
+ try {
68
+ fileTypeDeclrationContent = generateFromFile(null, `src/${filePath}.js`, {
69
+ babylonPlugins: ['optionalChaining', 'nullishCoalescingOperator'],
70
+ });
71
+ } catch (error) {
72
+ /* eslint-disable no-console */
73
+ console.log(`Error while generating types for '${filePath}'`);
74
+ throw error;
75
+ }
76
+
77
+ // write content into .d.ts files
78
+ fs.writeFileSync(`${typesDistFolder}/${filePath}.d.ts`, fileTypeDeclrationContent);
79
+ });
@@ -0,0 +1,114 @@
1
+ #!/usr/bin/env node
2
+ /* eslint-disable no-console */
3
+
4
+ const { exec } = require('child_process');
5
+ const path = require('path');
6
+
7
+ const inquirer = require('inquirer');
8
+ const inquirerFileTreeSelection = require('inquirer-file-tree-selection-prompt');
9
+
10
+ inquirer.registerPrompt('file-tree-selection', inquirerFileTreeSelection);
11
+
12
+ const IGNORE_PATTERN = '**/node_modules/*';
13
+ const EXTENSIONS = {
14
+ JS: 'js & jsx',
15
+ TSX: 'tsx',
16
+ BOTH: 'js,jsx & tsx',
17
+ };
18
+
19
+ const fetchSettings = () => {
20
+ const questions = [
21
+ {
22
+ name: 'transform',
23
+ type: 'file-tree-selection',
24
+ root: path.join(__dirname, '../upgrades'),
25
+ message: '✨ Which upgrade would you like to run?',
26
+ },
27
+ {
28
+ type: 'list',
29
+ name: 'extension',
30
+ message: '✨ What file extensions should I look at?',
31
+ choices: Object.values(EXTENSIONS),
32
+ },
33
+ {
34
+ name: 'files',
35
+ type: 'file-tree-selection',
36
+ onlyShowDir: true,
37
+ root: process.cwd(),
38
+ message: '✨ And what directory would you like to transform?',
39
+ },
40
+ ];
41
+ return inquirer.prompt(questions);
42
+ };
43
+
44
+ const fetchOptions = () => {
45
+ const questions = [
46
+ {
47
+ name: 'dry',
48
+ type: 'confirm',
49
+ message: '✨ Dry run? (no changes are made to files)',
50
+ },
51
+ {
52
+ name: 'verbose',
53
+ type: 'confirm',
54
+ message: '✨ Extra logging?',
55
+ default: false,
56
+ },
57
+ ];
58
+ return inquirer.prompt(questions);
59
+ };
60
+
61
+ const okToProceed = () => {
62
+ const questions = [
63
+ {
64
+ name: 'confirm',
65
+ type: 'confirm',
66
+ message: 'Does everything look ok?',
67
+ },
68
+ ];
69
+ return inquirer.prompt(questions);
70
+ };
71
+
72
+ const run = async () => {
73
+ const { transform, extension, files } = await fetchSettings();
74
+ const { dry, verbose } = await fetchOptions();
75
+
76
+ console.log(`✨ Please review the following:`);
77
+ console.log(`✨ Upgrade script: ${transform}`);
78
+ console.log(`✨ File extension(s): ${extension}`);
79
+ console.log(`✨ Directory: ${files}`);
80
+ console.log(`✨ Dry run: ${dry}`);
81
+
82
+ const { confirm } = await okToProceed();
83
+
84
+ const options = `${dry ? '-d' : ''} ${verbose ? '-v=2' : ''}`;
85
+
86
+ const handleOutput = (error, stdout, stderr) => {
87
+ if (error) {
88
+ console.log(stderr);
89
+ return;
90
+ }
91
+ console.log(stdout);
92
+ };
93
+
94
+ const codeshiftPath = path.join(__dirname, '../node_modules/.bin/jscodeshift');
95
+
96
+ const coreCommand = `${codeshiftPath} ${files} -t=${transform} ${options}`;
97
+
98
+ if (confirm) {
99
+ console.log('🚀 Running codemod, please wait a few seconds...');
100
+ if (extension === EXTENSIONS.BOTH || extension === EXTENSIONS.JS) {
101
+ exec(`${coreCommand} --extensions=js,jsx --ignore-pattern='${IGNORE_PATTERN}'`, handleOutput);
102
+ }
103
+ if (extension === EXTENSIONS.BOTH || extension === EXTENSIONS.TSX) {
104
+ exec(
105
+ `${coreCommand} --parser=tsx --extensions=tsx --ignore-pattern='${IGNORE_PATTERN}'`,
106
+ handleOutput,
107
+ );
108
+ }
109
+ } else {
110
+ console.log('👋 Exiting');
111
+ }
112
+ };
113
+
114
+ run();
@@ -0,0 +1,193 @@
1
+ import { log } from './utils';
2
+
3
+ const TYPE_REPLACEMENTS = {
4
+ primary: 'Button.Type.ACCENT',
5
+ secondary: 'Button.Type.ACCENT',
6
+ link: 'Button.Type.ACCENT',
7
+ danger: 'Button.Type.NEGATIVE',
8
+ pay: 'Button.Type.POSITIVE',
9
+ };
10
+
11
+ const PRIORITY_ADDITIONS = {
12
+ secondary: 'Button.Priority.SECONDARY',
13
+ link: 'Button.Priority.TERTIARY',
14
+ danger: 'Button.Priority.SECONDARY',
15
+ };
16
+
17
+ const transform = (file, api, options) => {
18
+ const printOptions = options.printOptions || {
19
+ quote: 'single',
20
+ trailingComma: true,
21
+ };
22
+
23
+ const j = api.jscodeshift;
24
+ const root = j(file.source);
25
+
26
+ log('All aboard the transformation train 🚂', 2);
27
+ log(
28
+ 'Upgrading instances of Button from @transferwise/components. Please refer to components/upgrades/2021-02-v34-35.js for details.',
29
+ 1,
30
+ );
31
+ log(`Using the ${options.parser} parser.`, 2);
32
+
33
+ const literalType = options.parser === 'tsx' ? 'StringLiteral' : 'Literal';
34
+
35
+ // First, ensure they are importing Button from our package
36
+ const buttonImports = root
37
+ .find(j.ImportDeclaration, {
38
+ source: {
39
+ type: literalType,
40
+ value: '@transferwise/components',
41
+ },
42
+ })
43
+ .find(j.Identifier, {
44
+ name: 'Button',
45
+ });
46
+
47
+ if (buttonImports.size() === 0) {
48
+ return null;
49
+ }
50
+
51
+ log('Found import of Button from @transferwise/components, continuing 🛤', 1);
52
+
53
+ const buttons = root.findJSXElements('Button');
54
+
55
+ log('Adding priorities for literal types', 2);
56
+
57
+ // Add in priorities for literal types such as <Button type="secondary"/> => <Button type="secondary" priority={Button.Priority.SECONDARY} />
58
+ buttons
59
+ .find(j.JSXAttribute, {
60
+ name: {
61
+ type: 'JSXIdentifier',
62
+ name: 'type',
63
+ },
64
+ value: {
65
+ type: 'Literal',
66
+ },
67
+ })
68
+ .replaceWith((nodePath) => {
69
+ const priority = PRIORITY_ADDITIONS[nodePath.value.value.value]; // 😅
70
+
71
+ if (!priority) {
72
+ return nodePath.value;
73
+ }
74
+
75
+ return [
76
+ nodePath.value,
77
+ j.jsxAttribute(
78
+ j.jsxIdentifier('priority'),
79
+ j.jsxExpressionContainer(j.identifier(priority)),
80
+ ),
81
+ ];
82
+ });
83
+
84
+ log('Adding priorities for expressive types', 2);
85
+
86
+ // Add in priorities for expressive types such as <Button type={Button.Type.SECONDARY}/> => <Button type={Button.Type.SECONDARY} priority={Button.Priority.SECONDARY} />
87
+ buttons
88
+ .find(j.JSXAttribute, {
89
+ name: {
90
+ type: 'JSXIdentifier',
91
+ name: 'type',
92
+ },
93
+ value: {
94
+ type: 'JSXExpressionContainer',
95
+ expression: {
96
+ type: 'MemberExpression',
97
+ object: {
98
+ type: 'MemberExpression',
99
+ object: {
100
+ name: 'Button',
101
+ type: 'Identifier',
102
+ },
103
+ property: {
104
+ name: 'Type',
105
+ type: 'Identifier',
106
+ },
107
+ },
108
+ },
109
+ },
110
+ })
111
+ .replaceWith((nodePath) => {
112
+ const type = nodePath.value.value.expression.property.name;
113
+
114
+ const priority = PRIORITY_ADDITIONS[type.toLowerCase()];
115
+
116
+ if (!priority) {
117
+ return nodePath.value;
118
+ }
119
+
120
+ return [
121
+ nodePath.value,
122
+ j.jsxAttribute(
123
+ j.jsxIdentifier('priority'),
124
+ j.jsxExpressionContainer(j.identifier(priority)),
125
+ ),
126
+ ];
127
+ });
128
+
129
+ log('Replacing deprecated literal types', 2);
130
+
131
+ // Replace literal types such as <Button type="primary"/> => <Button type={Button.Type.ACCENT} />
132
+ buttons
133
+ .find(j.JSXAttribute, {
134
+ name: {
135
+ type: 'JSXIdentifier',
136
+ name: 'type',
137
+ },
138
+ value: {
139
+ type: 'Literal',
140
+ },
141
+ })
142
+ .find(j.Literal)
143
+ .replaceWith((nodePath) => {
144
+ const type = TYPE_REPLACEMENTS[nodePath.value.value];
145
+
146
+ if (!type) {
147
+ return nodePath.value;
148
+ }
149
+
150
+ return j.jsxExpressionContainer(j.identifier(type));
151
+ });
152
+
153
+ log('Replacing deprecated expressive types', 2);
154
+
155
+ // Replace expressive types such as <Button type={Button.Type.PRIMARY}/> => <Button type={Button.Type.ACCENT} />
156
+ buttons
157
+ .find(j.JSXAttribute, {
158
+ name: {
159
+ type: 'JSXIdentifier',
160
+ name: 'type',
161
+ },
162
+ value: {
163
+ type: 'JSXExpressionContainer',
164
+ },
165
+ })
166
+ .find(j.MemberExpression, {
167
+ object: {
168
+ type: 'MemberExpression',
169
+ object: {
170
+ name: 'Button',
171
+ type: 'Identifier',
172
+ },
173
+ property: {
174
+ name: 'Type',
175
+ type: 'Identifier',
176
+ },
177
+ },
178
+ })
179
+ .replaceWith((node) => {
180
+ const type = node.value.property.name.toLowerCase();
181
+
182
+ if (!TYPE_REPLACEMENTS[type]) {
183
+ return node.value;
184
+ }
185
+ return j.jsxIdentifier(TYPE_REPLACEMENTS[type]);
186
+ });
187
+
188
+ log('Transformation complete, printing to source.', 1);
189
+
190
+ return root.toSource(printOptions);
191
+ };
192
+
193
+ export default transform;