@transferwise/components 46.120.0 → 46.120.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2345) hide show
  1. package/build/accordion/Accordion.js +0 -43
  2. package/build/accordion/Accordion.js.map +1 -1
  3. package/build/accordion/Accordion.mjs +0 -43
  4. package/build/accordion/Accordion.mjs.map +1 -1
  5. package/build/accordion/AccordionItem/AccordionItem.js +16 -39
  6. package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
  7. package/build/accordion/AccordionItem/AccordionItem.mjs +16 -39
  8. package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
  9. package/build/actionButton/ActionButton.js +18 -3
  10. package/build/actionButton/ActionButton.js.map +1 -1
  11. package/build/actionButton/ActionButton.mjs +18 -3
  12. package/build/actionButton/ActionButton.mjs.map +1 -1
  13. package/build/actionOption/ActionOption.js +18 -8
  14. package/build/actionOption/ActionOption.js.map +1 -1
  15. package/build/actionOption/ActionOption.mjs +18 -8
  16. package/build/actionOption/ActionOption.mjs.map +1 -1
  17. package/build/alert/Alert.js +20 -5
  18. package/build/alert/Alert.js.map +1 -1
  19. package/build/alert/Alert.mjs +20 -4
  20. package/build/alert/Alert.mjs.map +1 -1
  21. package/build/alert/inlineMarkdown/InlineMarkdown.js +18 -0
  22. package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
  23. package/build/alert/inlineMarkdown/InlineMarkdown.mjs +18 -0
  24. package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
  25. package/build/avatar/Avatar.js +18 -1
  26. package/build/avatar/Avatar.js.map +1 -1
  27. package/build/avatar/Avatar.mjs +18 -1
  28. package/build/avatar/Avatar.mjs.map +1 -1
  29. package/build/avatar/avatarTypes.js +3 -5
  30. package/build/avatar/avatarTypes.js.map +1 -1
  31. package/build/avatar/avatarTypes.mjs +3 -3
  32. package/build/avatar/avatarTypes.mjs.map +1 -1
  33. package/build/avatarLayout/AvatarLayout.js +1 -2
  34. package/build/avatarLayout/AvatarLayout.js.map +1 -1
  35. package/build/avatarLayout/AvatarLayout.mjs +1 -2
  36. package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
  37. package/build/avatarView/AvatarView.js +18 -3
  38. package/build/avatarView/AvatarView.js.map +1 -1
  39. package/build/avatarView/AvatarView.mjs +18 -3
  40. package/build/avatarView/AvatarView.mjs.map +1 -1
  41. package/build/avatarView/Dot.js +0 -3
  42. package/build/avatarView/Dot.js.map +1 -1
  43. package/build/avatarView/Dot.mjs +0 -3
  44. package/build/avatarView/Dot.mjs.map +1 -1
  45. package/build/avatarWrapper/AvatarWrapper.js +17 -1
  46. package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
  47. package/build/avatarWrapper/AvatarWrapper.mjs +17 -1
  48. package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
  49. package/build/badge/Badge.js +17 -1
  50. package/build/badge/Badge.js.map +1 -1
  51. package/build/badge/Badge.mjs +17 -1
  52. package/build/badge/Badge.mjs.map +1 -1
  53. package/build/badge/BadgeAssets.js +0 -3
  54. package/build/badge/BadgeAssets.js.map +1 -1
  55. package/build/badge/BadgeAssets.mjs +0 -3
  56. package/build/badge/BadgeAssets.mjs.map +1 -1
  57. package/build/body/Body.js.map +1 -1
  58. package/build/body/Body.mjs.map +1 -1
  59. package/build/button/Button.js +18 -4
  60. package/build/button/Button.js.map +1 -1
  61. package/build/button/Button.mjs +18 -4
  62. package/build/button/Button.mjs.map +1 -1
  63. package/build/button/Button.resolver.js.map +1 -1
  64. package/build/button/Button.resolver.mjs.map +1 -1
  65. package/build/button/LegacyButton.js +17 -4
  66. package/build/button/LegacyButton.js.map +1 -1
  67. package/build/button/LegacyButton.mjs +18 -5
  68. package/build/button/LegacyButton.mjs.map +1 -1
  69. package/build/button/classMap.js +18 -0
  70. package/build/button/classMap.js.map +1 -1
  71. package/build/button/classMap.mjs +18 -0
  72. package/build/button/classMap.mjs.map +1 -1
  73. package/build/button/legacyUtils/legacyUtils.js +16 -1
  74. package/build/button/legacyUtils/legacyUtils.js.map +1 -1
  75. package/build/button/legacyUtils/legacyUtils.mjs +16 -1
  76. package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
  77. package/build/card/Card.js +17 -4
  78. package/build/card/Card.js.map +1 -1
  79. package/build/card/Card.mjs +17 -4
  80. package/build/card/Card.mjs.map +1 -1
  81. package/build/carousel/Carousel.js.map +1 -1
  82. package/build/carousel/Carousel.mjs.map +1 -1
  83. package/build/checkbox/Checkbox.js +18 -0
  84. package/build/checkbox/Checkbox.js.map +1 -1
  85. package/build/checkbox/Checkbox.mjs +18 -0
  86. package/build/checkbox/Checkbox.mjs.map +1 -1
  87. package/build/checkboxButton/CheckboxButton.js.map +1 -1
  88. package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
  89. package/build/checkboxOption/CheckboxOption.js +0 -8
  90. package/build/checkboxOption/CheckboxOption.js.map +1 -1
  91. package/build/checkboxOption/CheckboxOption.mjs +0 -8
  92. package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
  93. package/build/chevron/Chevron.js +17 -0
  94. package/build/chevron/Chevron.js.map +1 -1
  95. package/build/chevron/Chevron.mjs +17 -0
  96. package/build/chevron/Chevron.mjs.map +1 -1
  97. package/build/chips/Chip.js +18 -0
  98. package/build/chips/Chip.js.map +1 -1
  99. package/build/chips/Chip.mjs +18 -0
  100. package/build/chips/Chip.mjs.map +1 -1
  101. package/build/chips/Chips.js.map +1 -1
  102. package/build/chips/Chips.messages.js.map +1 -1
  103. package/build/chips/Chips.messages.mjs.map +1 -1
  104. package/build/chips/Chips.mjs.map +1 -1
  105. package/build/circularButton/CircularButton.js +16 -0
  106. package/build/circularButton/CircularButton.js.map +1 -1
  107. package/build/circularButton/CircularButton.mjs +16 -0
  108. package/build/circularButton/CircularButton.mjs.map +1 -1
  109. package/build/common/DOMOperations/DOMOperations.js +0 -2
  110. package/build/common/DOMOperations/DOMOperations.js.map +1 -1
  111. package/build/common/DOMOperations/DOMOperations.mjs +0 -2
  112. package/build/common/DOMOperations/DOMOperations.mjs.map +1 -1
  113. package/build/common/Option/Option.js.map +1 -1
  114. package/build/common/Option/Option.mjs.map +1 -1
  115. package/build/common/RadioButton/RadioButton.js.map +1 -1
  116. package/build/common/RadioButton/RadioButton.mjs.map +1 -1
  117. package/build/common/bottomSheet/BottomSheet.js +0 -5
  118. package/build/common/bottomSheet/BottomSheet.js.map +1 -1
  119. package/build/common/bottomSheet/BottomSheet.mjs +0 -5
  120. package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
  121. package/build/common/card/Card.js +0 -21
  122. package/build/common/card/Card.js.map +1 -1
  123. package/build/common/card/Card.mjs +0 -21
  124. package/build/common/card/Card.mjs.map +1 -1
  125. package/build/common/circle/Circle.js +0 -4
  126. package/build/common/circle/Circle.js.map +1 -1
  127. package/build/common/circle/Circle.mjs +0 -4
  128. package/build/common/circle/Circle.mjs.map +1 -1
  129. package/build/common/closeButton/CloseButton.js +0 -3
  130. package/build/common/closeButton/CloseButton.js.map +1 -1
  131. package/build/common/closeButton/CloseButton.messages.js.map +1 -1
  132. package/build/common/closeButton/CloseButton.messages.mjs.map +1 -1
  133. package/build/common/closeButton/CloseButton.mjs +0 -3
  134. package/build/common/closeButton/CloseButton.mjs.map +1 -1
  135. package/build/common/colors.js +0 -1
  136. package/build/common/colors.js.map +1 -1
  137. package/build/common/colors.mjs +0 -1
  138. package/build/common/colors.mjs.map +1 -1
  139. package/build/common/constants.js +0 -1
  140. package/build/common/constants.js.map +1 -1
  141. package/build/common/constants.mjs +0 -1
  142. package/build/common/constants.mjs.map +1 -1
  143. package/build/common/dateUtils/getDateView/getDateView.js.map +1 -1
  144. package/build/common/dateUtils/getDateView/getDateView.mjs.map +1 -1
  145. package/build/common/dateUtils/getDayNames/getDayNames.js.map +1 -1
  146. package/build/common/dateUtils/getDayNames/getDayNames.mjs.map +1 -1
  147. package/build/common/dateUtils/getMonthNames/getMonthNames.js.map +1 -1
  148. package/build/common/dateUtils/getMonthNames/getMonthNames.mjs.map +1 -1
  149. package/build/common/dateUtils/isDateValid/isDateValid.js.map +1 -1
  150. package/build/common/dateUtils/isDateValid/isDateValid.mjs.map +1 -1
  151. package/build/common/dateUtils/isWithinRange/isWithinRange.js.map +1 -1
  152. package/build/common/dateUtils/isWithinRange/isWithinRange.mjs.map +1 -1
  153. package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.js.map +1 -1
  154. package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.mjs.map +1 -1
  155. package/build/common/deviceDetection/deviceDetection.js.map +1 -1
  156. package/build/common/deviceDetection/deviceDetection.mjs.map +1 -1
  157. package/build/common/direction.js +3 -5
  158. package/build/common/direction.js.map +1 -1
  159. package/build/common/direction.mjs +3 -3
  160. package/build/common/direction.mjs.map +1 -1
  161. package/build/common/domHelpers/documentIosClick.js +2 -3
  162. package/build/common/domHelpers/documentIosClick.js.map +1 -1
  163. package/build/common/domHelpers/documentIosClick.mjs +2 -3
  164. package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
  165. package/build/common/fileType.js +3 -5
  166. package/build/common/fileType.js.map +1 -1
  167. package/build/common/fileType.mjs +3 -3
  168. package/build/common/fileType.mjs.map +1 -1
  169. package/build/common/flowHeader/FlowHeader.js +14 -14
  170. package/build/common/flowHeader/FlowHeader.js.map +1 -1
  171. package/build/common/flowHeader/FlowHeader.mjs.map +1 -1
  172. package/build/common/focusBoundary/FocusBoundary.js.map +1 -1
  173. package/build/common/focusBoundary/FocusBoundary.mjs.map +1 -1
  174. package/build/common/historyNavigator/historyNavigator.js.map +1 -1
  175. package/build/common/historyNavigator/historyNavigator.mjs.map +1 -1
  176. package/build/common/hooks/useConditionalListener/useConditionalListener.js.map +1 -1
  177. package/build/common/hooks/useConditionalListener/useConditionalListener.mjs.map +1 -1
  178. package/build/common/hooks/useDirection/useDirection.js.map +1 -1
  179. package/build/common/hooks/useDirection/useDirection.mjs.map +1 -1
  180. package/build/common/hooks/useEffectEvent.js +0 -1
  181. package/build/common/hooks/useEffectEvent.js.map +1 -1
  182. package/build/common/hooks/useEffectEvent.mjs +0 -1
  183. package/build/common/hooks/useEffectEvent.mjs.map +1 -1
  184. package/build/common/hooks/useHasIntersected/useHasIntersected.js +0 -2
  185. package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
  186. package/build/common/hooks/useHasIntersected/useHasIntersected.mjs +0 -2
  187. package/build/common/hooks/useHasIntersected/useHasIntersected.mjs.map +1 -1
  188. package/build/common/hooks/useLayout/useLayout.js.map +1 -1
  189. package/build/common/hooks/useLayout/useLayout.mjs.map +1 -1
  190. package/build/common/hooks/useMedia.js.map +1 -1
  191. package/build/common/hooks/useMedia.mjs.map +1 -1
  192. package/build/common/hooks/useResizeObserver.js.map +1 -1
  193. package/build/common/hooks/useResizeObserver.mjs.map +1 -1
  194. package/build/common/hooks/useScreenSize.js.map +1 -1
  195. package/build/common/hooks/useScreenSize.mjs.map +1 -1
  196. package/build/common/hooks/useVirtualKeyboard.js.map +1 -1
  197. package/build/common/hooks/useVirtualKeyboard.mjs.map +1 -1
  198. package/build/common/initials.js +0 -3
  199. package/build/common/initials.js.map +1 -1
  200. package/build/common/initials.mjs +0 -3
  201. package/build/common/initials.mjs.map +1 -1
  202. package/build/common/locale/index.js +0 -6
  203. package/build/common/locale/index.js.map +1 -1
  204. package/build/common/locale/index.mjs +0 -6
  205. package/build/common/locale/index.mjs.map +1 -1
  206. package/build/common/panel/Panel.js +18 -2
  207. package/build/common/panel/Panel.js.map +1 -1
  208. package/build/common/panel/Panel.mjs +18 -2
  209. package/build/common/panel/Panel.mjs.map +1 -1
  210. package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js +0 -3
  211. package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
  212. package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs +0 -3
  213. package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs.map +1 -1
  214. package/build/common/preventScroll/PreventScroll.js.map +1 -1
  215. package/build/common/preventScroll/PreventScroll.mjs.map +1 -1
  216. package/build/common/propsValues/breakpoint.js +3 -5
  217. package/build/common/propsValues/breakpoint.js.map +1 -1
  218. package/build/common/propsValues/breakpoint.mjs +3 -3
  219. package/build/common/propsValues/breakpoint.mjs.map +1 -1
  220. package/build/common/propsValues/control.js +6 -9
  221. package/build/common/propsValues/control.js.map +1 -1
  222. package/build/common/propsValues/control.mjs +6 -6
  223. package/build/common/propsValues/control.mjs.map +1 -1
  224. package/build/common/propsValues/dateMode.js +3 -5
  225. package/build/common/propsValues/dateMode.js.map +1 -1
  226. package/build/common/propsValues/dateMode.mjs +3 -3
  227. package/build/common/propsValues/dateMode.mjs.map +1 -1
  228. package/build/common/propsValues/layouts.js +3 -5
  229. package/build/common/propsValues/layouts.js.map +1 -1
  230. package/build/common/propsValues/layouts.mjs +3 -3
  231. package/build/common/propsValues/layouts.mjs.map +1 -1
  232. package/build/common/propsValues/markdownNodeType.js +3 -5
  233. package/build/common/propsValues/markdownNodeType.js.map +1 -1
  234. package/build/common/propsValues/markdownNodeType.mjs +3 -3
  235. package/build/common/propsValues/markdownNodeType.mjs.map +1 -1
  236. package/build/common/propsValues/monthFormat.js +3 -5
  237. package/build/common/propsValues/monthFormat.js.map +1 -1
  238. package/build/common/propsValues/monthFormat.mjs +3 -3
  239. package/build/common/propsValues/monthFormat.mjs.map +1 -1
  240. package/build/common/propsValues/position.js +3 -5
  241. package/build/common/propsValues/position.js.map +1 -1
  242. package/build/common/propsValues/position.mjs +3 -3
  243. package/build/common/propsValues/position.mjs.map +1 -1
  244. package/build/common/propsValues/profileType.js +3 -5
  245. package/build/common/propsValues/profileType.js.map +1 -1
  246. package/build/common/propsValues/profileType.mjs +3 -3
  247. package/build/common/propsValues/profileType.mjs.map +1 -1
  248. package/build/common/propsValues/scroll.js +3 -5
  249. package/build/common/propsValues/scroll.js.map +1 -1
  250. package/build/common/propsValues/scroll.mjs +3 -3
  251. package/build/common/propsValues/scroll.mjs.map +1 -1
  252. package/build/common/propsValues/sentiment.js +3 -5
  253. package/build/common/propsValues/sentiment.js.map +1 -1
  254. package/build/common/propsValues/sentiment.mjs +3 -3
  255. package/build/common/propsValues/sentiment.mjs.map +1 -1
  256. package/build/common/propsValues/size.js +3 -5
  257. package/build/common/propsValues/size.js.map +1 -1
  258. package/build/common/propsValues/size.mjs +3 -3
  259. package/build/common/propsValues/size.mjs.map +1 -1
  260. package/build/common/propsValues/status.js +3 -5
  261. package/build/common/propsValues/status.js.map +1 -1
  262. package/build/common/propsValues/status.mjs +3 -3
  263. package/build/common/propsValues/status.mjs.map +1 -1
  264. package/build/common/propsValues/type.js +3 -5
  265. package/build/common/propsValues/type.js.map +1 -1
  266. package/build/common/propsValues/type.mjs +3 -3
  267. package/build/common/propsValues/type.mjs.map +1 -1
  268. package/build/common/propsValues/typography.js +3 -9
  269. package/build/common/propsValues/typography.js.map +1 -1
  270. package/build/common/propsValues/typography.mjs +3 -7
  271. package/build/common/propsValues/typography.mjs.map +1 -1
  272. package/build/common/propsValues/variant.js +3 -5
  273. package/build/common/propsValues/variant.js.map +1 -1
  274. package/build/common/propsValues/variant.mjs +3 -3
  275. package/build/common/propsValues/variant.mjs.map +1 -1
  276. package/build/common/propsValues/width.js +3 -5
  277. package/build/common/propsValues/width.js.map +1 -1
  278. package/build/common/propsValues/width.mjs +3 -3
  279. package/build/common/propsValues/width.mjs.map +1 -1
  280. package/build/common/responsivePanel/ResponsivePanel.js +18 -0
  281. package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
  282. package/build/common/responsivePanel/ResponsivePanel.mjs +18 -0
  283. package/build/common/responsivePanel/ResponsivePanel.mjs.map +1 -1
  284. package/build/common/textFormat/formatWithPattern/formatWithPattern.js.map +1 -1
  285. package/build/common/textFormat/formatWithPattern/formatWithPattern.mjs.map +1 -1
  286. package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js.map +1 -1
  287. package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.mjs.map +1 -1
  288. package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js.map +1 -1
  289. package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.mjs.map +1 -1
  290. package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js.map +1 -1
  291. package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.mjs.map +1 -1
  292. package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js.map +1 -1
  293. package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.mjs.map +1 -1
  294. package/build/common/textFormat/unformatWithPattern/unformatWithPattern.js.map +1 -1
  295. package/build/common/textFormat/unformatWithPattern/unformatWithPattern.mjs.map +1 -1
  296. package/build/common/theme.js +3 -5
  297. package/build/common/theme.js.map +1 -1
  298. package/build/common/theme.mjs +3 -3
  299. package/build/common/theme.mjs.map +1 -1
  300. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  301. package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
  302. package/build/dateInput/DateInput.js +15 -5
  303. package/build/dateInput/DateInput.js.map +1 -1
  304. package/build/dateInput/DateInput.messages.js.map +1 -1
  305. package/build/dateInput/DateInput.messages.mjs.map +1 -1
  306. package/build/dateInput/DateInput.mjs +15 -5
  307. package/build/dateInput/DateInput.mjs.map +1 -1
  308. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +0 -1
  309. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
  310. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs +0 -1
  311. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
  312. package/build/dateLookup/DateLookup.js +15 -0
  313. package/build/dateLookup/DateLookup.js.map +1 -1
  314. package/build/dateLookup/DateLookup.messages.js.map +1 -1
  315. package/build/dateLookup/DateLookup.messages.mjs.map +1 -1
  316. package/build/dateLookup/DateLookup.mjs +15 -0
  317. package/build/dateLookup/DateLookup.mjs.map +1 -1
  318. package/build/dateLookup/dateHeader/DateHeader.js +18 -0
  319. package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
  320. package/build/dateLookup/dateHeader/DateHeader.mjs +18 -0
  321. package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
  322. package/build/dateLookup/dateTrigger/DateTrigger.js +16 -0
  323. package/build/dateLookup/dateTrigger/DateTrigger.js.map +1 -1
  324. package/build/dateLookup/dateTrigger/DateTrigger.messages.js.map +1 -1
  325. package/build/dateLookup/dateTrigger/DateTrigger.messages.mjs.map +1 -1
  326. package/build/dateLookup/dateTrigger/DateTrigger.mjs +16 -0
  327. package/build/dateLookup/dateTrigger/DateTrigger.mjs.map +1 -1
  328. package/build/dateLookup/dayCalendar/DayCalendar.js.map +1 -1
  329. package/build/dateLookup/dayCalendar/DayCalendar.mjs.map +1 -1
  330. package/build/dateLookup/dayCalendar/table/DayCalendarTable.js +0 -1
  331. package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
  332. package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs +0 -1
  333. package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs.map +1 -1
  334. package/build/dateLookup/getFocusableTime/getFocusableTime.js.map +1 -1
  335. package/build/dateLookup/getFocusableTime/getFocusableTime.mjs.map +1 -1
  336. package/build/dateLookup/getStartOfDay/getStartOfDay.js.map +1 -1
  337. package/build/dateLookup/getStartOfDay/getStartOfDay.mjs.map +1 -1
  338. package/build/dateLookup/monthCalendar/MonthCalendar.js.map +1 -1
  339. package/build/dateLookup/monthCalendar/MonthCalendar.mjs.map +1 -1
  340. package/build/dateLookup/monthCalendar/table/MonthCalendarTable.js.map +1 -1
  341. package/build/dateLookup/monthCalendar/table/MonthCalendarTable.mjs.map +1 -1
  342. package/build/dateLookup/tableLink/TableLink.js.map +1 -1
  343. package/build/dateLookup/tableLink/TableLink.mjs.map +1 -1
  344. package/build/dateLookup/yearCalendar/YearCalendar.js.map +1 -1
  345. package/build/dateLookup/yearCalendar/YearCalendar.mjs.map +1 -1
  346. package/build/dateLookup/yearCalendar/table/YearCalendarTable.js.map +1 -1
  347. package/build/dateLookup/yearCalendar/table/YearCalendarTable.mjs.map +1 -1
  348. package/build/decision/Decision.js +28 -13
  349. package/build/decision/Decision.js.map +1 -1
  350. package/build/decision/Decision.mjs +23 -6
  351. package/build/decision/Decision.mjs.map +1 -1
  352. package/build/definitionList/DefinitionList.js +18 -0
  353. package/build/definitionList/DefinitionList.js.map +1 -1
  354. package/build/definitionList/DefinitionList.mjs +18 -0
  355. package/build/definitionList/DefinitionList.mjs.map +1 -1
  356. package/build/dimmer/Dimmer.js +19 -1
  357. package/build/dimmer/Dimmer.js.map +1 -1
  358. package/build/dimmer/Dimmer.mjs +19 -1
  359. package/build/dimmer/Dimmer.mjs.map +1 -1
  360. package/build/dimmer/dimmerManager/DimmerManager.js.map +1 -1
  361. package/build/dimmer/dimmerManager/DimmerManager.mjs.map +1 -1
  362. package/build/display/Display.js +18 -0
  363. package/build/display/Display.js.map +1 -1
  364. package/build/display/Display.mjs +18 -0
  365. package/build/display/Display.mjs.map +1 -1
  366. package/build/divider/Divider.js +0 -9
  367. package/build/divider/Divider.js.map +1 -1
  368. package/build/divider/Divider.mjs +0 -9
  369. package/build/divider/Divider.mjs.map +1 -1
  370. package/build/drawer/Drawer.js +17 -0
  371. package/build/drawer/Drawer.js.map +1 -1
  372. package/build/drawer/Drawer.mjs +17 -0
  373. package/build/drawer/Drawer.mjs.map +1 -1
  374. package/build/dropFade/DropFade.js.map +1 -1
  375. package/build/dropFade/DropFade.mjs.map +1 -1
  376. package/build/emphasis/Emphasis.js.map +1 -1
  377. package/build/emphasis/Emphasis.mjs.map +1 -1
  378. package/build/emphasis/EmphasisHtmlTransformer.js +0 -1
  379. package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
  380. package/build/emphasis/EmphasisHtmlTransformer.mjs +0 -1
  381. package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
  382. package/build/expressiveMoneyInput/ExpressiveMoneyInput.js +0 -15
  383. package/build/expressiveMoneyInput/ExpressiveMoneyInput.js.map +1 -1
  384. package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.js.map +1 -1
  385. package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.mjs.map +1 -1
  386. package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs +0 -15
  387. package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
  388. package/build/expressiveMoneyInput/amountInput/AmountInput.js +0 -5
  389. package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
  390. package/build/expressiveMoneyInput/amountInput/AmountInput.mjs +0 -5
  391. package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
  392. package/build/expressiveMoneyInput/amountInput/utils.js +0 -2
  393. package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
  394. package/build/expressiveMoneyInput/amountInput/utils.mjs +0 -2
  395. package/build/expressiveMoneyInput/amountInput/utils.mjs.map +1 -1
  396. package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.js.map +1 -1
  397. package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.mjs.map +1 -1
  398. package/build/expressiveMoneyInput/chevron/Chevron.js.map +1 -1
  399. package/build/expressiveMoneyInput/chevron/Chevron.mjs.map +1 -1
  400. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
  401. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
  402. package/build/expressiveMoneyInput/hooks/useFocus.js.map +1 -1
  403. package/build/expressiveMoneyInput/hooks/useFocus.mjs.map +1 -1
  404. package/build/expressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
  405. package/build/expressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
  406. package/build/field/Field.js +18 -1
  407. package/build/field/Field.js.map +1 -1
  408. package/build/field/Field.mjs +18 -1
  409. package/build/field/Field.mjs.map +1 -1
  410. package/build/flowNavigation/FlowNavigation.js +17 -0
  411. package/build/flowNavigation/FlowNavigation.js.map +1 -1
  412. package/build/flowNavigation/FlowNavigation.messages.js.map +1 -1
  413. package/build/flowNavigation/FlowNavigation.messages.mjs.map +1 -1
  414. package/build/flowNavigation/FlowNavigation.mjs +17 -0
  415. package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
  416. package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
  417. package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs.map +1 -1
  418. package/build/header/Header.js +18 -8
  419. package/build/header/Header.js.map +1 -1
  420. package/build/header/Header.mjs +18 -8
  421. package/build/header/Header.mjs.map +1 -1
  422. package/build/i18n/commonMessages/Button.messages.js.map +1 -1
  423. package/build/i18n/commonMessages/Button.messages.mjs.map +1 -1
  424. package/build/i18n/index.js.map +1 -1
  425. package/build/i18n/index.mjs.map +1 -1
  426. package/build/iconButton/IconButton.js.map +1 -1
  427. package/build/iconButton/IconButton.mjs.map +1 -1
  428. package/build/image/Image.js +1 -1
  429. package/build/image/Image.js.map +1 -1
  430. package/build/image/Image.mjs +1 -1
  431. package/build/image/Image.mjs.map +1 -1
  432. package/build/index.js +108 -27
  433. package/build/index.js.map +1 -1
  434. package/build/info/Info.js +17 -0
  435. package/build/info/Info.js.map +1 -1
  436. package/build/info/Info.messages.js.map +1 -1
  437. package/build/info/Info.messages.mjs.map +1 -1
  438. package/build/info/Info.mjs +17 -0
  439. package/build/info/Info.mjs.map +1 -1
  440. package/build/info/infoPresentations.js +3 -5
  441. package/build/info/infoPresentations.js.map +1 -1
  442. package/build/info/infoPresentations.mjs +3 -3
  443. package/build/info/infoPresentations.mjs.map +1 -1
  444. package/build/inlineAlert/InlineAlert.js +17 -1
  445. package/build/inlineAlert/InlineAlert.js.map +1 -1
  446. package/build/inlineAlert/InlineAlert.mjs +17 -1
  447. package/build/inlineAlert/InlineAlert.mjs.map +1 -1
  448. package/build/inputWithDisplayFormat/InputWithDisplayFormat.js.map +1 -1
  449. package/build/inputWithDisplayFormat/InputWithDisplayFormat.mjs.map +1 -1
  450. package/build/inputs/Input.js.map +1 -1
  451. package/build/inputs/Input.mjs.map +1 -1
  452. package/build/inputs/InputGroup.js.map +1 -1
  453. package/build/inputs/InputGroup.mjs.map +1 -1
  454. package/build/inputs/SearchInput.js +18 -0
  455. package/build/inputs/SearchInput.js.map +1 -1
  456. package/build/inputs/SearchInput.mjs +18 -0
  457. package/build/inputs/SearchInput.mjs.map +1 -1
  458. package/build/inputs/SelectInput.js +0 -5
  459. package/build/inputs/SelectInput.js.map +1 -1
  460. package/build/inputs/SelectInput.messages.js.map +1 -1
  461. package/build/inputs/SelectInput.messages.mjs.map +1 -1
  462. package/build/inputs/SelectInput.mjs +0 -5
  463. package/build/inputs/SelectInput.mjs.map +1 -1
  464. package/build/inputs/TextArea.js.map +1 -1
  465. package/build/inputs/TextArea.mjs.map +1 -1
  466. package/build/inputs/_BottomSheet.js.map +1 -1
  467. package/build/inputs/_BottomSheet.mjs.map +1 -1
  468. package/build/inputs/_ButtonInput.js.map +1 -1
  469. package/build/inputs/_ButtonInput.mjs.map +1 -1
  470. package/build/inputs/_Popover.js.map +1 -1
  471. package/build/inputs/_Popover.mjs.map +1 -1
  472. package/build/inputs/_common.js.map +1 -1
  473. package/build/inputs/_common.mjs.map +1 -1
  474. package/build/inputs/contexts.js.map +1 -1
  475. package/build/inputs/contexts.mjs.map +1 -1
  476. package/build/instructionsList/InstructionsList.js +18 -0
  477. package/build/instructionsList/InstructionsList.js.map +1 -1
  478. package/build/instructionsList/InstructionsList.mjs +18 -0
  479. package/build/instructionsList/InstructionsList.mjs.map +1 -1
  480. package/build/label/Label.js +0 -10
  481. package/build/label/Label.js.map +1 -1
  482. package/build/label/Label.messages.js.map +1 -1
  483. package/build/label/Label.messages.mjs.map +1 -1
  484. package/build/label/Label.mjs +0 -10
  485. package/build/label/Label.mjs.map +1 -1
  486. package/build/legacylistItem/LegacyListItem.js +0 -8
  487. package/build/legacylistItem/LegacyListItem.js.map +1 -1
  488. package/build/legacylistItem/LegacyListItem.mjs +0 -8
  489. package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
  490. package/build/link/Link.js +18 -5
  491. package/build/link/Link.js.map +1 -1
  492. package/build/link/Link.messages.js.map +1 -1
  493. package/build/link/Link.messages.mjs.map +1 -1
  494. package/build/link/Link.mjs +18 -5
  495. package/build/link/Link.mjs.map +1 -1
  496. package/build/list/List.js.map +1 -1
  497. package/build/list/List.mjs.map +1 -1
  498. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +18 -0
  499. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
  500. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +18 -0
  501. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
  502. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +0 -7
  503. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
  504. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +0 -7
  505. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
  506. package/build/listItem/AvatarView/ListItemAvatarView.js +0 -7
  507. package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
  508. package/build/listItem/AvatarView/ListItemAvatarView.mjs +0 -7
  509. package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
  510. package/build/listItem/Button/ListItemButton.js +0 -7
  511. package/build/listItem/Button/ListItemButton.js.map +1 -1
  512. package/build/listItem/Button/ListItemButton.mjs +0 -7
  513. package/build/listItem/Button/ListItemButton.mjs.map +1 -1
  514. package/build/listItem/Checkbox/ListItemCheckbox.js +0 -7
  515. package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -1
  516. package/build/listItem/Checkbox/ListItemCheckbox.mjs +0 -7
  517. package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -1
  518. package/build/listItem/IconButton/ListItemIconButton.js +0 -7
  519. package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
  520. package/build/listItem/IconButton/ListItemIconButton.mjs +0 -7
  521. package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
  522. package/build/listItem/Image/ListItemImage.js +0 -9
  523. package/build/listItem/Image/ListItemImage.js.map +1 -1
  524. package/build/listItem/Image/ListItemImage.mjs +0 -9
  525. package/build/listItem/Image/ListItemImage.mjs.map +1 -1
  526. package/build/listItem/ListItem.js +17 -7
  527. package/build/listItem/ListItem.js.map +1 -1
  528. package/build/listItem/ListItem.mjs +17 -7
  529. package/build/listItem/ListItem.mjs.map +1 -1
  530. package/build/listItem/ListItemContext.js.map +1 -1
  531. package/build/listItem/ListItemContext.mjs.map +1 -1
  532. package/build/listItem/Navigation/ListItemNavigation.js +0 -8
  533. package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
  534. package/build/listItem/Navigation/ListItemNavigation.mjs +0 -8
  535. package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
  536. package/build/listItem/Prompt/ListItemPrompt.js +18 -6
  537. package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
  538. package/build/listItem/Prompt/ListItemPrompt.mjs +18 -6
  539. package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
  540. package/build/listItem/Radio/ListItemRadio.js +0 -7
  541. package/build/listItem/Radio/ListItemRadio.js.map +1 -1
  542. package/build/listItem/Radio/ListItemRadio.mjs +0 -7
  543. package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
  544. package/build/listItem/Switch/ListItemSwitch.js +0 -7
  545. package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
  546. package/build/listItem/Switch/ListItemSwitch.mjs +0 -7
  547. package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -1
  548. package/build/listItem/useListItemControl.js.map +1 -1
  549. package/build/listItem/useListItemControl.mjs.map +1 -1
  550. package/build/listItem/useListItemMedia.js.map +1 -1
  551. package/build/listItem/useListItemMedia.mjs.map +1 -1
  552. package/build/loader/Loader.js +18 -10
  553. package/build/loader/Loader.js.map +1 -1
  554. package/build/loader/Loader.mjs +18 -10
  555. package/build/loader/Loader.mjs.map +1 -1
  556. package/build/logo/Logo.js +3 -4
  557. package/build/logo/Logo.js.map +1 -1
  558. package/build/logo/Logo.mjs +3 -3
  559. package/build/logo/Logo.mjs.map +1 -1
  560. package/build/logo/logo-assets.js.map +1 -1
  561. package/build/logo/logo-assets.mjs.map +1 -1
  562. package/build/markdown/Markdown.js +32 -14
  563. package/build/markdown/Markdown.js.map +1 -1
  564. package/build/markdown/Markdown.mjs +18 -0
  565. package/build/markdown/Markdown.mjs.map +1 -1
  566. package/build/mocks.js.map +1 -1
  567. package/build/mocks.mjs.map +1 -1
  568. package/build/modal/Modal.js +15 -0
  569. package/build/modal/Modal.js.map +1 -1
  570. package/build/modal/Modal.mjs +15 -0
  571. package/build/modal/Modal.mjs.map +1 -1
  572. package/build/money/Money.js.map +1 -1
  573. package/build/money/Money.mjs.map +1 -1
  574. package/build/moneyInput/MoneyInput.js +17 -0
  575. package/build/moneyInput/MoneyInput.js.map +1 -1
  576. package/build/moneyInput/MoneyInput.messages.js.map +1 -1
  577. package/build/moneyInput/MoneyInput.messages.mjs.map +1 -1
  578. package/build/moneyInput/MoneyInput.mjs +17 -0
  579. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  580. package/build/moneyInput/currencyFormatting.js +2 -2
  581. package/build/moneyInput/currencyFormatting.js.map +1 -1
  582. package/build/moneyInput/currencyFormatting.mjs.map +1 -1
  583. package/build/navigationOption/NavigationOption.js +18 -8
  584. package/build/navigationOption/NavigationOption.js.map +1 -1
  585. package/build/navigationOption/NavigationOption.mjs +18 -8
  586. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  587. package/build/navigationOptionsList/NavigationOptionsList.js +0 -9
  588. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  589. package/build/navigationOptionsList/NavigationOptionsList.mjs +0 -9
  590. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  591. package/build/nudge/Nudge.js +18 -1
  592. package/build/nudge/Nudge.js.map +1 -1
  593. package/build/nudge/Nudge.mjs +18 -1
  594. package/build/nudge/Nudge.mjs.map +1 -1
  595. package/build/overlayHeader/OverlayHeader.js +18 -0
  596. package/build/overlayHeader/OverlayHeader.js.map +1 -1
  597. package/build/overlayHeader/OverlayHeader.mjs +18 -0
  598. package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
  599. package/build/phoneNumberInput/PhoneNumberInput.js +19 -3
  600. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  601. package/build/phoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
  602. package/build/phoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
  603. package/build/phoneNumberInput/PhoneNumberInput.mjs +19 -3
  604. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  605. package/build/phoneNumberInput/data/countries.js.map +1 -1
  606. package/build/phoneNumberInput/data/countries.mjs.map +1 -1
  607. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js +0 -1
  608. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
  609. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs +0 -1
  610. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs.map +1 -1
  611. package/build/phoneNumberInput/utils/explodeNumberModel/index.js.map +1 -1
  612. package/build/phoneNumberInput/utils/explodeNumberModel/index.mjs.map +1 -1
  613. package/build/phoneNumberInput/utils/findCountryByCode/index.js.map +1 -1
  614. package/build/phoneNumberInput/utils/findCountryByCode/index.mjs.map +1 -1
  615. package/build/phoneNumberInput/utils/findCountryByPrefix/index.js.map +1 -1
  616. package/build/phoneNumberInput/utils/findCountryByPrefix/index.mjs.map +1 -1
  617. package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js.map +1 -1
  618. package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.mjs.map +1 -1
  619. package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js.map +1 -1
  620. package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs.map +1 -1
  621. package/build/phoneNumberInput/utils/setDefaultPrefix/index.js +0 -1
  622. package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
  623. package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs +0 -1
  624. package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs.map +1 -1
  625. package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js.map +1 -1
  626. package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.mjs.map +1 -1
  627. package/build/popover/Popover.js +17 -0
  628. package/build/popover/Popover.js.map +1 -1
  629. package/build/popover/Popover.mjs +17 -0
  630. package/build/popover/Popover.mjs.map +1 -1
  631. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js +0 -10
  632. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
  633. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs +0 -10
  634. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
  635. package/build/primitives/PrimitiveButton/PrimitiveButton.js +0 -10
  636. package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
  637. package/build/primitives/PrimitiveButton/PrimitiveButton.mjs +0 -10
  638. package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
  639. package/build/processIndicator/ProcessIndicator.js +18 -3
  640. package/build/processIndicator/ProcessIndicator.js.map +1 -1
  641. package/build/processIndicator/ProcessIndicator.mjs +18 -3
  642. package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
  643. package/build/progress/Progress.js.map +1 -1
  644. package/build/progress/Progress.mjs.map +1 -1
  645. package/build/progressBar/ProgressBar.js +18 -0
  646. package/build/progressBar/ProgressBar.js.map +1 -1
  647. package/build/progressBar/ProgressBar.mjs +18 -0
  648. package/build/progressBar/ProgressBar.mjs.map +1 -1
  649. package/build/promoCard/PromoCard.js +18 -47
  650. package/build/promoCard/PromoCard.js.map +1 -1
  651. package/build/promoCard/PromoCard.mjs +18 -47
  652. package/build/promoCard/PromoCard.mjs.map +1 -1
  653. package/build/promoCard/PromoCardContext.js +0 -11
  654. package/build/promoCard/PromoCardContext.js.map +1 -1
  655. package/build/promoCard/PromoCardContext.mjs +0 -11
  656. package/build/promoCard/PromoCardContext.mjs.map +1 -1
  657. package/build/promoCard/PromoCardGroup.js +0 -21
  658. package/build/promoCard/PromoCardGroup.js.map +1 -1
  659. package/build/promoCard/PromoCardGroup.mjs +0 -21
  660. package/build/promoCard/PromoCardGroup.mjs.map +1 -1
  661. package/build/promoCard/PromoCardIndicator.js +18 -16
  662. package/build/promoCard/PromoCardIndicator.js.map +1 -1
  663. package/build/promoCard/PromoCardIndicator.mjs +18 -16
  664. package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
  665. package/build/prompt/InlinePrompt/InlinePrompt.js +18 -6
  666. package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
  667. package/build/prompt/InlinePrompt/InlinePrompt.mjs +18 -6
  668. package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
  669. package/build/provider/Provider.js +19 -0
  670. package/build/provider/Provider.js.map +1 -1
  671. package/build/provider/Provider.mjs +19 -0
  672. package/build/provider/Provider.mjs.map +1 -1
  673. package/build/provider/direction/DirectionProvider.js.map +1 -1
  674. package/build/provider/direction/DirectionProvider.mjs.map +1 -1
  675. package/build/provider/language/LanguageProvider.js.map +1 -1
  676. package/build/provider/language/LanguageProvider.mjs.map +1 -1
  677. package/build/provider/overlay/OverlayIdProvider.js.map +1 -1
  678. package/build/provider/overlay/OverlayIdProvider.mjs.map +1 -1
  679. package/build/radio/Radio.js +18 -0
  680. package/build/radio/Radio.js.map +1 -1
  681. package/build/radio/Radio.mjs +18 -0
  682. package/build/radio/Radio.mjs.map +1 -1
  683. package/build/radioGroup/RadioGroup.js.map +1 -1
  684. package/build/radioGroup/RadioGroup.mjs.map +1 -1
  685. package/build/radioOption/RadioOption.js +0 -8
  686. package/build/radioOption/RadioOption.js.map +1 -1
  687. package/build/radioOption/RadioOption.mjs +0 -8
  688. package/build/radioOption/RadioOption.mjs.map +1 -1
  689. package/build/section/Section.js +0 -5
  690. package/build/section/Section.js.map +1 -1
  691. package/build/section/Section.mjs +0 -5
  692. package/build/section/Section.mjs.map +1 -1
  693. package/build/segmentedControl/SegmentedControl.js +18 -2
  694. package/build/segmentedControl/SegmentedControl.js.map +1 -1
  695. package/build/segmentedControl/SegmentedControl.mjs +18 -2
  696. package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
  697. package/build/select/Select.js +18 -3
  698. package/build/select/Select.js.map +1 -1
  699. package/build/select/Select.messages.js.map +1 -1
  700. package/build/select/Select.messages.mjs.map +1 -1
  701. package/build/select/Select.mjs +18 -3
  702. package/build/select/Select.mjs.map +1 -1
  703. package/build/select/option/Option.js +18 -0
  704. package/build/select/option/Option.js.map +1 -1
  705. package/build/select/option/Option.mjs +18 -0
  706. package/build/select/option/Option.mjs.map +1 -1
  707. package/build/select/searchBox/SearchBox.js.map +1 -1
  708. package/build/select/searchBox/SearchBox.mjs.map +1 -1
  709. package/build/sentimentSurface/SentimentSurface.js +0 -28
  710. package/build/sentimentSurface/SentimentSurface.js.map +1 -1
  711. package/build/sentimentSurface/SentimentSurface.mjs +0 -28
  712. package/build/sentimentSurface/SentimentSurface.mjs.map +1 -1
  713. package/build/slidingPanel/SlidingPanel.js.map +1 -1
  714. package/build/slidingPanel/SlidingPanel.mjs.map +1 -1
  715. package/build/snackbar/Snackbar.js.map +1 -1
  716. package/build/snackbar/Snackbar.mjs.map +1 -1
  717. package/build/snackbar/SnackbarContext.js.map +1 -1
  718. package/build/snackbar/SnackbarContext.mjs.map +1 -1
  719. package/build/snackbar/SnackbarProvider.js.map +1 -1
  720. package/build/snackbar/SnackbarProvider.mjs.map +1 -1
  721. package/build/snackbar/useSnackbar.js.map +1 -1
  722. package/build/snackbar/useSnackbar.mjs.map +1 -1
  723. package/build/statusIcon/StatusIcon.js +15 -0
  724. package/build/statusIcon/StatusIcon.js.map +1 -1
  725. package/build/statusIcon/StatusIcon.messages.js.map +1 -1
  726. package/build/statusIcon/StatusIcon.messages.mjs.map +1 -1
  727. package/build/statusIcon/StatusIcon.mjs +15 -0
  728. package/build/statusIcon/StatusIcon.mjs.map +1 -1
  729. package/build/stepper/Stepper.js +18 -0
  730. package/build/stepper/Stepper.js.map +1 -1
  731. package/build/stepper/Stepper.mjs +18 -0
  732. package/build/stepper/Stepper.mjs.map +1 -1
  733. package/build/stepper/deviceDetection.js.map +1 -1
  734. package/build/stepper/deviceDetection.mjs.map +1 -1
  735. package/build/sticky/Sticky.js +18 -22
  736. package/build/sticky/Sticky.js.map +1 -1
  737. package/build/sticky/Sticky.mjs +18 -22
  738. package/build/sticky/Sticky.mjs.map +1 -1
  739. package/build/summary/Summary.js +16 -0
  740. package/build/summary/Summary.js.map +1 -1
  741. package/build/summary/Summary.messages.js.map +1 -1
  742. package/build/summary/Summary.messages.mjs.map +1 -1
  743. package/build/summary/Summary.mjs +16 -0
  744. package/build/summary/Summary.mjs.map +1 -1
  745. package/build/switch/Switch.js.map +1 -1
  746. package/build/switch/Switch.mjs.map +1 -1
  747. package/build/switchOption/SwitchOption.js +0 -1
  748. package/build/switchOption/SwitchOption.js.map +1 -1
  749. package/build/switchOption/SwitchOption.mjs +0 -1
  750. package/build/switchOption/SwitchOption.mjs.map +1 -1
  751. package/build/table/Table.js +17 -1
  752. package/build/table/Table.js.map +1 -1
  753. package/build/table/Table.messages.js.map +1 -1
  754. package/build/table/Table.messages.mjs.map +1 -1
  755. package/build/table/Table.mjs +17 -1
  756. package/build/table/Table.mjs.map +1 -1
  757. package/build/table/TableCell.js.map +1 -1
  758. package/build/table/TableCell.mjs.map +1 -1
  759. package/build/table/TableHeader.js +0 -1
  760. package/build/table/TableHeader.js.map +1 -1
  761. package/build/table/TableHeader.mjs +0 -1
  762. package/build/table/TableHeader.mjs.map +1 -1
  763. package/build/table/TableRow.js +18 -0
  764. package/build/table/TableRow.js.map +1 -1
  765. package/build/table/TableRow.mjs +18 -0
  766. package/build/table/TableRow.mjs.map +1 -1
  767. package/build/table/TableStatusText.js +18 -0
  768. package/build/table/TableStatusText.js.map +1 -1
  769. package/build/table/TableStatusText.mjs +18 -0
  770. package/build/table/TableStatusText.mjs.map +1 -1
  771. package/build/tabs/Tab.js.map +1 -1
  772. package/build/tabs/Tab.mjs.map +1 -1
  773. package/build/tabs/TabList.js.map +1 -1
  774. package/build/tabs/TabList.mjs.map +1 -1
  775. package/build/tabs/TabPanel.js.map +1 -1
  776. package/build/tabs/TabPanel.mjs.map +1 -1
  777. package/build/tabs/Tabs.js +17 -3
  778. package/build/tabs/Tabs.js.map +1 -1
  779. package/build/tabs/Tabs.mjs +17 -3
  780. package/build/tabs/Tabs.mjs.map +1 -1
  781. package/build/tabs/utils.js +0 -1
  782. package/build/tabs/utils.js.map +1 -1
  783. package/build/tabs/utils.mjs +0 -1
  784. package/build/tabs/utils.mjs.map +1 -1
  785. package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js.map +1 -1
  786. package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.mjs.map +1 -1
  787. package/build/tile/Tile.js +18 -0
  788. package/build/tile/Tile.js.map +1 -1
  789. package/build/tile/Tile.mjs +18 -0
  790. package/build/tile/Tile.mjs.map +1 -1
  791. package/build/title/Title.js +18 -0
  792. package/build/title/Title.js.map +1 -1
  793. package/build/title/Title.mjs +18 -0
  794. package/build/title/Title.mjs.map +1 -1
  795. package/build/tooltip/Tooltip.js +18 -1
  796. package/build/tooltip/Tooltip.js.map +1 -1
  797. package/build/tooltip/Tooltip.mjs +18 -1
  798. package/build/tooltip/Tooltip.mjs.map +1 -1
  799. package/build/typeahead/Typeahead.js +17 -0
  800. package/build/typeahead/Typeahead.js.map +1 -1
  801. package/build/typeahead/Typeahead.messages.js.map +1 -1
  802. package/build/typeahead/Typeahead.messages.mjs.map +1 -1
  803. package/build/typeahead/Typeahead.mjs +17 -0
  804. package/build/typeahead/Typeahead.mjs.map +1 -1
  805. package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
  806. package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
  807. package/build/typeahead/typeaheadOption/TypeaheadOption.js.map +1 -1
  808. package/build/typeahead/typeaheadOption/TypeaheadOption.mjs.map +1 -1
  809. package/build/typeahead/util/highlight.js.map +1 -1
  810. package/build/typeahead/util/highlight.mjs.map +1 -1
  811. package/build/types/accordion/Accordion.d.ts.map +1 -0
  812. package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
  813. package/build/types/accordion/AccordionItem/index.d.ts.map +1 -0
  814. package/build/types/accordion/index.d.ts.map +1 -0
  815. package/build/types/actionButton/ActionButton.d.ts.map +1 -0
  816. package/build/types/actionButton/index.d.ts.map +1 -0
  817. package/build/types/actionOption/ActionOption.d.ts.map +1 -0
  818. package/build/types/actionOption/index.d.ts.map +1 -0
  819. package/build/types/alert/Alert.d.ts.map +1 -0
  820. package/build/types/alert/index.d.ts.map +1 -0
  821. package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
  822. package/build/types/alert/inlineMarkdown/index.d.ts.map +1 -0
  823. package/build/types/avatar/Avatar.d.ts.map +1 -0
  824. package/build/types/avatar/avatarTypes.d.ts.map +1 -0
  825. package/build/types/avatar/index.d.ts.map +1 -0
  826. package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -0
  827. package/build/types/avatarLayout/index.d.ts.map +1 -0
  828. package/build/types/avatarView/AvatarView.d.ts.map +1 -0
  829. package/build/types/avatarView/Dot.d.ts.map +1 -0
  830. package/build/types/avatarView/index.d.ts.map +1 -0
  831. package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
  832. package/build/types/avatarWrapper/index.d.ts.map +1 -0
  833. package/build/types/badge/Badge.d.ts.map +1 -0
  834. package/build/types/badge/BadgeAssets.d.ts.map +1 -0
  835. package/build/types/badge/index.d.ts.map +1 -0
  836. package/build/types/body/Body.d.ts.map +1 -0
  837. package/build/types/body/index.d.ts.map +1 -0
  838. package/build/types/button/Button.d.ts.map +1 -0
  839. package/build/types/button/Button.resolver.d.ts.map +1 -0
  840. package/build/types/button/Button.types.d.ts.map +1 -0
  841. package/build/types/button/LegacyButton.d.ts.map +1 -0
  842. package/build/types/button/_stories/helpers.d.ts.map +1 -0
  843. package/build/types/button/classMap.d.ts.map +1 -0
  844. package/build/types/button/index.d.ts.map +1 -0
  845. package/build/types/button/legacyUtils/index.d.ts.map +1 -0
  846. package/build/types/button/legacyUtils/legacyUtils.d.ts.map +1 -0
  847. package/build/types/card/Card.d.ts.map +1 -0
  848. package/build/types/card/index.d.ts.map +1 -0
  849. package/build/types/carousel/Carousel.d.ts.map +1 -0
  850. package/build/types/carousel/index.d.ts.map +1 -0
  851. package/build/types/checkbox/Checkbox.d.ts.map +1 -0
  852. package/build/types/checkbox/index.d.ts.map +1 -0
  853. package/build/types/checkboxButton/CheckboxButton.d.ts.map +1 -0
  854. package/build/types/checkboxButton/index.d.ts.map +1 -0
  855. package/build/types/checkboxOption/CheckboxOption.d.ts.map +1 -0
  856. package/build/types/checkboxOption/index.d.ts.map +1 -0
  857. package/build/types/chevron/Chevron.d.ts.map +1 -0
  858. package/build/types/chevron/index.d.ts.map +1 -0
  859. package/build/types/chips/Chip.d.ts.map +1 -0
  860. package/build/types/chips/Chips.d.ts.map +1 -0
  861. package/build/types/chips/Chips.messages.d.ts.map +1 -0
  862. package/build/types/chips/index.d.ts.map +1 -0
  863. package/build/types/circularButton/CircularButton.d.ts.map +1 -0
  864. package/build/types/circularButton/index.d.ts.map +1 -0
  865. package/build/types/common/DOMOperations/DOMOperations.d.ts.map +1 -0
  866. package/build/types/common/DOMOperations/index.d.ts.map +1 -0
  867. package/build/types/common/Option/Option.d.ts.map +1 -0
  868. package/build/types/common/Option/index.d.ts.map +1 -0
  869. package/build/types/common/RadioButton/RadioButton.d.ts.map +1 -0
  870. package/build/types/common/RadioButton/index.d.ts.map +1 -0
  871. package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -0
  872. package/build/types/common/bottomSheet/index.d.ts.map +1 -0
  873. package/build/types/common/card/Card.d.ts.map +1 -0
  874. package/build/types/common/card/index.d.ts.map +1 -0
  875. package/build/types/common/circle/Circle.d.ts.map +1 -0
  876. package/build/types/common/circle/index.d.ts.map +1 -0
  877. package/build/types/common/closeButton/CloseButton.d.ts.map +1 -0
  878. package/build/types/common/closeButton/CloseButton.messages.d.ts.map +1 -0
  879. package/build/types/common/closeButton/index.d.ts.map +1 -0
  880. package/build/types/common/colors.d.ts.map +1 -0
  881. package/build/types/common/commonProps.d.ts.map +1 -0
  882. package/build/types/common/constants.d.ts.map +1 -0
  883. package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
  884. package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
  885. package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
  886. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
  887. package/build/types/common/dateUtils/index.d.ts.map +1 -0
  888. package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
  889. package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
  890. package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
  891. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
  892. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
  893. package/build/types/common/deviceDetection/deviceDetection.d.ts.map +1 -0
  894. package/build/types/common/deviceDetection/index.d.ts.map +1 -0
  895. package/build/types/common/direction.d.ts.map +1 -0
  896. package/build/types/common/domHelpers/documentIosClick.d.ts.map +1 -0
  897. package/build/types/common/domHelpers/index.d.ts.map +1 -0
  898. package/build/types/common/fakeEvents.d.ts.map +1 -0
  899. package/build/types/common/fileType.d.ts.map +1 -0
  900. package/build/types/common/flowHeader/FlowHeader.d.ts.map +1 -0
  901. package/build/types/common/flowHeader/index.d.ts.map +1 -0
  902. package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
  903. package/build/types/common/focusBoundary/index.d.ts.map +1 -0
  904. package/build/types/common/historyNavigator/historyNavigator.d.ts.map +1 -0
  905. package/build/types/common/historyNavigator/index.d.ts.map +1 -0
  906. package/build/types/common/hooks/index.d.ts.map +1 -0
  907. package/build/types/common/hooks/useConditionalListener/index.d.ts.map +1 -0
  908. package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
  909. package/build/types/common/hooks/useDirection/index.d.ts.map +1 -0
  910. package/build/types/common/hooks/useDirection/useDirection.d.ts.map +1 -0
  911. package/build/types/common/hooks/useEffectEvent.d.ts.map +1 -0
  912. package/build/types/common/hooks/useHasIntersected/index.d.ts.map +1 -0
  913. package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
  914. package/build/types/common/hooks/useLayout/index.d.ts.map +1 -0
  915. package/build/types/common/hooks/useLayout/useLayout.d.ts.map +1 -0
  916. package/build/types/common/hooks/useMedia.d.ts.map +1 -0
  917. package/build/types/common/hooks/useResizeObserver.d.ts.map +1 -0
  918. package/build/types/common/hooks/useScreenSize.d.ts.map +1 -0
  919. package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
  920. package/build/types/common/index.d.ts.map +1 -0
  921. package/build/types/common/initials.d.ts.map +1 -0
  922. package/build/types/common/locale/index.d.ts.map +1 -0
  923. package/build/types/common/panel/Panel.d.ts.map +1 -0
  924. package/build/types/common/panel/index.d.ts.map +1 -0
  925. package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
  926. package/build/types/common/preventScroll/PreventScroll.d.ts.map +1 -0
  927. package/build/types/common/propsValues/breakpoint.d.ts.map +1 -0
  928. package/build/types/common/propsValues/control.d.ts.map +1 -0
  929. package/build/types/common/propsValues/dateMode.d.ts.map +1 -0
  930. package/build/types/common/propsValues/layouts.d.ts.map +1 -0
  931. package/build/types/common/propsValues/markdownNodeType.d.ts.map +1 -0
  932. package/build/types/common/propsValues/monthFormat.d.ts.map +1 -0
  933. package/build/types/common/propsValues/position.d.ts.map +1 -0
  934. package/build/types/common/propsValues/profileType.d.ts.map +1 -0
  935. package/build/types/common/propsValues/scroll.d.ts.map +1 -0
  936. package/build/types/common/propsValues/sentiment.d.ts.map +1 -0
  937. package/build/types/common/propsValues/size.d.ts.map +1 -0
  938. package/build/types/common/propsValues/status.d.ts.map +1 -0
  939. package/build/types/common/propsValues/type.d.ts.map +1 -0
  940. package/build/types/common/propsValues/typography.d.ts.map +1 -0
  941. package/build/types/common/propsValues/variant.d.ts.map +1 -0
  942. package/build/types/common/propsValues/width.d.ts.map +1 -0
  943. package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
  944. package/build/types/common/responsivePanel/index.d.ts.map +1 -0
  945. package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
  946. package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
  947. package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
  948. package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
  949. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
  950. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
  951. package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
  952. package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
  953. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
  954. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
  955. package/build/types/common/textFormat/index.d.ts.map +1 -0
  956. package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
  957. package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
  958. package/build/types/common/theme.d.ts.map +1 -0
  959. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
  960. package/build/types/criticalBanner/index.d.ts.map +1 -0
  961. package/build/types/dateInput/DateInput.d.ts.map +1 -0
  962. package/build/types/dateInput/DateInput.messages.d.ts.map +1 -0
  963. package/build/types/dateInput/index.d.ts.map +1 -0
  964. package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
  965. package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
  966. package/build/types/dateInput/utils/index.d.ts.map +1 -0
  967. package/build/types/dateLookup/DateLookup.d.ts.map +1 -0
  968. package/build/types/dateLookup/DateLookup.messages.d.ts.map +1 -0
  969. package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
  970. package/build/types/dateLookup/dateHeader/index.d.ts.map +1 -0
  971. package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
  972. package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
  973. package/build/types/dateLookup/dateTrigger/index.d.ts.map +1 -0
  974. package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
  975. package/build/types/dateLookup/dayCalendar/index.d.ts.map +1 -0
  976. package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
  977. package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
  978. package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
  979. package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
  980. package/build/types/dateLookup/getStartOfDay/index.d.ts.map +1 -0
  981. package/build/types/dateLookup/index.d.ts.map +1 -0
  982. package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
  983. package/build/types/dateLookup/monthCalendar/index.d.ts.map +1 -0
  984. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
  985. package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
  986. package/build/types/dateLookup/tableLink/TableLink.d.ts.map +1 -0
  987. package/build/types/dateLookup/tableLink/index.d.ts.map +1 -0
  988. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
  989. package/build/types/dateLookup/yearCalendar/index.d.ts.map +1 -0
  990. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
  991. package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
  992. package/build/types/decision/Decision.d.ts.map +1 -0
  993. package/build/types/decision/index.d.ts.map +1 -0
  994. package/build/types/definitionList/DefinitionList.d.ts.map +1 -0
  995. package/build/types/definitionList/index.d.ts.map +1 -0
  996. package/build/types/dimmer/Dimmer.d.ts.map +1 -0
  997. package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
  998. package/build/types/dimmer/dimmerManager/index.d.ts.map +1 -0
  999. package/build/types/dimmer/index.d.ts.map +1 -0
  1000. package/build/types/display/Display.d.ts.map +1 -0
  1001. package/build/types/display/index.d.ts.map +1 -0
  1002. package/build/types/divider/Divider.d.ts.map +1 -0
  1003. package/build/types/divider/index.d.ts.map +1 -0
  1004. package/build/types/drawer/Drawer.d.ts.map +1 -0
  1005. package/build/types/drawer/index.d.ts.map +1 -0
  1006. package/build/types/dropFade/DropFade.d.ts.map +1 -0
  1007. package/build/types/dropFade/index.d.ts.map +1 -0
  1008. package/build/types/emphasis/Emphasis.d.ts.map +1 -0
  1009. package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
  1010. package/build/types/emphasis/index.d.ts.map +1 -0
  1011. package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
  1012. package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
  1013. package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
  1014. package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
  1015. package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
  1016. package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
  1017. package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
  1018. package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
  1019. package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
  1020. package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
  1021. package/build/types/expressiveMoneyInput/index.d.ts.map +1 -0
  1022. package/build/types/field/Field.d.ts.map +1 -0
  1023. package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -0
  1024. package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
  1025. package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
  1026. package/build/types/flowNavigation/animatedLabel/index.d.ts.map +1 -0
  1027. package/build/types/header/Header.d.ts.map +1 -0
  1028. package/build/types/header/index.d.ts.map +1 -0
  1029. package/build/types/i18n/commonMessages/Button.messages.d.ts.map +1 -0
  1030. package/build/types/i18n/index.d.ts.map +1 -0
  1031. package/build/types/iconButton/IconButton.d.ts.map +1 -0
  1032. package/build/types/iconButton/index.d.ts.map +1 -0
  1033. package/build/types/image/Image.d.ts.map +1 -0
  1034. package/build/types/image/index.d.ts.map +1 -0
  1035. package/build/types/index.d.ts.map +1 -0
  1036. package/build/types/info/Info.d.ts.map +1 -0
  1037. package/build/types/info/Info.messages.d.ts.map +1 -0
  1038. package/build/types/info/index.d.ts.map +1 -0
  1039. package/build/types/info/infoPresentations.d.ts.map +1 -0
  1040. package/build/types/inlineAlert/InlineAlert.d.ts.map +1 -0
  1041. package/build/types/inlineAlert/index.d.ts.map +1 -0
  1042. package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
  1043. package/build/types/inputWithDisplayFormat/index.d.ts.map +1 -0
  1044. package/build/types/inputs/Input.d.ts.map +1 -0
  1045. package/build/types/inputs/InputGroup.d.ts.map +1 -0
  1046. package/build/types/inputs/SearchInput.d.ts.map +1 -0
  1047. package/build/types/inputs/SelectInput.d.ts.map +1 -0
  1048. package/build/types/inputs/SelectInput.messages.d.ts.map +1 -0
  1049. package/build/types/inputs/TextArea.d.ts.map +1 -0
  1050. package/build/types/inputs/_BottomSheet.d.ts.map +1 -0
  1051. package/build/types/inputs/_ButtonInput.d.ts.map +1 -0
  1052. package/build/types/inputs/_Popover.d.ts.map +1 -0
  1053. package/build/types/inputs/_common.d.ts.map +1 -0
  1054. package/build/types/inputs/contexts.d.ts.map +1 -0
  1055. package/build/types/instructionsList/InstructionsList.d.ts.map +1 -0
  1056. package/build/types/instructionsList/index.d.ts.map +1 -0
  1057. package/build/types/label/Label.d.ts.map +1 -0
  1058. package/build/types/label/Label.messages.d.ts.map +1 -0
  1059. package/build/types/label/index.d.ts.map +1 -0
  1060. package/build/types/legacylistItem/LegacyListItem.d.ts.map +1 -0
  1061. package/build/types/legacylistItem/index.d.ts.map +1 -0
  1062. package/build/types/link/Link.d.ts.map +1 -0
  1063. package/build/types/link/Link.messages.d.ts.map +1 -0
  1064. package/build/types/link/index.d.ts.map +1 -0
  1065. package/build/types/list/List.d.ts.map +1 -0
  1066. package/build/types/list/index.d.ts.map +1 -0
  1067. package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
  1068. package/build/types/listItem/AdditionalInfo/index.d.ts.map +1 -0
  1069. package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
  1070. package/build/types/listItem/AvatarLayout/index.d.ts.map +1 -0
  1071. package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
  1072. package/build/types/listItem/AvatarView/index.d.ts.map +1 -0
  1073. package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -0
  1074. package/build/types/listItem/Button/index.d.ts.map +1 -0
  1075. package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
  1076. package/build/types/listItem/Checkbox/index.d.ts.map +1 -0
  1077. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
  1078. package/build/types/listItem/IconButton/index.d.ts.map +1 -0
  1079. package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -0
  1080. package/build/types/listItem/Image/index.d.ts.map +1 -0
  1081. package/build/types/listItem/ListItem.d.ts.map +1 -0
  1082. package/build/types/listItem/ListItemContext.d.ts.map +1 -0
  1083. package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
  1084. package/build/types/listItem/Navigation/index.d.ts.map +1 -0
  1085. package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
  1086. package/build/types/listItem/Prompt/index.d.ts.map +1 -0
  1087. package/build/types/listItem/Radio/ListItemRadio.d.ts.map +1 -0
  1088. package/build/types/listItem/Radio/index.d.ts.map +1 -0
  1089. package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
  1090. package/build/types/listItem/Switch/index.d.ts.map +1 -0
  1091. package/build/types/listItem/_stories/helpers.d.ts.map +1 -0
  1092. package/build/types/listItem/_stories/subcomponents.d.ts.map +1 -0
  1093. package/build/types/listItem/_stories/variants/helpers.d.ts.map +1 -0
  1094. package/build/types/listItem/constants.d.ts.map +1 -0
  1095. package/build/types/listItem/index.d.ts.map +1 -0
  1096. package/build/types/listItem/test-utils.d.ts.map +1 -0
  1097. package/build/types/listItem/useListItemControl.d.ts.map +1 -0
  1098. package/build/types/listItem/useListItemMedia.d.ts.map +1 -0
  1099. package/build/types/loader/Loader.d.ts.map +1 -0
  1100. package/build/types/loader/index.d.ts.map +1 -0
  1101. package/build/types/logo/Logo.d.ts.map +1 -0
  1102. package/build/types/logo/index.d.ts.map +1 -0
  1103. package/build/types/logo/logo-assets.d.ts.map +1 -0
  1104. package/build/types/markdown/Markdown.d.ts.map +1 -0
  1105. package/build/types/markdown/index.d.ts.map +1 -0
  1106. package/build/types/mocks.d.ts.map +1 -0
  1107. package/build/types/modal/Modal.d.ts.map +1 -0
  1108. package/build/types/modal/index.d.ts.map +1 -0
  1109. package/build/types/money/Money.d.ts.map +1 -0
  1110. package/build/types/money/index.d.ts.map +1 -0
  1111. package/build/types/moneyInput/MoneyInput.d.ts.map +1 -0
  1112. package/build/types/moneyInput/MoneyInput.messages.d.ts.map +1 -0
  1113. package/build/types/moneyInput/currencyFormatting.d.ts.map +1 -0
  1114. package/build/types/moneyInput/index.d.ts.map +1 -0
  1115. package/build/types/navigationOption/NavigationOption.d.ts.map +1 -0
  1116. package/build/types/navigationOption/index.d.ts.map +1 -0
  1117. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
  1118. package/build/types/navigationOptionsList/index.d.ts.map +1 -0
  1119. package/build/types/nudge/Nudge.d.ts.map +1 -0
  1120. package/build/types/nudge/index.d.ts.map +1 -0
  1121. package/build/types/overlayHeader/OverlayHeader.d.ts.map +1 -0
  1122. package/build/types/overlayHeader/index.d.ts.map +1 -0
  1123. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
  1124. package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
  1125. package/build/types/phoneNumberInput/data/countries.d.ts.map +1 -0
  1126. package/build/types/phoneNumberInput/index.d.ts.map +1 -0
  1127. package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
  1128. package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
  1129. package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
  1130. package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
  1131. package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
  1132. package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
  1133. package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
  1134. package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
  1135. package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
  1136. package/build/types/phoneNumberInput/utils/index.d.ts.map +1 -0
  1137. package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
  1138. package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
  1139. package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
  1140. package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
  1141. package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
  1142. package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
  1143. package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
  1144. package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
  1145. package/build/types/popover/Popover.d.ts.map +1 -0
  1146. package/build/types/popover/index.d.ts.map +1 -0
  1147. package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
  1148. package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
  1149. package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
  1150. package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
  1151. package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
  1152. package/build/types/primitives/PrimitiveButton/index.d.ts.map +1 -0
  1153. package/build/types/primitives/index.d.ts.map +1 -0
  1154. package/build/types/primitives/types.d.ts.map +1 -0
  1155. package/build/types/processIndicator/ProcessIndicator.d.ts.map +1 -0
  1156. package/build/types/processIndicator/index.d.ts.map +1 -0
  1157. package/build/types/progress/Progress.d.ts.map +1 -0
  1158. package/build/types/progress/index.d.ts.map +1 -0
  1159. package/build/types/progressBar/ProgressBar.d.ts.map +1 -0
  1160. package/build/types/progressBar/index.d.ts.map +1 -0
  1161. package/build/types/promoCard/PromoCard.d.ts.map +1 -0
  1162. package/build/types/promoCard/PromoCardContext.d.ts.map +1 -0
  1163. package/build/types/promoCard/PromoCardGroup.d.ts.map +1 -0
  1164. package/build/types/promoCard/PromoCardIndicator.d.ts.map +1 -0
  1165. package/build/types/promoCard/index.d.ts.map +1 -0
  1166. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
  1167. package/build/types/prompt/InlinePrompt/index.d.ts.map +1 -0
  1168. package/build/types/prompt/index.d.ts.map +1 -0
  1169. package/build/types/provider/Provider.d.ts.map +1 -0
  1170. package/build/types/provider/direction/DirectionProvider.d.ts.map +1 -0
  1171. package/build/types/provider/direction/index.d.ts.map +1 -0
  1172. package/build/types/provider/index.d.ts.map +1 -0
  1173. package/build/types/provider/language/LanguageProvider.d.ts.map +1 -0
  1174. package/build/types/provider/language/index.d.ts.map +1 -0
  1175. package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
  1176. package/build/types/radio/Radio.d.ts.map +1 -0
  1177. package/build/types/radio/index.d.ts.map +1 -0
  1178. package/build/types/radioGroup/RadioGroup.d.ts.map +1 -0
  1179. package/build/types/radioGroup/index.d.ts.map +1 -0
  1180. package/build/types/radioOption/RadioOption.d.ts.map +1 -0
  1181. package/build/types/radioOption/index.d.ts.map +1 -0
  1182. package/build/types/section/Section.d.ts.map +1 -0
  1183. package/build/types/section/index.d.ts.map +1 -0
  1184. package/build/types/segmentedControl/SegmentedControl.d.ts.map +1 -0
  1185. package/build/types/segmentedControl/index.d.ts.map +1 -0
  1186. package/build/types/select/Select.d.ts.map +1 -0
  1187. package/build/types/select/Select.messages.d.ts.map +1 -0
  1188. package/build/types/select/index.d.ts.map +1 -0
  1189. package/build/types/select/option/Option.d.ts.map +1 -0
  1190. package/build/types/select/option/index.d.ts.map +1 -0
  1191. package/build/types/select/searchBox/SearchBox.d.ts.map +1 -0
  1192. package/build/types/select/searchBox/index.d.ts.map +1 -0
  1193. package/build/types/sentimentSurface/SentimentSurface.d.ts.map +1 -0
  1194. package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
  1195. package/build/types/sentimentSurface/index.d.ts.map +1 -0
  1196. package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -0
  1197. package/build/types/slidingPanel/index.d.ts.map +1 -0
  1198. package/build/types/snackbar/Snackbar.d.ts.map +1 -0
  1199. package/build/types/snackbar/SnackbarContext.d.ts.map +1 -0
  1200. package/build/types/snackbar/SnackbarProvider.d.ts.map +1 -0
  1201. package/build/types/snackbar/index.d.ts.map +1 -0
  1202. package/build/types/snackbar/useSnackbar.d.ts.map +1 -0
  1203. package/build/types/statusIcon/StatusIcon.d.ts.map +1 -0
  1204. package/build/types/statusIcon/StatusIcon.messages.d.ts.map +1 -0
  1205. package/build/types/statusIcon/index.d.ts.map +1 -0
  1206. package/build/types/stepper/Stepper.d.ts.map +1 -0
  1207. package/build/types/stepper/deviceDetection.d.ts.map +1 -0
  1208. package/build/types/sticky/Sticky.d.ts.map +1 -0
  1209. package/build/types/sticky/index.d.ts.map +1 -0
  1210. package/build/types/summary/Summary.d.ts.map +1 -0
  1211. package/build/types/summary/Summary.messages.d.ts.map +1 -0
  1212. package/build/types/summary/index.d.ts.map +1 -0
  1213. package/build/types/switch/Switch.d.ts.map +1 -0
  1214. package/build/types/switch/index.d.ts.map +1 -0
  1215. package/build/types/switchOption/SwitchOption.d.ts.map +1 -0
  1216. package/build/types/switchOption/index.d.ts.map +1 -0
  1217. package/build/types/table/Table.d.ts.map +1 -0
  1218. package/build/types/table/Table.messages.d.ts.map +1 -0
  1219. package/build/types/table/TableCell.d.ts.map +1 -0
  1220. package/build/types/table/TableHeader.d.ts.map +1 -0
  1221. package/build/types/table/TableRow.d.ts.map +1 -0
  1222. package/build/types/table/TableStatusText.d.ts.map +1 -0
  1223. package/build/types/table/index.d.ts.map +1 -0
  1224. package/build/types/tabs/Tab.d.ts.map +1 -0
  1225. package/build/types/tabs/TabList.d.ts.map +1 -0
  1226. package/build/types/tabs/TabPanel.d.ts.map +1 -0
  1227. package/build/types/tabs/Tabs.d.ts.map +1 -0
  1228. package/build/types/tabs/index.d.ts.map +1 -0
  1229. package/build/types/tabs/utils.d.ts.map +1 -0
  1230. package/build/types/test-utils/fake-data.d.ts.map +1 -0
  1231. package/build/types/test-utils/index.d.ts.map +1 -0
  1232. package/build/types/test-utils/jest.setup.d.ts.map +1 -0
  1233. package/build/types/test-utils/style-mock.d.ts.map +1 -0
  1234. package/build/types/test-utils/wait.d.ts.map +1 -0
  1235. package/build/types/test-utils/window-mock.d.ts.map +1 -0
  1236. package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
  1237. package/build/types/textareaWithDisplayFormat/index.d.ts.map +1 -0
  1238. package/build/types/tile/Tile.d.ts.map +1 -0
  1239. package/build/types/tile/index.d.ts.map +1 -0
  1240. package/build/types/title/Title.d.ts.map +1 -0
  1241. package/build/types/title/index.d.ts.map +1 -0
  1242. package/build/types/tooltip/Tooltip.d.ts.map +1 -0
  1243. package/build/types/tooltip/index.d.ts.map +1 -0
  1244. package/build/types/typeahead/Typeahead.d.ts.map +1 -0
  1245. package/build/types/typeahead/Typeahead.messages.d.ts.map +1 -0
  1246. package/build/types/typeahead/index.d.ts.map +1 -0
  1247. package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
  1248. package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
  1249. package/build/types/typeahead/util/highlight.d.ts.map +1 -0
  1250. package/build/types/upload/Upload.d.ts.map +1 -0
  1251. package/build/types/upload/Upload.messages.d.ts.map +1 -0
  1252. package/build/types/upload/index.d.ts.map +1 -0
  1253. package/build/types/upload/steps/completeStep/completeStep.d.ts.map +1 -0
  1254. package/build/types/upload/steps/completeStep/index.d.ts.map +1 -0
  1255. package/build/types/upload/steps/index.d.ts.map +1 -0
  1256. package/build/types/upload/steps/processingStep/index.d.ts.map +1 -0
  1257. package/build/types/upload/steps/processingStep/processingStep.d.ts.map +1 -0
  1258. package/build/types/upload/steps/uploadImageStep/index.d.ts.map +1 -0
  1259. package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
  1260. package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
  1261. package/build/types/upload/utils/asyncFileRead/index.d.ts.map +1 -0
  1262. package/build/types/upload/utils/getFileType/getFileType.d.ts.map +1 -0
  1263. package/build/types/upload/utils/getFileType/index.d.ts.map +1 -0
  1264. package/build/types/upload/utils/index.d.ts.map +1 -0
  1265. package/build/types/upload/utils/isSizeValid/index.d.ts.map +1 -0
  1266. package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
  1267. package/build/types/upload/utils/isTypeValid/index.d.ts.map +1 -0
  1268. package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
  1269. package/build/types/upload/utils/postData/index.d.ts.map +1 -0
  1270. package/build/types/upload/utils/postData/postData.d.ts.map +1 -0
  1271. package/build/types/uploadInput/UploadInput.d.ts.map +1 -0
  1272. package/build/types/uploadInput/UploadInput.messages.d.ts.map +1 -0
  1273. package/build/types/uploadInput/index.d.ts.map +1 -0
  1274. package/build/types/uploadInput/types.d.ts.map +1 -0
  1275. package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
  1276. package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
  1277. package/build/types/uploadInput/uploadButton/defaults.d.ts.map +1 -0
  1278. package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
  1279. package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
  1280. package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
  1281. package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
  1282. package/build/types/utilities/cssValueWithUnit.d.ts.map +1 -0
  1283. package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
  1284. package/build/types/utilities/deprecatedProperty/index.d.ts.map +1 -0
  1285. package/build/types/utilities/index.d.ts.map +1 -0
  1286. package/build/types/utilities/logActionRequired.d.ts.map +1 -0
  1287. package/build/types/utils.d.ts.map +1 -0
  1288. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
  1289. package/build/types/withDisplayFormat/index.d.ts.map +1 -0
  1290. package/build/types/withId/index.d.ts.map +1 -0
  1291. package/build/types/withId/story/source.d.ts.map +1 -0
  1292. package/build/types/withId/withId.d.ts.map +1 -0
  1293. package/build/types/withNextPortal/withNextPortal.d.ts.map +1 -0
  1294. package/build/upload/Upload.js +21 -4
  1295. package/build/upload/Upload.js.map +1 -1
  1296. package/build/upload/Upload.messages.js.map +1 -1
  1297. package/build/upload/Upload.messages.mjs.map +1 -1
  1298. package/build/upload/Upload.mjs +21 -3
  1299. package/build/upload/Upload.mjs.map +1 -1
  1300. package/build/upload/steps/completeStep/completeStep.js +18 -0
  1301. package/build/upload/steps/completeStep/completeStep.js.map +1 -1
  1302. package/build/upload/steps/completeStep/completeStep.mjs +18 -0
  1303. package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
  1304. package/build/upload/steps/processingStep/processingStep.js +17 -0
  1305. package/build/upload/steps/processingStep/processingStep.js.map +1 -1
  1306. package/build/upload/steps/processingStep/processingStep.mjs +17 -0
  1307. package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
  1308. package/build/upload/steps/uploadImageStep/uploadImageStep.js +17 -0
  1309. package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
  1310. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +17 -0
  1311. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
  1312. package/build/upload/utils/asyncFileRead/asyncFileRead.js.map +1 -1
  1313. package/build/upload/utils/asyncFileRead/asyncFileRead.mjs.map +1 -1
  1314. package/build/upload/utils/getFileType/getFileType.js.map +1 -1
  1315. package/build/upload/utils/getFileType/getFileType.mjs.map +1 -1
  1316. package/build/upload/utils/isSizeValid/isSizeValid.js.map +1 -1
  1317. package/build/upload/utils/isSizeValid/isSizeValid.mjs.map +1 -1
  1318. package/build/upload/utils/isTypeValid/isTypeValid.js.map +1 -1
  1319. package/build/upload/utils/isTypeValid/isTypeValid.mjs.map +1 -1
  1320. package/build/upload/utils/postData/postData.js.map +1 -1
  1321. package/build/upload/utils/postData/postData.mjs.map +1 -1
  1322. package/build/uploadInput/UploadInput.js +17 -8
  1323. package/build/uploadInput/UploadInput.js.map +1 -1
  1324. package/build/uploadInput/UploadInput.messages.js.map +1 -1
  1325. package/build/uploadInput/UploadInput.messages.mjs.map +1 -1
  1326. package/build/uploadInput/UploadInput.mjs +17 -8
  1327. package/build/uploadInput/UploadInput.mjs.map +1 -1
  1328. package/build/uploadInput/uploadButton/UploadButton.js +23 -6
  1329. package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
  1330. package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
  1331. package/build/uploadInput/uploadButton/UploadButton.messages.mjs.map +1 -1
  1332. package/build/uploadInput/uploadButton/UploadButton.mjs +21 -3
  1333. package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
  1334. package/build/uploadInput/uploadButton/defaults.js +18 -0
  1335. package/build/uploadInput/uploadButton/defaults.js.map +1 -1
  1336. package/build/uploadInput/uploadButton/defaults.mjs +18 -0
  1337. package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
  1338. package/build/uploadInput/uploadButton/getAllowedFileTypes.js +0 -1
  1339. package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
  1340. package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs +0 -1
  1341. package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
  1342. package/build/uploadInput/uploadItem/UploadItem.js +23 -9
  1343. package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
  1344. package/build/uploadInput/uploadItem/UploadItem.messages.js.map +1 -1
  1345. package/build/uploadInput/uploadItem/UploadItem.messages.mjs.map +1 -1
  1346. package/build/uploadInput/uploadItem/UploadItem.mjs +19 -4
  1347. package/build/uploadInput/uploadItem/UploadItem.mjs.map +1 -1
  1348. package/build/uploadInput/uploadItem/UploadItemLink.js.map +1 -1
  1349. package/build/uploadInput/uploadItem/UploadItemLink.mjs.map +1 -1
  1350. package/build/utilities/cssValueWithUnit.js.map +1 -1
  1351. package/build/utilities/cssValueWithUnit.mjs.map +1 -1
  1352. package/build/utilities/logActionRequired.js.map +1 -1
  1353. package/build/utilities/logActionRequired.mjs.map +1 -1
  1354. package/build/withDisplayFormat/WithDisplayFormat.js +33 -17
  1355. package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
  1356. package/build/withDisplayFormat/WithDisplayFormat.mjs +19 -3
  1357. package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
  1358. package/build/withId/withId.js +0 -4
  1359. package/build/withId/withId.js.map +1 -1
  1360. package/build/withId/withId.mjs +0 -4
  1361. package/build/withId/withId.mjs.map +1 -1
  1362. package/build/withNextPortal/withNextPortal.js.map +1 -1
  1363. package/build/withNextPortal/withNextPortal.mjs.map +1 -1
  1364. package/package.json +3 -3
  1365. package/src/provider/theme/ThemeProvider.story.tsx +1 -0
  1366. package/build/types/components/src/accordion/Accordion.d.ts.map +0 -1
  1367. package/build/types/components/src/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
  1368. package/build/types/components/src/accordion/AccordionItem/index.d.ts.map +0 -1
  1369. package/build/types/components/src/accordion/index.d.ts.map +0 -1
  1370. package/build/types/components/src/actionButton/ActionButton.d.ts.map +0 -1
  1371. package/build/types/components/src/actionButton/index.d.ts.map +0 -1
  1372. package/build/types/components/src/actionOption/ActionOption.d.ts.map +0 -1
  1373. package/build/types/components/src/actionOption/index.d.ts.map +0 -1
  1374. package/build/types/components/src/alert/Alert.d.ts.map +0 -1
  1375. package/build/types/components/src/alert/index.d.ts.map +0 -1
  1376. package/build/types/components/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
  1377. package/build/types/components/src/alert/inlineMarkdown/index.d.ts.map +0 -1
  1378. package/build/types/components/src/avatar/Avatar.d.ts.map +0 -1
  1379. package/build/types/components/src/avatar/avatarTypes.d.ts.map +0 -1
  1380. package/build/types/components/src/avatar/index.d.ts.map +0 -1
  1381. package/build/types/components/src/avatarLayout/AvatarLayout.d.ts.map +0 -1
  1382. package/build/types/components/src/avatarLayout/index.d.ts.map +0 -1
  1383. package/build/types/components/src/avatarView/AvatarView.d.ts.map +0 -1
  1384. package/build/types/components/src/avatarView/Dot.d.ts.map +0 -1
  1385. package/build/types/components/src/avatarView/index.d.ts.map +0 -1
  1386. package/build/types/components/src/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
  1387. package/build/types/components/src/avatarWrapper/index.d.ts.map +0 -1
  1388. package/build/types/components/src/badge/Badge.d.ts.map +0 -1
  1389. package/build/types/components/src/badge/BadgeAssets.d.ts.map +0 -1
  1390. package/build/types/components/src/badge/index.d.ts.map +0 -1
  1391. package/build/types/components/src/body/Body.d.ts.map +0 -1
  1392. package/build/types/components/src/body/index.d.ts.map +0 -1
  1393. package/build/types/components/src/button/Button.d.ts.map +0 -1
  1394. package/build/types/components/src/button/Button.resolver.d.ts.map +0 -1
  1395. package/build/types/components/src/button/Button.types.d.ts.map +0 -1
  1396. package/build/types/components/src/button/LegacyButton.d.ts.map +0 -1
  1397. package/build/types/components/src/button/_stories/helpers.d.ts.map +0 -1
  1398. package/build/types/components/src/button/classMap.d.ts.map +0 -1
  1399. package/build/types/components/src/button/index.d.ts.map +0 -1
  1400. package/build/types/components/src/button/legacyUtils/index.d.ts.map +0 -1
  1401. package/build/types/components/src/button/legacyUtils/legacyUtils.d.ts.map +0 -1
  1402. package/build/types/components/src/card/Card.d.ts.map +0 -1
  1403. package/build/types/components/src/card/index.d.ts.map +0 -1
  1404. package/build/types/components/src/carousel/Carousel.d.ts.map +0 -1
  1405. package/build/types/components/src/carousel/index.d.ts.map +0 -1
  1406. package/build/types/components/src/checkbox/Checkbox.d.ts.map +0 -1
  1407. package/build/types/components/src/checkbox/index.d.ts.map +0 -1
  1408. package/build/types/components/src/checkboxButton/CheckboxButton.d.ts.map +0 -1
  1409. package/build/types/components/src/checkboxButton/index.d.ts.map +0 -1
  1410. package/build/types/components/src/checkboxOption/CheckboxOption.d.ts.map +0 -1
  1411. package/build/types/components/src/checkboxOption/index.d.ts.map +0 -1
  1412. package/build/types/components/src/chevron/Chevron.d.ts.map +0 -1
  1413. package/build/types/components/src/chevron/index.d.ts.map +0 -1
  1414. package/build/types/components/src/chips/Chip.d.ts.map +0 -1
  1415. package/build/types/components/src/chips/Chips.d.ts.map +0 -1
  1416. package/build/types/components/src/chips/Chips.messages.d.ts.map +0 -1
  1417. package/build/types/components/src/chips/index.d.ts.map +0 -1
  1418. package/build/types/components/src/circularButton/CircularButton.d.ts.map +0 -1
  1419. package/build/types/components/src/circularButton/index.d.ts.map +0 -1
  1420. package/build/types/components/src/common/DOMOperations/DOMOperations.d.ts.map +0 -1
  1421. package/build/types/components/src/common/DOMOperations/index.d.ts.map +0 -1
  1422. package/build/types/components/src/common/Option/Option.d.ts.map +0 -1
  1423. package/build/types/components/src/common/Option/index.d.ts.map +0 -1
  1424. package/build/types/components/src/common/RadioButton/RadioButton.d.ts.map +0 -1
  1425. package/build/types/components/src/common/RadioButton/index.d.ts.map +0 -1
  1426. package/build/types/components/src/common/bottomSheet/BottomSheet.d.ts.map +0 -1
  1427. package/build/types/components/src/common/bottomSheet/index.d.ts.map +0 -1
  1428. package/build/types/components/src/common/card/Card.d.ts.map +0 -1
  1429. package/build/types/components/src/common/card/index.d.ts.map +0 -1
  1430. package/build/types/components/src/common/circle/Circle.d.ts.map +0 -1
  1431. package/build/types/components/src/common/circle/index.d.ts.map +0 -1
  1432. package/build/types/components/src/common/closeButton/CloseButton.d.ts.map +0 -1
  1433. package/build/types/components/src/common/closeButton/CloseButton.messages.d.ts.map +0 -1
  1434. package/build/types/components/src/common/closeButton/index.d.ts.map +0 -1
  1435. package/build/types/components/src/common/colors.d.ts.map +0 -1
  1436. package/build/types/components/src/common/commonProps.d.ts.map +0 -1
  1437. package/build/types/components/src/common/constants.d.ts.map +0 -1
  1438. package/build/types/components/src/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
  1439. package/build/types/components/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
  1440. package/build/types/components/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
  1441. package/build/types/components/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
  1442. package/build/types/components/src/common/dateUtils/index.d.ts.map +0 -1
  1443. package/build/types/components/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
  1444. package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
  1445. package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
  1446. package/build/types/components/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
  1447. package/build/types/components/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
  1448. package/build/types/components/src/common/deviceDetection/deviceDetection.d.ts.map +0 -1
  1449. package/build/types/components/src/common/deviceDetection/index.d.ts.map +0 -1
  1450. package/build/types/components/src/common/direction.d.ts.map +0 -1
  1451. package/build/types/components/src/common/domHelpers/documentIosClick.d.ts.map +0 -1
  1452. package/build/types/components/src/common/domHelpers/index.d.ts.map +0 -1
  1453. package/build/types/components/src/common/fakeEvents.d.ts.map +0 -1
  1454. package/build/types/components/src/common/fileType.d.ts.map +0 -1
  1455. package/build/types/components/src/common/flowHeader/FlowHeader.d.ts.map +0 -1
  1456. package/build/types/components/src/common/flowHeader/index.d.ts.map +0 -1
  1457. package/build/types/components/src/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
  1458. package/build/types/components/src/common/focusBoundary/index.d.ts.map +0 -1
  1459. package/build/types/components/src/common/historyNavigator/historyNavigator.d.ts.map +0 -1
  1460. package/build/types/components/src/common/historyNavigator/index.d.ts.map +0 -1
  1461. package/build/types/components/src/common/hooks/index.d.ts.map +0 -1
  1462. package/build/types/components/src/common/hooks/useConditionalListener/index.d.ts.map +0 -1
  1463. package/build/types/components/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
  1464. package/build/types/components/src/common/hooks/useDirection/index.d.ts.map +0 -1
  1465. package/build/types/components/src/common/hooks/useDirection/useDirection.d.ts.map +0 -1
  1466. package/build/types/components/src/common/hooks/useEffectEvent.d.ts.map +0 -1
  1467. package/build/types/components/src/common/hooks/useHasIntersected/index.d.ts.map +0 -1
  1468. package/build/types/components/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
  1469. package/build/types/components/src/common/hooks/useLayout/index.d.ts.map +0 -1
  1470. package/build/types/components/src/common/hooks/useLayout/useLayout.d.ts.map +0 -1
  1471. package/build/types/components/src/common/hooks/useMedia.d.ts.map +0 -1
  1472. package/build/types/components/src/common/hooks/useResizeObserver.d.ts.map +0 -1
  1473. package/build/types/components/src/common/hooks/useScreenSize.d.ts.map +0 -1
  1474. package/build/types/components/src/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
  1475. package/build/types/components/src/common/index.d.ts.map +0 -1
  1476. package/build/types/components/src/common/initials.d.ts.map +0 -1
  1477. package/build/types/components/src/common/locale/index.d.ts.map +0 -1
  1478. package/build/types/components/src/common/panel/Panel.d.ts.map +0 -1
  1479. package/build/types/components/src/common/panel/index.d.ts.map +0 -1
  1480. package/build/types/components/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
  1481. package/build/types/components/src/common/preventScroll/PreventScroll.d.ts.map +0 -1
  1482. package/build/types/components/src/common/propsValues/breakpoint.d.ts.map +0 -1
  1483. package/build/types/components/src/common/propsValues/control.d.ts.map +0 -1
  1484. package/build/types/components/src/common/propsValues/dateMode.d.ts.map +0 -1
  1485. package/build/types/components/src/common/propsValues/layouts.d.ts.map +0 -1
  1486. package/build/types/components/src/common/propsValues/markdownNodeType.d.ts.map +0 -1
  1487. package/build/types/components/src/common/propsValues/monthFormat.d.ts.map +0 -1
  1488. package/build/types/components/src/common/propsValues/position.d.ts.map +0 -1
  1489. package/build/types/components/src/common/propsValues/profileType.d.ts.map +0 -1
  1490. package/build/types/components/src/common/propsValues/scroll.d.ts.map +0 -1
  1491. package/build/types/components/src/common/propsValues/sentiment.d.ts.map +0 -1
  1492. package/build/types/components/src/common/propsValues/size.d.ts.map +0 -1
  1493. package/build/types/components/src/common/propsValues/status.d.ts.map +0 -1
  1494. package/build/types/components/src/common/propsValues/type.d.ts.map +0 -1
  1495. package/build/types/components/src/common/propsValues/typography.d.ts.map +0 -1
  1496. package/build/types/components/src/common/propsValues/variant.d.ts.map +0 -1
  1497. package/build/types/components/src/common/propsValues/width.d.ts.map +0 -1
  1498. package/build/types/components/src/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
  1499. package/build/types/components/src/common/responsivePanel/index.d.ts.map +0 -1
  1500. package/build/types/components/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
  1501. package/build/types/components/src/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
  1502. package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
  1503. package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
  1504. package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
  1505. package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
  1506. package/build/types/components/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
  1507. package/build/types/components/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
  1508. package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
  1509. package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
  1510. package/build/types/components/src/common/textFormat/index.d.ts.map +0 -1
  1511. package/build/types/components/src/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
  1512. package/build/types/components/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
  1513. package/build/types/components/src/common/theme.d.ts.map +0 -1
  1514. package/build/types/components/src/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
  1515. package/build/types/components/src/criticalBanner/index.d.ts.map +0 -1
  1516. package/build/types/components/src/dateInput/DateInput.d.ts.map +0 -1
  1517. package/build/types/components/src/dateInput/DateInput.messages.d.ts.map +0 -1
  1518. package/build/types/components/src/dateInput/index.d.ts.map +0 -1
  1519. package/build/types/components/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
  1520. package/build/types/components/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
  1521. package/build/types/components/src/dateInput/utils/index.d.ts.map +0 -1
  1522. package/build/types/components/src/dateLookup/DateLookup.d.ts.map +0 -1
  1523. package/build/types/components/src/dateLookup/DateLookup.messages.d.ts.map +0 -1
  1524. package/build/types/components/src/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
  1525. package/build/types/components/src/dateLookup/dateHeader/index.d.ts.map +0 -1
  1526. package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
  1527. package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
  1528. package/build/types/components/src/dateLookup/dateTrigger/index.d.ts.map +0 -1
  1529. package/build/types/components/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
  1530. package/build/types/components/src/dateLookup/dayCalendar/index.d.ts.map +0 -1
  1531. package/build/types/components/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
  1532. package/build/types/components/src/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
  1533. package/build/types/components/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
  1534. package/build/types/components/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
  1535. package/build/types/components/src/dateLookup/getStartOfDay/index.d.ts.map +0 -1
  1536. package/build/types/components/src/dateLookup/index.d.ts.map +0 -1
  1537. package/build/types/components/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
  1538. package/build/types/components/src/dateLookup/monthCalendar/index.d.ts.map +0 -1
  1539. package/build/types/components/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
  1540. package/build/types/components/src/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
  1541. package/build/types/components/src/dateLookup/tableLink/TableLink.d.ts.map +0 -1
  1542. package/build/types/components/src/dateLookup/tableLink/index.d.ts.map +0 -1
  1543. package/build/types/components/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
  1544. package/build/types/components/src/dateLookup/yearCalendar/index.d.ts.map +0 -1
  1545. package/build/types/components/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
  1546. package/build/types/components/src/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
  1547. package/build/types/components/src/decision/Decision.d.ts.map +0 -1
  1548. package/build/types/components/src/decision/index.d.ts.map +0 -1
  1549. package/build/types/components/src/definitionList/DefinitionList.d.ts.map +0 -1
  1550. package/build/types/components/src/definitionList/index.d.ts.map +0 -1
  1551. package/build/types/components/src/dimmer/Dimmer.d.ts.map +0 -1
  1552. package/build/types/components/src/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
  1553. package/build/types/components/src/dimmer/dimmerManager/index.d.ts.map +0 -1
  1554. package/build/types/components/src/dimmer/index.d.ts.map +0 -1
  1555. package/build/types/components/src/display/Display.d.ts.map +0 -1
  1556. package/build/types/components/src/display/index.d.ts.map +0 -1
  1557. package/build/types/components/src/divider/Divider.d.ts.map +0 -1
  1558. package/build/types/components/src/divider/index.d.ts.map +0 -1
  1559. package/build/types/components/src/drawer/Drawer.d.ts.map +0 -1
  1560. package/build/types/components/src/drawer/index.d.ts.map +0 -1
  1561. package/build/types/components/src/dropFade/DropFade.d.ts.map +0 -1
  1562. package/build/types/components/src/dropFade/index.d.ts.map +0 -1
  1563. package/build/types/components/src/emphasis/Emphasis.d.ts.map +0 -1
  1564. package/build/types/components/src/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
  1565. package/build/types/components/src/emphasis/index.d.ts.map +0 -1
  1566. package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
  1567. package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
  1568. package/build/types/components/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
  1569. package/build/types/components/src/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
  1570. package/build/types/components/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
  1571. package/build/types/components/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
  1572. package/build/types/components/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
  1573. package/build/types/components/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
  1574. package/build/types/components/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
  1575. package/build/types/components/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
  1576. package/build/types/components/src/expressiveMoneyInput/index.d.ts.map +0 -1
  1577. package/build/types/components/src/field/Field.d.ts.map +0 -1
  1578. package/build/types/components/src/flowNavigation/FlowNavigation.d.ts.map +0 -1
  1579. package/build/types/components/src/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
  1580. package/build/types/components/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
  1581. package/build/types/components/src/flowNavigation/animatedLabel/index.d.ts.map +0 -1
  1582. package/build/types/components/src/header/Header.d.ts.map +0 -1
  1583. package/build/types/components/src/header/index.d.ts.map +0 -1
  1584. package/build/types/components/src/i18n/commonMessages/Button.messages.d.ts.map +0 -1
  1585. package/build/types/components/src/i18n/index.d.ts.map +0 -1
  1586. package/build/types/components/src/iconButton/IconButton.d.ts.map +0 -1
  1587. package/build/types/components/src/iconButton/index.d.ts.map +0 -1
  1588. package/build/types/components/src/image/Image.d.ts.map +0 -1
  1589. package/build/types/components/src/image/index.d.ts.map +0 -1
  1590. package/build/types/components/src/index.d.ts.map +0 -1
  1591. package/build/types/components/src/info/Info.d.ts.map +0 -1
  1592. package/build/types/components/src/info/Info.messages.d.ts.map +0 -1
  1593. package/build/types/components/src/info/index.d.ts.map +0 -1
  1594. package/build/types/components/src/info/infoPresentations.d.ts.map +0 -1
  1595. package/build/types/components/src/inlineAlert/InlineAlert.d.ts.map +0 -1
  1596. package/build/types/components/src/inlineAlert/index.d.ts.map +0 -1
  1597. package/build/types/components/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
  1598. package/build/types/components/src/inputWithDisplayFormat/index.d.ts.map +0 -1
  1599. package/build/types/components/src/inputs/Input.d.ts.map +0 -1
  1600. package/build/types/components/src/inputs/InputGroup.d.ts.map +0 -1
  1601. package/build/types/components/src/inputs/SearchInput.d.ts.map +0 -1
  1602. package/build/types/components/src/inputs/SelectInput.d.ts.map +0 -1
  1603. package/build/types/components/src/inputs/SelectInput.messages.d.ts.map +0 -1
  1604. package/build/types/components/src/inputs/TextArea.d.ts.map +0 -1
  1605. package/build/types/components/src/inputs/_BottomSheet.d.ts.map +0 -1
  1606. package/build/types/components/src/inputs/_ButtonInput.d.ts.map +0 -1
  1607. package/build/types/components/src/inputs/_Popover.d.ts.map +0 -1
  1608. package/build/types/components/src/inputs/_common.d.ts.map +0 -1
  1609. package/build/types/components/src/inputs/contexts.d.ts.map +0 -1
  1610. package/build/types/components/src/instructionsList/InstructionsList.d.ts.map +0 -1
  1611. package/build/types/components/src/instructionsList/index.d.ts.map +0 -1
  1612. package/build/types/components/src/label/Label.d.ts.map +0 -1
  1613. package/build/types/components/src/label/Label.messages.d.ts.map +0 -1
  1614. package/build/types/components/src/label/index.d.ts.map +0 -1
  1615. package/build/types/components/src/legacylistItem/LegacyListItem.d.ts.map +0 -1
  1616. package/build/types/components/src/legacylistItem/index.d.ts.map +0 -1
  1617. package/build/types/components/src/link/Link.d.ts.map +0 -1
  1618. package/build/types/components/src/link/Link.messages.d.ts.map +0 -1
  1619. package/build/types/components/src/link/index.d.ts.map +0 -1
  1620. package/build/types/components/src/list/List.d.ts.map +0 -1
  1621. package/build/types/components/src/list/index.d.ts.map +0 -1
  1622. package/build/types/components/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
  1623. package/build/types/components/src/listItem/AdditionalInfo/index.d.ts.map +0 -1
  1624. package/build/types/components/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
  1625. package/build/types/components/src/listItem/AvatarLayout/index.d.ts.map +0 -1
  1626. package/build/types/components/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
  1627. package/build/types/components/src/listItem/AvatarView/index.d.ts.map +0 -1
  1628. package/build/types/components/src/listItem/Button/ListItemButton.d.ts.map +0 -1
  1629. package/build/types/components/src/listItem/Button/index.d.ts.map +0 -1
  1630. package/build/types/components/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
  1631. package/build/types/components/src/listItem/Checkbox/index.d.ts.map +0 -1
  1632. package/build/types/components/src/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
  1633. package/build/types/components/src/listItem/IconButton/index.d.ts.map +0 -1
  1634. package/build/types/components/src/listItem/Image/ListItemImage.d.ts.map +0 -1
  1635. package/build/types/components/src/listItem/Image/index.d.ts.map +0 -1
  1636. package/build/types/components/src/listItem/ListItem.d.ts.map +0 -1
  1637. package/build/types/components/src/listItem/ListItemContext.d.ts.map +0 -1
  1638. package/build/types/components/src/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
  1639. package/build/types/components/src/listItem/Navigation/index.d.ts.map +0 -1
  1640. package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
  1641. package/build/types/components/src/listItem/Prompt/index.d.ts.map +0 -1
  1642. package/build/types/components/src/listItem/Radio/ListItemRadio.d.ts.map +0 -1
  1643. package/build/types/components/src/listItem/Radio/index.d.ts.map +0 -1
  1644. package/build/types/components/src/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
  1645. package/build/types/components/src/listItem/Switch/index.d.ts.map +0 -1
  1646. package/build/types/components/src/listItem/_stories/helpers.d.ts.map +0 -1
  1647. package/build/types/components/src/listItem/_stories/subcomponents.d.ts.map +0 -1
  1648. package/build/types/components/src/listItem/_stories/variants/helpers.d.ts.map +0 -1
  1649. package/build/types/components/src/listItem/constants.d.ts.map +0 -1
  1650. package/build/types/components/src/listItem/index.d.ts.map +0 -1
  1651. package/build/types/components/src/listItem/test-utils.d.ts.map +0 -1
  1652. package/build/types/components/src/listItem/useListItemControl.d.ts.map +0 -1
  1653. package/build/types/components/src/listItem/useListItemMedia.d.ts.map +0 -1
  1654. package/build/types/components/src/loader/Loader.d.ts.map +0 -1
  1655. package/build/types/components/src/loader/index.d.ts.map +0 -1
  1656. package/build/types/components/src/logo/Logo.d.ts.map +0 -1
  1657. package/build/types/components/src/logo/index.d.ts.map +0 -1
  1658. package/build/types/components/src/logo/logo-assets.d.ts.map +0 -1
  1659. package/build/types/components/src/markdown/Markdown.d.ts.map +0 -1
  1660. package/build/types/components/src/markdown/index.d.ts.map +0 -1
  1661. package/build/types/components/src/mocks.d.ts.map +0 -1
  1662. package/build/types/components/src/modal/Modal.d.ts.map +0 -1
  1663. package/build/types/components/src/modal/index.d.ts.map +0 -1
  1664. package/build/types/components/src/money/Money.d.ts.map +0 -1
  1665. package/build/types/components/src/money/index.d.ts.map +0 -1
  1666. package/build/types/components/src/moneyInput/MoneyInput.d.ts.map +0 -1
  1667. package/build/types/components/src/moneyInput/MoneyInput.messages.d.ts.map +0 -1
  1668. package/build/types/components/src/moneyInput/currencyFormatting.d.ts.map +0 -1
  1669. package/build/types/components/src/moneyInput/index.d.ts.map +0 -1
  1670. package/build/types/components/src/navigationOption/NavigationOption.d.ts.map +0 -1
  1671. package/build/types/components/src/navigationOption/index.d.ts.map +0 -1
  1672. package/build/types/components/src/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
  1673. package/build/types/components/src/navigationOptionsList/index.d.ts.map +0 -1
  1674. package/build/types/components/src/nudge/Nudge.d.ts.map +0 -1
  1675. package/build/types/components/src/nudge/index.d.ts.map +0 -1
  1676. package/build/types/components/src/overlayHeader/OverlayHeader.d.ts.map +0 -1
  1677. package/build/types/components/src/overlayHeader/index.d.ts.map +0 -1
  1678. package/build/types/components/src/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
  1679. package/build/types/components/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
  1680. package/build/types/components/src/phoneNumberInput/data/countries.d.ts.map +0 -1
  1681. package/build/types/components/src/phoneNumberInput/index.d.ts.map +0 -1
  1682. package/build/types/components/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
  1683. package/build/types/components/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
  1684. package/build/types/components/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
  1685. package/build/types/components/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
  1686. package/build/types/components/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
  1687. package/build/types/components/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
  1688. package/build/types/components/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
  1689. package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
  1690. package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
  1691. package/build/types/components/src/phoneNumberInput/utils/index.d.ts.map +0 -1
  1692. package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
  1693. package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
  1694. package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
  1695. package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
  1696. package/build/types/components/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
  1697. package/build/types/components/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
  1698. package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
  1699. package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
  1700. package/build/types/components/src/popover/Popover.d.ts.map +0 -1
  1701. package/build/types/components/src/popover/index.d.ts.map +0 -1
  1702. package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
  1703. package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
  1704. package/build/types/components/src/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
  1705. package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
  1706. package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
  1707. package/build/types/components/src/primitives/PrimitiveButton/index.d.ts.map +0 -1
  1708. package/build/types/components/src/primitives/index.d.ts.map +0 -1
  1709. package/build/types/components/src/primitives/types.d.ts.map +0 -1
  1710. package/build/types/components/src/processIndicator/ProcessIndicator.d.ts.map +0 -1
  1711. package/build/types/components/src/processIndicator/index.d.ts.map +0 -1
  1712. package/build/types/components/src/progress/Progress.d.ts.map +0 -1
  1713. package/build/types/components/src/progress/index.d.ts.map +0 -1
  1714. package/build/types/components/src/progressBar/ProgressBar.d.ts.map +0 -1
  1715. package/build/types/components/src/progressBar/index.d.ts.map +0 -1
  1716. package/build/types/components/src/promoCard/PromoCard.d.ts.map +0 -1
  1717. package/build/types/components/src/promoCard/PromoCardContext.d.ts.map +0 -1
  1718. package/build/types/components/src/promoCard/PromoCardGroup.d.ts.map +0 -1
  1719. package/build/types/components/src/promoCard/PromoCardIndicator.d.ts.map +0 -1
  1720. package/build/types/components/src/promoCard/index.d.ts.map +0 -1
  1721. package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
  1722. package/build/types/components/src/prompt/InlinePrompt/index.d.ts.map +0 -1
  1723. package/build/types/components/src/prompt/index.d.ts.map +0 -1
  1724. package/build/types/components/src/provider/Provider.d.ts.map +0 -1
  1725. package/build/types/components/src/provider/direction/DirectionProvider.d.ts.map +0 -1
  1726. package/build/types/components/src/provider/direction/index.d.ts.map +0 -1
  1727. package/build/types/components/src/provider/index.d.ts.map +0 -1
  1728. package/build/types/components/src/provider/language/LanguageProvider.d.ts.map +0 -1
  1729. package/build/types/components/src/provider/language/index.d.ts.map +0 -1
  1730. package/build/types/components/src/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
  1731. package/build/types/components/src/radio/Radio.d.ts.map +0 -1
  1732. package/build/types/components/src/radio/index.d.ts.map +0 -1
  1733. package/build/types/components/src/radioGroup/RadioGroup.d.ts.map +0 -1
  1734. package/build/types/components/src/radioGroup/index.d.ts.map +0 -1
  1735. package/build/types/components/src/radioOption/RadioOption.d.ts.map +0 -1
  1736. package/build/types/components/src/radioOption/index.d.ts.map +0 -1
  1737. package/build/types/components/src/section/Section.d.ts.map +0 -1
  1738. package/build/types/components/src/section/index.d.ts.map +0 -1
  1739. package/build/types/components/src/segmentedControl/SegmentedControl.d.ts.map +0 -1
  1740. package/build/types/components/src/segmentedControl/index.d.ts.map +0 -1
  1741. package/build/types/components/src/select/Select.d.ts.map +0 -1
  1742. package/build/types/components/src/select/Select.messages.d.ts.map +0 -1
  1743. package/build/types/components/src/select/index.d.ts.map +0 -1
  1744. package/build/types/components/src/select/option/Option.d.ts.map +0 -1
  1745. package/build/types/components/src/select/option/index.d.ts.map +0 -1
  1746. package/build/types/components/src/select/searchBox/SearchBox.d.ts.map +0 -1
  1747. package/build/types/components/src/select/searchBox/index.d.ts.map +0 -1
  1748. package/build/types/components/src/sentimentSurface/SentimentSurface.d.ts.map +0 -1
  1749. package/build/types/components/src/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
  1750. package/build/types/components/src/sentimentSurface/index.d.ts.map +0 -1
  1751. package/build/types/components/src/slidingPanel/SlidingPanel.d.ts.map +0 -1
  1752. package/build/types/components/src/slidingPanel/index.d.ts.map +0 -1
  1753. package/build/types/components/src/snackbar/Snackbar.d.ts.map +0 -1
  1754. package/build/types/components/src/snackbar/SnackbarContext.d.ts.map +0 -1
  1755. package/build/types/components/src/snackbar/SnackbarProvider.d.ts.map +0 -1
  1756. package/build/types/components/src/snackbar/index.d.ts.map +0 -1
  1757. package/build/types/components/src/snackbar/useSnackbar.d.ts.map +0 -1
  1758. package/build/types/components/src/statusIcon/StatusIcon.d.ts.map +0 -1
  1759. package/build/types/components/src/statusIcon/StatusIcon.messages.d.ts.map +0 -1
  1760. package/build/types/components/src/statusIcon/index.d.ts.map +0 -1
  1761. package/build/types/components/src/stepper/Stepper.d.ts.map +0 -1
  1762. package/build/types/components/src/stepper/deviceDetection.d.ts.map +0 -1
  1763. package/build/types/components/src/sticky/Sticky.d.ts.map +0 -1
  1764. package/build/types/components/src/sticky/index.d.ts.map +0 -1
  1765. package/build/types/components/src/summary/Summary.d.ts.map +0 -1
  1766. package/build/types/components/src/summary/Summary.messages.d.ts.map +0 -1
  1767. package/build/types/components/src/summary/index.d.ts.map +0 -1
  1768. package/build/types/components/src/switch/Switch.d.ts.map +0 -1
  1769. package/build/types/components/src/switch/index.d.ts.map +0 -1
  1770. package/build/types/components/src/switchOption/SwitchOption.d.ts.map +0 -1
  1771. package/build/types/components/src/switchOption/index.d.ts.map +0 -1
  1772. package/build/types/components/src/table/Table.d.ts.map +0 -1
  1773. package/build/types/components/src/table/Table.messages.d.ts.map +0 -1
  1774. package/build/types/components/src/table/TableCell.d.ts.map +0 -1
  1775. package/build/types/components/src/table/TableHeader.d.ts.map +0 -1
  1776. package/build/types/components/src/table/TableRow.d.ts.map +0 -1
  1777. package/build/types/components/src/table/TableStatusText.d.ts.map +0 -1
  1778. package/build/types/components/src/table/index.d.ts.map +0 -1
  1779. package/build/types/components/src/tabs/Tab.d.ts.map +0 -1
  1780. package/build/types/components/src/tabs/TabList.d.ts.map +0 -1
  1781. package/build/types/components/src/tabs/TabPanel.d.ts.map +0 -1
  1782. package/build/types/components/src/tabs/Tabs.d.ts.map +0 -1
  1783. package/build/types/components/src/tabs/index.d.ts.map +0 -1
  1784. package/build/types/components/src/tabs/utils.d.ts.map +0 -1
  1785. package/build/types/components/src/test-utils/fake-data.d.ts.map +0 -1
  1786. package/build/types/components/src/test-utils/index.d.ts.map +0 -1
  1787. package/build/types/components/src/test-utils/jest.setup.d.ts.map +0 -1
  1788. package/build/types/components/src/test-utils/style-mock.d.ts.map +0 -1
  1789. package/build/types/components/src/test-utils/wait.d.ts.map +0 -1
  1790. package/build/types/components/src/test-utils/window-mock.d.ts.map +0 -1
  1791. package/build/types/components/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
  1792. package/build/types/components/src/textareaWithDisplayFormat/index.d.ts.map +0 -1
  1793. package/build/types/components/src/tile/Tile.d.ts.map +0 -1
  1794. package/build/types/components/src/tile/index.d.ts.map +0 -1
  1795. package/build/types/components/src/title/Title.d.ts.map +0 -1
  1796. package/build/types/components/src/title/index.d.ts.map +0 -1
  1797. package/build/types/components/src/tooltip/Tooltip.d.ts.map +0 -1
  1798. package/build/types/components/src/tooltip/index.d.ts.map +0 -1
  1799. package/build/types/components/src/typeahead/Typeahead.d.ts.map +0 -1
  1800. package/build/types/components/src/typeahead/Typeahead.messages.d.ts.map +0 -1
  1801. package/build/types/components/src/typeahead/index.d.ts.map +0 -1
  1802. package/build/types/components/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
  1803. package/build/types/components/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
  1804. package/build/types/components/src/typeahead/util/highlight.d.ts.map +0 -1
  1805. package/build/types/components/src/upload/Upload.d.ts.map +0 -1
  1806. package/build/types/components/src/upload/Upload.messages.d.ts.map +0 -1
  1807. package/build/types/components/src/upload/index.d.ts.map +0 -1
  1808. package/build/types/components/src/upload/steps/completeStep/completeStep.d.ts.map +0 -1
  1809. package/build/types/components/src/upload/steps/completeStep/index.d.ts.map +0 -1
  1810. package/build/types/components/src/upload/steps/index.d.ts.map +0 -1
  1811. package/build/types/components/src/upload/steps/processingStep/index.d.ts.map +0 -1
  1812. package/build/types/components/src/upload/steps/processingStep/processingStep.d.ts.map +0 -1
  1813. package/build/types/components/src/upload/steps/uploadImageStep/index.d.ts.map +0 -1
  1814. package/build/types/components/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
  1815. package/build/types/components/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
  1816. package/build/types/components/src/upload/utils/asyncFileRead/index.d.ts.map +0 -1
  1817. package/build/types/components/src/upload/utils/getFileType/getFileType.d.ts.map +0 -1
  1818. package/build/types/components/src/upload/utils/getFileType/index.d.ts.map +0 -1
  1819. package/build/types/components/src/upload/utils/index.d.ts.map +0 -1
  1820. package/build/types/components/src/upload/utils/isSizeValid/index.d.ts.map +0 -1
  1821. package/build/types/components/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
  1822. package/build/types/components/src/upload/utils/isTypeValid/index.d.ts.map +0 -1
  1823. package/build/types/components/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
  1824. package/build/types/components/src/upload/utils/postData/index.d.ts.map +0 -1
  1825. package/build/types/components/src/upload/utils/postData/postData.d.ts.map +0 -1
  1826. package/build/types/components/src/uploadInput/UploadInput.d.ts.map +0 -1
  1827. package/build/types/components/src/uploadInput/UploadInput.messages.d.ts.map +0 -1
  1828. package/build/types/components/src/uploadInput/index.d.ts.map +0 -1
  1829. package/build/types/components/src/uploadInput/types.d.ts.map +0 -1
  1830. package/build/types/components/src/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
  1831. package/build/types/components/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
  1832. package/build/types/components/src/uploadInput/uploadButton/defaults.d.ts.map +0 -1
  1833. package/build/types/components/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
  1834. package/build/types/components/src/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
  1835. package/build/types/components/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
  1836. package/build/types/components/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
  1837. package/build/types/components/src/utilities/cssValueWithUnit.d.ts.map +0 -1
  1838. package/build/types/components/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
  1839. package/build/types/components/src/utilities/deprecatedProperty/index.d.ts.map +0 -1
  1840. package/build/types/components/src/utilities/index.d.ts.map +0 -1
  1841. package/build/types/components/src/utilities/logActionRequired.d.ts.map +0 -1
  1842. package/build/types/components/src/utils.d.ts.map +0 -1
  1843. package/build/types/components/src/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
  1844. package/build/types/components/src/withDisplayFormat/index.d.ts.map +0 -1
  1845. package/build/types/components/src/withId/index.d.ts.map +0 -1
  1846. package/build/types/components/src/withId/story/source.d.ts.map +0 -1
  1847. package/build/types/components/src/withId/withId.d.ts.map +0 -1
  1848. package/build/types/components/src/withNextPortal/withNextPortal.d.ts.map +0 -1
  1849. package/build/types/components-theming/src/ThemeProvider.d.ts +0 -7
  1850. package/build/types/components-theming/src/ThemeProvider.d.ts.map +0 -1
  1851. package/build/types/components-theming/src/ThemeProviderContext.d.ts +0 -8
  1852. package/build/types/components-theming/src/ThemeProviderContext.d.ts.map +0 -1
  1853. package/build/types/components-theming/src/ThemedChildren.d.ts +0 -8
  1854. package/build/types/components-theming/src/ThemedChildren.d.ts.map +0 -1
  1855. package/build/types/components-theming/src/const.d.ts +0 -35
  1856. package/build/types/components-theming/src/const.d.ts.map +0 -1
  1857. package/build/types/components-theming/src/helpers.d.ts +0 -11
  1858. package/build/types/components-theming/src/helpers.d.ts.map +0 -1
  1859. package/build/types/components-theming/src/index.d.ts +0 -5
  1860. package/build/types/components-theming/src/index.d.ts.map +0 -1
  1861. package/build/types/components-theming/src/useTheme.d.ts +0 -17
  1862. package/build/types/components-theming/src/useTheme.d.ts.map +0 -1
  1863. /package/build/types/{components/src/accordion → accordion}/Accordion.d.ts +0 -0
  1864. /package/build/types/{components/src/accordion → accordion}/AccordionItem/AccordionItem.d.ts +0 -0
  1865. /package/build/types/{components/src/accordion → accordion}/AccordionItem/index.d.ts +0 -0
  1866. /package/build/types/{components/src/accordion → accordion}/index.d.ts +0 -0
  1867. /package/build/types/{components/src/actionButton → actionButton}/ActionButton.d.ts +0 -0
  1868. /package/build/types/{components/src/actionButton → actionButton}/index.d.ts +0 -0
  1869. /package/build/types/{components/src/actionOption → actionOption}/ActionOption.d.ts +0 -0
  1870. /package/build/types/{components/src/actionOption → actionOption}/index.d.ts +0 -0
  1871. /package/build/types/{components/src/alert → alert}/Alert.d.ts +0 -0
  1872. /package/build/types/{components/src/alert → alert}/index.d.ts +0 -0
  1873. /package/build/types/{components/src/alert → alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
  1874. /package/build/types/{components/src/alert → alert}/inlineMarkdown/index.d.ts +0 -0
  1875. /package/build/types/{components/src/avatar → avatar}/Avatar.d.ts +0 -0
  1876. /package/build/types/{components/src/avatar → avatar}/avatarTypes.d.ts +0 -0
  1877. /package/build/types/{components/src/avatar → avatar}/index.d.ts +0 -0
  1878. /package/build/types/{components/src/avatarLayout → avatarLayout}/AvatarLayout.d.ts +0 -0
  1879. /package/build/types/{components/src/avatarLayout → avatarLayout}/index.d.ts +0 -0
  1880. /package/build/types/{components/src/avatarView → avatarView}/AvatarView.d.ts +0 -0
  1881. /package/build/types/{components/src/avatarView → avatarView}/Dot.d.ts +0 -0
  1882. /package/build/types/{components/src/avatarView → avatarView}/index.d.ts +0 -0
  1883. /package/build/types/{components/src/avatarWrapper → avatarWrapper}/AvatarWrapper.d.ts +0 -0
  1884. /package/build/types/{components/src/avatarWrapper → avatarWrapper}/index.d.ts +0 -0
  1885. /package/build/types/{components/src/badge → badge}/Badge.d.ts +0 -0
  1886. /package/build/types/{components/src/badge → badge}/BadgeAssets.d.ts +0 -0
  1887. /package/build/types/{components/src/badge → badge}/index.d.ts +0 -0
  1888. /package/build/types/{components/src/body → body}/Body.d.ts +0 -0
  1889. /package/build/types/{components/src/body → body}/index.d.ts +0 -0
  1890. /package/build/types/{components/src/button → button}/Button.d.ts +0 -0
  1891. /package/build/types/{components/src/button → button}/Button.resolver.d.ts +0 -0
  1892. /package/build/types/{components/src/button → button}/Button.types.d.ts +0 -0
  1893. /package/build/types/{components/src/button → button}/LegacyButton.d.ts +0 -0
  1894. /package/build/types/{components/src/button → button}/_stories/helpers.d.ts +0 -0
  1895. /package/build/types/{components/src/button → button}/classMap.d.ts +0 -0
  1896. /package/build/types/{components/src/button → button}/index.d.ts +0 -0
  1897. /package/build/types/{components/src/button → button}/legacyUtils/index.d.ts +0 -0
  1898. /package/build/types/{components/src/button → button}/legacyUtils/legacyUtils.d.ts +0 -0
  1899. /package/build/types/{components/src/card → card}/Card.d.ts +0 -0
  1900. /package/build/types/{components/src/card → card}/index.d.ts +0 -0
  1901. /package/build/types/{components/src/carousel → carousel}/Carousel.d.ts +0 -0
  1902. /package/build/types/{components/src/carousel → carousel}/index.d.ts +0 -0
  1903. /package/build/types/{components/src/checkbox → checkbox}/Checkbox.d.ts +0 -0
  1904. /package/build/types/{components/src/checkbox → checkbox}/index.d.ts +0 -0
  1905. /package/build/types/{components/src/checkboxButton → checkboxButton}/CheckboxButton.d.ts +0 -0
  1906. /package/build/types/{components/src/checkboxButton → checkboxButton}/index.d.ts +0 -0
  1907. /package/build/types/{components/src/checkboxOption → checkboxOption}/CheckboxOption.d.ts +0 -0
  1908. /package/build/types/{components/src/checkboxOption → checkboxOption}/index.d.ts +0 -0
  1909. /package/build/types/{components/src/chevron → chevron}/Chevron.d.ts +0 -0
  1910. /package/build/types/{components/src/chevron → chevron}/index.d.ts +0 -0
  1911. /package/build/types/{components/src/chips → chips}/Chip.d.ts +0 -0
  1912. /package/build/types/{components/src/chips → chips}/Chips.d.ts +0 -0
  1913. /package/build/types/{components/src/chips → chips}/Chips.messages.d.ts +0 -0
  1914. /package/build/types/{components/src/chips → chips}/index.d.ts +0 -0
  1915. /package/build/types/{components/src/circularButton → circularButton}/CircularButton.d.ts +0 -0
  1916. /package/build/types/{components/src/circularButton → circularButton}/index.d.ts +0 -0
  1917. /package/build/types/{components/src/common → common}/DOMOperations/DOMOperations.d.ts +0 -0
  1918. /package/build/types/{components/src/common → common}/DOMOperations/index.d.ts +0 -0
  1919. /package/build/types/{components/src/common → common}/Option/Option.d.ts +0 -0
  1920. /package/build/types/{components/src/common → common}/Option/index.d.ts +0 -0
  1921. /package/build/types/{components/src/common → common}/RadioButton/RadioButton.d.ts +0 -0
  1922. /package/build/types/{components/src/common → common}/RadioButton/index.d.ts +0 -0
  1923. /package/build/types/{components/src/common → common}/bottomSheet/BottomSheet.d.ts +0 -0
  1924. /package/build/types/{components/src/common → common}/bottomSheet/index.d.ts +0 -0
  1925. /package/build/types/{components/src/common → common}/card/Card.d.ts +0 -0
  1926. /package/build/types/{components/src/common → common}/card/index.d.ts +0 -0
  1927. /package/build/types/{components/src/common → common}/circle/Circle.d.ts +0 -0
  1928. /package/build/types/{components/src/common → common}/circle/index.d.ts +0 -0
  1929. /package/build/types/{components/src/common → common}/closeButton/CloseButton.d.ts +0 -0
  1930. /package/build/types/{components/src/common → common}/closeButton/CloseButton.messages.d.ts +0 -0
  1931. /package/build/types/{components/src/common → common}/closeButton/index.d.ts +0 -0
  1932. /package/build/types/{components/src/common → common}/colors.d.ts +0 -0
  1933. /package/build/types/{components/src/common → common}/commonProps.d.ts +0 -0
  1934. /package/build/types/{components/src/common → common}/constants.d.ts +0 -0
  1935. /package/build/types/{components/src/common → common}/dateUtils/getDateView/getDateView.d.ts +0 -0
  1936. /package/build/types/{components/src/common → common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
  1937. /package/build/types/{components/src/common → common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
  1938. /package/build/types/{components/src/common → common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
  1939. /package/build/types/{components/src/common → common}/dateUtils/index.d.ts +0 -0
  1940. /package/build/types/{components/src/common → common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
  1941. /package/build/types/{components/src/common → common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
  1942. /package/build/types/{components/src/common → common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
  1943. /package/build/types/{components/src/common → common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
  1944. /package/build/types/{components/src/common → common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
  1945. /package/build/types/{components/src/common → common}/deviceDetection/deviceDetection.d.ts +0 -0
  1946. /package/build/types/{components/src/common → common}/deviceDetection/index.d.ts +0 -0
  1947. /package/build/types/{components/src/common → common}/direction.d.ts +0 -0
  1948. /package/build/types/{components/src/common → common}/domHelpers/documentIosClick.d.ts +0 -0
  1949. /package/build/types/{components/src/common → common}/domHelpers/index.d.ts +0 -0
  1950. /package/build/types/{components/src/common → common}/fakeEvents.d.ts +0 -0
  1951. /package/build/types/{components/src/common → common}/fileType.d.ts +0 -0
  1952. /package/build/types/{components/src/common → common}/flowHeader/FlowHeader.d.ts +0 -0
  1953. /package/build/types/{components/src/common → common}/flowHeader/index.d.ts +0 -0
  1954. /package/build/types/{components/src/common → common}/focusBoundary/FocusBoundary.d.ts +0 -0
  1955. /package/build/types/{components/src/common → common}/focusBoundary/index.d.ts +0 -0
  1956. /package/build/types/{components/src/common → common}/historyNavigator/historyNavigator.d.ts +0 -0
  1957. /package/build/types/{components/src/common → common}/historyNavigator/index.d.ts +0 -0
  1958. /package/build/types/{components/src/common → common}/hooks/index.d.ts +0 -0
  1959. /package/build/types/{components/src/common → common}/hooks/useConditionalListener/index.d.ts +0 -0
  1960. /package/build/types/{components/src/common → common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
  1961. /package/build/types/{components/src/common → common}/hooks/useDirection/index.d.ts +0 -0
  1962. /package/build/types/{components/src/common → common}/hooks/useDirection/useDirection.d.ts +0 -0
  1963. /package/build/types/{components/src/common → common}/hooks/useEffectEvent.d.ts +0 -0
  1964. /package/build/types/{components/src/common → common}/hooks/useHasIntersected/index.d.ts +0 -0
  1965. /package/build/types/{components/src/common → common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
  1966. /package/build/types/{components/src/common → common}/hooks/useLayout/index.d.ts +0 -0
  1967. /package/build/types/{components/src/common → common}/hooks/useLayout/useLayout.d.ts +0 -0
  1968. /package/build/types/{components/src/common → common}/hooks/useMedia.d.ts +0 -0
  1969. /package/build/types/{components/src/common → common}/hooks/useResizeObserver.d.ts +0 -0
  1970. /package/build/types/{components/src/common → common}/hooks/useScreenSize.d.ts +0 -0
  1971. /package/build/types/{components/src/common → common}/hooks/useVirtualKeyboard.d.ts +0 -0
  1972. /package/build/types/{components/src/common → common}/index.d.ts +0 -0
  1973. /package/build/types/{components/src/common → common}/initials.d.ts +0 -0
  1974. /package/build/types/{components/src/common → common}/locale/index.d.ts +0 -0
  1975. /package/build/types/{components/src/common → common}/panel/Panel.d.ts +0 -0
  1976. /package/build/types/{components/src/common → common}/panel/index.d.ts +0 -0
  1977. /package/build/types/{components/src/common → common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
  1978. /package/build/types/{components/src/common → common}/preventScroll/PreventScroll.d.ts +0 -0
  1979. /package/build/types/{components/src/common → common}/propsValues/breakpoint.d.ts +0 -0
  1980. /package/build/types/{components/src/common → common}/propsValues/control.d.ts +0 -0
  1981. /package/build/types/{components/src/common → common}/propsValues/dateMode.d.ts +0 -0
  1982. /package/build/types/{components/src/common → common}/propsValues/layouts.d.ts +0 -0
  1983. /package/build/types/{components/src/common → common}/propsValues/markdownNodeType.d.ts +0 -0
  1984. /package/build/types/{components/src/common → common}/propsValues/monthFormat.d.ts +0 -0
  1985. /package/build/types/{components/src/common → common}/propsValues/position.d.ts +0 -0
  1986. /package/build/types/{components/src/common → common}/propsValues/profileType.d.ts +0 -0
  1987. /package/build/types/{components/src/common → common}/propsValues/scroll.d.ts +0 -0
  1988. /package/build/types/{components/src/common → common}/propsValues/sentiment.d.ts +0 -0
  1989. /package/build/types/{components/src/common → common}/propsValues/size.d.ts +0 -0
  1990. /package/build/types/{components/src/common → common}/propsValues/status.d.ts +0 -0
  1991. /package/build/types/{components/src/common → common}/propsValues/type.d.ts +0 -0
  1992. /package/build/types/{components/src/common → common}/propsValues/typography.d.ts +0 -0
  1993. /package/build/types/{components/src/common → common}/propsValues/variant.d.ts +0 -0
  1994. /package/build/types/{components/src/common → common}/propsValues/width.d.ts +0 -0
  1995. /package/build/types/{components/src/common → common}/responsivePanel/ResponsivePanel.d.ts +0 -0
  1996. /package/build/types/{components/src/common → common}/responsivePanel/index.d.ts +0 -0
  1997. /package/build/types/{components/src/common → common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
  1998. /package/build/types/{components/src/common → common}/textFormat/formatWithPattern/index.d.ts +0 -0
  1999. /package/build/types/{components/src/common → common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
  2000. /package/build/types/{components/src/common → common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
  2001. /package/build/types/{components/src/common → common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
  2002. /package/build/types/{components/src/common → common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
  2003. /package/build/types/{components/src/common → common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
  2004. /package/build/types/{components/src/common → common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
  2005. /package/build/types/{components/src/common → common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
  2006. /package/build/types/{components/src/common → common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
  2007. /package/build/types/{components/src/common → common}/textFormat/index.d.ts +0 -0
  2008. /package/build/types/{components/src/common → common}/textFormat/unformatWithPattern/index.d.ts +0 -0
  2009. /package/build/types/{components/src/common → common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
  2010. /package/build/types/{components/src/common → common}/theme.d.ts +0 -0
  2011. /package/build/types/{components/src/criticalBanner → criticalBanner}/CriticalCommsBanner.d.ts +0 -0
  2012. /package/build/types/{components/src/criticalBanner → criticalBanner}/index.d.ts +0 -0
  2013. /package/build/types/{components/src/dateInput → dateInput}/DateInput.d.ts +0 -0
  2014. /package/build/types/{components/src/dateInput → dateInput}/DateInput.messages.d.ts +0 -0
  2015. /package/build/types/{components/src/dateInput → dateInput}/index.d.ts +0 -0
  2016. /package/build/types/{components/src/dateInput → dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
  2017. /package/build/types/{components/src/dateInput → dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
  2018. /package/build/types/{components/src/dateInput → dateInput}/utils/index.d.ts +0 -0
  2019. /package/build/types/{components/src/dateLookup → dateLookup}/DateLookup.d.ts +0 -0
  2020. /package/build/types/{components/src/dateLookup → dateLookup}/DateLookup.messages.d.ts +0 -0
  2021. /package/build/types/{components/src/dateLookup → dateLookup}/dateHeader/DateHeader.d.ts +0 -0
  2022. /package/build/types/{components/src/dateLookup → dateLookup}/dateHeader/index.d.ts +0 -0
  2023. /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
  2024. /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
  2025. /package/build/types/{components/src/dateLookup → dateLookup}/dateTrigger/index.d.ts +0 -0
  2026. /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
  2027. /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/index.d.ts +0 -0
  2028. /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
  2029. /package/build/types/{components/src/dateLookup → dateLookup}/dayCalendar/table/index.d.ts +0 -0
  2030. /package/build/types/{components/src/dateLookup → dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
  2031. /package/build/types/{components/src/dateLookup → dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
  2032. /package/build/types/{components/src/dateLookup → dateLookup}/getStartOfDay/index.d.ts +0 -0
  2033. /package/build/types/{components/src/dateLookup → dateLookup}/index.d.ts +0 -0
  2034. /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
  2035. /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/index.d.ts +0 -0
  2036. /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
  2037. /package/build/types/{components/src/dateLookup → dateLookup}/monthCalendar/table/index.d.ts +0 -0
  2038. /package/build/types/{components/src/dateLookup → dateLookup}/tableLink/TableLink.d.ts +0 -0
  2039. /package/build/types/{components/src/dateLookup → dateLookup}/tableLink/index.d.ts +0 -0
  2040. /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
  2041. /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/index.d.ts +0 -0
  2042. /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
  2043. /package/build/types/{components/src/dateLookup → dateLookup}/yearCalendar/table/index.d.ts +0 -0
  2044. /package/build/types/{components/src/decision → decision}/Decision.d.ts +0 -0
  2045. /package/build/types/{components/src/decision → decision}/index.d.ts +0 -0
  2046. /package/build/types/{components/src/definitionList → definitionList}/DefinitionList.d.ts +0 -0
  2047. /package/build/types/{components/src/definitionList → definitionList}/index.d.ts +0 -0
  2048. /package/build/types/{components/src/dimmer → dimmer}/Dimmer.d.ts +0 -0
  2049. /package/build/types/{components/src/dimmer → dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
  2050. /package/build/types/{components/src/dimmer → dimmer}/dimmerManager/index.d.ts +0 -0
  2051. /package/build/types/{components/src/dimmer → dimmer}/index.d.ts +0 -0
  2052. /package/build/types/{components/src/display → display}/Display.d.ts +0 -0
  2053. /package/build/types/{components/src/display → display}/index.d.ts +0 -0
  2054. /package/build/types/{components/src/divider → divider}/Divider.d.ts +0 -0
  2055. /package/build/types/{components/src/divider → divider}/index.d.ts +0 -0
  2056. /package/build/types/{components/src/drawer → drawer}/Drawer.d.ts +0 -0
  2057. /package/build/types/{components/src/drawer → drawer}/index.d.ts +0 -0
  2058. /package/build/types/{components/src/dropFade → dropFade}/DropFade.d.ts +0 -0
  2059. /package/build/types/{components/src/dropFade → dropFade}/index.d.ts +0 -0
  2060. /package/build/types/{components/src/emphasis → emphasis}/Emphasis.d.ts +0 -0
  2061. /package/build/types/{components/src/emphasis → emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
  2062. /package/build/types/{components/src/emphasis → emphasis}/index.d.ts +0 -0
  2063. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
  2064. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
  2065. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
  2066. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
  2067. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
  2068. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
  2069. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
  2070. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
  2071. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
  2072. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
  2073. /package/build/types/{components/src/expressiveMoneyInput → expressiveMoneyInput}/index.d.ts +0 -0
  2074. /package/build/types/{components/src/field → field}/Field.d.ts +0 -0
  2075. /package/build/types/{components/src/flowNavigation → flowNavigation}/FlowNavigation.d.ts +0 -0
  2076. /package/build/types/{components/src/flowNavigation → flowNavigation}/FlowNavigation.messages.d.ts +0 -0
  2077. /package/build/types/{components/src/flowNavigation → flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
  2078. /package/build/types/{components/src/flowNavigation → flowNavigation}/animatedLabel/index.d.ts +0 -0
  2079. /package/build/types/{components/src/header → header}/Header.d.ts +0 -0
  2080. /package/build/types/{components/src/header → header}/index.d.ts +0 -0
  2081. /package/build/types/{components/src/i18n → i18n}/commonMessages/Button.messages.d.ts +0 -0
  2082. /package/build/types/{components/src/i18n → i18n}/index.d.ts +0 -0
  2083. /package/build/types/{components/src/iconButton → iconButton}/IconButton.d.ts +0 -0
  2084. /package/build/types/{components/src/iconButton → iconButton}/index.d.ts +0 -0
  2085. /package/build/types/{components/src/image → image}/Image.d.ts +0 -0
  2086. /package/build/types/{components/src/image → image}/index.d.ts +0 -0
  2087. /package/build/types/{components/src/index.d.ts → index.d.ts} +0 -0
  2088. /package/build/types/{components/src/info → info}/Info.d.ts +0 -0
  2089. /package/build/types/{components/src/info → info}/Info.messages.d.ts +0 -0
  2090. /package/build/types/{components/src/info → info}/index.d.ts +0 -0
  2091. /package/build/types/{components/src/info → info}/infoPresentations.d.ts +0 -0
  2092. /package/build/types/{components/src/inlineAlert → inlineAlert}/InlineAlert.d.ts +0 -0
  2093. /package/build/types/{components/src/inlineAlert → inlineAlert}/index.d.ts +0 -0
  2094. /package/build/types/{components/src/inputWithDisplayFormat → inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
  2095. /package/build/types/{components/src/inputWithDisplayFormat → inputWithDisplayFormat}/index.d.ts +0 -0
  2096. /package/build/types/{components/src/inputs → inputs}/Input.d.ts +0 -0
  2097. /package/build/types/{components/src/inputs → inputs}/InputGroup.d.ts +0 -0
  2098. /package/build/types/{components/src/inputs → inputs}/SearchInput.d.ts +0 -0
  2099. /package/build/types/{components/src/inputs → inputs}/SelectInput.d.ts +0 -0
  2100. /package/build/types/{components/src/inputs → inputs}/SelectInput.messages.d.ts +0 -0
  2101. /package/build/types/{components/src/inputs → inputs}/TextArea.d.ts +0 -0
  2102. /package/build/types/{components/src/inputs → inputs}/_BottomSheet.d.ts +0 -0
  2103. /package/build/types/{components/src/inputs → inputs}/_ButtonInput.d.ts +0 -0
  2104. /package/build/types/{components/src/inputs → inputs}/_Popover.d.ts +0 -0
  2105. /package/build/types/{components/src/inputs → inputs}/_common.d.ts +0 -0
  2106. /package/build/types/{components/src/inputs → inputs}/contexts.d.ts +0 -0
  2107. /package/build/types/{components/src/instructionsList → instructionsList}/InstructionsList.d.ts +0 -0
  2108. /package/build/types/{components/src/instructionsList → instructionsList}/index.d.ts +0 -0
  2109. /package/build/types/{components/src/label → label}/Label.d.ts +0 -0
  2110. /package/build/types/{components/src/label → label}/Label.messages.d.ts +0 -0
  2111. /package/build/types/{components/src/label → label}/index.d.ts +0 -0
  2112. /package/build/types/{components/src/legacylistItem → legacylistItem}/LegacyListItem.d.ts +0 -0
  2113. /package/build/types/{components/src/legacylistItem → legacylistItem}/index.d.ts +0 -0
  2114. /package/build/types/{components/src/link → link}/Link.d.ts +0 -0
  2115. /package/build/types/{components/src/link → link}/Link.messages.d.ts +0 -0
  2116. /package/build/types/{components/src/link → link}/index.d.ts +0 -0
  2117. /package/build/types/{components/src/list → list}/List.d.ts +0 -0
  2118. /package/build/types/{components/src/list → list}/index.d.ts +0 -0
  2119. /package/build/types/{components/src/listItem → listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
  2120. /package/build/types/{components/src/listItem → listItem}/AdditionalInfo/index.d.ts +0 -0
  2121. /package/build/types/{components/src/listItem → listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
  2122. /package/build/types/{components/src/listItem → listItem}/AvatarLayout/index.d.ts +0 -0
  2123. /package/build/types/{components/src/listItem → listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
  2124. /package/build/types/{components/src/listItem → listItem}/AvatarView/index.d.ts +0 -0
  2125. /package/build/types/{components/src/listItem → listItem}/Button/ListItemButton.d.ts +0 -0
  2126. /package/build/types/{components/src/listItem → listItem}/Button/index.d.ts +0 -0
  2127. /package/build/types/{components/src/listItem → listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
  2128. /package/build/types/{components/src/listItem → listItem}/Checkbox/index.d.ts +0 -0
  2129. /package/build/types/{components/src/listItem → listItem}/IconButton/ListItemIconButton.d.ts +0 -0
  2130. /package/build/types/{components/src/listItem → listItem}/IconButton/index.d.ts +0 -0
  2131. /package/build/types/{components/src/listItem → listItem}/Image/ListItemImage.d.ts +0 -0
  2132. /package/build/types/{components/src/listItem → listItem}/Image/index.d.ts +0 -0
  2133. /package/build/types/{components/src/listItem → listItem}/ListItem.d.ts +0 -0
  2134. /package/build/types/{components/src/listItem → listItem}/ListItemContext.d.ts +0 -0
  2135. /package/build/types/{components/src/listItem → listItem}/Navigation/ListItemNavigation.d.ts +0 -0
  2136. /package/build/types/{components/src/listItem → listItem}/Navigation/index.d.ts +0 -0
  2137. /package/build/types/{components/src/listItem → listItem}/Prompt/ListItemPrompt.d.ts +0 -0
  2138. /package/build/types/{components/src/listItem → listItem}/Prompt/index.d.ts +0 -0
  2139. /package/build/types/{components/src/listItem → listItem}/Radio/ListItemRadio.d.ts +0 -0
  2140. /package/build/types/{components/src/listItem → listItem}/Radio/index.d.ts +0 -0
  2141. /package/build/types/{components/src/listItem → listItem}/Switch/ListItemSwitch.d.ts +0 -0
  2142. /package/build/types/{components/src/listItem → listItem}/Switch/index.d.ts +0 -0
  2143. /package/build/types/{components/src/listItem → listItem}/_stories/helpers.d.ts +0 -0
  2144. /package/build/types/{components/src/listItem → listItem}/_stories/subcomponents.d.ts +0 -0
  2145. /package/build/types/{components/src/listItem → listItem}/_stories/variants/helpers.d.ts +0 -0
  2146. /package/build/types/{components/src/listItem → listItem}/constants.d.ts +0 -0
  2147. /package/build/types/{components/src/listItem → listItem}/index.d.ts +0 -0
  2148. /package/build/types/{components/src/listItem → listItem}/test-utils.d.ts +0 -0
  2149. /package/build/types/{components/src/listItem → listItem}/useListItemControl.d.ts +0 -0
  2150. /package/build/types/{components/src/listItem → listItem}/useListItemMedia.d.ts +0 -0
  2151. /package/build/types/{components/src/loader → loader}/Loader.d.ts +0 -0
  2152. /package/build/types/{components/src/loader → loader}/index.d.ts +0 -0
  2153. /package/build/types/{components/src/logo → logo}/Logo.d.ts +0 -0
  2154. /package/build/types/{components/src/logo → logo}/index.d.ts +0 -0
  2155. /package/build/types/{components/src/logo → logo}/logo-assets.d.ts +0 -0
  2156. /package/build/types/{components/src/markdown → markdown}/Markdown.d.ts +0 -0
  2157. /package/build/types/{components/src/markdown → markdown}/index.d.ts +0 -0
  2158. /package/build/types/{components/src/mocks.d.ts → mocks.d.ts} +0 -0
  2159. /package/build/types/{components/src/modal → modal}/Modal.d.ts +0 -0
  2160. /package/build/types/{components/src/modal → modal}/index.d.ts +0 -0
  2161. /package/build/types/{components/src/money → money}/Money.d.ts +0 -0
  2162. /package/build/types/{components/src/money → money}/index.d.ts +0 -0
  2163. /package/build/types/{components/src/moneyInput → moneyInput}/MoneyInput.d.ts +0 -0
  2164. /package/build/types/{components/src/moneyInput → moneyInput}/MoneyInput.messages.d.ts +0 -0
  2165. /package/build/types/{components/src/moneyInput → moneyInput}/currencyFormatting.d.ts +0 -0
  2166. /package/build/types/{components/src/moneyInput → moneyInput}/index.d.ts +0 -0
  2167. /package/build/types/{components/src/navigationOption → navigationOption}/NavigationOption.d.ts +0 -0
  2168. /package/build/types/{components/src/navigationOption → navigationOption}/index.d.ts +0 -0
  2169. /package/build/types/{components/src/navigationOptionsList → navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
  2170. /package/build/types/{components/src/navigationOptionsList → navigationOptionsList}/index.d.ts +0 -0
  2171. /package/build/types/{components/src/nudge → nudge}/Nudge.d.ts +0 -0
  2172. /package/build/types/{components/src/nudge → nudge}/index.d.ts +0 -0
  2173. /package/build/types/{components/src/overlayHeader → overlayHeader}/OverlayHeader.d.ts +0 -0
  2174. /package/build/types/{components/src/overlayHeader → overlayHeader}/index.d.ts +0 -0
  2175. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
  2176. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
  2177. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/data/countries.d.ts +0 -0
  2178. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/index.d.ts +0 -0
  2179. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
  2180. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
  2181. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
  2182. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
  2183. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
  2184. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
  2185. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
  2186. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
  2187. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
  2188. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/index.d.ts +0 -0
  2189. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
  2190. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
  2191. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
  2192. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
  2193. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
  2194. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
  2195. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
  2196. /package/build/types/{components/src/phoneNumberInput → phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
  2197. /package/build/types/{components/src/popover → popover}/Popover.d.ts +0 -0
  2198. /package/build/types/{components/src/popover → popover}/index.d.ts +0 -0
  2199. /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
  2200. /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
  2201. /package/build/types/{components/src/primitives → primitives}/PrimitiveAnchor/index.d.ts +0 -0
  2202. /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
  2203. /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
  2204. /package/build/types/{components/src/primitives → primitives}/PrimitiveButton/index.d.ts +0 -0
  2205. /package/build/types/{components/src/primitives → primitives}/index.d.ts +0 -0
  2206. /package/build/types/{components/src/primitives → primitives}/types.d.ts +0 -0
  2207. /package/build/types/{components/src/processIndicator → processIndicator}/ProcessIndicator.d.ts +0 -0
  2208. /package/build/types/{components/src/processIndicator → processIndicator}/index.d.ts +0 -0
  2209. /package/build/types/{components/src/progress → progress}/Progress.d.ts +0 -0
  2210. /package/build/types/{components/src/progress → progress}/index.d.ts +0 -0
  2211. /package/build/types/{components/src/progressBar → progressBar}/ProgressBar.d.ts +0 -0
  2212. /package/build/types/{components/src/progressBar → progressBar}/index.d.ts +0 -0
  2213. /package/build/types/{components/src/promoCard → promoCard}/PromoCard.d.ts +0 -0
  2214. /package/build/types/{components/src/promoCard → promoCard}/PromoCardContext.d.ts +0 -0
  2215. /package/build/types/{components/src/promoCard → promoCard}/PromoCardGroup.d.ts +0 -0
  2216. /package/build/types/{components/src/promoCard → promoCard}/PromoCardIndicator.d.ts +0 -0
  2217. /package/build/types/{components/src/promoCard → promoCard}/index.d.ts +0 -0
  2218. /package/build/types/{components/src/prompt → prompt}/InlinePrompt/InlinePrompt.d.ts +0 -0
  2219. /package/build/types/{components/src/prompt → prompt}/InlinePrompt/index.d.ts +0 -0
  2220. /package/build/types/{components/src/prompt → prompt}/index.d.ts +0 -0
  2221. /package/build/types/{components/src/provider → provider}/Provider.d.ts +0 -0
  2222. /package/build/types/{components/src/provider → provider}/direction/DirectionProvider.d.ts +0 -0
  2223. /package/build/types/{components/src/provider → provider}/direction/index.d.ts +0 -0
  2224. /package/build/types/{components/src/provider → provider}/index.d.ts +0 -0
  2225. /package/build/types/{components/src/provider → provider}/language/LanguageProvider.d.ts +0 -0
  2226. /package/build/types/{components/src/provider → provider}/language/index.d.ts +0 -0
  2227. /package/build/types/{components/src/provider → provider}/overlay/OverlayIdProvider.d.ts +0 -0
  2228. /package/build/types/{components/src/radio → radio}/Radio.d.ts +0 -0
  2229. /package/build/types/{components/src/radio → radio}/index.d.ts +0 -0
  2230. /package/build/types/{components/src/radioGroup → radioGroup}/RadioGroup.d.ts +0 -0
  2231. /package/build/types/{components/src/radioGroup → radioGroup}/index.d.ts +0 -0
  2232. /package/build/types/{components/src/radioOption → radioOption}/RadioOption.d.ts +0 -0
  2233. /package/build/types/{components/src/radioOption → radioOption}/index.d.ts +0 -0
  2234. /package/build/types/{components/src/section → section}/Section.d.ts +0 -0
  2235. /package/build/types/{components/src/section → section}/index.d.ts +0 -0
  2236. /package/build/types/{components/src/segmentedControl → segmentedControl}/SegmentedControl.d.ts +0 -0
  2237. /package/build/types/{components/src/segmentedControl → segmentedControl}/index.d.ts +0 -0
  2238. /package/build/types/{components/src/select → select}/Select.d.ts +0 -0
  2239. /package/build/types/{components/src/select → select}/Select.messages.d.ts +0 -0
  2240. /package/build/types/{components/src/select → select}/index.d.ts +0 -0
  2241. /package/build/types/{components/src/select → select}/option/Option.d.ts +0 -0
  2242. /package/build/types/{components/src/select → select}/option/index.d.ts +0 -0
  2243. /package/build/types/{components/src/select → select}/searchBox/SearchBox.d.ts +0 -0
  2244. /package/build/types/{components/src/select → select}/searchBox/index.d.ts +0 -0
  2245. /package/build/types/{components/src/sentimentSurface → sentimentSurface}/SentimentSurface.d.ts +0 -0
  2246. /package/build/types/{components/src/sentimentSurface → sentimentSurface}/SentimentSurface.types.d.ts +0 -0
  2247. /package/build/types/{components/src/sentimentSurface → sentimentSurface}/index.d.ts +0 -0
  2248. /package/build/types/{components/src/slidingPanel → slidingPanel}/SlidingPanel.d.ts +0 -0
  2249. /package/build/types/{components/src/slidingPanel → slidingPanel}/index.d.ts +0 -0
  2250. /package/build/types/{components/src/snackbar → snackbar}/Snackbar.d.ts +0 -0
  2251. /package/build/types/{components/src/snackbar → snackbar}/SnackbarContext.d.ts +0 -0
  2252. /package/build/types/{components/src/snackbar → snackbar}/SnackbarProvider.d.ts +0 -0
  2253. /package/build/types/{components/src/snackbar → snackbar}/index.d.ts +0 -0
  2254. /package/build/types/{components/src/snackbar → snackbar}/useSnackbar.d.ts +0 -0
  2255. /package/build/types/{components/src/statusIcon → statusIcon}/StatusIcon.d.ts +0 -0
  2256. /package/build/types/{components/src/statusIcon → statusIcon}/StatusIcon.messages.d.ts +0 -0
  2257. /package/build/types/{components/src/statusIcon → statusIcon}/index.d.ts +0 -0
  2258. /package/build/types/{components/src/stepper → stepper}/Stepper.d.ts +0 -0
  2259. /package/build/types/{components/src/stepper → stepper}/deviceDetection.d.ts +0 -0
  2260. /package/build/types/{components/src/sticky → sticky}/Sticky.d.ts +0 -0
  2261. /package/build/types/{components/src/sticky → sticky}/index.d.ts +0 -0
  2262. /package/build/types/{components/src/summary → summary}/Summary.d.ts +0 -0
  2263. /package/build/types/{components/src/summary → summary}/Summary.messages.d.ts +0 -0
  2264. /package/build/types/{components/src/summary → summary}/index.d.ts +0 -0
  2265. /package/build/types/{components/src/switch → switch}/Switch.d.ts +0 -0
  2266. /package/build/types/{components/src/switch → switch}/index.d.ts +0 -0
  2267. /package/build/types/{components/src/switchOption → switchOption}/SwitchOption.d.ts +0 -0
  2268. /package/build/types/{components/src/switchOption → switchOption}/index.d.ts +0 -0
  2269. /package/build/types/{components/src/table → table}/Table.d.ts +0 -0
  2270. /package/build/types/{components/src/table → table}/Table.messages.d.ts +0 -0
  2271. /package/build/types/{components/src/table → table}/TableCell.d.ts +0 -0
  2272. /package/build/types/{components/src/table → table}/TableHeader.d.ts +0 -0
  2273. /package/build/types/{components/src/table → table}/TableRow.d.ts +0 -0
  2274. /package/build/types/{components/src/table → table}/TableStatusText.d.ts +0 -0
  2275. /package/build/types/{components/src/table → table}/index.d.ts +0 -0
  2276. /package/build/types/{components/src/tabs → tabs}/Tab.d.ts +0 -0
  2277. /package/build/types/{components/src/tabs → tabs}/TabList.d.ts +0 -0
  2278. /package/build/types/{components/src/tabs → tabs}/TabPanel.d.ts +0 -0
  2279. /package/build/types/{components/src/tabs → tabs}/Tabs.d.ts +0 -0
  2280. /package/build/types/{components/src/tabs → tabs}/index.d.ts +0 -0
  2281. /package/build/types/{components/src/tabs → tabs}/utils.d.ts +0 -0
  2282. /package/build/types/{components/src/test-utils → test-utils}/fake-data.d.ts +0 -0
  2283. /package/build/types/{components/src/test-utils → test-utils}/index.d.ts +0 -0
  2284. /package/build/types/{components/src/test-utils → test-utils}/jest.setup.d.ts +0 -0
  2285. /package/build/types/{components/src/test-utils → test-utils}/style-mock.d.ts +0 -0
  2286. /package/build/types/{components/src/test-utils → test-utils}/wait.d.ts +0 -0
  2287. /package/build/types/{components/src/test-utils → test-utils}/window-mock.d.ts +0 -0
  2288. /package/build/types/{components/src/textareaWithDisplayFormat → textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
  2289. /package/build/types/{components/src/textareaWithDisplayFormat → textareaWithDisplayFormat}/index.d.ts +0 -0
  2290. /package/build/types/{components/src/tile → tile}/Tile.d.ts +0 -0
  2291. /package/build/types/{components/src/tile → tile}/index.d.ts +0 -0
  2292. /package/build/types/{components/src/title → title}/Title.d.ts +0 -0
  2293. /package/build/types/{components/src/title → title}/index.d.ts +0 -0
  2294. /package/build/types/{components/src/tooltip → tooltip}/Tooltip.d.ts +0 -0
  2295. /package/build/types/{components/src/tooltip → tooltip}/index.d.ts +0 -0
  2296. /package/build/types/{components/src/typeahead → typeahead}/Typeahead.d.ts +0 -0
  2297. /package/build/types/{components/src/typeahead → typeahead}/Typeahead.messages.d.ts +0 -0
  2298. /package/build/types/{components/src/typeahead → typeahead}/index.d.ts +0 -0
  2299. /package/build/types/{components/src/typeahead → typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
  2300. /package/build/types/{components/src/typeahead → typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
  2301. /package/build/types/{components/src/typeahead → typeahead}/util/highlight.d.ts +0 -0
  2302. /package/build/types/{components/src/upload → upload}/Upload.d.ts +0 -0
  2303. /package/build/types/{components/src/upload → upload}/Upload.messages.d.ts +0 -0
  2304. /package/build/types/{components/src/upload → upload}/index.d.ts +0 -0
  2305. /package/build/types/{components/src/upload → upload}/steps/completeStep/completeStep.d.ts +0 -0
  2306. /package/build/types/{components/src/upload → upload}/steps/completeStep/index.d.ts +0 -0
  2307. /package/build/types/{components/src/upload → upload}/steps/index.d.ts +0 -0
  2308. /package/build/types/{components/src/upload → upload}/steps/processingStep/index.d.ts +0 -0
  2309. /package/build/types/{components/src/upload → upload}/steps/processingStep/processingStep.d.ts +0 -0
  2310. /package/build/types/{components/src/upload → upload}/steps/uploadImageStep/index.d.ts +0 -0
  2311. /package/build/types/{components/src/upload → upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
  2312. /package/build/types/{components/src/upload → upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
  2313. /package/build/types/{components/src/upload → upload}/utils/asyncFileRead/index.d.ts +0 -0
  2314. /package/build/types/{components/src/upload → upload}/utils/getFileType/getFileType.d.ts +0 -0
  2315. /package/build/types/{components/src/upload → upload}/utils/getFileType/index.d.ts +0 -0
  2316. /package/build/types/{components/src/upload → upload}/utils/index.d.ts +0 -0
  2317. /package/build/types/{components/src/upload → upload}/utils/isSizeValid/index.d.ts +0 -0
  2318. /package/build/types/{components/src/upload → upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
  2319. /package/build/types/{components/src/upload → upload}/utils/isTypeValid/index.d.ts +0 -0
  2320. /package/build/types/{components/src/upload → upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
  2321. /package/build/types/{components/src/upload → upload}/utils/postData/index.d.ts +0 -0
  2322. /package/build/types/{components/src/upload → upload}/utils/postData/postData.d.ts +0 -0
  2323. /package/build/types/{components/src/uploadInput → uploadInput}/UploadInput.d.ts +0 -0
  2324. /package/build/types/{components/src/uploadInput → uploadInput}/UploadInput.messages.d.ts +0 -0
  2325. /package/build/types/{components/src/uploadInput → uploadInput}/index.d.ts +0 -0
  2326. /package/build/types/{components/src/uploadInput → uploadInput}/types.d.ts +0 -0
  2327. /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/UploadButton.d.ts +0 -0
  2328. /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
  2329. /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/defaults.d.ts +0 -0
  2330. /package/build/types/{components/src/uploadInput → uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
  2331. /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItem.d.ts +0 -0
  2332. /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
  2333. /package/build/types/{components/src/uploadInput → uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
  2334. /package/build/types/{components/src/utilities → utilities}/cssValueWithUnit.d.ts +0 -0
  2335. /package/build/types/{components/src/utilities → utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
  2336. /package/build/types/{components/src/utilities → utilities}/deprecatedProperty/index.d.ts +0 -0
  2337. /package/build/types/{components/src/utilities → utilities}/index.d.ts +0 -0
  2338. /package/build/types/{components/src/utilities → utilities}/logActionRequired.d.ts +0 -0
  2339. /package/build/types/{components/src/utils.d.ts → utils.d.ts} +0 -0
  2340. /package/build/types/{components/src/withDisplayFormat → withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
  2341. /package/build/types/{components/src/withDisplayFormat → withDisplayFormat}/index.d.ts +0 -0
  2342. /package/build/types/{components/src/withId → withId}/index.d.ts +0 -0
  2343. /package/build/types/{components/src/withId → withId}/story/source.d.ts +0 -0
  2344. /package/build/types/{components/src/withId → withId}/withId.d.ts +0 -0
  2345. /package/build/types/{components/src/withNextPortal → withNextPortal}/withNextPortal.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButton.mjs","sources":["../../../src/common/RadioButton/RadioButton.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nexport interface RadioButtonProps<T extends string | number = string> {\n id?: string;\n name: string;\n checked?: boolean;\n onChange?: (value: T) => void;\n disabled?: boolean;\n value?: T;\n readOnly?: boolean;\n className?: string;\n 'aria-describedby'?: string;\n}\n\nexport default function RadioButton<T extends string | number = ''>({\n id,\n value = '' as T,\n name,\n checked,\n onChange,\n disabled,\n readOnly,\n className,\n 'aria-describedby': ariaDescribedBy,\n}: RadioButtonProps<T>) {\n return (\n <>\n <input\n type=\"radio\"\n className={clsx('sr-only', className)}\n id={id}\n value={value}\n name={name}\n checked={checked}\n disabled={disabled || readOnly}\n aria-describedby={ariaDescribedBy}\n onChange={() => {\n if (!checked) {\n onChange?.(value);\n }\n }}\n />\n <span className={clsx('tw-radio-button', { checked, disabled: disabled || readOnly })}>\n <span className=\"tw-radio-check\" />\n </span>\n </>\n );\n}\n"],"names":["RadioButton","id","value","name","checked","onChange","disabled","readOnly","className","ariaDescribedBy","_jsxs","_Fragment","children","_jsx","type","clsx"],"mappings":";;;AAce,SAASA,WAAWA,CAAiC;EAClEC,EAAE;AACFC,EAAAA,KAAK,GAAG,EAAO;EACfC,IAAI;EACJC,OAAO;EACPC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,SAAS;AACT,EAAA,kBAAkB,EAAEC;AACD,CAAC,EAAE;EACtB,oBACEC,IAAA,CAAAC,QAAA,EAAA;AAAAC,IAAAA,QAAA,gBACEC,GAAA,CAAA,OAAA,EAAA;AACEC,MAAAA,IAAI,EAAC,OAAO;AACZN,MAAAA,SAAS,EAAEO,IAAI,CAAC,SAAS,EAAEP,SAAS,CAAE;AACtCP,MAAAA,EAAE,EAAEA,EAAG;AACPC,MAAAA,KAAK,EAAEA,KAAM;AACbC,MAAAA,IAAI,EAAEA,IAAK;AACXC,MAAAA,OAAO,EAAEA,OAAQ;MACjBE,QAAQ,EAAEA,QAAQ,IAAIC,QAAS;AAC/B,MAAA,kBAAA,EAAkBE,eAAgB;MAClCJ,QAAQ,EAAEA,MAAM;QACd,IAAI,CAACD,OAAO,EAAE;UACZC,QAAQ,GAAGH,KAAK,CAAC;AACnB,QAAA;AACF,MAAA;KACD,CAAC,eACFW,GAAA,CAAA,MAAA,EAAA;AAAML,MAAAA,SAAS,EAAEO,IAAI,CAAC,iBAAiB,EAAE;QAAEX,OAAO;QAAEE,QAAQ,EAAEA,QAAQ,IAAIC;AAAS,OAAC,CAAE;AAAAK,MAAAA,QAAA,eACpFC,GAAA,CAAA,MAAA,EAAA;AAAML,QAAAA,SAAS,EAAC;OAAkB;AAAC,KAC/B,CAAC;AAAA,GACP,CAAC;AAEP;;;;"}
1
+ {"version":3,"file":"RadioButton.mjs","sources":["../../../src/common/RadioButton/RadioButton.tsx"],"sourcesContent":["import { clsx } from 'clsx';\n\nexport interface RadioButtonProps<T extends string | number = string> {\n id?: string;\n name: string;\n checked?: boolean;\n onChange?: (value: T) => void;\n disabled?: boolean;\n value?: T;\n readOnly?: boolean;\n className?: string;\n 'aria-describedby'?: string;\n}\n\nexport default function RadioButton<T extends string | number = ''>({\n id,\n value = '' as T,\n name,\n checked,\n onChange,\n disabled,\n readOnly,\n className,\n 'aria-describedby': ariaDescribedBy,\n}: RadioButtonProps<T>) {\n return (\n <>\n <input\n type=\"radio\"\n className={clsx('sr-only', className)}\n id={id}\n value={value}\n name={name}\n checked={checked}\n disabled={disabled || readOnly}\n aria-describedby={ariaDescribedBy}\n onChange={() => {\n if (!checked) {\n onChange?.(value);\n }\n }}\n />\n <span className={clsx('tw-radio-button', { checked, disabled: disabled || readOnly })}>\n <span className=\"tw-radio-check\" />\n </span>\n </>\n );\n}\n"],"names":["RadioButton","id","value","name","checked","onChange","disabled","readOnly","className","ariaDescribedBy","_jsxs","_Fragment","children","_jsx","type","clsx"],"mappings":";;;AAcc,SAAUA,WAAWA,CAAiC;EAClEC,EAAE;AACFC,EAAAA,KAAK,GAAG,EAAO;EACfC,IAAI;EACJC,OAAO;EACPC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,SAAS;AACT,EAAA,kBAAkB,EAAEC;AAAe,CACf,EAAA;EACpB,oBACEC,IAAA,CAAAC,QAAA,EAAA;AAAAC,IAAAA,QAAA,gBACEC,GAAA,CAAA,OAAA,EAAA;AACEC,MAAAA,IAAI,EAAC,OAAO;AACZN,MAAAA,SAAS,EAAEO,IAAI,CAAC,SAAS,EAAEP,SAAS,CAAE;AACtCP,MAAAA,EAAE,EAAEA,EAAG;AACPC,MAAAA,KAAK,EAAEA,KAAM;AACbC,MAAAA,IAAI,EAAEA,IAAK;AACXC,MAAAA,OAAO,EAAEA,OAAQ;MACjBE,QAAQ,EAAEA,QAAQ,IAAIC,QAAS;AAC/B,MAAA,kBAAA,EAAkBE,eAAgB;MAClCJ,QAAQ,EAAEA,MAAK;QACb,IAAI,CAACD,OAAO,EAAE;UACZC,QAAQ,GAAGH,KAAK,CAAC;AACnB,QAAA;AACF,MAAA;KAAE,CAEJ,eAAAW,GAAA,CAAA,MAAA,EAAA;AAAML,MAAAA,SAAS,EAAEO,IAAI,CAAC,iBAAiB,EAAE;QAAEX,OAAO;QAAEE,QAAQ,EAAEA,QAAQ,IAAIC;AAAQ,OAAE,CAAE;AAAAK,MAAAA,QAAA,eACpFC,GAAA,CAAA,MAAA,EAAA;AAAML,QAAAA,SAAS,EAAC;OAAgB;AAClC,KAAM,CACR;AAAA,GAAA,CAAG;AAEP;;;;"}
@@ -34,14 +34,12 @@ const BottomSheet = ({
34
34
  const topBarReference = React.useRef(null);
35
35
  const contentReference = React.useRef(null);
36
36
  const [pressed, setPressed] = React.useState(false);
37
-
38
37
  /**
39
38
  * Used to track `requestAnimationFrame` requests
40
39
  *
41
40
  * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#return_value
42
41
  */
43
42
  const animationId = React.useRef(0);
44
-
45
43
  /**
46
44
  * Difference between initial coordinate ({@link initialYCoordinate})
47
45
  * and new position (when user moves component), it's get calculated on `onTouchMove` and `onMouseMove` events
@@ -50,7 +48,6 @@ const BottomSheet = ({
50
48
  */
51
49
  const moveOffset = React.useRef(0);
52
50
  const initialYCoordinate = React.useRef(0);
53
-
54
51
  // apply shadow to the bottom of top-bar when scroll over content
55
52
  useConditionalListener.useConditionalListener({
56
53
  attachListener: props.open && !documentIosClick.isServerSide(),
@@ -123,7 +120,6 @@ const BottomSheet = ({
123
120
  function isContentScrollPositionAtTop() {
124
121
  return contentReference?.current?.scrollTop !== undefined && contentReference.current.scrollTop <= CONTENT_SCROLL_THRESHOLD;
125
122
  }
126
-
127
123
  /**
128
124
  * Calculates how hard user moves component,
129
125
  * result value used to determine whether to hide component or re-position to default state
@@ -133,7 +129,6 @@ const BottomSheet = ({
133
129
  function calculateOffsetAfterMove(afterMoveYCoordinate) {
134
130
  return afterMoveYCoordinate - initialYCoordinate.current;
135
131
  }
136
-
137
132
  /**
138
133
  * Set `max-height` for content part (in order to keep it scrollable for content overflow cases) of the component
139
134
  * and ensures space for safe zone (32px) at the top.
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.js","sources":["../../../src/common/bottomSheet/BottomSheet.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport {\n CSSProperties,\n HTMLAttributes,\n PropsWithChildren,\n SyntheticEvent,\n useContext,\n useRef,\n useState,\n} from 'react';\n\nimport Dimmer from '../../dimmer';\nimport Drawer from '../../drawer';\nimport { OverlayIdContext } from '../../provider/overlay/OverlayIdProvider';\nimport SlidingPanel from '../../slidingPanel';\nimport { CloseButton } from '../closeButton';\nimport { CommonProps } from '../commonProps';\nimport { isServerSide } from '../domHelpers';\nimport { useConditionalListener } from '../hooks';\nimport { useMedia } from '../hooks/useMedia';\nimport { Breakpoint } from '../propsValues/breakpoint';\nimport { Position } from '../propsValues/position';\n\nconst INITIAL_Y_POSITION = 0;\n\nconst CONTENT_SCROLL_THRESHOLD = 1;\n\nconst MOVE_OFFSET_THRESHOLD = 50;\n\nexport type BottomSheetProps = PropsWithChildren<\n {\n onClose?: (event: Event | SyntheticEvent) => void;\n open: boolean;\n } & CommonProps &\n Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-labelledby' | 'aria-label'>\n>;\n\n/**\n * Neptune: https://transferwise.github.io/neptune/components/bottom-sheet/\n *\n * Neptune Web: https://transferwise.github.io/neptune-web/components/overlays/BottomSheet\n *\n */\nconst BottomSheet = ({ role = 'dialog', ...props }: BottomSheetProps) => {\n const bottomSheetReference = useRef<HTMLDivElement>(null);\n const topBarReference = useRef<HTMLDivElement>(null);\n const contentReference = useRef<HTMLDivElement>(null);\n\n const [pressed, setPressed] = useState<boolean>(false);\n\n /**\n * Used to track `requestAnimationFrame` requests\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#return_value\n */\n const animationId = useRef<number>(0);\n\n /**\n * Difference between initial coordinate ({@link initialYCoordinate})\n * and new position (when user moves component), it's get calculated on `onTouchMove` and `onMouseMove` events\n *\n * @see {@link calculateOffsetAfterMove}\n */\n const moveOffset = useRef<number>(0);\n const initialYCoordinate = useRef<number>(0);\n\n // apply shadow to the bottom of top-bar when scroll over content\n useConditionalListener({\n attachListener: props.open && !isServerSide(),\n callback: () => {\n if (topBarReference.current !== null) {\n const { classList } = topBarReference.current;\n if (!isContentScrollPositionAtTop()) {\n classList.add('np-bottom-sheet--top-bar--shadow');\n } else {\n classList.remove('np-bottom-sheet--top-bar--shadow');\n }\n }\n },\n eventType: 'scroll',\n parent: isServerSide() ? undefined : document,\n });\n\n function move(newHeight: number): void {\n if (bottomSheetReference.current !== null) {\n bottomSheetReference.current.style.transform = `translateY(${newHeight}px)`;\n }\n }\n\n function close(event: Event | SyntheticEvent): void {\n setPressed(false);\n moveOffset.current = INITIAL_Y_POSITION;\n if (bottomSheetReference.current !== null) {\n bottomSheetReference.current.style.removeProperty('transform');\n }\n if (props.onClose) {\n props.onClose(event);\n }\n }\n\n const onSwipeStart = (\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void => {\n initialYCoordinate.current = ('touches' in event ? event.touches[0] : event).clientY;\n setPressed(true);\n };\n\n const onSwipeMove = (\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void => {\n if (pressed) {\n const { clientY } = 'touches' in event ? event.touches[0] : event;\n\n const offset = calculateOffsetAfterMove(clientY);\n // check whether move is to the bottom only and content scroll position is at the top\n if (offset > INITIAL_Y_POSITION && isContentScrollPositionAtTop()) {\n moveOffset.current = offset;\n animationId.current = requestAnimationFrame(() => {\n if (animationId.current !== undefined && bottomSheetReference.current !== null) {\n move(offset);\n }\n });\n }\n }\n };\n\n function onSwipeEnd(\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void {\n // stop moving component\n cancelAnimationFrame(animationId.current);\n setPressed(false);\n // check whether move down is strong enough\n // and content scroll position is at the top to close the component\n if (moveOffset.current > MOVE_OFFSET_THRESHOLD && isContentScrollPositionAtTop()) {\n close(event);\n }\n // otherwise move component back to default (initial) position\n else {\n move(INITIAL_Y_POSITION);\n }\n moveOffset.current = INITIAL_Y_POSITION;\n }\n\n function isContentScrollPositionAtTop(): boolean {\n return (\n contentReference?.current?.scrollTop !== undefined &&\n contentReference.current.scrollTop <= CONTENT_SCROLL_THRESHOLD\n );\n }\n\n /**\n * Calculates how hard user moves component,\n * result value used to determine whether to hide component or re-position to default state\n *\n * @param afterMoveYCoordinate\n */\n function calculateOffsetAfterMove(afterMoveYCoordinate: number): number {\n return afterMoveYCoordinate - initialYCoordinate.current;\n }\n\n /**\n * Set `max-height` for content part (in order to keep it scrollable for content overflow cases) of the component\n * and ensures space for safe zone (32px) at the top.\n */\n function setContentMaxHeight(): CSSProperties {\n const safeZoneHeight = '64px';\n const topbarHeight = '32px';\n const windowHight: number = isServerSide() ? 0 : window.innerHeight;\n /**\n * Calculate _real_ height of the screen (taking into account parts of browser interface).\n *\n * See https://css-tricks.com/the-trick-to-viewport-units-on-mobile for more details.\n */\n const screenHeight = `${windowHight * 0.01 * 100}px`;\n return {\n maxHeight: `calc(${screenHeight} - ${safeZoneHeight} - ${topbarHeight})`,\n };\n }\n\n const is400Zoom = useMedia(`(max-width: ${Breakpoint.ZOOM_400}px)`);\n\n const overlayId = useContext(OverlayIdContext);\n\n return is400Zoom ? (\n <Drawer\n aria-labelledby={props['aria-labelledby']}\n aria-label={props['aria-label']}\n role={role}\n open={props.open}\n className={props.className}\n onClose={close}\n >\n {props.children}\n </Drawer>\n ) : (\n <Dimmer open={props.open} fadeContentOnEnter fadeContentOnExit onClose={close}>\n <SlidingPanel\n ref={bottomSheetReference}\n open={props.open}\n position={Position.BOTTOM}\n className={clsx('np-bottom-sheet', props.className)}\n >\n <div\n id={overlayId}\n aria-labelledby={props['aria-labelledby'] || undefined}\n aria-label={props['aria-label'] || undefined}\n role={role}\n aria-modal\n onTouchStart={onSwipeStart}\n onTouchMove={onSwipeMove}\n onTouchEnd={onSwipeEnd}\n onMouseDown={onSwipeStart}\n onMouseMove={onSwipeMove}\n onMouseUp={onSwipeEnd}\n >\n <div ref={topBarReference} className=\"np-bottom-sheet--top-bar\">\n <div className=\"np-bottom-sheet--handler\" />\n <CloseButton size=\"sm\" className=\"sr-only np-bottom-sheet--close-btn\" onClick={close} />\n </div>\n <div\n ref={contentReference}\n style={setContentMaxHeight()}\n className=\"np-bottom-sheet--content\"\n >\n {props.children}\n </div>\n </div>\n </SlidingPanel>\n </Dimmer>\n );\n};\n\nexport default BottomSheet;\n"],"names":["INITIAL_Y_POSITION","CONTENT_SCROLL_THRESHOLD","MOVE_OFFSET_THRESHOLD","BottomSheet","role","props","bottomSheetReference","useRef","topBarReference","contentReference","pressed","setPressed","useState","animationId","moveOffset","initialYCoordinate","useConditionalListener","attachListener","open","isServerSide","callback","current","classList","isContentScrollPositionAtTop","add","remove","eventType","parent","undefined","document","move","newHeight","style","transform","close","event","removeProperty","onClose","onSwipeStart","touches","clientY","onSwipeMove","offset","calculateOffsetAfterMove","requestAnimationFrame","onSwipeEnd","cancelAnimationFrame","scrollTop","afterMoveYCoordinate","setContentMaxHeight","safeZoneHeight","topbarHeight","windowHight","window","innerHeight","screenHeight","maxHeight","is400Zoom","useMedia","Breakpoint","ZOOM_400","overlayId","useContext","OverlayIdContext","_jsx","Drawer","className","children","Dimmer","fadeContentOnEnter","fadeContentOnExit","SlidingPanel","ref","position","Position","BOTTOM","clsx","_jsxs","id","onTouchStart","onTouchMove","onTouchEnd","onMouseDown","onMouseMove","onMouseUp","CloseButton","size","onClick"],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,MAAMA,kBAAkB,GAAG,CAAC;AAE5B,MAAMC,wBAAwB,GAAG,CAAC;AAElC,MAAMC,qBAAqB,GAAG,EAAE;AAUhC;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,WAAW,GAAGA,CAAC;AAAEC,EAAAA,IAAI,GAAG,QAAQ;EAAE,GAAGC;AAAwB,CAAC,KAAK;AACvE,EAAA,MAAMC,oBAAoB,GAAGC,YAAM,CAAiB,IAAI,CAAC;AACzD,EAAA,MAAMC,eAAe,GAAGD,YAAM,CAAiB,IAAI,CAAC;AACpD,EAAA,MA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EAAA;AAAKL,UAAAA,GAAG,EAAEhE,eAAgB;AAAC0D,UAAAA,SAAS,EAAC,0BAA0B;AAAAC,UAAAA,QAAA,gBAC7DH,cAAA,CAAA,KAAA,EAAA;AAAKE,YAAAA,SAAS,EAAC;AAA0B,WAAE,CAAC,eAC5CF,cAAA,CAACqB,uBAAW,EAAA;AAACC,YAAAA,IAAI,EAAC,IAAI;AAACpB,YAAAA,SAAS,EAAC,oCAAoC;AAACqB,YAAAA,OAAO,EAAErD;AAAM,WAAE,CAAC;SACrF,CAAC,eACN8B,cAAA,CAAA,KAAA,EAAA;AACEQ,UAAAA,GAAG,EAAE/D,gBAAiB;UACtBuB,KAAK,EAAEiB,mBAAmB,EAAG;AAC7BiB,UAAAA,SAAS,EAAC,0BAA0B;UAAAC,QAAA,EAEnC9D,KAAK,CAAC8D;AAAQ,SACZ,CAAC;OACH;KACO;AAAC,GACT,CACT;AACH;;;;"}
1
+ {"version":3,"file":"BottomSheet.js","sources":["../../../src/common/bottomSheet/BottomSheet.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport {\n CSSProperties,\n HTMLAttributes,\n PropsWithChildren,\n SyntheticEvent,\n useContext,\n useRef,\n useState,\n} from 'react';\n\nimport Dimmer from '../../dimmer';\nimport Drawer from '../../drawer';\nimport { OverlayIdContext } from '../../provider/overlay/OverlayIdProvider';\nimport SlidingPanel from '../../slidingPanel';\nimport { CloseButton } from '../closeButton';\nimport { CommonProps } from '../commonProps';\nimport { isServerSide } from '../domHelpers';\nimport { useConditionalListener } from '../hooks';\nimport { useMedia } from '../hooks/useMedia';\nimport { Breakpoint } from '../propsValues/breakpoint';\nimport { Position } from '../propsValues/position';\n\nconst INITIAL_Y_POSITION = 0;\n\nconst CONTENT_SCROLL_THRESHOLD = 1;\n\nconst MOVE_OFFSET_THRESHOLD = 50;\n\nexport type BottomSheetProps = PropsWithChildren<\n {\n onClose?: (event: Event | SyntheticEvent) => void;\n open: boolean;\n } & CommonProps &\n Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-labelledby' | 'aria-label'>\n>;\n\n/**\n * Neptune: https://transferwise.github.io/neptune/components/bottom-sheet/\n *\n * Neptune Web: https://transferwise.github.io/neptune-web/components/overlays/BottomSheet\n *\n */\nconst BottomSheet = ({ role = 'dialog', ...props }: BottomSheetProps) => {\n const bottomSheetReference = useRef<HTMLDivElement>(null);\n const topBarReference = useRef<HTMLDivElement>(null);\n const contentReference = useRef<HTMLDivElement>(null);\n\n const [pressed, setPressed] = useState<boolean>(false);\n\n /**\n * Used to track `requestAnimationFrame` requests\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#return_value\n */\n const animationId = useRef<number>(0);\n\n /**\n * Difference between initial coordinate ({@link initialYCoordinate})\n * and new position (when user moves component), it's get calculated on `onTouchMove` and `onMouseMove` events\n *\n * @see {@link calculateOffsetAfterMove}\n */\n const moveOffset = useRef<number>(0);\n const initialYCoordinate = useRef<number>(0);\n\n // apply shadow to the bottom of top-bar when scroll over content\n useConditionalListener({\n attachListener: props.open && !isServerSide(),\n callback: () => {\n if (topBarReference.current !== null) {\n const { classList } = topBarReference.current;\n if (!isContentScrollPositionAtTop()) {\n classList.add('np-bottom-sheet--top-bar--shadow');\n } else {\n classList.remove('np-bottom-sheet--top-bar--shadow');\n }\n }\n },\n eventType: 'scroll',\n parent: isServerSide() ? undefined : document,\n });\n\n function move(newHeight: number): void {\n if (bottomSheetReference.current !== null) {\n bottomSheetReference.current.style.transform = `translateY(${newHeight}px)`;\n }\n }\n\n function close(event: Event | SyntheticEvent): void {\n setPressed(false);\n moveOffset.current = INITIAL_Y_POSITION;\n if (bottomSheetReference.current !== null) {\n bottomSheetReference.current.style.removeProperty('transform');\n }\n if (props.onClose) {\n props.onClose(event);\n }\n }\n\n const onSwipeStart = (\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void => {\n initialYCoordinate.current = ('touches' in event ? event.touches[0] : event).clientY;\n setPressed(true);\n };\n\n const onSwipeMove = (\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void => {\n if (pressed) {\n const { clientY } = 'touches' in event ? event.touches[0] : event;\n\n const offset = calculateOffsetAfterMove(clientY);\n // check whether move is to the bottom only and content scroll position is at the top\n if (offset > INITIAL_Y_POSITION && isContentScrollPositionAtTop()) {\n moveOffset.current = offset;\n animationId.current = requestAnimationFrame(() => {\n if (animationId.current !== undefined && bottomSheetReference.current !== null) {\n move(offset);\n }\n });\n }\n }\n };\n\n function onSwipeEnd(\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void {\n // stop moving component\n cancelAnimationFrame(animationId.current);\n setPressed(false);\n // check whether move down is strong enough\n // and content scroll position is at the top to close the component\n if (moveOffset.current > MOVE_OFFSET_THRESHOLD && isContentScrollPositionAtTop()) {\n close(event);\n }\n // otherwise move component back to default (initial) position\n else {\n move(INITIAL_Y_POSITION);\n }\n moveOffset.current = INITIAL_Y_POSITION;\n }\n\n function isContentScrollPositionAtTop(): boolean {\n return (\n contentReference?.current?.scrollTop !== undefined &&\n contentReference.current.scrollTop <= CONTENT_SCROLL_THRESHOLD\n );\n }\n\n /**\n * Calculates how hard user moves component,\n * result value used to determine whether to hide component or re-position to default state\n *\n * @param afterMoveYCoordinate\n */\n function calculateOffsetAfterMove(afterMoveYCoordinate: number): number {\n return afterMoveYCoordinate - initialYCoordinate.current;\n }\n\n /**\n * Set `max-height` for content part (in order to keep it scrollable for content overflow cases) of the component\n * and ensures space for safe zone (32px) at the top.\n */\n function setContentMaxHeight(): CSSProperties {\n const safeZoneHeight = '64px';\n const topbarHeight = '32px';\n const windowHight: number = isServerSide() ? 0 : window.innerHeight;\n /**\n * Calculate _real_ height of the screen (taking into account parts of browser interface).\n *\n * See https://css-tricks.com/the-trick-to-viewport-units-on-mobile for more details.\n */\n const screenHeight = `${windowHight * 0.01 * 100}px`;\n return {\n maxHeight: `calc(${screenHeight} - ${safeZoneHeight} - ${topbarHeight})`,\n };\n }\n\n const is400Zoom = useMedia(`(max-width: ${Breakpoint.ZOOM_400}px)`);\n\n const overlayId = useContext(OverlayIdContext);\n\n return is400Zoom ? (\n <Drawer\n aria-labelledby={props['aria-labelledby']}\n aria-label={props['aria-label']}\n role={role}\n open={props.open}\n className={props.className}\n onClose={close}\n >\n {props.children}\n </Drawer>\n ) : (\n <Dimmer open={props.open} fadeContentOnEnter fadeContentOnExit onClose={close}>\n <SlidingPanel\n ref={bottomSheetReference}\n open={props.open}\n position={Position.BOTTOM}\n className={clsx('np-bottom-sheet', props.className)}\n >\n <div\n id={overlayId}\n aria-labelledby={props['aria-labelledby'] || undefined}\n aria-label={props['aria-label'] || undefined}\n role={role}\n aria-modal\n onTouchStart={onSwipeStart}\n onTouchMove={onSwipeMove}\n onTouchEnd={onSwipeEnd}\n onMouseDown={onSwipeStart}\n onMouseMove={onSwipeMove}\n onMouseUp={onSwipeEnd}\n >\n <div ref={topBarReference} className=\"np-bottom-sheet--top-bar\">\n <div className=\"np-bottom-sheet--handler\" />\n <CloseButton size=\"sm\" className=\"sr-only np-bottom-sheet--close-btn\" onClick={close} />\n </div>\n <div\n ref={contentReference}\n style={setContentMaxHeight()}\n className=\"np-bottom-sheet--content\"\n >\n {props.children}\n </div>\n </div>\n </SlidingPanel>\n </Dimmer>\n );\n};\n\nexport default BottomSheet;\n"],"names":["INITIAL_Y_POSITION","CONTENT_SCROLL_THRESHOLD","MOVE_OFFSET_THRESHOLD","BottomSheet","role","props","bottomSheetReference","useRef","topBarReference","contentReference","pressed","setPressed","useState","animationId","moveOffset","initialYCoordinate","useConditionalListener","attachListener","open","isServerSide","callback","current","classList","isContentScrollPositionAtTop","add","remove","eventType","parent","undefined","document","move","newHeight","style","transform","close","event","removeProperty","onClose","onSwipeStart","touches","clientY","onSwipeMove","offset","calculateOffsetAfterMove","requestAnimationFrame","onSwipeEnd","cancelAnimationFrame","scrollTop","afterMoveYCoordinate","setContentMaxHeight","safeZoneHeight","topbarHeight","windowHight","window","innerHeight","screenHeight","maxHeight","is400Zoom","useMedia","Breakpoint","ZOOM_400","overlayId","useContext","OverlayIdContext","_jsx","Drawer","className","children","Dimmer","fadeContentOnEnter","fadeContentOnExit","SlidingPanel","ref","position","Position","BOTTOM","clsx","_jsxs","id","onTouchStart","onTouchMove","onTouchEnd","onMouseDown","onMouseMove","onMouseUp","CloseButton","size","onClick"],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,MAAMA,kBAAkB,GAAG,CAAC;AAE5B,MAAMC,wBAAwB,GAAG,CAAC;AAElC,MAAMC,qBAAqB,GAAG,EAAE;AAUhC;;;;;AAKG;AACH,MAAMC,WAAW,GAAGA,CAAC;AAAEC,EAAAA,IAAI,GAAG,QAAQ;EAAE,GAAGC;AAAK,CAAoB,KAAI;AACtE,EAAA,MAAMC,oBAAoB,GAAGC,YAAM,CAAiB,IAAI,CAAC;AACzD,EAAA,MAAMC,eAAe,GAAGD,YAAM,CAAiB,IAAI,CAAC;AACpD,EAAA,MAAME,gBAAgB,GAAGF,YAAM,CAAiB,IAAI,CAAC;EAErD,MAAM,CAACG,OAAO,EAAEC,UAAU,CAAC,GAAGC,cAAQ,CAAU,KAAK,CAAC;AAEtD;;;;AAIG;AACH,EAAA,MAAMC,WAAW,GAAGN,YAAM,CAAS,CAAC,CAAC;AAErC;;;;;AAKG;AACH,EAAA,MAAMO,UAAU,GAAGP,YAAM,CAAS,CAAC,CAAC;AACpC,EAAA,MAAMQ,kBAAkB,GAAGR,YAAM,CAAS,CAAC,CAAC;AAE5C;AACAS,EAAAA,6CAAsB,CAAC;IACrBC,cAAc,EAAEZ,KAAK,CAACa,IAAI,IAAI,CAACC,6BAAY,EAAE;IAC7CC,QAAQ,EAAEA,MAAK;AACb,MAAA,IAAIZ,eAAe,CAACa,OAAO,KAAK,IAAI,EAAE;QACpC,MAAM;AAAEC,UAAAA;SAAW,GAAGd,eAAe,CAACa,OAAO;AAC7C,QAAA,IAAI,CAACE,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
32
32
  const [pressed, setPressed] = useState(false);
33
-
34
33
  /**
35
34
  * Used to track `requestAnimationFrame` requests
36
35
  *
37
36
  * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#return_value
38
37
  */
39
38
  const animationId = useRef(0);
40
-
41
39
  /**
42
40
  * Difference between initial coordinate ({@link initialYCoordinate})
43
41
  * and new position (when user moves component), it's get calculated on `onTouchMove` and `onMouseMove` events
@@ -46,7 +44,6 @@ const BottomSheet = ({
46
44
  */
47
45
  const moveOffset = useRef(0);
48
46
  const initialYCoordinate = useRef(0);
49
-
50
47
  // apply shadow to the bottom of top-bar when scroll over content
51
48
  useConditionalListener({
52
49
  attachListener: props.open && !isServerSide(),
@@ -119,7 +116,6 @@ const BottomSheet = ({
119
116
  function isContentScrollPositionAtTop() {
120
117
  return contentReference?.current?.scrollTop !== undefined && contentReference.current.scrollTop <= CONTENT_SCROLL_THRESHOLD;
121
118
  }
122
-
123
119
  /**
124
120
  * Calculates how hard user moves component,
125
121
  * result value used to determine whether to hide component or re-position to default state
@@ -129,7 +125,6 @@ const BottomSheet = ({
129
125
  function calculateOffsetAfterMove(afterMoveYCoordinate) {
130
126
  return afterMoveYCoordinate - initialYCoordinate.current;
131
127
  }
132
-
133
128
  /**
134
129
  * Set `max-height` for content part (in order to keep it scrollable for content overflow cases) of the component
135
130
  * and ensures space for safe zone (32px) at the top.
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheet.mjs","sources":["../../../src/common/bottomSheet/BottomSheet.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport {\n CSSProperties,\n HTMLAttributes,\n PropsWithChildren,\n SyntheticEvent,\n useContext,\n useRef,\n useState,\n} from 'react';\n\nimport Dimmer from '../../dimmer';\nimport Drawer from '../../drawer';\nimport { OverlayIdContext } from '../../provider/overlay/OverlayIdProvider';\nimport SlidingPanel from '../../slidingPanel';\nimport { CloseButton } from '../closeButton';\nimport { CommonProps } from '../commonProps';\nimport { isServerSide } from '../domHelpers';\nimport { useConditionalListener } from '../hooks';\nimport { useMedia } from '../hooks/useMedia';\nimport { Breakpoint } from '../propsValues/breakpoint';\nimport { Position } from '../propsValues/position';\n\nconst INITIAL_Y_POSITION = 0;\n\nconst CONTENT_SCROLL_THRESHOLD = 1;\n\nconst MOVE_OFFSET_THRESHOLD = 50;\n\nexport type BottomSheetProps = PropsWithChildren<\n {\n onClose?: (event: Event | SyntheticEvent) => void;\n open: boolean;\n } & CommonProps &\n Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-labelledby' | 'aria-label'>\n>;\n\n/**\n * Neptune: https://transferwise.github.io/neptune/components/bottom-sheet/\n *\n * Neptune Web: https://transferwise.github.io/neptune-web/components/overlays/BottomSheet\n *\n */\nconst BottomSheet = ({ role = 'dialog', ...props }: BottomSheetProps) => {\n const bottomSheetReference = useRef<HTMLDivElement>(null);\n const topBarReference = useRef<HTMLDivElement>(null);\n const contentReference = useRef<HTMLDivElement>(null);\n\n const [pressed, setPressed] = useState<boolean>(false);\n\n /**\n * Used to track `requestAnimationFrame` requests\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#return_value\n */\n const animationId = useRef<number>(0);\n\n /**\n * Difference between initial coordinate ({@link initialYCoordinate})\n * and new position (when user moves component), it's get calculated on `onTouchMove` and `onMouseMove` events\n *\n * @see {@link calculateOffsetAfterMove}\n */\n const moveOffset = useRef<number>(0);\n const initialYCoordinate = useRef<number>(0);\n\n // apply shadow to the bottom of top-bar when scroll over content\n useConditionalListener({\n attachListener: props.open && !isServerSide(),\n callback: () => {\n if (topBarReference.current !== null) {\n const { classList } = topBarReference.current;\n if (!isContentScrollPositionAtTop()) {\n classList.add('np-bottom-sheet--top-bar--shadow');\n } else {\n classList.remove('np-bottom-sheet--top-bar--shadow');\n }\n }\n },\n eventType: 'scroll',\n parent: isServerSide() ? undefined : document,\n });\n\n function move(newHeight: number): void {\n if (bottomSheetReference.current !== null) {\n bottomSheetReference.current.style.transform = `translateY(${newHeight}px)`;\n }\n }\n\n function close(event: Event | SyntheticEvent): void {\n setPressed(false);\n moveOffset.current = INITIAL_Y_POSITION;\n if (bottomSheetReference.current !== null) {\n bottomSheetReference.current.style.removeProperty('transform');\n }\n if (props.onClose) {\n props.onClose(event);\n }\n }\n\n const onSwipeStart = (\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void => {\n initialYCoordinate.current = ('touches' in event ? event.touches[0] : event).clientY;\n setPressed(true);\n };\n\n const onSwipeMove = (\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void => {\n if (pressed) {\n const { clientY } = 'touches' in event ? event.touches[0] : event;\n\n const offset = calculateOffsetAfterMove(clientY);\n // check whether move is to the bottom only and content scroll position is at the top\n if (offset > INITIAL_Y_POSITION && isContentScrollPositionAtTop()) {\n moveOffset.current = offset;\n animationId.current = requestAnimationFrame(() => {\n if (animationId.current !== undefined && bottomSheetReference.current !== null) {\n move(offset);\n }\n });\n }\n }\n };\n\n function onSwipeEnd(\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void {\n // stop moving component\n cancelAnimationFrame(animationId.current);\n setPressed(false);\n // check whether move down is strong enough\n // and content scroll position is at the top to close the component\n if (moveOffset.current > MOVE_OFFSET_THRESHOLD && isContentScrollPositionAtTop()) {\n close(event);\n }\n // otherwise move component back to default (initial) position\n else {\n move(INITIAL_Y_POSITION);\n }\n moveOffset.current = INITIAL_Y_POSITION;\n }\n\n function isContentScrollPositionAtTop(): boolean {\n return (\n contentReference?.current?.scrollTop !== undefined &&\n contentReference.current.scrollTop <= CONTENT_SCROLL_THRESHOLD\n );\n }\n\n /**\n * Calculates how hard user moves component,\n * result value used to determine whether to hide component or re-position to default state\n *\n * @param afterMoveYCoordinate\n */\n function calculateOffsetAfterMove(afterMoveYCoordinate: number): number {\n return afterMoveYCoordinate - initialYCoordinate.current;\n }\n\n /**\n * Set `max-height` for content part (in order to keep it scrollable for content overflow cases) of the component\n * and ensures space for safe zone (32px) at the top.\n */\n function setContentMaxHeight(): CSSProperties {\n const safeZoneHeight = '64px';\n const topbarHeight = '32px';\n const windowHight: number = isServerSide() ? 0 : window.innerHeight;\n /**\n * Calculate _real_ height of the screen (taking into account parts of browser interface).\n *\n * See https://css-tricks.com/the-trick-to-viewport-units-on-mobile for more details.\n */\n const screenHeight = `${windowHight * 0.01 * 100}px`;\n return {\n maxHeight: `calc(${screenHeight} - ${safeZoneHeight} - ${topbarHeight})`,\n };\n }\n\n const is400Zoom = useMedia(`(max-width: ${Breakpoint.ZOOM_400}px)`);\n\n const overlayId = useContext(OverlayIdContext);\n\n return is400Zoom ? (\n <Drawer\n aria-labelledby={props['aria-labelledby']}\n aria-label={props['aria-label']}\n role={role}\n open={props.open}\n className={props.className}\n onClose={close}\n >\n {props.children}\n </Drawer>\n ) : (\n <Dimmer open={props.open} fadeContentOnEnter fadeContentOnExit onClose={close}>\n <SlidingPanel\n ref={bottomSheetReference}\n open={props.open}\n position={Position.BOTTOM}\n className={clsx('np-bottom-sheet', props.className)}\n >\n <div\n id={overlayId}\n aria-labelledby={props['aria-labelledby'] || undefined}\n aria-label={props['aria-label'] || undefined}\n role={role}\n aria-modal\n onTouchStart={onSwipeStart}\n onTouchMove={onSwipeMove}\n onTouchEnd={onSwipeEnd}\n onMouseDown={onSwipeStart}\n onMouseMove={onSwipeMove}\n onMouseUp={onSwipeEnd}\n >\n <div ref={topBarReference} className=\"np-bottom-sheet--top-bar\">\n <div className=\"np-bottom-sheet--handler\" />\n <CloseButton size=\"sm\" className=\"sr-only np-bottom-sheet--close-btn\" onClick={close} />\n </div>\n <div\n ref={contentReference}\n style={setContentMaxHeight()}\n className=\"np-bottom-sheet--content\"\n >\n {props.children}\n </div>\n </div>\n </SlidingPanel>\n </Dimmer>\n );\n};\n\nexport default BottomSheet;\n"],"names":["INITIAL_Y_POSITION","CONTENT_SCROLL_THRESHOLD","MOVE_OFFSET_THRESHOLD","BottomSheet","role","props","bottomSheetReference","useRef","topBarReference","contentReference","pressed","setPressed","useState","animationId","moveOffset","initialYCoordinate","useConditionalListener","attachListener","open","isServerSide","callback","current","classList","isContentScrollPositionAtTop","add","remove","eventType","parent","undefined","document","move","newHeight","style","transform","close","event","removeProperty","onClose","onSwipeStart","touches","clientY","onSwipeMove","offset","calculateOffsetAfterMove","requestAnimationFrame","onSwipeEnd","cancelAnimationFrame","scrollTop","afterMoveYCoordinate","setContentMaxHeight","safeZoneHeight","topbarHeight","windowHight","window","innerHeight","screenHeight","maxHeight","is400Zoom","useMedia","Breakpoint","ZOOM_400","overlayId","useContext","OverlayIdContext","_jsx","Drawer","className","children","Dimmer","fadeContentOnEnter","fadeContentOnExit","SlidingPanel","ref","position","Position","BOTTOM","clsx","_jsxs","id","onTouchStart","onTouchMove","onTouchEnd","onMouseDown","onMouseMove","onMouseUp","CloseButton","size","onClick"],"mappings":";;;;;;;;;;;;;;;AAuBA,MAAMA,kBAAkB,GAAG,CAAC;AAE5B,MAAMC,wBAAwB,GAAG,CAAC;AAElC,MAAMC,qBAAqB,GAAG,EAAE;AAUhC;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,WAAW,GAAGA,CAAC;AAAEC,EAAAA,IAAI,GAAG,QAAQ;EAAE,GAAGC;AAAwB,CAAC,KAAK;AACvE,EAAA,MAAMC,oBAAoB,GAAGC,MAAM,CAAiB,IAAI,CAAC;AACzD,EAAA,MAAMC,eAAe,GAAGD,MAAM,CAAiB,IAAI,CAAC;AACpD,EAAA,MAAME,gBAAgB,GAAGF,MAAM,CAAiB,IAAI,CAAC;EAErD,MAAM,CAACG,OAAO,EAAEC,UAAU,CAAC,GAAGC,QAAQ,CAAU,KAAK,CAAC;;AAEtD;AACF;AACA;AACA;AACA;AACE,EAAA,MAAMC,WAAW,GAAGN,MAAM,CAAS,CAAC,CAAC;;AAErC;AACF;AACA;AACA;AACA;AACA;AACE,EAAA,MAAMO,UAAU,GAAGP,MAAM,CAAS,CAAC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OAAO,EAAErD;AAAM,WAAE,CAAC;SACrF,CAAC,eACN8B,GAAA,CAAA,KAAA,EAAA;AACEQ,UAAAA,GAAG,EAAE/D,gBAAiB;UACtBuB,KAAK,EAAEiB,mBAAmB,EAAG;AAC7BiB,UAAAA,SAAS,EAAC,0BAA0B;UAAAC,QAAA,EAEnC9D,KAAK,CAAC8D;AAAQ,SACZ,CAAC;OACH;KACO;AAAC,GACT,CACT;AACH;;;;"}
1
+ {"version":3,"file":"BottomSheet.mjs","sources":["../../../src/common/bottomSheet/BottomSheet.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport {\n CSSProperties,\n HTMLAttributes,\n PropsWithChildren,\n SyntheticEvent,\n useContext,\n useRef,\n useState,\n} from 'react';\n\nimport Dimmer from '../../dimmer';\nimport Drawer from '../../drawer';\nimport { OverlayIdContext } from '../../provider/overlay/OverlayIdProvider';\nimport SlidingPanel from '../../slidingPanel';\nimport { CloseButton } from '../closeButton';\nimport { CommonProps } from '../commonProps';\nimport { isServerSide } from '../domHelpers';\nimport { useConditionalListener } from '../hooks';\nimport { useMedia } from '../hooks/useMedia';\nimport { Breakpoint } from '../propsValues/breakpoint';\nimport { Position } from '../propsValues/position';\n\nconst INITIAL_Y_POSITION = 0;\n\nconst CONTENT_SCROLL_THRESHOLD = 1;\n\nconst MOVE_OFFSET_THRESHOLD = 50;\n\nexport type BottomSheetProps = PropsWithChildren<\n {\n onClose?: (event: Event | SyntheticEvent) => void;\n open: boolean;\n } & CommonProps &\n Pick<HTMLAttributes<HTMLDivElement>, 'role' | 'aria-labelledby' | 'aria-label'>\n>;\n\n/**\n * Neptune: https://transferwise.github.io/neptune/components/bottom-sheet/\n *\n * Neptune Web: https://transferwise.github.io/neptune-web/components/overlays/BottomSheet\n *\n */\nconst BottomSheet = ({ role = 'dialog', ...props }: BottomSheetProps) => {\n const bottomSheetReference = useRef<HTMLDivElement>(null);\n const topBarReference = useRef<HTMLDivElement>(null);\n const contentReference = useRef<HTMLDivElement>(null);\n\n const [pressed, setPressed] = useState<boolean>(false);\n\n /**\n * Used to track `requestAnimationFrame` requests\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame#return_value\n */\n const animationId = useRef<number>(0);\n\n /**\n * Difference between initial coordinate ({@link initialYCoordinate})\n * and new position (when user moves component), it's get calculated on `onTouchMove` and `onMouseMove` events\n *\n * @see {@link calculateOffsetAfterMove}\n */\n const moveOffset = useRef<number>(0);\n const initialYCoordinate = useRef<number>(0);\n\n // apply shadow to the bottom of top-bar when scroll over content\n useConditionalListener({\n attachListener: props.open && !isServerSide(),\n callback: () => {\n if (topBarReference.current !== null) {\n const { classList } = topBarReference.current;\n if (!isContentScrollPositionAtTop()) {\n classList.add('np-bottom-sheet--top-bar--shadow');\n } else {\n classList.remove('np-bottom-sheet--top-bar--shadow');\n }\n }\n },\n eventType: 'scroll',\n parent: isServerSide() ? undefined : document,\n });\n\n function move(newHeight: number): void {\n if (bottomSheetReference.current !== null) {\n bottomSheetReference.current.style.transform = `translateY(${newHeight}px)`;\n }\n }\n\n function close(event: Event | SyntheticEvent): void {\n setPressed(false);\n moveOffset.current = INITIAL_Y_POSITION;\n if (bottomSheetReference.current !== null) {\n bottomSheetReference.current.style.removeProperty('transform');\n }\n if (props.onClose) {\n props.onClose(event);\n }\n }\n\n const onSwipeStart = (\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void => {\n initialYCoordinate.current = ('touches' in event ? event.touches[0] : event).clientY;\n setPressed(true);\n };\n\n const onSwipeMove = (\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void => {\n if (pressed) {\n const { clientY } = 'touches' in event ? event.touches[0] : event;\n\n const offset = calculateOffsetAfterMove(clientY);\n // check whether move is to the bottom only and content scroll position is at the top\n if (offset > INITIAL_Y_POSITION && isContentScrollPositionAtTop()) {\n moveOffset.current = offset;\n animationId.current = requestAnimationFrame(() => {\n if (animationId.current !== undefined && bottomSheetReference.current !== null) {\n move(offset);\n }\n });\n }\n }\n };\n\n function onSwipeEnd(\n event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,\n ): void {\n // stop moving component\n cancelAnimationFrame(animationId.current);\n setPressed(false);\n // check whether move down is strong enough\n // and content scroll position is at the top to close the component\n if (moveOffset.current > MOVE_OFFSET_THRESHOLD && isContentScrollPositionAtTop()) {\n close(event);\n }\n // otherwise move component back to default (initial) position\n else {\n move(INITIAL_Y_POSITION);\n }\n moveOffset.current = INITIAL_Y_POSITION;\n }\n\n function isContentScrollPositionAtTop(): boolean {\n return (\n contentReference?.current?.scrollTop !== undefined &&\n contentReference.current.scrollTop <= CONTENT_SCROLL_THRESHOLD\n );\n }\n\n /**\n * Calculates how hard user moves component,\n * result value used to determine whether to hide component or re-position to default state\n *\n * @param afterMoveYCoordinate\n */\n function calculateOffsetAfterMove(afterMoveYCoordinate: number): number {\n return afterMoveYCoordinate - initialYCoordinate.current;\n }\n\n /**\n * Set `max-height` for content part (in order to keep it scrollable for content overflow cases) of the component\n * and ensures space for safe zone (32px) at the top.\n */\n function setContentMaxHeight(): CSSProperties {\n const safeZoneHeight = '64px';\n const topbarHeight = '32px';\n const windowHight: number = isServerSide() ? 0 : window.innerHeight;\n /**\n * Calculate _real_ height of the screen (taking into account parts of browser interface).\n *\n * See https://css-tricks.com/the-trick-to-viewport-units-on-mobile for more details.\n */\n const screenHeight = `${windowHight * 0.01 * 100}px`;\n return {\n maxHeight: `calc(${screenHeight} - ${safeZoneHeight} - ${topbarHeight})`,\n };\n }\n\n const is400Zoom = useMedia(`(max-width: ${Breakpoint.ZOOM_400}px)`);\n\n const overlayId = useContext(OverlayIdContext);\n\n return is400Zoom ? (\n <Drawer\n aria-labelledby={props['aria-labelledby']}\n aria-label={props['aria-label']}\n role={role}\n open={props.open}\n className={props.className}\n onClose={close}\n >\n {props.children}\n </Drawer>\n ) : (\n <Dimmer open={props.open} fadeContentOnEnter fadeContentOnExit onClose={close}>\n <SlidingPanel\n ref={bottomSheetReference}\n open={props.open}\n position={Position.BOTTOM}\n className={clsx('np-bottom-sheet', props.className)}\n >\n <div\n id={overlayId}\n aria-labelledby={props['aria-labelledby'] || undefined}\n aria-label={props['aria-label'] || undefined}\n role={role}\n aria-modal\n onTouchStart={onSwipeStart}\n onTouchMove={onSwipeMove}\n onTouchEnd={onSwipeEnd}\n onMouseDown={onSwipeStart}\n onMouseMove={onSwipeMove}\n onMouseUp={onSwipeEnd}\n >\n <div ref={topBarReference} className=\"np-bottom-sheet--top-bar\">\n <div className=\"np-bottom-sheet--handler\" />\n <CloseButton size=\"sm\" className=\"sr-only np-bottom-sheet--close-btn\" onClick={close} />\n </div>\n <div\n ref={contentReference}\n style={setContentMaxHeight()}\n className=\"np-bottom-sheet--content\"\n >\n {props.children}\n </div>\n </div>\n </SlidingPanel>\n </Dimmer>\n );\n};\n\nexport default BottomSheet;\n"],"names":["INITIAL_Y_POSITION","CONTENT_SCROLL_THRESHOLD","MOVE_OFFSET_THRESHOLD","BottomSheet","role","props","bottomSheetReference","useRef","topBarReference","contentReference","pressed","setPressed","useState","animationId","moveOffset","initialYCoordinate","useConditionalListener","attachListener","open","isServerSide","callback","current","classList","isContentScrollPositionAtTop","add","remove","eventType","parent","undefined","document","move","newHeight","style","transform","close","event","removeProperty","onClose","onSwipeStart","touches","clientY","onSwipeMove","offset","calculateOffsetAfterMove","requestAnimationFrame","onSwipeEnd","cancelAnimationFrame","scrollTop","afterMoveYCoordinate","setContentMaxHeight","safeZoneHeight","topbarHeight","windowHight","window","innerHeight","screenHeight","maxHeight","is400Zoom","useMedia","Breakpoint","ZOOM_400","overlayId","useContext","OverlayIdContext","_jsx","Drawer","className","children","Dimmer","fadeContentOnEnter","fadeContentOnExit","SlidingPanel","ref","position","Position","BOTTOM","clsx","_jsxs","id","onTouchStart","onTouchMove","onTouchEnd","onMouseDown","onMouseMove","onMouseUp","CloseButton","size","onClick"],"mappings":";;;;;;;;;;;;;;;AAuBA,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A,IAAU;AACV2E,QAAAA,YAAY,EAAEzC,YAAa;AAC3B0C,QAAAA,WAAW,EAAEvC,WAAY;AACzBwC,QAAAA,UAAU,EAAEpC,UAAW;AACvBqC,QAAAA,WAAW,EAAE5C,YAAa;AAC1B6C,QAAAA,WAAW,EAAE1C,WAAY;AACzB2C,QAAAA,SAAS,EAAEvC,UAAW;AAAAsB,QAAAA,QAAA,gBAEtBU,IAAA,CAAA,KAAA,EAAA;AAAKL,UAAAA,GAAG,EAAEhE,eAAgB;AAAC0D,UAAAA,SAAS,EAAC,0BAA0B;AAAAC,UAAAA,QAAA,gBAC7DH,GAAA,CAAA,KAAA,EAAA;AAAKE,YAAAA,SAAS,EAAC;AAA0B,WAAA,CACzC,eAAAF,GAAA,CAACqB,WAAW,EAAA;AAACC,YAAAA,IAAI,EAAC,IAAI;AAACpB,YAAAA,SAAS,EAAC,oCAAoC;AAACqB,YAAAA,OAAO,EAAErD;AAAM,WAAA,CACvF;SAAK,CACL,eAAA8B,GAAA,CAAA,KAAA,EAAA;AACEQ,UAAAA,GAAG,EAAE/D,gBAAiB;UACtBuB,KAAK,EAAEiB,mBAAmB,EAAG;AAC7BiB,UAAAA,SAAS,EAAC,0BAA0B;UAAAC,QAAA,EAEnC9D,KAAK,CAAC8D;AAAQ,SACZ,CACP;OAAK;KACO;AAChB,GAAQ,CACT;AACH;;;;"}
@@ -8,27 +8,6 @@ var CloseButton = require('../closeButton/CloseButton.js');
8
8
  var documentIosClick = require('../domHelpers/documentIosClick.js');
9
9
  var jsxRuntime = require('react/jsx-runtime');
10
10
 
11
- /**
12
- * Card component.
13
- *
14
- * A card is a container for content that is used to group related information.
15
- * It can be used to display information in a structured way, and can be
16
- * customized with various props to suit different use cases.
17
- *
18
- * @param {Object} props - The component props.
19
- * @param {ReactNode} children - The content to display inside the card.
20
- * @param {string} className - Optional class name(s) to add to the card container.
21
- * @param {string} id - Optional ID to add to the card container.
22
- * @param {boolean} isDisabled - Whether the card is disabled or not.
23
- * @param {boolean} isSmall - Whether the card is small or not.
24
- * @param {(event_: MouseEvent<HTMLButtonElement>) => void} onDismiss - Optional function to call when the card is dismissed.
25
- * @param {string} testId - Optional ID to add to the card container for testing purposes.
26
- * @returns {React.JSX.Element} - The card component.
27
- * @example
28
- * <Card>
29
- * <p>Hello World!</p>
30
- * </Card>
31
- */
32
11
  const Card = /*#__PURE__*/React.forwardRef(({
33
12
  className,
34
13
  children = null,
@@ -1 +1 @@
1
- {"version":3,"file":"Card.js","sources":["../../../src/common/card/Card.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { MouseEvent, type ReactNode, forwardRef, useRef } from 'react';\n\nimport { CloseButton } from '../closeButton';\nimport { stopPropagation } from '../domHelpers';\n\nexport interface CardProps {\n /** Content to display inside Card. */\n children: ReactNode;\n\n /** Optional prop to specify classNames onto the Card */\n className?: string;\n\n /** Optional prop to specify the ID on to Card */\n id?: string;\n\n /** Specify whether the Card is disabled, or not */\n isDisabled?: boolean;\n\n /** Specify whether the Card is sized small or not */\n isSmall?: boolean;\n\n /** Optionally specify Card onDismiss function */\n onDismiss?: () => void;\n\n /** Optional prop to specify the ID used for testing */\n testId?: string;\n}\n\n/**\n * Card component.\n *\n * A card is a container for content that is used to group related information.\n * It can be used to display information in a structured way, and can be\n * customized with various props to suit different use cases.\n *\n * @param {Object} props - The component props.\n * @param {ReactNode} children - The content to display inside the card.\n * @param {string} className - Optional class name(s) to add to the card container.\n * @param {string} id - Optional ID to add to the card container.\n * @param {boolean} isDisabled - Whether the card is disabled or not.\n * @param {boolean} isSmall - Whether the card is small or not.\n * @param {(event_: MouseEvent<HTMLButtonElement>) => void} onDismiss - Optional function to call when the card is dismissed.\n * @param {string} testId - Optional ID to add to the card container for testing purposes.\n * @returns {React.JSX.Element} - The card component.\n * @example\n * <Card>\n * <p>Hello World!</p>\n * </Card>\n */\nconst Card = forwardRef<HTMLDivElement, CardProps>(\n (\n {\n className,\n children = null,\n id,\n isDisabled = false,\n isSmall = false,\n onDismiss,\n testId,\n ...props\n },\n ref,\n ) => {\n const closeButtonReference = useRef(null);\n\n return (\n <div\n ref={ref}\n className={clsx(\n 'np-Card',\n {\n 'np-Card--small': !!isSmall,\n 'is-disabled': !!isDisabled,\n },\n className,\n )}\n id={id}\n data-testid={testId}\n {...props}\n >\n {onDismiss && (\n <CloseButton\n ref={closeButtonReference}\n className=\"np-Card-closeButton\"\n size={isSmall ? 'sm' : 'md'}\n isDisabled={isDisabled}\n testId=\"close-button\"\n onClick={(e) => {\n stopPropagation(e);\n onDismiss();\n }}\n />\n )}\n {children}\n </div>\n );\n },\n);\n\nCard.displayName = 'Card';\n\nexport default Card;\n"],"names":["Card","forwardRef","className","children","id","isDisabled","isSmall","onDismiss","testId","props","ref","closeButtonReference","useRef","_jsxs","clsx","_jsx","CloseButton","size","onClick","e","stopPropagation","displayName"],"mappings":";;;;;;;;;;AA6BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,IAAI,gBAAGC,gBAAU,CACrB,CACE;EACEC,SAAS;AACTC,EAAAA,QAAQ,GAAG,IAAI;EACfC,EAAE;AACFC,EAAAA,UAAU,GAAG,KAAK;AAClBC,EAAAA,OAAO,GAAG,KAAK;EACfC,SAAS;EACTC,MAAM;EACN,GAAGC;AACL,CAAC,EACDC,GAAG,KACA;AACH,EAAA,MAAMC,oBAAoB,GAAGC,YAAM,CAAC,IAAI,CAAC;AAEzC,EAAA,oBACEC,eAAA,CAAA,KAAA,EAAA;AACEH,IAAAA,GAAG,EAAEA,GAAI;AACTR,IAAAA,SAAS,EAAEY,SAAI,CACb,SAAS,EACT;MACE,gBAAgB,EAAE,CAAC,CAACR,OAAO;MAC3B,aAAa,EAAE,CAAC,CAACD;KAClB,EACDH,SACF,CAAE;AACFE,IAAAA,EAAE,EAAEA,EAAG;AACP,IAAA,aAAA,EAAaI,MAAO;AAAA,IAAA,GAChBC,KAAK;AAAAN,IAAAA,QAAA,EAAA,CAERI,SAAS,iBACRQ,cAAA,CAACC,uBAAW,EAAA;AACVN,MAAAA,GAAG,EAAEC,oBAAqB;AAC1BT,MAAAA,SAAS,EAAC,qBAAqB;AAC/Be,MAAAA,IAAI,EAAEX,OAAO,GAAG,IAAI,GAAG,IAAK;AAC5BD,MAAAA,UAAU,EAAEA,UAAW;AACvBG,MAAAA,MAAM,EAAC,cAAc;MACrBU,OAAO,EAAGC,CAAC,IAAK;QACdC,gCAAe,CAACD,CAAC,CAAC;AAClBZ,QAAAA,SAAS,EAAE;AACb,MAAA;KACD,CACF,EACAJ,QAAQ;AAAA,GACN,CAAC;AAEV,CACF;AAEAH,IAAI,CAACqB,WAAW,GAAG,MAAM;;;;"}
1
+ {"version":3,"file":"Card.js","sources":["../../../src/common/card/Card.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { MouseEvent, type ReactNode, forwardRef, useRef } from 'react';\n\nimport { CloseButton } from '../closeButton';\nimport { stopPropagation } from '../domHelpers';\n\nexport interface CardProps {\n /** Content to display inside Card. */\n children: ReactNode;\n\n /** Optional prop to specify classNames onto the Card */\n className?: string;\n\n /** Optional prop to specify the ID on to Card */\n id?: string;\n\n /** Specify whether the Card is disabled, or not */\n isDisabled?: boolean;\n\n /** Specify whether the Card is sized small or not */\n isSmall?: boolean;\n\n /** Optionally specify Card onDismiss function */\n onDismiss?: () => void;\n\n /** Optional prop to specify the ID used for testing */\n testId?: string;\n}\n\n/**\n * Card component.\n *\n * A card is a container for content that is used to group related information.\n * It can be used to display information in a structured way, and can be\n * customized with various props to suit different use cases.\n *\n * @param {Object} props - The component props.\n * @param {ReactNode} children - The content to display inside the card.\n * @param {string} className - Optional class name(s) to add to the card container.\n * @param {string} id - Optional ID to add to the card container.\n * @param {boolean} isDisabled - Whether the card is disabled or not.\n * @param {boolean} isSmall - Whether the card is small or not.\n * @param {(event_: MouseEvent<HTMLButtonElement>) => void} onDismiss - Optional function to call when the card is dismissed.\n * @param {string} testId - Optional ID to add to the card container for testing purposes.\n * @returns {React.JSX.Element} - The card component.\n * @example\n * <Card>\n * <p>Hello World!</p>\n * </Card>\n */\nconst Card = forwardRef<HTMLDivElement, CardProps>(\n (\n {\n className,\n children = null,\n id,\n isDisabled = false,\n isSmall = false,\n onDismiss,\n testId,\n ...props\n },\n ref,\n ) => {\n const closeButtonReference = useRef(null);\n\n return (\n <div\n ref={ref}\n className={clsx(\n 'np-Card',\n {\n 'np-Card--small': !!isSmall,\n 'is-disabled': !!isDisabled,\n },\n className,\n )}\n id={id}\n data-testid={testId}\n {...props}\n >\n {onDismiss && (\n <CloseButton\n ref={closeButtonReference}\n className=\"np-Card-closeButton\"\n size={isSmall ? 'sm' : 'md'}\n isDisabled={isDisabled}\n testId=\"close-button\"\n onClick={(e) => {\n stopPropagation(e);\n onDismiss();\n }}\n />\n )}\n {children}\n </div>\n );\n },\n);\n\nCard.displayName = 'Card';\n\nexport default Card;\n"],"names":["Card","forwardRef","className","children","id","isDisabled","isSmall","onDismiss","testId","props","ref","closeButtonReference","useRef","_jsxs","clsx","_jsx","CloseButton","size","onClick","e","stopPropagation","displayName"],"mappings":";;;;;;;;;;AAkDA,MAAMA,IAAI,gBAAGC,gBAAU,CACrB,CACE;EACEC,SAAS;AACTC,EAAAA,QAAQ,GAAG,IAAI;EACfC,EAAE;AACFC,EAAAA,UAAU,GAAG,KAAK;AAClBC,EAAAA,OAAO,GAAG,KAAK;EACfC,SAAS;EACTC,MAAM;EACN,GAAGC;AAAK,CACT,EACDC,GAAG,KACD;AACF,EAAA,MAAMC,oBAAoB,GAAGC,YAAM,CAAC,IAAI,CAAC;AAEzC,EAAA,oBACEC,eAAA,CAAA,KAAA,EAAA;AACEH,IAAAA,GAAG,EAAEA,GAAI;AACTR,IAAAA,SAAS,EAAEY,SAAI,CACb,SAAS,EACT;MACE,gBAAgB,EAAE,CAAC,CAACR,OAAO;MAC3B,aAAa,EAAE,CAAC,CAACD;KAClB,EACDH,SAAS,CACT;AACFE,IAAAA,EAAE,EAAEA,EAAG;AACP,IAAA,aAAA,EAAaI,MAAO;AAAA,IAAA,GAChBC,KAAK;AAAAN,IAAAA,QAAA,EAAA,CAERI,SAAS,iBACRQ,cAAA,CAACC,uBAAW,EAAA;AACVN,MAAAA,GAAG,EAAEC,oBAAqB;AAC1BT,MAAAA,SAAS,EAAC,qBAAqB;AAC/Be,MAAAA,IAAI,EAAEX,OAAO,GAAG,IAAI,GAAG,IAAK;AAC5BD,MAAAA,UAAU,EAAEA,UAAW;AACvBG,MAAAA,MAAM,EAAC,cAAc;MACrBU,OAAO,EAAGC,CAAC,IAAI;QACbC,gCAAe,CAACD,CAAC,CAAC;AAClBZ,QAAAA,SAAS,EAAE;AACb,MAAA;KAAE,CAEL,EACAJ,QAAQ;AAAA,GACN,CAAC;AAEV,CAAC;AAGHH,IAAI,CAACqB,WAAW,GAAG,MAAM;;;;"}
@@ -4,27 +4,6 @@ import { CloseButton } from '../closeButton/CloseButton.mjs';
4
4
  import { stopPropagation } from '../domHelpers/documentIosClick.mjs';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
 
7
- /**
8
- * Card component.
9
- *
10
- * A card is a container for content that is used to group related information.
11
- * It can be used to display information in a structured way, and can be
12
- * customized with various props to suit different use cases.
13
- *
14
- * @param {Object} props - The component props.
15
- * @param {ReactNode} children - The content to display inside the card.
16
- * @param {string} className - Optional class name(s) to add to the card container.
17
- * @param {string} id - Optional ID to add to the card container.
18
- * @param {boolean} isDisabled - Whether the card is disabled or not.
19
- * @param {boolean} isSmall - Whether the card is small or not.
20
- * @param {(event_: MouseEvent<HTMLButtonElement>) => void} onDismiss - Optional function to call when the card is dismissed.
21
- * @param {string} testId - Optional ID to add to the card container for testing purposes.
22
- * @returns {React.JSX.Element} - The card component.
23
- * @example
24
- * <Card>
25
- * <p>Hello World!</p>
26
- * </Card>
27
- */
28
7
  const Card = /*#__PURE__*/forwardRef(({
29
8
  className,
30
9
  children = null,
@@ -1 +1 @@
1
- {"version":3,"file":"Card.mjs","sources":["../../../src/common/card/Card.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { MouseEvent, type ReactNode, forwardRef, useRef } from 'react';\n\nimport { CloseButton } from '../closeButton';\nimport { stopPropagation } from '../domHelpers';\n\nexport interface CardProps {\n /** Content to display inside Card. */\n children: ReactNode;\n\n /** Optional prop to specify classNames onto the Card */\n className?: string;\n\n /** Optional prop to specify the ID on to Card */\n id?: string;\n\n /** Specify whether the Card is disabled, or not */\n isDisabled?: boolean;\n\n /** Specify whether the Card is sized small or not */\n isSmall?: boolean;\n\n /** Optionally specify Card onDismiss function */\n onDismiss?: () => void;\n\n /** Optional prop to specify the ID used for testing */\n testId?: string;\n}\n\n/**\n * Card component.\n *\n * A card is a container for content that is used to group related information.\n * It can be used to display information in a structured way, and can be\n * customized with various props to suit different use cases.\n *\n * @param {Object} props - The component props.\n * @param {ReactNode} children - The content to display inside the card.\n * @param {string} className - Optional class name(s) to add to the card container.\n * @param {string} id - Optional ID to add to the card container.\n * @param {boolean} isDisabled - Whether the card is disabled or not.\n * @param {boolean} isSmall - Whether the card is small or not.\n * @param {(event_: MouseEvent<HTMLButtonElement>) => void} onDismiss - Optional function to call when the card is dismissed.\n * @param {string} testId - Optional ID to add to the card container for testing purposes.\n * @returns {React.JSX.Element} - The card component.\n * @example\n * <Card>\n * <p>Hello World!</p>\n * </Card>\n */\nconst Card = forwardRef<HTMLDivElement, CardProps>(\n (\n {\n className,\n children = null,\n id,\n isDisabled = false,\n isSmall = false,\n onDismiss,\n testId,\n ...props\n },\n ref,\n ) => {\n const closeButtonReference = useRef(null);\n\n return (\n <div\n ref={ref}\n className={clsx(\n 'np-Card',\n {\n 'np-Card--small': !!isSmall,\n 'is-disabled': !!isDisabled,\n },\n className,\n )}\n id={id}\n data-testid={testId}\n {...props}\n >\n {onDismiss && (\n <CloseButton\n ref={closeButtonReference}\n className=\"np-Card-closeButton\"\n size={isSmall ? 'sm' : 'md'}\n isDisabled={isDisabled}\n testId=\"close-button\"\n onClick={(e) => {\n stopPropagation(e);\n onDismiss();\n }}\n />\n )}\n {children}\n </div>\n );\n },\n);\n\nCard.displayName = 'Card';\n\nexport default Card;\n"],"names":["Card","forwardRef","className","children","id","isDisabled","isSmall","onDismiss","testId","props","ref","closeButtonReference","useRef","_jsxs","clsx","_jsx","CloseButton","size","onClick","e","stopPropagation","displayName"],"mappings":";;;;;;AA6BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,IAAI,gBAAGC,UAAU,CACrB,CACE;EACEC,SAAS;AACTC,EAAAA,QAAQ,GAAG,IAAI;EACfC,EAAE;AACFC,EAAAA,UAAU,GAAG,KAAK;AAClBC,EAAAA,OAAO,GAAG,KAAK;EACfC,SAAS;EACTC,MAAM;EACN,GAAGC;AACL,CAAC,EACDC,GAAG,KACA;AACH,EAAA,MAAMC,oBAAoB,GAAGC,MAAM,CAAC,IAAI,CAAC;AAEzC,EAAA,oBACEC,IAAA,CAAA,KAAA,EAAA;AACEH,IAAAA,GAAG,EAAEA,GAAI;AACTR,IAAAA,SAAS,EAAEY,IAAI,CACb,SAAS,EACT;MACE,gBAAgB,EAAE,CAAC,CAACR,OAAO;MAC3B,aAAa,EAAE,CAAC,CAACD;KAClB,EACDH,SACF,CAAE;AACFE,IAAAA,EAAE,EAAEA,EAAG;AACP,IAAA,aAAA,EAAaI,MAAO;AAAA,IAAA,GAChBC,KAAK;AAAAN,IAAAA,QAAA,EAAA,CAERI,SAAS,iBACRQ,GAAA,CAACC,WAAW,EAAA;AACVN,MAAAA,GAAG,EAAEC,oBAAqB;AAC1BT,MAAAA,SAAS,EAAC,qBAAqB;AAC/Be,MAAAA,IAAI,EAAEX,OAAO,GAAG,IAAI,GAAG,IAAK;AAC5BD,MAAAA,UAAU,EAAEA,UAAW;AACvBG,MAAAA,MAAM,EAAC,cAAc;MACrBU,OAAO,EAAGC,CAAC,IAAK;QACdC,eAAe,CAACD,CAAC,CAAC;AAClBZ,QAAAA,SAAS,EAAE;AACb,MAAA;KACD,CACF,EACAJ,QAAQ;AAAA,GACN,CAAC;AAEV,CACF;AAEAH,IAAI,CAACqB,WAAW,GAAG,MAAM;;;;"}
1
+ {"version":3,"file":"Card.mjs","sources":["../../../src/common/card/Card.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { MouseEvent, type ReactNode, forwardRef, useRef } from 'react';\n\nimport { CloseButton } from '../closeButton';\nimport { stopPropagation } from '../domHelpers';\n\nexport interface CardProps {\n /** Content to display inside Card. */\n children: ReactNode;\n\n /** Optional prop to specify classNames onto the Card */\n className?: string;\n\n /** Optional prop to specify the ID on to Card */\n id?: string;\n\n /** Specify whether the Card is disabled, or not */\n isDisabled?: boolean;\n\n /** Specify whether the Card is sized small or not */\n isSmall?: boolean;\n\n /** Optionally specify Card onDismiss function */\n onDismiss?: () => void;\n\n /** Optional prop to specify the ID used for testing */\n testId?: string;\n}\n\n/**\n * Card component.\n *\n * A card is a container for content that is used to group related information.\n * It can be used to display information in a structured way, and can be\n * customized with various props to suit different use cases.\n *\n * @param {Object} props - The component props.\n * @param {ReactNode} children - The content to display inside the card.\n * @param {string} className - Optional class name(s) to add to the card container.\n * @param {string} id - Optional ID to add to the card container.\n * @param {boolean} isDisabled - Whether the card is disabled or not.\n * @param {boolean} isSmall - Whether the card is small or not.\n * @param {(event_: MouseEvent<HTMLButtonElement>) => void} onDismiss - Optional function to call when the card is dismissed.\n * @param {string} testId - Optional ID to add to the card container for testing purposes.\n * @returns {React.JSX.Element} - The card component.\n * @example\n * <Card>\n * <p>Hello World!</p>\n * </Card>\n */\nconst Card = forwardRef<HTMLDivElement, CardProps>(\n (\n {\n className,\n children = null,\n id,\n isDisabled = false,\n isSmall = false,\n onDismiss,\n testId,\n ...props\n },\n ref,\n ) => {\n const closeButtonReference = useRef(null);\n\n return (\n <div\n ref={ref}\n className={clsx(\n 'np-Card',\n {\n 'np-Card--small': !!isSmall,\n 'is-disabled': !!isDisabled,\n },\n className,\n )}\n id={id}\n data-testid={testId}\n {...props}\n >\n {onDismiss && (\n <CloseButton\n ref={closeButtonReference}\n className=\"np-Card-closeButton\"\n size={isSmall ? 'sm' : 'md'}\n isDisabled={isDisabled}\n testId=\"close-button\"\n onClick={(e) => {\n stopPropagation(e);\n onDismiss();\n }}\n />\n )}\n {children}\n </div>\n );\n },\n);\n\nCard.displayName = 'Card';\n\nexport default Card;\n"],"names":["Card","forwardRef","className","children","id","isDisabled","isSmall","onDismiss","testId","props","ref","closeButtonReference","useRef","_jsxs","clsx","_jsx","CloseButton","size","onClick","e","stopPropagation","displayName"],"mappings":";;;;;;AAkDA,MAAMA,IAAI,gBAAGC,UAAU,CACrB,CACE;EACEC,SAAS;AACTC,EAAAA,QAAQ,GAAG,IAAI;EACfC,EAAE;AACFC,EAAAA,UAAU,GAAG,KAAK;AAClBC,EAAAA,OAAO,GAAG,KAAK;EACfC,SAAS;EACTC,MAAM;EACN,GAAGC;AAAK,CACT,EACDC,GAAG,KACD;AACF,EAAA,MAAMC,oBAAoB,GAAGC,MAAM,CAAC,IAAI,CAAC;AAEzC,EAAA,oBACEC,IAAA,CAAA,KAAA,EAAA;AACEH,IAAAA,GAAG,EAAEA,GAAI;AACTR,IAAAA,SAAS,EAAEY,IAAI,CACb,SAAS,EACT;MACE,gBAAgB,EAAE,CAAC,CAACR,OAAO;MAC3B,aAAa,EAAE,CAAC,CAACD;KAClB,EACDH,SAAS,CACT;AACFE,IAAAA,EAAE,EAAEA,EAAG;AACP,IAAA,aAAA,EAAaI,MAAO;AAAA,IAAA,GAChBC,KAAK;AAAAN,IAAAA,QAAA,EAAA,CAERI,SAAS,iBACRQ,GAAA,CAACC,WAAW,EAAA;AACVN,MAAAA,GAAG,EAAEC,oBAAqB;AAC1BT,MAAAA,SAAS,EAAC,qBAAqB;AAC/Be,MAAAA,IAAI,EAAEX,OAAO,GAAG,IAAI,GAAG,IAAK;AAC5BD,MAAAA,UAAU,EAAEA,UAAW;AACvBG,MAAAA,MAAM,EAAC,cAAc;MACrBU,OAAO,EAAGC,CAAC,IAAI;QACbC,eAAe,CAACD,CAAC,CAAC;AAClBZ,QAAAA,SAAS,EAAE;AACb,MAAA;KAAE,CAEL,EACAJ,QAAQ;AAAA,GACN,CAAC;AAEV,CAAC;AAGHH,IAAI,CAACqB,WAAW,GAAG,MAAM;;;;"}
@@ -8,9 +8,6 @@ var useMedia = require('../hooks/useMedia.js');
8
8
  var breakpoint = require('../propsValues/breakpoint.js');
9
9
  var jsxRuntime = require('react/jsx-runtime');
10
10
 
11
- /**
12
- * circle like components has custom sizes for icons
13
- */
14
11
  const MAP_ICON_SIZE = {
15
12
  16: 12,
16
13
  24: 16,
@@ -20,7 +17,6 @@ const MAP_ICON_SIZE = {
20
17
  56: 28,
21
18
  72: 36
22
19
  };
23
-
24
20
  /**
25
21
  * circle like components have custom typography styles for for default (Inter) font
26
22
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Circle.js","sources":["../../../src/common/circle/Circle.tsx"],"sourcesContent":["import { HTMLAttributes, forwardRef } from 'react';\nimport { clsx } from 'clsx';\nimport { useMedia } from '../hooks/useMedia';\nimport { Breakpoint } from '../propsValues/breakpoint';\n\nexport type ShapeSize = 16 | 24 | 32 | 40 | 48 | 56 | 72;\n\nexport type Props = {\n /**\n * Modify underlying element, `div` by default\n */\n as?: React.ElementType;\n /**\n * Set size of the circle in px, `48` by default\n */\n size?: ShapeSize;\n /**\n * When `true` will use the fixed size (`48px`) instead of the CSS spacing variable (`--size-*`)\n * as those can be dynamic a at certain viewport sizes\n */\n fixedSize?: boolean;\n enableBorder?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\n/**\n * circle like components has custom sizes for icons\n */\nconst MAP_ICON_SIZE = {\n 16: 12,\n 24: 16,\n 32: 18,\n 40: 20,\n 48: 24,\n 56: 28,\n 72: 36,\n};\n\n/**\n * circle like components have custom typography styles for for default (Inter) font\n *\n * circle size : font size (px)\n */\nconst MAP_FONT_SIZE = {\n 16: 8,\n 24: 12,\n 32: 14,\n 40: 18,\n 48: 22,\n 56: 26,\n 72: 30,\n};\n\nconst Circle = forwardRef(function Circle(\n {\n as: Element = 'div',\n children,\n size = 48,\n fixedSize = false,\n enableBorder = false,\n className,\n style,\n ...props\n }: Props,\n ref,\n) {\n const isTinyViewport = useMedia(`(max-width: ${Breakpoint.ZOOM_400}px)`);\n return (\n <Element\n {...props}\n ref={ref}\n style={{\n '--circle-size': fixedSize ? `${size}px` : `var(--size-${size})`,\n '--circle-icon-size':\n isTinyViewport && !fixedSize\n ? `${MAP_ICON_SIZE[size] / 2}px`\n : `${MAP_ICON_SIZE[size]}px`,\n '--circle-font-size': `${MAP_FONT_SIZE[size]}px`,\n ...style,\n }}\n className={clsx(\n 'np-circle',\n { 'np-circle-border': enableBorder },\n 'd-flex align-items-center justify-content-center',\n className,\n )}\n >\n {children}\n </Element>\n );\n});\n\nexport default Circle;\n"],"names":["MAP_ICON_SIZE","MAP_FONT_SIZE","Circle","forwardRef","as","Element","children","size","fixedSize","enableBorder","className","style","props","ref","isTinyViewport","useMedia","Breakpoint","ZOOM_400","_jsx","clsx"],"mappings":";;;;;;;;;;AAwBA;AACA;AACA;AACA,MAAMA,aAAa,GAAG;AACpB,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE;AACN,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,MAAMC,aAAa,GAAG;AACpB,EAAA,EAAE,EAAE,CAAC;AACL,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,MAAM,gBAAGC,gBAAU,CAAC,SAASD,MAAMA,CACvC;EACEE,EAAE,EAAEC,OAAO,GAAG,KAAK;EACnBC,QAAQ;AACRC,EAAAA,IAAI,GAAG,EAAE;AACTC,EAAAA,SAAS,GAAG,KAAK;AACjBC,EAAAA,YAAY,GAAG,KAAK;EACpBC,SAAS;EACTC,KAAK;EACL,GAAGC;AACE,CAAC,EACRC,GAAG,EACH;EACA,MAAMC,cAAc,GAAGC,iBAAQ,CAAC,eAAeC,qBAAU,CAACC,QAAQ,CAAA,GAAA,CAAK,CAAC;EACxE,oBACEC,cAAA,CAACb,OAAO,EAAA;AAAA,IAAA,GACFO,KAAK;AACTC,IAAAA,GAAG,EAAEA,GAAI;AACTF,IAAAA,KAAK,EAAE;MACL,eAAe,EAAEH,SAAS,GAAG,CAAA,EAAGD,IAAI,CAAA,EAAA,CAAI,GAAG,CAAA,WAAA,EAAcA,IAAI,CAAA,CAAA,CAAG;MAChE,oBAAoB,EAClBO,cAAc,IAAI,CAACN,SAAS,GACxB,CAAA,EAAGR,aAAa,CAACO,IAAI,CAAC,GAAG,CAAC,IAAI,GAC9B,CAAA,EAAGP,aAAa,CAACO,IAAI,CAAC,CAAA,EAAA,CAAI;AAChC,MAAA,oBAAoB,EAAE,CAAA,EAAGN,aAAa,CAACM,IAAI,CAAC,CAAA,EAAA,CAAI;MAChD,GAAGI;KACH;AACFD,IAAAA,SAAS,EAAES,SAAI,CACb,WAAW,EACX;AAAE,MAAA,kBAAkB,EAAEV;AAAa,KAAC,EACpC,kDAAkD,EAClDC,SACF,CAAE;AAAAJ,IAAAA,QAAA,EAEDA;AAAQ,GACF,CAAC;AAEd,CAAC;;;;"}
1
+ {"version":3,"file":"Circle.js","sources":["../../../src/common/circle/Circle.tsx"],"sourcesContent":["import { HTMLAttributes, forwardRef } from 'react';\nimport { clsx } from 'clsx';\nimport { useMedia } from '../hooks/useMedia';\nimport { Breakpoint } from '../propsValues/breakpoint';\n\nexport type ShapeSize = 16 | 24 | 32 | 40 | 48 | 56 | 72;\n\nexport type Props = {\n /**\n * Modify underlying element, `div` by default\n */\n as?: React.ElementType;\n /**\n * Set size of the circle in px, `48` by default\n */\n size?: ShapeSize;\n /**\n * When `true` will use the fixed size (`48px`) instead of the CSS spacing variable (`--size-*`)\n * as those can be dynamic a at certain viewport sizes\n */\n fixedSize?: boolean;\n enableBorder?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\n/**\n * circle like components has custom sizes for icons\n */\nconst MAP_ICON_SIZE = {\n 16: 12,\n 24: 16,\n 32: 18,\n 40: 20,\n 48: 24,\n 56: 28,\n 72: 36,\n};\n\n/**\n * circle like components have custom typography styles for for default (Inter) font\n *\n * circle size : font size (px)\n */\nconst MAP_FONT_SIZE = {\n 16: 8,\n 24: 12,\n 32: 14,\n 40: 18,\n 48: 22,\n 56: 26,\n 72: 30,\n};\n\nconst Circle = forwardRef(function Circle(\n {\n as: Element = 'div',\n children,\n size = 48,\n fixedSize = false,\n enableBorder = false,\n className,\n style,\n ...props\n }: Props,\n ref,\n) {\n const isTinyViewport = useMedia(`(max-width: ${Breakpoint.ZOOM_400}px)`);\n return (\n <Element\n {...props}\n ref={ref}\n style={{\n '--circle-size': fixedSize ? `${size}px` : `var(--size-${size})`,\n '--circle-icon-size':\n isTinyViewport && !fixedSize\n ? `${MAP_ICON_SIZE[size] / 2}px`\n : `${MAP_ICON_SIZE[size]}px`,\n '--circle-font-size': `${MAP_FONT_SIZE[size]}px`,\n ...style,\n }}\n className={clsx(\n 'np-circle',\n { 'np-circle-border': enableBorder },\n 'd-flex align-items-center justify-content-center',\n className,\n )}\n >\n {children}\n </Element>\n );\n});\n\nexport default Circle;\n"],"names":["MAP_ICON_SIZE","MAP_FONT_SIZE","Circle","forwardRef","as","Element","children","size","fixedSize","enableBorder","className","style","props","ref","isTinyViewport","useMedia","Breakpoint","ZOOM_400","_jsx","clsx"],"m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AAC,CAAA,EAAA,CAAI;AAChC,MAAA,oBAAoB,EAAE,CAAA,EAAGN,aAAa,CAACM,IAAI,CAAC,CAAA,EAAA,CAAI;MAChD,GAAGI;KACH;AACFD,IAAAA,SAAS,EAAES,SAAI,CACb,WAAW,EACX;AAAE,MAAA,kBAAkB,EAAEV;KAAc,EACpC,kDAAkD,EAClDC,SAAS,CACT;AAAAJ,IAAAA,QAAA,EAEDA;AAAQ,GACF,CAAC;AAEd,CAAC;;;;"}
@@ -4,9 +4,6 @@ import { useMedia } from '../hooks/useMedia.mjs';
4
4
  import { Breakpoint } from '../propsValues/breakpoint.mjs';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
 
7
- /**
8
- * circle like components has custom sizes for icons
9
- */
10
7
  const MAP_ICON_SIZE = {
11
8
  16: 12,
12
9
  24: 16,
@@ -16,7 +13,6 @@ const MAP_ICON_SIZE = {
16
13
  56: 28,
17
14
  72: 36
18
15
  };
19
-
20
16
  /**
21
17
  * circle like components have custom typography styles for for default (Inter) font
22
18
  *
@@ -1 +1 @@
1
- {"version":3,"file":"Circle.mjs","sources":["../../../src/common/circle/Circle.tsx"],"sourcesContent":["import { HTMLAttributes, forwardRef } from 'react';\nimport { clsx } from 'clsx';\nimport { useMedia } from '../hooks/useMedia';\nimport { Breakpoint } from '../propsValues/breakpoint';\n\nexport type ShapeSize = 16 | 24 | 32 | 40 | 48 | 56 | 72;\n\nexport type Props = {\n /**\n * Modify underlying element, `div` by default\n */\n as?: React.ElementType;\n /**\n * Set size of the circle in px, `48` by default\n */\n size?: ShapeSize;\n /**\n * When `true` will use the fixed size (`48px`) instead of the CSS spacing variable (`--size-*`)\n * as those can be dynamic a at certain viewport sizes\n */\n fixedSize?: boolean;\n enableBorder?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\n/**\n * circle like components has custom sizes for icons\n */\nconst MAP_ICON_SIZE = {\n 16: 12,\n 24: 16,\n 32: 18,\n 40: 20,\n 48: 24,\n 56: 28,\n 72: 36,\n};\n\n/**\n * circle like components have custom typography styles for for default (Inter) font\n *\n * circle size : font size (px)\n */\nconst MAP_FONT_SIZE = {\n 16: 8,\n 24: 12,\n 32: 14,\n 40: 18,\n 48: 22,\n 56: 26,\n 72: 30,\n};\n\nconst Circle = forwardRef(function Circle(\n {\n as: Element = 'div',\n children,\n size = 48,\n fixedSize = false,\n enableBorder = false,\n className,\n style,\n ...props\n }: Props,\n ref,\n) {\n const isTinyViewport = useMedia(`(max-width: ${Breakpoint.ZOOM_400}px)`);\n return (\n <Element\n {...props}\n ref={ref}\n style={{\n '--circle-size': fixedSize ? `${size}px` : `var(--size-${size})`,\n '--circle-icon-size':\n isTinyViewport && !fixedSize\n ? `${MAP_ICON_SIZE[size] / 2}px`\n : `${MAP_ICON_SIZE[size]}px`,\n '--circle-font-size': `${MAP_FONT_SIZE[size]}px`,\n ...style,\n }}\n className={clsx(\n 'np-circle',\n { 'np-circle-border': enableBorder },\n 'd-flex align-items-center justify-content-center',\n className,\n )}\n >\n {children}\n </Element>\n );\n});\n\nexport default Circle;\n"],"names":["MAP_ICON_SIZE","MAP_FONT_SIZE","Circle","forwardRef","as","Element","children","size","fixedSize","enableBorder","className","style","props","ref","isTinyViewport","useMedia","Breakpoint","ZOOM_400","_jsx","clsx"],"mappings":";;;;;;AAwBA;AACA;AACA;AACA,MAAMA,aAAa,GAAG;AACpB,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE;AACN,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA,MAAMC,aAAa,GAAG;AACpB,EAAA,EAAE,EAAE,CAAC;AACL,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE,EAAE;AACN,EAAA,EAAE,EAAE;AACN,CAAC;AAED,MAAMC,MAAM,gBAAGC,UAAU,CAAC,SAASD,MAAMA,CACvC;EACEE,EAAE,EAAEC,OAAO,GAAG,KAAK;EACnBC,QAAQ;AACRC,EAAAA,IAAI,GAAG,EAAE;AACTC,EAAAA,SAAS,GAAG,KAAK;AACjBC,EAAAA,YAAY,GAAG,KAAK;EACpBC,SAAS;EACTC,KAAK;EACL,GAAGC;AACE,CAAC,EACRC,GAAG,EACH;EACA,MAAMC,cAAc,GAAGC,QAAQ,CAAC,eAAeC,UAAU,CAACC,QAAQ,CAAA,GAAA,CAAK,CAAC;EACxE,oBACEC,GAAA,CAACb,OAAO,EAAA;AAAA,IAAA,GACFO,KAAK;AACTC,IAAAA,GAAG,EAAEA,GAAI;AACTF,IAAAA,KAAK,EAAE;MACL,eAAe,EAAEH,SAAS,GAAG,CAAA,EAAGD,IAAI,CAAA,EAAA,CAAI,GAAG,CAAA,WAAA,EAAcA,IAAI,CAAA,CAAA,CAAG;MAChE,oBAAoB,EAClBO,cAAc,IAAI,CAACN,SAAS,GACxB,CAAA,EAAGR,aAAa,CAACO,IAAI,CAAC,GAAG,CAAC,IAAI,GAC9B,CAAA,EAAGP,aAAa,CAACO,IAAI,CAAC,CAAA,EAAA,CAAI;AAChC,MAAA,oBAAoB,EAAE,CAAA,EAAGN,aAAa,CAACM,IAAI,CAAC,CAAA,EAAA,CAAI;MAChD,GAAGI;KACH;AACFD,IAAAA,SAAS,EAAES,IAAI,CACb,WAAW,EACX;AAAE,MAAA,kBAAkB,EAAEV;AAAa,KAAC,EACpC,kDAAkD,EAClDC,SACF,CAAE;AAAAJ,IAAAA,QAAA,EAEDA;AAAQ,GACF,CAAC;AAEd,CAAC;;;;"}
1
+ {"version":3,"file":"Circle.mjs","sources":["../../../src/common/circle/Circle.tsx"],"sourcesContent":["import { HTMLAttributes, forwardRef } from 'react';\nimport { clsx } from 'clsx';\nimport { useMedia } from '../hooks/useMedia';\nimport { Breakpoint } from '../propsValues/breakpoint';\n\nexport type ShapeSize = 16 | 24 | 32 | 40 | 48 | 56 | 72;\n\nexport type Props = {\n /**\n * Modify underlying element, `div` by default\n */\n as?: React.ElementType;\n /**\n * Set size of the circle in px, `48` by default\n */\n size?: ShapeSize;\n /**\n * When `true` will use the fixed size (`48px`) instead of the CSS spacing variable (`--size-*`)\n * as those can be dynamic a at certain viewport sizes\n */\n fixedSize?: boolean;\n enableBorder?: boolean;\n} & HTMLAttributes<HTMLDivElement>;\n\n/**\n * circle like components has custom sizes for icons\n */\nconst MAP_ICON_SIZE = {\n 16: 12,\n 24: 16,\n 32: 18,\n 40: 20,\n 48: 24,\n 56: 28,\n 72: 36,\n};\n\n/**\n * circle like components have custom typography styles for for default (Inter) font\n *\n * circle size : font size (px)\n */\nconst MAP_FONT_SIZE = {\n 16: 8,\n 24: 12,\n 32: 14,\n 40: 18,\n 48: 22,\n 56: 26,\n 72: 30,\n};\n\nconst Circle = forwardRef(function Circle(\n {\n as: Element = 'div',\n children,\n size = 48,\n fixedSize = false,\n enableBorder = false,\n className,\n style,\n ...props\n }: Props,\n ref,\n) {\n const isTinyViewport = useMedia(`(max-width: ${Breakpoint.ZOOM_400}px)`);\n return (\n <Element\n {...props}\n ref={ref}\n style={{\n '--circle-size': fixedSize ? `${size}px` : `var(--size-${size})`,\n '--circle-icon-size':\n isTinyViewport && !fixedSize\n ? `${MAP_ICON_SIZE[size] / 2}px`\n : `${MAP_ICON_SIZE[size]}px`,\n '--circle-font-size': `${MAP_FONT_SIZE[size]}px`,\n ...style,\n }}\n className={clsx(\n 'np-circle',\n { 'np-circle-border': enableBorder },\n 'd-flex align-items-center justify-content-center',\n className,\n )}\n >\n {children}\n </Element>\n );\n});\n\nexport default Circle;\n"],"names":["MAP_ICON_SIZE","MAP_FONT_SIZE","Circle","forwardRef","as","Element","children","size","fixedSize","enableBorder","className","style","props","ref","isTinyViewport","useMedia","Breakpo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AAa,CAACO,IAAI,CAAC,CAAA,EAAA,CAAI;AAChC,MAAA,oBAAoB,EAAE,CAAA,EAAGN,aAAa,CAACM,IAAI,CAAC,CAAA,EAAA,CAAI;MAChD,GAAGI;KACH;AACFD,IAAAA,SAAS,EAAES,IAAI,CACb,WAAW,EACX;AAAE,MAAA,kBAAkB,EAAEV;KAAc,EACpC,kDAAkD,EAClDC,SAAS,CACT;AAAAJ,IAAAA,QAAA,EAEDA;AAAQ,GACF,CAAC;AAEd,CAAC;;;;"}
@@ -8,9 +8,6 @@ var size = require('../propsValues/size.js');
8
8
  var CloseButton_messages = require('./CloseButton.messages.js');
9
9
  var jsxRuntime = require('react/jsx-runtime');
10
10
 
11
- /**
12
- * @deprecated Use `<IconButton />` component instead
13
- */
14
11
  const CloseButton = /*#__PURE__*/React.forwardRef(function CloseButton({
15
12
  'aria-label': ariaLabel,
16
13
  size: size$1 = size.Size.MEDIUM,
@@ -1 +1 @@
1
- {"version":3,"file":"CloseButton.js","sources":["../../../src/common/closeButton/CloseButton.tsx"],"sourcesContent":["import { Cross, CrossCircleFill } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport { Size, SizeLarge, SizeMedium, SizeSmall, SizeExtraSmall } from '../propsValues/size';\n\nimport messages from './CloseButton.messages';\n\nexport type CloseButtonProps = Pick<\n React.ComponentPropsWithoutRef<'button'>,\n 'aria-label' | 'className' | 'onClick'\n> & {\n size?: SizeExtraSmall | SizeSmall | SizeMedium | SizeLarge;\n filled?: boolean;\n isDisabled?: boolean;\n testId?: string;\n tabIndex?: number;\n};\n\n/**\n * @deprecated Use `<IconButton />` component instead\n */\nexport const CloseButton = forwardRef(function CloseButton(\n {\n 'aria-label': ariaLabel,\n size = Size.MEDIUM,\n filled = false,\n className,\n onClick,\n isDisabled,\n testId,\n tabIndex,\n }: CloseButtonProps,\n reference: React.ForwardedRef<HTMLButtonElement | null>,\n) {\n const intl = useIntl();\n ariaLabel ??= intl.formatMessage(messages.ariaLabel);\n const Icon = filled ? CrossCircleFill : Cross;\n\n return (\n <button\n ref={reference}\n type=\"button\"\n className={clsx(\n 'np-close-button',\n 'close btn-link',\n 'text-no-decoration',\n {\n 'np-close-button--x-small': size === Size.EXTRA_SMALL,\n 'np-close-button--large': size === Size.MEDIUM,\n 'np-close-button--x-large': size === Size.LARGE,\n },\n className,\n )}\n aria-label={ariaLabel}\n aria-disabled={isDisabled}\n disabled={isDisabled}\n data-testid={testId}\n tabIndex={tabIndex}\n onClick={onClick}\n >\n <Icon size={size === Size.SMALL || size === Size.EXTRA_SMALL ? 16 : 24} />\n </button>\n );\n});\n"],"names":["CloseButton","forwardRef","ariaLabel","size","Size","MEDIUM","filled","className","onClick","isDisabled","testId","tabIndex","reference","intl","useIntl","formatMessage","messages","Icon","CrossCircleFill","Cross","_jsx","ref","type","clsx","EXTRA_SMALL","LARGE","disabled","children","SMALL"],"mappings":";;;;;;;;;;AAoBA;AACA;AACA;MACaA,WAAW,gBAAGC,gBAAU,CAAC,SAASD,WAAWA,CACxD;AACE,EAAA,YAAY,EAAEE,SAAS;QACvBC,MAAI,GAAGC,SAAI,CAACC,MAAM;AAClBC,EAAAA,MAAM,GAAG,KAAK;EACdC,SAAS;EACTC,OAAO;EACPC,UAAU;EACVC,MAAM;AACNC,EAAAA;AACgB,CAAC,EACnBC,SAAuD,EACvD;AACA,EAAA,MAAMC,IAAI,GAAGC,iBAAO,EAAE;EACtBZ,SAAS,KAAKW,IAAI,CAACE,aAAa,CAACC,4BAAQ,CAACd,SAAS,CAAC;AACpD,EAAA,MAAMe,IAAI,GAAGX,MAAM,GAAGY,qBAAe,GAAGC,WAAK;AAE7C,EAAA,oBACEC,cAAA,CAAA,QAAA,EAAA;AACEC,IAAAA,GAAG,EAAET,SAAU;AACfU,IAAAA,IAAI,EAAC,QAAQ;IACbf,SAAS,EAAEgB,SAAI,CACb,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB;AACE,MAAA,0BAA0B,EAAEpB,MAAI,KAAKC,SAAI,CAACoB,WAAW;AACrD,MAAA,wBAAwB,EAAErB,MAAI,KAAKC,SAAI,CAACC,MAAM;AAC9C,MAAA,0BAA0B,EAAEF,MAAI,KAAKC,SAAI,CAACqB;KAC3C,EACDlB,SACF,CAAE;AACF,IAAA,YAAA,EAAYL,SAAU;AACtB,IAAA,eAAA,EAAeO,UAAW;AAC1BiB,IAAAA,QAAQ,EAAEjB,UAAW;AACrB,IAAA,aAAA,EAAaC,MAAO;AACpBC,IAAAA,QAAQ,EAAEA,QAAS;AACnBH,IAAAA,OAAO,EAAEA,OAAQ;IAAAmB,QAAA,eAEjBP,cAAA,CAACH,IAAI,EAAA;AAACd,MAAAA,IAAI,EAAEA,MAAI,KAAKC,SAAI,CAACwB,KAAK,IAAIzB,MAAI,KAAKC,SAAI,CAACoB,WAAW,GAAG,EAAE,GAAG;KAAK;AAAC,GACpE,CAAC;AAEb,CAAC;;;;"}
1
+ {"version":3,"file":"CloseButton.js","sources":["../../../src/common/closeButton/CloseButton.tsx"],"sourcesContent":["import { Cross, CrossCircleFill } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport { Size, SizeLarge, SizeMedium, SizeSmall, SizeExtraSmall } from '../propsValues/size';\n\nimport messages from './CloseButton.messages';\n\nexport type CloseButtonProps = Pick<\n React.ComponentPropsWithoutRef<'button'>,\n 'aria-label' | 'className' | 'onClick'\n> & {\n size?: SizeExtraSmall | SizeSmall | SizeMedium | SizeLarge;\n filled?: boolean;\n isDisabled?: boolean;\n testId?: string;\n tabIndex?: number;\n};\n\n/**\n * @deprecated Use `<IconButton />` component instead\n */\nexport const CloseButton = forwardRef(function CloseButton(\n {\n 'aria-label': ariaLabel,\n size = Size.MEDIUM,\n filled = false,\n className,\n onClick,\n isDisabled,\n testId,\n tabIndex,\n }: CloseButtonProps,\n reference: React.ForwardedRef<HTMLButtonElement | null>,\n) {\n const intl = useIntl();\n ariaLabel ??= intl.formatMessage(messages.ariaLabel);\n const Icon = filled ? CrossCircleFill : Cross;\n\n return (\n <button\n ref={reference}\n type=\"button\"\n className={clsx(\n 'np-close-button',\n 'close btn-link',\n 'text-no-decoration',\n {\n 'np-close-button--x-small': size === Size.EXTRA_SMALL,\n 'np-close-button--large': size === Size.MEDIUM,\n 'np-close-button--x-large': size === Size.LARGE,\n },\n className,\n )}\n aria-label={ariaLabel}\n aria-disabled={isDisabled}\n disabled={isDisabled}\n data-testid={testId}\n tabIndex={tabIndex}\n onClick={onClick}\n >\n <Icon size={size === Size.SMALL || size === Size.EXTRA_SMALL ? 16 : 24} />\n </button>\n );\n});\n"],"names":["CloseButton","forwardRef","ariaLabel","size","Size","MEDIUM","filled","className","onClick","isDisabled","testId","tabIndex","reference","intl","useIntl","formatMessage","messages","Icon","CrossCircleFill","Cross","_jsx","ref","type","clsx","EXTRA_SMALL","LARGE","disabled","children","SMALL"],"mappings":";;;;;;;;;;MAuBaA,WAAW,gBAAGC,gBAAU,CAAC,SAASD,WAAWA,CACxD;AACE,EAAA,YAAY,EAAEE,SAAS;QACvBC,MAAI,GAAGC,SAAI,CAACC,MAAM;AAClBC,EAAAA,MAAM,GAAG,KAAK;EACdC,SAAS;EACTC,OAAO;EACPC,UAAU;EACVC,MAAM;AACNC,EAAAA;AAAQ,CACS,EACnBC,SAAuD,EAAA;AAEvD,EAAA,MAAMC,IAAI,GAAGC,iBAAO,EAAE;EACtBZ,SAAS,KAAKW,IAAI,CAACE,aAAa,CAACC,4BAAQ,CAACd,SAAS,CAAC;AACpD,EAAA,MAAMe,IAAI,GAAGX,MAAM,GAAGY,qBAAe,GAAGC,WAAK;AAE7C,EAAA,oBACEC,cAAA,CAAA,QAAA,EAAA;AACEC,IAAAA,GAAG,EAAET,SAAU;AACfU,IAAAA,IAAI,EAAC,QAAQ;IACbf,SAAS,EAAEgB,SAAI,CACb,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB;AACE,MAAA,0BAA0B,EAAEpB,MAAI,KAAKC,SAAI,CAACoB,WAAW;AACrD,MAAA,wBAAwB,EAAErB,MAAI,KAAKC,SAAI,CAACC,MAAM;AAC9C,MAAA,0BAA0B,EAAEF,MAAI,KAAKC,SAAI,CAACqB;KAC3C,EACDlB,SAAS,CACT;AACF,IAAA,YAAA,EAAYL,SAAU;AACtB,IAAA,eAAA,EAAeO,UAAW;AAC1BiB,IAAAA,QAAQ,EAAEjB,UAAW;AACrB,IAAA,aAAA,EAAaC,MAAO;AACpBC,IAAAA,QAAQ,EAAEA,QAAS;AACnBH,IAAAA,OAAO,EAAEA,OAAQ;IAAAmB,QAAA,eAEjBP,cAAA,CAACH,IAAI,EAAA;AAACd,MAAAA,IAAI,EAAEA,MAAI,KAAKC,SAAI,CAACwB,KAAK,IAAIzB,MAAI,KAAKC,SAAI,CAACoB,WAAW,GAAG,EAAE,GAAG;KAAG;AACzE,GAAQ,CAAC;AAEb,CAAC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"CloseButton.messages.js","sources":["../../../src/common/closeButton/CloseButton.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n ariaLabel: {\n id: 'neptune.CloseButton.ariaLabel',\n defaultMessage: 'Close',\n description: 'Description of close button',\n },\n});\n"],"names":["defineMessages","ariaLabel","id"],"mappings":";;;;;;AAEA,uBAAeA,wBAAc,CAAC;AAC5BC,EAAAA,SAAS,EAAE;IACTC,EAAE,EAAA;AAGJ;AACF,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"CloseButton.messages.js","sources":["../../../src/common/closeButton/CloseButton.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n ariaLabel: {\n id: 'neptune.CloseButton.ariaLabel',\n defaultMessage: 'Close',\n description: 'Description of close button',\n },\n});\n"],"names":["defineMessages","ariaLabel","id"],"mappings":";;;;;;AAEA,uBAAeA,wBAAc,CAAC;AAC5BC,EAAAA,SAAS,EAAE;IACTC,EAAE,EAAA;AAGH;AACF,CAAA,CAAC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"CloseButton.messages.mjs","sources":["../../../src/common/closeButton/CloseButton.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n ariaLabel: {\n id: 'neptune.CloseButton.ariaLabel',\n defaultMessage: 'Close',\n description: 'Description of close button',\n },\n});\n"],"names":["defineMessages","ariaLabel","id"],"mappings":";;AAEA,uBAAeA,cAAc,CAAC;AAC5BC,EAAAA,SAAS,EAAE;IACTC,EAAE,EAAA;AAGJ;AACF,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"CloseButton.messages.mjs","sources":["../../../src/common/closeButton/CloseButton.messages.ts"],"sourcesContent":["import { defineMessages } from 'react-intl';\n\nexport default defineMessages({\n ariaLabel: {\n id: 'neptune.CloseButton.ariaLabel',\n defaultMessage: 'Close',\n description: 'Description of close button',\n },\n});\n"],"names":["defineMessages","ariaLabel","id"],"mappings":";;AAEA,uBAAeA,cAAc,CAAC;AAC5BC,EAAAA,SAAS,EAAE;IACTC,EAAE,EAAA;AAGH;AACF,CAAA,CAAC;;;;"}
@@ -6,9 +6,6 @@ import { Size } from '../propsValues/size.mjs';
6
6
  import closeBtnMessages from './CloseButton.messages.mjs';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
9
- /**
10
- * @deprecated Use `<IconButton />` component instead
11
- */
12
9
  const CloseButton = /*#__PURE__*/forwardRef(function CloseButton({
13
10
  'aria-label': ariaLabel,
14
11
  size = Size.MEDIUM,
@@ -1 +1 @@
1
- {"version":3,"file":"CloseButton.mjs","sources":["../../../src/common/closeButton/CloseButton.tsx"],"sourcesContent":["import { Cross, CrossCircleFill } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport { Size, SizeLarge, SizeMedium, SizeSmall, SizeExtraSmall } from '../propsValues/size';\n\nimport messages from './CloseButton.messages';\n\nexport type CloseButtonProps = Pick<\n React.ComponentPropsWithoutRef<'button'>,\n 'aria-label' | 'className' | 'onClick'\n> & {\n size?: SizeExtraSmall | SizeSmall | SizeMedium | SizeLarge;\n filled?: boolean;\n isDisabled?: boolean;\n testId?: string;\n tabIndex?: number;\n};\n\n/**\n * @deprecated Use `<IconButton />` component instead\n */\nexport const CloseButton = forwardRef(function CloseButton(\n {\n 'aria-label': ariaLabel,\n size = Size.MEDIUM,\n filled = false,\n className,\n onClick,\n isDisabled,\n testId,\n tabIndex,\n }: CloseButtonProps,\n reference: React.ForwardedRef<HTMLButtonElement | null>,\n) {\n const intl = useIntl();\n ariaLabel ??= intl.formatMessage(messages.ariaLabel);\n const Icon = filled ? CrossCircleFill : Cross;\n\n return (\n <button\n ref={reference}\n type=\"button\"\n className={clsx(\n 'np-close-button',\n 'close btn-link',\n 'text-no-decoration',\n {\n 'np-close-button--x-small': size === Size.EXTRA_SMALL,\n 'np-close-button--large': size === Size.MEDIUM,\n 'np-close-button--x-large': size === Size.LARGE,\n },\n className,\n )}\n aria-label={ariaLabel}\n aria-disabled={isDisabled}\n disabled={isDisabled}\n data-testid={testId}\n tabIndex={tabIndex}\n onClick={onClick}\n >\n <Icon size={size === Size.SMALL || size === Size.EXTRA_SMALL ? 16 : 24} />\n </button>\n );\n});\n"],"names":["CloseButton","forwardRef","ariaLabel","size","Size","MEDIUM","filled","className","onClick","isDisabled","testId","tabIndex","reference","intl","useIntl","formatMessage","messages","Icon","CrossCircleFill","Cross","_jsx","ref","type","clsx","EXTRA_SMALL","LARGE","disabled","children","SMALL"],"mappings":";;;;;;;;AAoBA;AACA;AACA;MACaA,WAAW,gBAAGC,UAAU,CAAC,SAASD,WAAWA,CACxD;AACE,EAAA,YAAY,EAAEE,SAAS;EACvBC,IAAI,GAAGC,IAAI,CAACC,MAAM;AAClBC,EAAAA,MAAM,GAAG,KAAK;EACdC,SAAS;EACTC,OAAO;EACPC,UAAU;EACVC,MAAM;AACNC,EAAAA;AACgB,CAAC,EACnBC,SAAuD,EACvD;AACA,EAAA,MAAMC,IAAI,GAAGC,OAAO,EAAE;EACtBZ,SAAS,KAAKW,IAAI,CAACE,aAAa,CAACC,gBAAQ,CAACd,SAAS,CAAC;AACpD,EAAA,MAAMe,IAAI,GAAGX,MAAM,GAAGY,eAAe,GAAGC,KAAK;AAE7C,EAAA,oBACEC,GAAA,CAAA,QAAA,EAAA;AACEC,IAAAA,GAAG,EAAET,SAAU;AACfU,IAAAA,IAAI,EAAC,QAAQ;IACbf,SAAS,EAAEgB,IAAI,CACb,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB;AACE,MAAA,0BAA0B,EAAEpB,IAAI,KAAKC,IAAI,CAACoB,WAAW;AACrD,MAAA,wBAAwB,EAAErB,IAAI,KAAKC,IAAI,CAACC,MAAM;AAC9C,MAAA,0BAA0B,EAAEF,IAAI,KAAKC,IAAI,CAACqB;KAC3C,EACDlB,SACF,CAAE;AACF,IAAA,YAAA,EAAYL,SAAU;AACtB,IAAA,eAAA,EAAeO,UAAW;AAC1BiB,IAAAA,QAAQ,EAAEjB,UAAW;AACrB,IAAA,aAAA,EAAaC,MAAO;AACpBC,IAAAA,QAAQ,EAAEA,QAAS;AACnBH,IAAAA,OAAO,EAAEA,OAAQ;IAAAmB,QAAA,eAEjBP,GAAA,CAACH,IAAI,EAAA;AAACd,MAAAA,IAAI,EAAEA,IAAI,KAAKC,IAAI,CAACwB,KAAK,IAAIzB,IAAI,KAAKC,IAAI,CAACoB,WAAW,GAAG,EAAE,GAAG;KAAK;AAAC,GACpE,CAAC;AAEb,CAAC;;;;"}
1
+ {"version":3,"file":"CloseButton.mjs","sources":["../../../src/common/closeButton/CloseButton.tsx"],"sourcesContent":["import { Cross, CrossCircleFill } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport { Size, SizeLarge, SizeMedium, SizeSmall, SizeExtraSmall } from '../propsValues/size';\n\nimport messages from './CloseButton.messages';\n\nexport type CloseButtonProps = Pick<\n React.ComponentPropsWithoutRef<'button'>,\n 'aria-label' | 'className' | 'onClick'\n> & {\n size?: SizeExtraSmall | SizeSmall | SizeMedium | SizeLarge;\n filled?: boolean;\n isDisabled?: boolean;\n testId?: string;\n tabIndex?: number;\n};\n\n/**\n * @deprecated Use `<IconButton />` component instead\n */\nexport const CloseButton = forwardRef(function CloseButton(\n {\n 'aria-label': ariaLabel,\n size = Size.MEDIUM,\n filled = false,\n className,\n onClick,\n isDisabled,\n testId,\n tabIndex,\n }: CloseButtonProps,\n reference: React.ForwardedRef<HTMLButtonElement | null>,\n) {\n const intl = useIntl();\n ariaLabel ??= intl.formatMessage(messages.ariaLabel);\n const Icon = filled ? CrossCircleFill : Cross;\n\n return (\n <button\n ref={reference}\n type=\"button\"\n className={clsx(\n 'np-close-button',\n 'close btn-link',\n 'text-no-decoration',\n {\n 'np-close-button--x-small': size === Size.EXTRA_SMALL,\n 'np-close-button--large': size === Size.MEDIUM,\n 'np-close-button--x-large': size === Size.LARGE,\n },\n className,\n )}\n aria-label={ariaLabel}\n aria-disabled={isDisabled}\n disabled={isDisabled}\n data-testid={testId}\n tabIndex={tabIndex}\n onClick={onClick}\n >\n <Icon size={size === Size.SMALL || size === Size.EXTRA_SMALL ? 16 : 24} />\n </button>\n );\n});\n"],"names":["CloseButton","forwardRef","ariaLabel","size","Size","MEDIUM","filled","className","onClick","isDisabled","testId","tabIndex","reference","intl","useIntl","formatMessage","messages","Icon","CrossCircleFill","Cross","_jsx","ref","type","clsx","EXTRA_SMALL","LARGE","disabled","children","SMALL"],"mappings":";;;;;;;;MAuBaA,WAAW,gBAAGC,UAAU,CAAC,SAASD,WAAWA,CACxD;AACE,EAAA,YAAY,EAAEE,SAAS;EACvBC,IAAI,GAAGC,IAAI,CAACC,MAAM;AAClBC,EAAAA,MAAM,GAAG,KAAK;EACdC,SAAS;EACTC,OAAO;EACPC,UAAU;EACVC,MAAM;AACNC,EAAAA;AAAQ,CACS,EACnBC,SAAuD,EAAA;AAEvD,EAAA,MAAMC,IAAI,GAAGC,OAAO,EAAE;EACtBZ,SAAS,KAAKW,IAAI,CAACE,aAAa,CAACC,gBAAQ,CAACd,SAAS,CAAC;AACpD,EAAA,MAAMe,IAAI,GAAGX,MAAM,GAAGY,eAAe,GAAGC,KAAK;AAE7C,EAAA,oBACEC,GAAA,CAAA,QAAA,EAAA;AACEC,IAAAA,GAAG,EAAET,SAAU;AACfU,IAAAA,IAAI,EAAC,QAAQ;IACbf,SAAS,EAAEgB,IAAI,CACb,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB;AACE,MAAA,0BAA0B,EAAEpB,IAAI,KAAKC,IAAI,CAACoB,WAAW;AACrD,MAAA,wBAAwB,EAAErB,IAAI,KAAKC,IAAI,CAACC,MAAM;AAC9C,MAAA,0BAA0B,EAAEF,IAAI,KAAKC,IAAI,CAACqB;KAC3C,EACDlB,SAAS,CACT;AACF,IAAA,YAAA,EAAYL,SAAU;AACtB,IAAA,eAAA,EAAeO,UAAW;AAC1BiB,IAAAA,QAAQ,EAAEjB,UAAW;AACrB,IAAA,aAAA,EAAaC,MAAO;AACpBC,IAAAA,QAAQ,EAAEA,QAAS;AACnBH,IAAAA,OAAO,EAAEA,OAAQ;IAAAmB,QAAA,eAEjBP,GAAA,CAACH,IAAI,EAAA;AAACd,MAAAA,IAAI,EAAEA,IAAI,KAAKC,IAAI,CAACwB,KAAK,IAAIzB,IAAI,KAAKC,IAAI,CAACoB,WAAW,GAAG,EAAE,GAAG;KAAG;AACzE,GAAQ,CAAC;AAEb,CAAC;;;;"}
@@ -6,7 +6,6 @@
6
6
  * Do not change this array.
7
7
  */
8
8
  const avatarColors = ['var(--color-bright-blue)', 'var(--color-bright-yellow)', 'var(--color-bright-pink)', 'var(--color-bright-orange)'];
9
-
10
9
  /*
11
10
  * Takes in a "seed" string and spits out an index for the color we should use.
12
11
  * This implementation has been synced across all three clients so that we consistently
@@ -1 +1 @@
1
- {"version":3,"file":"colors.js","sources":["../../src/common/colors.ts"],"sourcesContent":["/*\n * The colors we support generating an Avatar background color from a \"seed\" for.\n * Changing this array will change the assignment between seeds.\n * Do not change this array.\n */\nconst avatarColors = [\n 'var(--color-bright-blue)',\n 'var(--color-bright-yellow)',\n 'var(--color-bright-pink)',\n 'var(--color-bright-orange)',\n] as const;\n\n/*\n * Takes in a \"seed\" string and spits out an index for the color we should use.\n * This implementation has been synced across all three clients so that we consistently\n * generate branded avatar colors when rendering a list of Avatars.\n * Do not change this implementation.\n */\nconst hashSeed = (seed: string): number => {\n const base = 31;\n const modulo = avatarColors.length;\n\n let hashValue = 0;\n let basePow = 1;\n\n for (let i = 0; i < seed.length; i += 1) {\n hashValue = (hashValue + seed.charCodeAt(i) * basePow) % modulo;\n basePow = (basePow * base) % modulo;\n }\n\n return hashValue;\n};\n\nexport const getBrandColorFromSeed = (seed: string): (typeof avatarColors)[number] => {\n return avatarColors[hashSeed(seed)];\n};\n"],"names":["avatarColors","hashSeed","seed","base","modulo","length","hashValue","basePow","i","charCodeAt","getBrandColorFromSeed"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA,MAAMA,YAAY,GAAG,CACnB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,CACpB;;AAEV;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,QAAQ,GAAIC,IAAY,IAAa;EACzC,MAAMC,IAAI,GAAG,EAAE;AACf,EAAA,MAAMC,MAAM,GAAGJ,YAAY,CAACK,MAAM;EAElC,IAAIC,SAAS,GAAG,CAAC;EACjB,IAAIC,OAAO,GAAG,CAAC;AAEf,EAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGN,IAAI,CAACG,MAAM,EAAEG,CAAC,IAAI,CAAC,EAAE;AACvCF,IAAAA,SAAS,GAAG,CAACA,SAAS,GAAGJ,IAAI,CAACO,UAAU,CAACD,CAAC,CAAC,GAAGD,OAAO,IAAIH,MAAM;AAC/DG,IAAAA,OAAO,GAAIA,OAAO,GAAGJ,IAAI,GAAIC,MAAM;AACrC,EAAA;AAEA,EAAA,OAAOE,SAAS;AAClB,CAAC;AAEM,MAAMI,qBAAqB,GAAIR,IAAY,IAAoC;AACpF,EAAA,OAAOF,YAAY,CAACC,QAAQ,CAACC,IAAI,CAAC,CAAC;AACrC;;;;"}
1
+ {"version":3,"file":"colors.js","sources":["../../src/common/colors.ts"],"sourcesContent":["/*\n * The colors we support generating an Avatar background color from a \"seed\" for.\n * Changing this array will change the assignment between seeds.\n * Do not change this array.\n */\nconst avatarColors = [\n 'var(--color-bright-blue)',\n 'var(--color-bright-yellow)',\n 'var(--color-bright-pink)',\n 'var(--color-bright-orange)',\n] as const;\n\n/*\n * Takes in a \"seed\" string and spits out an index for the color we should use.\n * This implementation has been synced across all three clients so that we consistently\n * generate branded avatar colors when rendering a list of Avatars.\n * Do not change this implementation.\n */\nconst hashSeed = (seed: string): number => {\n const base = 31;\n const modulo = avatarColors.length;\n\n let hashValue = 0;\n let basePow = 1;\n\n for (let i = 0; i < seed.length; i += 1) {\n hashValue = (hashValue + seed.charCodeAt(i) * basePow) % modulo;\n basePow = (basePow * base) % modulo;\n }\n\n return hashValue;\n};\n\nexport const getBrandColorFromSeed = (seed: string): (typeof avatarColors)[number] => {\n return avatarColors[hashSeed(seed)];\n};\n"],"names":["avatarColors","hashSeed","seed","base","modulo","length","hashValue","basePow","i","charCodeAt","getBrandColorFromSeed"],"mappings":";;AAAA;;;;AAIG;AACH,MAAMA,YAAY,GAAG,CACnB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,CACpB;AAEV;;;;;AAKG;AACH,MAAMC,QAAQ,GAAIC,IAAY,IAAY;EACxC,MAAMC,IAAI,GAAG,EAAE;AACf,EAAA,MAAMC,MAAM,GAAGJ,YAAY,CAACK,MAAM;EAElC,IAAIC,SAAS,GAAG,CAAC;EACjB,IAAIC,OAAO,GAAG,CAAC;AAEf,EAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGN,IAAI,CAACG,MAAM,EAAEG,CAAC,IAAI,CAAC,EAAE;AACvCF,IAAAA,SAAS,GAAG,CAACA,SAAS,GAAGJ,IAAI,CAACO,UAAU,CAACD,CAAC,CAAC,GAAGD,OAAO,IAAIH,MAAM;AAC/DG,IAAAA,OAAO,GAAIA,OAAO,GAAGJ,IAAI,GAAIC,MAAM;AACrC,EAAA;AAEA,EAAA,OAAOE,SAAS;AAClB,CAAC;AAEM,MAAMI,qBAAqB,GAAIR,IAAY,IAAmC;AACnF,EAAA,OAAOF,YAAY,CAACC,QAAQ,CAACC,IAAI,CAAC,CAAC;AACrC;;;;"}
@@ -4,7 +4,6 @@
4
4
  * Do not change this array.
5
5
  */
6
6
  const avatarColors = ['var(--color-bright-blue)', 'var(--color-bright-yellow)', 'var(--color-bright-pink)', 'var(--color-bright-orange)'];
7
-
8
7
  /*
9
8
  * Takes in a "seed" string and spits out an index for the color we should use.
10
9
  * This implementation has been synced across all three clients so that we consistently
@@ -1 +1 @@
1
- {"version":3,"file":"colors.mjs","sources":["../../src/common/colors.ts"],"sourcesContent":["/*\n * The colors we support generating an Avatar background color from a \"seed\" for.\n * Changing this array will change the assignment between seeds.\n * Do not change this array.\n */\nconst avatarColors = [\n 'var(--color-bright-blue)',\n 'var(--color-bright-yellow)',\n 'var(--color-bright-pink)',\n 'var(--color-bright-orange)',\n] as const;\n\n/*\n * Takes in a \"seed\" string and spits out an index for the color we should use.\n * This implementation has been synced across all three clients so that we consistently\n * generate branded avatar colors when rendering a list of Avatars.\n * Do not change this implementation.\n */\nconst hashSeed = (seed: string): number => {\n const base = 31;\n const modulo = avatarColors.length;\n\n let hashValue = 0;\n let basePow = 1;\n\n for (let i = 0; i < seed.length; i += 1) {\n hashValue = (hashValue + seed.charCodeAt(i) * basePow) % modulo;\n basePow = (basePow * base) % modulo;\n }\n\n return hashValue;\n};\n\nexport const getBrandColorFromSeed = (seed: string): (typeof avatarColors)[number] => {\n return avatarColors[hashSeed(seed)];\n};\n"],"names":["avatarColors","hashSeed","seed","base","modulo","length","hashValue","basePow","i","charCodeAt","getBrandColorFromSeed"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA,MAAMA,YAAY,GAAG,CACnB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,CACpB;;AAEV;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,QAAQ,GAAIC,IAAY,IAAa;EACzC,MAAMC,IAAI,GAAG,EAAE;AACf,EAAA,MAAMC,MAAM,GAAGJ,YAAY,CAACK,MAAM;EAElC,IAAIC,SAAS,GAAG,CAAC;EACjB,IAAIC,OAAO,GAAG,CAAC;AAEf,EAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGN,IAAI,CAACG,MAAM,EAAEG,CAAC,IAAI,CAAC,EAAE;AACvCF,IAAAA,SAAS,GAAG,CAACA,SAAS,GAAGJ,IAAI,CAACO,UAAU,CAACD,CAAC,CAAC,GAAGD,OAAO,IAAIH,MAAM;AAC/DG,IAAAA,OAAO,GAAIA,OAAO,GAAGJ,IAAI,GAAIC,MAAM;AACrC,EAAA;AAEA,EAAA,OAAOE,SAAS;AAClB,CAAC;AAEM,MAAMI,qBAAqB,GAAIR,IAAY,IAAoC;AACpF,EAAA,OAAOF,YAAY,CAACC,QAAQ,CAACC,IAAI,CAAC,CAAC;AACrC;;;;"}
1
+ {"version":3,"file":"colors.mjs","sources":["../../src/common/colors.ts"],"sourcesContent":["/*\n * The colors we support generating an Avatar background color from a \"seed\" for.\n * Changing this array will change the assignment between seeds.\n * Do not change this array.\n */\nconst avatarColors = [\n 'var(--color-bright-blue)',\n 'var(--color-bright-yellow)',\n 'var(--color-bright-pink)',\n 'var(--color-bright-orange)',\n] as const;\n\n/*\n * Takes in a \"seed\" string and spits out an index for the color we should use.\n * This implementation has been synced across all three clients so that we consistently\n * generate branded avatar colors when rendering a list of Avatars.\n * Do not change this implementation.\n */\nconst hashSeed = (seed: string): number => {\n const base = 31;\n const modulo = avatarColors.length;\n\n let hashValue = 0;\n let basePow = 1;\n\n for (let i = 0; i < seed.length; i += 1) {\n hashValue = (hashValue + seed.charCodeAt(i) * basePow) % modulo;\n basePow = (basePow * base) % modulo;\n }\n\n return hashValue;\n};\n\nexport const getBrandColorFromSeed = (seed: string): (typeof avatarColors)[number] => {\n return avatarColors[hashSeed(seed)];\n};\n"],"names":["avatarColors","hashSeed","seed","base","modulo","length","hashValue","basePow","i","charCodeAt","getBrandColorFromSeed"],"mappings":"AAAA;;;;AAIG;AACH,MAAMA,YAAY,GAAG,CACnB,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,CACpB;AAEV;;;;;AAKG;AACH,MAAMC,QAAQ,GAAIC,IAAY,IAAY;EACxC,MAAMC,IAAI,GAAG,EAAE;AACf,EAAA,MAAMC,MAAM,GAAGJ,YAAY,CAACK,MAAM;EAElC,IAAIC,SAAS,GAAG,CAAC;EACjB,IAAIC,OAAO,GAAG,CAAC;AAEf,EAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGN,IAAI,CAACG,MAAM,EAAEG,CAAC,IAAI,CAAC,EAAE;AACvCF,IAAAA,SAAS,GAAG,CAACA,SAAS,GAAGJ,IAAI,CAACO,UAAU,CAACD,CAAC,CAAC,GAAGD,OAAO,IAAIH,MAAM;AAC/DG,IAAAA,OAAO,GAAIA,OAAO,GAAGJ,IAAI,GAAIC,MAAM;AACrC,EAAA;AAEA,EAAA,OAAOE,SAAS;AAClB,CAAC;AAEM,MAAMI,qBAAqB,GAAIR,IAAY,IAAmC;AACnF,EAAA,OAAOF,YAAY,CAACC,QAAQ,CAACC,IAAI,CAAC,CAAC;AACrC;;;;"}
@@ -3,7 +3,6 @@
3
3
  /**
4
4
  * This file holds repository-wide constants that are reusable by more than 1 component.
5
5
  */
6
-
7
6
  /**
8
7
  * A delay [ms] after which it's OK to update a live region content,
9
8
  * taking under consideration delayed programmatic refocusing
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../src/common/constants.ts"],"sourcesContent":["/**\n * This file holds repository-wide constants that are reusable by more than 1 component.\n */\n\n/**\n * A delay [ms] after which it's OK to update a live region content,\n * taking under consideration delayed programmatic refocusing\n * of triggering components (e.g., SelectInput) and Accessibility\n * Tree updates that prevent the screen reader announcements.\n */\nexport const WDS_LIVE_REGION_DELAY_MS = 175;\n"],"names":["WDS_LIVE_REGION_DELAY_MS"],"mappings":";;AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,wBAAwB,GAAG;;;;"}
1
+ {"version":3,"file":"constants.js","sources":["../../src/common/constants.ts"],"sourcesContent":["/**\n * This file holds repository-wide constants that are reusable by more than 1 component.\n */\n\n/**\n * A delay [ms] after which it's OK to update a live region content,\n * taking under consideration delayed programmatic refocusing\n * of triggering components (e.g., SelectInput) and Accessibility\n * Tree updates that prevent the screen reader announcements.\n */\nexport const WDS_LIVE_REGION_DELAY_MS = 175;\n"],"names":["WDS_LIVE_REGION_DELAY_MS"],"mappings":";;AAAA;;AAEG;AAEH;;;;;AAKG;AACI,MAAMA,wBAAwB,GAAG;;;;"}
@@ -1,7 +1,6 @@
1
1
  /**
2
2
  * This file holds repository-wide constants that are reusable by more than 1 component.
3
3
  */
4
-
5
4
  /**
6
5
  * A delay [ms] after which it's OK to update a live region content,
7
6
  * taking under consideration delayed programmatic refocusing
@@ -1 +1 @@
1
- {"version":3,"file":"constants.mjs","sources":["../../src/common/constants.ts"],"sourcesContent":["/**\n * This file holds repository-wide constants that are reusable by more than 1 component.\n */\n\n/**\n * A delay [ms] after which it's OK to update a live region content,\n * taking under consideration delayed programmatic refocusing\n * of triggering components (e.g., SelectInput) and Accessibility\n * Tree updates that prevent the screen reader announcements.\n */\nexport const WDS_LIVE_REGION_DELAY_MS = 175;\n"],"names":["WDS_LIVE_REGION_DELAY_MS"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMA,wBAAwB,GAAG;;;;"}
1
+ {"version":3,"file":"constants.mjs","sources":["../../src/common/constants.ts"],"sourcesContent":["/**\n * This file holds repository-wide constants that are reusable by more than 1 component.\n */\n\n/**\n * A delay [ms] after which it's OK to update a live region content,\n * taking under consideration delayed programmatic refocusing\n * of triggering components (e.g., SelectInput) and Accessibility\n * Tree updates that prevent the screen reader announcements.\n */\nexport const WDS_LIVE_REGION_DELAY_MS = 175;\n"],"names":["WDS_LIVE_REGION_DELAY_MS"],"mappings":"AAAA;;AAEG;AAEH;;;;;AAKG;AACI,MAAMA,wBAAwB,GAAG;;;;"}