@transferwise/components 46.119.4 → 46.120.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2441) hide show
  1. package/build/accordion/Accordion.js +43 -0
  2. package/build/accordion/Accordion.js.map +1 -1
  3. package/build/accordion/Accordion.mjs +43 -0
  4. package/build/accordion/Accordion.mjs.map +1 -1
  5. package/build/accordion/AccordionItem/AccordionItem.js +39 -16
  6. package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
  7. package/build/accordion/AccordionItem/AccordionItem.mjs +39 -16
  8. package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
  9. package/build/actionButton/ActionButton.js +3 -18
  10. package/build/actionButton/ActionButton.js.map +1 -1
  11. package/build/actionButton/ActionButton.mjs +3 -18
  12. package/build/actionButton/ActionButton.mjs.map +1 -1
  13. package/build/actionOption/ActionOption.js +8 -18
  14. package/build/actionOption/ActionOption.js.map +1 -1
  15. package/build/actionOption/ActionOption.mjs +8 -18
  16. package/build/actionOption/ActionOption.mjs.map +1 -1
  17. package/build/alert/Alert.js +6 -21
  18. package/build/alert/Alert.js.map +1 -1
  19. package/build/alert/Alert.mjs +5 -21
  20. package/build/alert/Alert.mjs.map +1 -1
  21. package/build/alert/inlineMarkdown/InlineMarkdown.js +0 -18
  22. package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
  23. package/build/alert/inlineMarkdown/InlineMarkdown.mjs +0 -18
  24. package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
  25. package/build/avatar/Avatar.js +1 -18
  26. package/build/avatar/Avatar.js.map +1 -1
  27. package/build/avatar/Avatar.mjs +1 -18
  28. package/build/avatar/Avatar.mjs.map +1 -1
  29. package/build/avatar/avatarTypes.js +5 -3
  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 +2 -1
  34. package/build/avatarLayout/AvatarLayout.js.map +1 -1
  35. package/build/avatarLayout/AvatarLayout.mjs +2 -1
  36. package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
  37. package/build/avatarView/AvatarView.js +3 -18
  38. package/build/avatarView/AvatarView.js.map +1 -1
  39. package/build/avatarView/AvatarView.mjs +3 -18
  40. package/build/avatarView/AvatarView.mjs.map +1 -1
  41. package/build/avatarView/Dot.js +3 -0
  42. package/build/avatarView/Dot.js.map +1 -1
  43. package/build/avatarView/Dot.mjs +3 -0
  44. package/build/avatarView/Dot.mjs.map +1 -1
  45. package/build/avatarWrapper/AvatarWrapper.js +1 -17
  46. package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
  47. package/build/avatarWrapper/AvatarWrapper.mjs +1 -17
  48. package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
  49. package/build/badge/Badge.js +1 -17
  50. package/build/badge/Badge.js.map +1 -1
  51. package/build/badge/Badge.mjs +1 -17
  52. package/build/badge/Badge.mjs.map +1 -1
  53. package/build/badge/BadgeAssets.js +3 -0
  54. package/build/badge/BadgeAssets.js.map +1 -1
  55. package/build/badge/BadgeAssets.mjs +3 -0
  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 +4 -18
  60. package/build/button/Button.js.map +1 -1
  61. package/build/button/Button.mjs +4 -18
  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 +4 -17
  66. package/build/button/LegacyButton.js.map +1 -1
  67. package/build/button/LegacyButton.mjs +5 -18
  68. package/build/button/LegacyButton.mjs.map +1 -1
  69. package/build/button/classMap.js +0 -18
  70. package/build/button/classMap.js.map +1 -1
  71. package/build/button/classMap.mjs +0 -18
  72. package/build/button/classMap.mjs.map +1 -1
  73. package/build/button/legacyUtils/legacyUtils.js +1 -16
  74. package/build/button/legacyUtils/legacyUtils.js.map +1 -1
  75. package/build/button/legacyUtils/legacyUtils.mjs +1 -16
  76. package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
  77. package/build/card/Card.js +4 -17
  78. package/build/card/Card.js.map +1 -1
  79. package/build/card/Card.mjs +4 -17
  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 +1 -19
  84. package/build/checkbox/Checkbox.js.map +1 -1
  85. package/build/checkbox/Checkbox.mjs +1 -19
  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 +8 -0
  90. package/build/checkboxOption/CheckboxOption.js.map +1 -1
  91. package/build/checkboxOption/CheckboxOption.mjs +8 -0
  92. package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
  93. package/build/chevron/Chevron.js +0 -17
  94. package/build/chevron/Chevron.js.map +1 -1
  95. package/build/chevron/Chevron.mjs +0 -17
  96. package/build/chevron/Chevron.mjs.map +1 -1
  97. package/build/chips/Chip.js +0 -18
  98. package/build/chips/Chip.js.map +1 -1
  99. package/build/chips/Chip.mjs +0 -18
  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 +0 -16
  106. package/build/circularButton/CircularButton.js.map +1 -1
  107. package/build/circularButton/CircularButton.mjs +0 -16
  108. package/build/circularButton/CircularButton.mjs.map +1 -1
  109. package/build/common/DOMOperations/DOMOperations.js +2 -0
  110. package/build/common/DOMOperations/DOMOperations.js.map +1 -1
  111. package/build/common/DOMOperations/DOMOperations.mjs +2 -0
  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 +5 -0
  118. package/build/common/bottomSheet/BottomSheet.js.map +1 -1
  119. package/build/common/bottomSheet/BottomSheet.mjs +5 -0
  120. package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
  121. package/build/common/card/Card.js +21 -0
  122. package/build/common/card/Card.js.map +1 -1
  123. package/build/common/card/Card.mjs +21 -0
  124. package/build/common/card/Card.mjs.map +1 -1
  125. package/build/common/circle/Circle.js +4 -0
  126. package/build/common/circle/Circle.js.map +1 -1
  127. package/build/common/circle/Circle.mjs +4 -0
  128. package/build/common/circle/Circle.mjs.map +1 -1
  129. package/build/common/closeButton/CloseButton.js +3 -0
  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 +3 -0
  134. package/build/common/closeButton/CloseButton.mjs.map +1 -1
  135. package/build/common/colors.js +1 -0
  136. package/build/common/colors.js.map +1 -1
  137. package/build/common/colors.mjs +1 -0
  138. package/build/common/colors.mjs.map +1 -1
  139. package/build/common/constants.js +1 -0
  140. package/build/common/constants.js.map +1 -1
  141. package/build/common/constants.mjs +1 -0
  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 +5 -3
  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 +3 -2
  162. package/build/common/domHelpers/documentIosClick.js.map +1 -1
  163. package/build/common/domHelpers/documentIosClick.mjs +3 -2
  164. package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
  165. package/build/common/fileType.js +5 -3
  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 +1 -0
  181. package/build/common/hooks/useEffectEvent.js.map +1 -1
  182. package/build/common/hooks/useEffectEvent.mjs +1 -0
  183. package/build/common/hooks/useEffectEvent.mjs.map +1 -1
  184. package/build/common/hooks/useHasIntersected/useHasIntersected.js +2 -0
  185. package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
  186. package/build/common/hooks/useHasIntersected/useHasIntersected.mjs +2 -0
  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 +20 -7
  199. package/build/common/initials.js.map +1 -1
  200. package/build/common/initials.mjs +20 -7
  201. package/build/common/initials.mjs.map +1 -1
  202. package/build/common/locale/index.js +6 -0
  203. package/build/common/locale/index.js.map +1 -1
  204. package/build/common/locale/index.mjs +6 -0
  205. package/build/common/locale/index.mjs.map +1 -1
  206. package/build/common/panel/Panel.js +2 -18
  207. package/build/common/panel/Panel.js.map +1 -1
  208. package/build/common/panel/Panel.mjs +2 -18
  209. package/build/common/panel/Panel.mjs.map +1 -1
  210. package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js +3 -0
  211. package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
  212. package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs +3 -0
  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 +5 -3
  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 +9 -6
  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 +5 -3
  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 +5 -3
  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 +5 -3
  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 +5 -3
  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 +5 -3
  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 +5 -3
  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 +5 -3
  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 +5 -3
  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 +5 -3
  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 +5 -3
  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 +5 -3
  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 +9 -3
  269. package/build/common/propsValues/typography.js.map +1 -1
  270. package/build/common/propsValues/typography.mjs +7 -3
  271. package/build/common/propsValues/typography.mjs.map +1 -1
  272. package/build/common/propsValues/variant.js +5 -3
  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 +5 -3
  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 +0 -18
  281. package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
  282. package/build/common/responsivePanel/ResponsivePanel.mjs +0 -18
  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 +5 -3
  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 +5 -15
  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 +5 -15
  307. package/build/dateInput/DateInput.mjs.map +1 -1
  308. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js +1 -0
  309. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
  310. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs +1 -0
  311. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
  312. package/build/dateLookup/DateLookup.js +0 -15
  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 +0 -15
  317. package/build/dateLookup/DateLookup.mjs.map +1 -1
  318. package/build/dateLookup/dateHeader/DateHeader.js +0 -18
  319. package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
  320. package/build/dateLookup/dateHeader/DateHeader.mjs +0 -18
  321. package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
  322. package/build/dateLookup/dateTrigger/DateTrigger.js +0 -16
  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 +0 -16
  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 +1 -0
  331. package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
  332. package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs +1 -0
  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 +13 -28
  349. package/build/decision/Decision.js.map +1 -1
  350. package/build/decision/Decision.mjs +6 -23
  351. package/build/decision/Decision.mjs.map +1 -1
  352. package/build/definitionList/DefinitionList.js +0 -18
  353. package/build/definitionList/DefinitionList.js.map +1 -1
  354. package/build/definitionList/DefinitionList.mjs +0 -18
  355. package/build/definitionList/DefinitionList.mjs.map +1 -1
  356. package/build/dimmer/Dimmer.js +1 -19
  357. package/build/dimmer/Dimmer.js.map +1 -1
  358. package/build/dimmer/Dimmer.mjs +1 -19
  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 +0 -18
  363. package/build/display/Display.js.map +1 -1
  364. package/build/display/Display.mjs +0 -18
  365. package/build/display/Display.mjs.map +1 -1
  366. package/build/divider/Divider.js +9 -0
  367. package/build/divider/Divider.js.map +1 -1
  368. package/build/divider/Divider.mjs +9 -0
  369. package/build/divider/Divider.mjs.map +1 -1
  370. package/build/drawer/Drawer.js +0 -17
  371. package/build/drawer/Drawer.js.map +1 -1
  372. package/build/drawer/Drawer.mjs +0 -17
  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 +1 -0
  379. package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
  380. package/build/emphasis/EmphasisHtmlTransformer.mjs +1 -0
  381. package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
  382. package/build/expressiveMoneyInput/ExpressiveMoneyInput.js +15 -0
  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 +15 -0
  387. package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
  388. package/build/expressiveMoneyInput/amountInput/AmountInput.js +5 -0
  389. package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
  390. package/build/expressiveMoneyInput/amountInput/AmountInput.mjs +5 -0
  391. package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
  392. package/build/expressiveMoneyInput/amountInput/utils.js +2 -0
  393. package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
  394. package/build/expressiveMoneyInput/amountInput/utils.mjs +2 -0
  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 +9 -22
  407. package/build/field/Field.js.map +1 -1
  408. package/build/field/Field.mjs +9 -22
  409. package/build/field/Field.mjs.map +1 -1
  410. package/build/flowNavigation/FlowNavigation.js +0 -17
  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 +0 -17
  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 +8 -18
  419. package/build/header/Header.js.map +1 -1
  420. package/build/header/Header.mjs +8 -18
  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 +27 -108
  433. package/build/index.js.map +1 -1
  434. package/build/info/Info.js +0 -17
  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 +0 -17
  439. package/build/info/Info.mjs.map +1 -1
  440. package/build/info/infoPresentations.js +5 -3
  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 +2 -24
  445. package/build/inlineAlert/InlineAlert.js.map +1 -1
  446. package/build/inlineAlert/InlineAlert.mjs +2 -24
  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 +0 -18
  455. package/build/inputs/SearchInput.js.map +1 -1
  456. package/build/inputs/SearchInput.mjs +0 -18
  457. package/build/inputs/SearchInput.mjs.map +1 -1
  458. package/build/inputs/SelectInput.js +5 -0
  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 +5 -0
  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 +0 -18
  477. package/build/instructionsList/InstructionsList.js.map +1 -1
  478. package/build/instructionsList/InstructionsList.mjs +0 -18
  479. package/build/instructionsList/InstructionsList.mjs.map +1 -1
  480. package/build/label/Label.js +10 -0
  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 +10 -0
  485. package/build/label/Label.mjs.map +1 -1
  486. package/build/legacylistItem/LegacyListItem.js +8 -0
  487. package/build/legacylistItem/LegacyListItem.js.map +1 -1
  488. package/build/legacylistItem/LegacyListItem.mjs +8 -0
  489. package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
  490. package/build/link/Link.js +5 -18
  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 +5 -18
  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 +0 -18
  499. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
  500. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +0 -18
  501. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
  502. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js +7 -0
  503. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
  504. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs +7 -0
  505. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
  506. package/build/listItem/AvatarView/ListItemAvatarView.js +7 -0
  507. package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
  508. package/build/listItem/AvatarView/ListItemAvatarView.mjs +7 -0
  509. package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
  510. package/build/listItem/Button/ListItemButton.js +7 -0
  511. package/build/listItem/Button/ListItemButton.js.map +1 -1
  512. package/build/listItem/Button/ListItemButton.mjs +7 -0
  513. package/build/listItem/Button/ListItemButton.mjs.map +1 -1
  514. package/build/listItem/Checkbox/ListItemCheckbox.js +7 -0
  515. package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -1
  516. package/build/listItem/Checkbox/ListItemCheckbox.mjs +7 -0
  517. package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -1
  518. package/build/listItem/IconButton/ListItemIconButton.js +7 -0
  519. package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
  520. package/build/listItem/IconButton/ListItemIconButton.mjs +7 -0
  521. package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
  522. package/build/listItem/Image/ListItemImage.js +9 -0
  523. package/build/listItem/Image/ListItemImage.js.map +1 -1
  524. package/build/listItem/Image/ListItemImage.mjs +9 -0
  525. package/build/listItem/Image/ListItemImage.mjs.map +1 -1
  526. package/build/listItem/ListItem.js +7 -17
  527. package/build/listItem/ListItem.js.map +1 -1
  528. package/build/listItem/ListItem.mjs +7 -17
  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 +8 -0
  533. package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
  534. package/build/listItem/Navigation/ListItemNavigation.mjs +8 -0
  535. package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
  536. package/build/listItem/Prompt/ListItemPrompt.js +8 -20
  537. package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
  538. package/build/listItem/Prompt/ListItemPrompt.mjs +8 -20
  539. package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
  540. package/build/listItem/Radio/ListItemRadio.js +7 -0
  541. package/build/listItem/Radio/ListItemRadio.js.map +1 -1
  542. package/build/listItem/Radio/ListItemRadio.mjs +7 -0
  543. package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
  544. package/build/listItem/Switch/ListItemSwitch.js +7 -0
  545. package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
  546. package/build/listItem/Switch/ListItemSwitch.mjs +7 -0
  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 +10 -18
  553. package/build/loader/Loader.js.map +1 -1
  554. package/build/loader/Loader.mjs +10 -18
  555. package/build/loader/Loader.mjs.map +1 -1
  556. package/build/logo/Logo.js +4 -3
  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/main.css +20 -1
  563. package/build/markdown/Markdown.js +14 -32
  564. package/build/markdown/Markdown.js.map +1 -1
  565. package/build/markdown/Markdown.mjs +0 -18
  566. package/build/markdown/Markdown.mjs.map +1 -1
  567. package/build/mocks.js.map +1 -1
  568. package/build/mocks.mjs.map +1 -1
  569. package/build/modal/Modal.js +0 -15
  570. package/build/modal/Modal.js.map +1 -1
  571. package/build/modal/Modal.mjs +0 -15
  572. package/build/modal/Modal.mjs.map +1 -1
  573. package/build/money/Money.js.map +1 -1
  574. package/build/money/Money.mjs.map +1 -1
  575. package/build/moneyInput/MoneyInput.js +0 -17
  576. package/build/moneyInput/MoneyInput.js.map +1 -1
  577. package/build/moneyInput/MoneyInput.messages.js.map +1 -1
  578. package/build/moneyInput/MoneyInput.messages.mjs.map +1 -1
  579. package/build/moneyInput/MoneyInput.mjs +0 -17
  580. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  581. package/build/moneyInput/currencyFormatting.js +2 -2
  582. package/build/moneyInput/currencyFormatting.js.map +1 -1
  583. package/build/moneyInput/currencyFormatting.mjs.map +1 -1
  584. package/build/navigationOption/NavigationOption.js +8 -18
  585. package/build/navigationOption/NavigationOption.js.map +1 -1
  586. package/build/navigationOption/NavigationOption.mjs +8 -18
  587. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  588. package/build/navigationOptionsList/NavigationOptionsList.js +9 -0
  589. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  590. package/build/navigationOptionsList/NavigationOptionsList.mjs +9 -0
  591. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  592. package/build/nudge/Nudge.js +1 -18
  593. package/build/nudge/Nudge.js.map +1 -1
  594. package/build/nudge/Nudge.mjs +1 -18
  595. package/build/nudge/Nudge.mjs.map +1 -1
  596. package/build/overlayHeader/OverlayHeader.js +0 -18
  597. package/build/overlayHeader/OverlayHeader.js.map +1 -1
  598. package/build/overlayHeader/OverlayHeader.mjs +0 -18
  599. package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
  600. package/build/phoneNumberInput/PhoneNumberInput.js +3 -19
  601. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  602. package/build/phoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
  603. package/build/phoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
  604. package/build/phoneNumberInput/PhoneNumberInput.mjs +3 -19
  605. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  606. package/build/phoneNumberInput/data/countries.js.map +1 -1
  607. package/build/phoneNumberInput/data/countries.mjs.map +1 -1
  608. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js +1 -0
  609. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
  610. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs +1 -0
  611. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs.map +1 -1
  612. package/build/phoneNumberInput/utils/explodeNumberModel/index.js.map +1 -1
  613. package/build/phoneNumberInput/utils/explodeNumberModel/index.mjs.map +1 -1
  614. package/build/phoneNumberInput/utils/findCountryByCode/index.js.map +1 -1
  615. package/build/phoneNumberInput/utils/findCountryByCode/index.mjs.map +1 -1
  616. package/build/phoneNumberInput/utils/findCountryByPrefix/index.js.map +1 -1
  617. package/build/phoneNumberInput/utils/findCountryByPrefix/index.mjs.map +1 -1
  618. package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js.map +1 -1
  619. package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.mjs.map +1 -1
  620. package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js.map +1 -1
  621. package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs.map +1 -1
  622. package/build/phoneNumberInput/utils/setDefaultPrefix/index.js +1 -0
  623. package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
  624. package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs +1 -0
  625. package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs.map +1 -1
  626. package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js.map +1 -1
  627. package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.mjs.map +1 -1
  628. package/build/popover/Popover.js +0 -17
  629. package/build/popover/Popover.js.map +1 -1
  630. package/build/popover/Popover.mjs +0 -17
  631. package/build/popover/Popover.mjs.map +1 -1
  632. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js +10 -0
  633. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
  634. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs +10 -0
  635. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
  636. package/build/primitives/PrimitiveButton/PrimitiveButton.js +10 -0
  637. package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
  638. package/build/primitives/PrimitiveButton/PrimitiveButton.mjs +10 -0
  639. package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
  640. package/build/processIndicator/ProcessIndicator.js +3 -18
  641. package/build/processIndicator/ProcessIndicator.js.map +1 -1
  642. package/build/processIndicator/ProcessIndicator.mjs +3 -18
  643. package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
  644. package/build/progress/Progress.js.map +1 -1
  645. package/build/progress/Progress.mjs.map +1 -1
  646. package/build/progressBar/ProgressBar.js +0 -18
  647. package/build/progressBar/ProgressBar.js.map +1 -1
  648. package/build/progressBar/ProgressBar.mjs +0 -18
  649. package/build/progressBar/ProgressBar.mjs.map +1 -1
  650. package/build/promoCard/PromoCard.js +47 -18
  651. package/build/promoCard/PromoCard.js.map +1 -1
  652. package/build/promoCard/PromoCard.mjs +47 -18
  653. package/build/promoCard/PromoCard.mjs.map +1 -1
  654. package/build/promoCard/PromoCardContext.js +11 -0
  655. package/build/promoCard/PromoCardContext.js.map +1 -1
  656. package/build/promoCard/PromoCardContext.mjs +11 -0
  657. package/build/promoCard/PromoCardContext.mjs.map +1 -1
  658. package/build/promoCard/PromoCardGroup.js +21 -0
  659. package/build/promoCard/PromoCardGroup.js.map +1 -1
  660. package/build/promoCard/PromoCardGroup.mjs +21 -0
  661. package/build/promoCard/PromoCardGroup.mjs.map +1 -1
  662. package/build/promoCard/PromoCardIndicator.js +16 -18
  663. package/build/promoCard/PromoCardIndicator.js.map +1 -1
  664. package/build/promoCard/PromoCardIndicator.mjs +16 -18
  665. package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
  666. package/build/prompt/InlinePrompt/InlinePrompt.js +12 -22
  667. package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
  668. package/build/prompt/InlinePrompt/InlinePrompt.mjs +12 -22
  669. package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
  670. package/build/provider/Provider.js +0 -19
  671. package/build/provider/Provider.js.map +1 -1
  672. package/build/provider/Provider.mjs +0 -19
  673. package/build/provider/Provider.mjs.map +1 -1
  674. package/build/provider/direction/DirectionProvider.js.map +1 -1
  675. package/build/provider/direction/DirectionProvider.mjs.map +1 -1
  676. package/build/provider/language/LanguageProvider.js.map +1 -1
  677. package/build/provider/language/LanguageProvider.mjs.map +1 -1
  678. package/build/provider/overlay/OverlayIdProvider.js.map +1 -1
  679. package/build/provider/overlay/OverlayIdProvider.mjs.map +1 -1
  680. package/build/radio/Radio.js +0 -18
  681. package/build/radio/Radio.js.map +1 -1
  682. package/build/radio/Radio.mjs +0 -18
  683. package/build/radio/Radio.mjs.map +1 -1
  684. package/build/radioGroup/RadioGroup.js +1 -0
  685. package/build/radioGroup/RadioGroup.js.map +1 -1
  686. package/build/radioGroup/RadioGroup.mjs +1 -0
  687. package/build/radioGroup/RadioGroup.mjs.map +1 -1
  688. package/build/radioOption/RadioOption.js +8 -0
  689. package/build/radioOption/RadioOption.js.map +1 -1
  690. package/build/radioOption/RadioOption.mjs +8 -0
  691. package/build/radioOption/RadioOption.mjs.map +1 -1
  692. package/build/section/Section.js +5 -0
  693. package/build/section/Section.js.map +1 -1
  694. package/build/section/Section.mjs +5 -0
  695. package/build/section/Section.mjs.map +1 -1
  696. package/build/segmentedControl/SegmentedControl.js +2 -18
  697. package/build/segmentedControl/SegmentedControl.js.map +1 -1
  698. package/build/segmentedControl/SegmentedControl.mjs +2 -18
  699. package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
  700. package/build/select/Select.js +3 -18
  701. package/build/select/Select.js.map +1 -1
  702. package/build/select/Select.messages.js.map +1 -1
  703. package/build/select/Select.messages.mjs.map +1 -1
  704. package/build/select/Select.mjs +3 -18
  705. package/build/select/Select.mjs.map +1 -1
  706. package/build/select/option/Option.js +0 -18
  707. package/build/select/option/Option.js.map +1 -1
  708. package/build/select/option/Option.mjs +0 -18
  709. package/build/select/option/Option.mjs.map +1 -1
  710. package/build/select/searchBox/SearchBox.js.map +1 -1
  711. package/build/select/searchBox/SearchBox.mjs.map +1 -1
  712. package/build/sentimentSurface/SentimentSurface.js +28 -0
  713. package/build/sentimentSurface/SentimentSurface.js.map +1 -1
  714. package/build/sentimentSurface/SentimentSurface.mjs +28 -0
  715. package/build/sentimentSurface/SentimentSurface.mjs.map +1 -1
  716. package/build/slidingPanel/SlidingPanel.js.map +1 -1
  717. package/build/slidingPanel/SlidingPanel.mjs.map +1 -1
  718. package/build/snackbar/Snackbar.js.map +1 -1
  719. package/build/snackbar/Snackbar.mjs.map +1 -1
  720. package/build/snackbar/SnackbarContext.js.map +1 -1
  721. package/build/snackbar/SnackbarContext.mjs.map +1 -1
  722. package/build/snackbar/SnackbarProvider.js.map +1 -1
  723. package/build/snackbar/SnackbarProvider.mjs.map +1 -1
  724. package/build/snackbar/useSnackbar.js.map +1 -1
  725. package/build/snackbar/useSnackbar.mjs.map +1 -1
  726. package/build/statusIcon/StatusIcon.js +0 -15
  727. package/build/statusIcon/StatusIcon.js.map +1 -1
  728. package/build/statusIcon/StatusIcon.messages.js.map +1 -1
  729. package/build/statusIcon/StatusIcon.messages.mjs.map +1 -1
  730. package/build/statusIcon/StatusIcon.mjs +0 -15
  731. package/build/statusIcon/StatusIcon.mjs.map +1 -1
  732. package/build/stepper/Stepper.js +0 -18
  733. package/build/stepper/Stepper.js.map +1 -1
  734. package/build/stepper/Stepper.mjs +0 -18
  735. package/build/stepper/Stepper.mjs.map +1 -1
  736. package/build/stepper/deviceDetection.js.map +1 -1
  737. package/build/stepper/deviceDetection.mjs.map +1 -1
  738. package/build/sticky/Sticky.js +22 -18
  739. package/build/sticky/Sticky.js.map +1 -1
  740. package/build/sticky/Sticky.mjs +22 -18
  741. package/build/sticky/Sticky.mjs.map +1 -1
  742. package/build/styles/field/Field.css +10 -1
  743. package/build/styles/main.css +20 -1
  744. package/build/styles/prompt/InlinePrompt/InlinePrompt.css +3 -0
  745. package/build/styles/radioGroup/RadioGroup.css +3 -0
  746. package/build/styles/typeahead/Typeahead.css +4 -0
  747. package/build/summary/Summary.js +0 -16
  748. package/build/summary/Summary.js.map +1 -1
  749. package/build/summary/Summary.messages.js.map +1 -1
  750. package/build/summary/Summary.messages.mjs.map +1 -1
  751. package/build/summary/Summary.mjs +0 -16
  752. package/build/summary/Summary.mjs.map +1 -1
  753. package/build/switch/Switch.js.map +1 -1
  754. package/build/switch/Switch.mjs.map +1 -1
  755. package/build/switchOption/SwitchOption.js +1 -0
  756. package/build/switchOption/SwitchOption.js.map +1 -1
  757. package/build/switchOption/SwitchOption.mjs +1 -0
  758. package/build/switchOption/SwitchOption.mjs.map +1 -1
  759. package/build/table/Table.js +1 -17
  760. package/build/table/Table.js.map +1 -1
  761. package/build/table/Table.messages.js.map +1 -1
  762. package/build/table/Table.messages.mjs.map +1 -1
  763. package/build/table/Table.mjs +1 -17
  764. package/build/table/Table.mjs.map +1 -1
  765. package/build/table/TableCell.js.map +1 -1
  766. package/build/table/TableCell.mjs.map +1 -1
  767. package/build/table/TableHeader.js +1 -0
  768. package/build/table/TableHeader.js.map +1 -1
  769. package/build/table/TableHeader.mjs +1 -0
  770. package/build/table/TableHeader.mjs.map +1 -1
  771. package/build/table/TableRow.js +0 -18
  772. package/build/table/TableRow.js.map +1 -1
  773. package/build/table/TableRow.mjs +0 -18
  774. package/build/table/TableRow.mjs.map +1 -1
  775. package/build/table/TableStatusText.js +0 -18
  776. package/build/table/TableStatusText.js.map +1 -1
  777. package/build/table/TableStatusText.mjs +0 -18
  778. package/build/table/TableStatusText.mjs.map +1 -1
  779. package/build/tabs/Tab.js.map +1 -1
  780. package/build/tabs/Tab.mjs.map +1 -1
  781. package/build/tabs/TabList.js.map +1 -1
  782. package/build/tabs/TabList.mjs.map +1 -1
  783. package/build/tabs/TabPanel.js.map +1 -1
  784. package/build/tabs/TabPanel.mjs.map +1 -1
  785. package/build/tabs/Tabs.js +3 -17
  786. package/build/tabs/Tabs.js.map +1 -1
  787. package/build/tabs/Tabs.mjs +3 -17
  788. package/build/tabs/Tabs.mjs.map +1 -1
  789. package/build/tabs/utils.js +1 -0
  790. package/build/tabs/utils.js.map +1 -1
  791. package/build/tabs/utils.mjs +1 -0
  792. package/build/tabs/utils.mjs.map +1 -1
  793. package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js.map +1 -1
  794. package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.mjs.map +1 -1
  795. package/build/tile/Tile.js +0 -18
  796. package/build/tile/Tile.js.map +1 -1
  797. package/build/tile/Tile.mjs +0 -18
  798. package/build/tile/Tile.mjs.map +1 -1
  799. package/build/title/Title.js +0 -18
  800. package/build/title/Title.js.map +1 -1
  801. package/build/title/Title.mjs +0 -18
  802. package/build/title/Title.mjs.map +1 -1
  803. package/build/tooltip/Tooltip.js +1 -18
  804. package/build/tooltip/Tooltip.js.map +1 -1
  805. package/build/tooltip/Tooltip.mjs +1 -18
  806. package/build/tooltip/Tooltip.mjs.map +1 -1
  807. package/build/typeahead/Typeahead.js +20 -24
  808. package/build/typeahead/Typeahead.js.map +1 -1
  809. package/build/typeahead/Typeahead.messages.js.map +1 -1
  810. package/build/typeahead/Typeahead.messages.mjs.map +1 -1
  811. package/build/typeahead/Typeahead.mjs +20 -24
  812. package/build/typeahead/Typeahead.mjs.map +1 -1
  813. package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
  814. package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
  815. package/build/typeahead/typeaheadOption/TypeaheadOption.js.map +1 -1
  816. package/build/typeahead/typeaheadOption/TypeaheadOption.mjs.map +1 -1
  817. package/build/typeahead/util/highlight.js.map +1 -1
  818. package/build/typeahead/util/highlight.mjs.map +1 -1
  819. package/build/types/components/src/accordion/Accordion.d.ts.map +1 -0
  820. package/build/types/components/src/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
  821. package/build/types/components/src/accordion/AccordionItem/index.d.ts.map +1 -0
  822. package/build/types/components/src/accordion/index.d.ts.map +1 -0
  823. package/build/types/components/src/actionButton/ActionButton.d.ts.map +1 -0
  824. package/build/types/components/src/actionButton/index.d.ts.map +1 -0
  825. package/build/types/components/src/actionOption/ActionOption.d.ts.map +1 -0
  826. package/build/types/components/src/actionOption/index.d.ts.map +1 -0
  827. package/build/types/components/src/alert/Alert.d.ts +51 -0
  828. package/build/types/components/src/alert/Alert.d.ts.map +1 -0
  829. package/build/types/components/src/alert/index.d.ts.map +1 -0
  830. package/build/types/components/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
  831. package/build/types/components/src/alert/inlineMarkdown/index.d.ts.map +1 -0
  832. package/build/types/components/src/avatar/Avatar.d.ts.map +1 -0
  833. package/build/types/components/src/avatar/avatarTypes.d.ts.map +1 -0
  834. package/build/types/components/src/avatar/index.d.ts.map +1 -0
  835. package/build/types/components/src/avatarLayout/AvatarLayout.d.ts.map +1 -0
  836. package/build/types/components/src/avatarLayout/index.d.ts.map +1 -0
  837. package/build/types/components/src/avatarView/AvatarView.d.ts.map +1 -0
  838. package/build/types/components/src/avatarView/Dot.d.ts.map +1 -0
  839. package/build/types/components/src/avatarView/index.d.ts.map +1 -0
  840. package/build/types/components/src/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
  841. package/build/types/components/src/avatarWrapper/index.d.ts.map +1 -0
  842. package/build/types/components/src/badge/Badge.d.ts.map +1 -0
  843. package/build/types/components/src/badge/BadgeAssets.d.ts.map +1 -0
  844. package/build/types/components/src/badge/index.d.ts.map +1 -0
  845. package/build/types/components/src/body/Body.d.ts.map +1 -0
  846. package/build/types/components/src/body/index.d.ts.map +1 -0
  847. package/build/types/components/src/button/Button.d.ts.map +1 -0
  848. package/build/types/components/src/button/Button.resolver.d.ts.map +1 -0
  849. package/build/types/components/src/button/Button.types.d.ts.map +1 -0
  850. package/build/types/components/src/button/LegacyButton.d.ts.map +1 -0
  851. package/build/types/components/src/button/_stories/helpers.d.ts.map +1 -0
  852. package/build/types/components/src/button/classMap.d.ts.map +1 -0
  853. package/build/types/components/src/button/index.d.ts.map +1 -0
  854. package/build/types/components/src/button/legacyUtils/index.d.ts.map +1 -0
  855. package/build/types/components/src/button/legacyUtils/legacyUtils.d.ts.map +1 -0
  856. package/build/types/components/src/card/Card.d.ts.map +1 -0
  857. package/build/types/components/src/card/index.d.ts.map +1 -0
  858. package/build/types/components/src/carousel/Carousel.d.ts.map +1 -0
  859. package/build/types/components/src/carousel/index.d.ts.map +1 -0
  860. package/build/types/components/src/checkbox/Checkbox.d.ts.map +1 -0
  861. package/build/types/components/src/checkbox/index.d.ts.map +1 -0
  862. package/build/types/components/src/checkboxButton/CheckboxButton.d.ts.map +1 -0
  863. package/build/types/components/src/checkboxButton/index.d.ts.map +1 -0
  864. package/build/types/components/src/checkboxOption/CheckboxOption.d.ts.map +1 -0
  865. package/build/types/components/src/checkboxOption/index.d.ts.map +1 -0
  866. package/build/types/components/src/chevron/Chevron.d.ts.map +1 -0
  867. package/build/types/components/src/chevron/index.d.ts.map +1 -0
  868. package/build/types/components/src/chips/Chip.d.ts.map +1 -0
  869. package/build/types/components/src/chips/Chips.d.ts.map +1 -0
  870. package/build/types/components/src/chips/Chips.messages.d.ts.map +1 -0
  871. package/build/types/components/src/chips/index.d.ts.map +1 -0
  872. package/build/types/components/src/circularButton/CircularButton.d.ts.map +1 -0
  873. package/build/types/components/src/circularButton/index.d.ts.map +1 -0
  874. package/build/types/components/src/common/DOMOperations/DOMOperations.d.ts.map +1 -0
  875. package/build/types/components/src/common/DOMOperations/index.d.ts.map +1 -0
  876. package/build/types/components/src/common/Option/Option.d.ts.map +1 -0
  877. package/build/types/components/src/common/Option/index.d.ts.map +1 -0
  878. package/build/types/components/src/common/RadioButton/RadioButton.d.ts.map +1 -0
  879. package/build/types/components/src/common/RadioButton/index.d.ts.map +1 -0
  880. package/build/types/components/src/common/bottomSheet/BottomSheet.d.ts.map +1 -0
  881. package/build/types/components/src/common/bottomSheet/index.d.ts.map +1 -0
  882. package/build/types/components/src/common/card/Card.d.ts.map +1 -0
  883. package/build/types/components/src/common/card/index.d.ts.map +1 -0
  884. package/build/types/components/src/common/circle/Circle.d.ts.map +1 -0
  885. package/build/types/components/src/common/circle/index.d.ts.map +1 -0
  886. package/build/types/components/src/common/closeButton/CloseButton.d.ts.map +1 -0
  887. package/build/types/components/src/common/closeButton/CloseButton.messages.d.ts.map +1 -0
  888. package/build/types/components/src/common/closeButton/index.d.ts.map +1 -0
  889. package/build/types/components/src/common/colors.d.ts.map +1 -0
  890. package/build/types/components/src/common/commonProps.d.ts.map +1 -0
  891. package/build/types/components/src/common/constants.d.ts.map +1 -0
  892. package/build/types/components/src/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
  893. package/build/types/components/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
  894. package/build/types/components/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
  895. package/build/types/components/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
  896. package/build/types/components/src/common/dateUtils/index.d.ts.map +1 -0
  897. package/build/types/components/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
  898. package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
  899. package/build/types/components/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
  900. package/build/types/components/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
  901. package/build/types/components/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
  902. package/build/types/components/src/common/deviceDetection/deviceDetection.d.ts.map +1 -0
  903. package/build/types/components/src/common/deviceDetection/index.d.ts.map +1 -0
  904. package/build/types/components/src/common/direction.d.ts.map +1 -0
  905. package/build/types/components/src/common/domHelpers/documentIosClick.d.ts.map +1 -0
  906. package/build/types/components/src/common/domHelpers/index.d.ts.map +1 -0
  907. package/build/types/components/src/common/fakeEvents.d.ts.map +1 -0
  908. package/build/types/components/src/common/fileType.d.ts.map +1 -0
  909. package/build/types/components/src/common/flowHeader/FlowHeader.d.ts.map +1 -0
  910. package/build/types/components/src/common/flowHeader/index.d.ts.map +1 -0
  911. package/build/types/components/src/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
  912. package/build/types/components/src/common/focusBoundary/index.d.ts.map +1 -0
  913. package/build/types/components/src/common/historyNavigator/historyNavigator.d.ts.map +1 -0
  914. package/build/types/components/src/common/historyNavigator/index.d.ts.map +1 -0
  915. package/build/types/components/src/common/hooks/index.d.ts.map +1 -0
  916. package/build/types/components/src/common/hooks/useConditionalListener/index.d.ts.map +1 -0
  917. package/build/types/components/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
  918. package/build/types/components/src/common/hooks/useDirection/index.d.ts.map +1 -0
  919. package/build/types/components/src/common/hooks/useDirection/useDirection.d.ts.map +1 -0
  920. package/build/types/components/src/common/hooks/useEffectEvent.d.ts.map +1 -0
  921. package/build/types/components/src/common/hooks/useHasIntersected/index.d.ts.map +1 -0
  922. package/build/types/components/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
  923. package/build/types/components/src/common/hooks/useLayout/index.d.ts.map +1 -0
  924. package/build/types/components/src/common/hooks/useLayout/useLayout.d.ts.map +1 -0
  925. package/build/types/components/src/common/hooks/useMedia.d.ts.map +1 -0
  926. package/build/types/components/src/common/hooks/useResizeObserver.d.ts.map +1 -0
  927. package/build/types/components/src/common/hooks/useScreenSize.d.ts.map +1 -0
  928. package/build/types/components/src/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
  929. package/build/types/components/src/common/index.d.ts.map +1 -0
  930. package/build/types/components/src/common/initials.d.ts.map +1 -0
  931. package/build/types/components/src/common/locale/index.d.ts.map +1 -0
  932. package/build/types/components/src/common/panel/Panel.d.ts.map +1 -0
  933. package/build/types/components/src/common/panel/index.d.ts.map +1 -0
  934. package/build/types/components/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
  935. package/build/types/components/src/common/preventScroll/PreventScroll.d.ts.map +1 -0
  936. package/build/types/components/src/common/propsValues/breakpoint.d.ts.map +1 -0
  937. package/build/types/components/src/common/propsValues/control.d.ts.map +1 -0
  938. package/build/types/components/src/common/propsValues/dateMode.d.ts.map +1 -0
  939. package/build/types/components/src/common/propsValues/layouts.d.ts.map +1 -0
  940. package/build/types/components/src/common/propsValues/markdownNodeType.d.ts.map +1 -0
  941. package/build/types/components/src/common/propsValues/monthFormat.d.ts.map +1 -0
  942. package/build/types/components/src/common/propsValues/position.d.ts.map +1 -0
  943. package/build/types/components/src/common/propsValues/profileType.d.ts.map +1 -0
  944. package/build/types/components/src/common/propsValues/scroll.d.ts.map +1 -0
  945. package/build/types/components/src/common/propsValues/sentiment.d.ts.map +1 -0
  946. package/build/types/components/src/common/propsValues/size.d.ts.map +1 -0
  947. package/build/types/components/src/common/propsValues/status.d.ts.map +1 -0
  948. package/build/types/components/src/common/propsValues/type.d.ts.map +1 -0
  949. package/build/types/components/src/common/propsValues/typography.d.ts.map +1 -0
  950. package/build/types/components/src/common/propsValues/variant.d.ts.map +1 -0
  951. package/build/types/components/src/common/propsValues/width.d.ts.map +1 -0
  952. package/build/types/components/src/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
  953. package/build/types/components/src/common/responsivePanel/index.d.ts.map +1 -0
  954. package/build/types/components/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
  955. package/build/types/components/src/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
  956. package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
  957. package/build/types/components/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
  958. package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
  959. package/build/types/components/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
  960. package/build/types/components/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
  961. package/build/types/components/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
  962. package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
  963. package/build/types/components/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
  964. package/build/types/components/src/common/textFormat/index.d.ts.map +1 -0
  965. package/build/types/components/src/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
  966. package/build/types/components/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
  967. package/build/types/components/src/common/theme.d.ts.map +1 -0
  968. package/build/types/components/src/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
  969. package/build/types/components/src/criticalBanner/index.d.ts.map +1 -0
  970. package/build/types/components/src/dateInput/DateInput.d.ts.map +1 -0
  971. package/build/types/components/src/dateInput/DateInput.messages.d.ts.map +1 -0
  972. package/build/types/components/src/dateInput/index.d.ts.map +1 -0
  973. package/build/types/components/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
  974. package/build/types/components/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
  975. package/build/types/components/src/dateInput/utils/index.d.ts.map +1 -0
  976. package/build/types/components/src/dateLookup/DateLookup.d.ts.map +1 -0
  977. package/build/types/components/src/dateLookup/DateLookup.messages.d.ts.map +1 -0
  978. package/build/types/components/src/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
  979. package/build/types/components/src/dateLookup/dateHeader/index.d.ts.map +1 -0
  980. package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
  981. package/build/types/components/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
  982. package/build/types/components/src/dateLookup/dateTrigger/index.d.ts.map +1 -0
  983. package/build/types/components/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
  984. package/build/types/components/src/dateLookup/dayCalendar/index.d.ts.map +1 -0
  985. package/build/types/components/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
  986. package/build/types/components/src/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
  987. package/build/types/components/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
  988. package/build/types/components/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
  989. package/build/types/components/src/dateLookup/getStartOfDay/index.d.ts.map +1 -0
  990. package/build/types/components/src/dateLookup/index.d.ts.map +1 -0
  991. package/build/types/components/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
  992. package/build/types/components/src/dateLookup/monthCalendar/index.d.ts.map +1 -0
  993. package/build/types/components/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
  994. package/build/types/components/src/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
  995. package/build/types/components/src/dateLookup/tableLink/TableLink.d.ts.map +1 -0
  996. package/build/types/components/src/dateLookup/tableLink/index.d.ts.map +1 -0
  997. package/build/types/components/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
  998. package/build/types/components/src/dateLookup/yearCalendar/index.d.ts.map +1 -0
  999. package/build/types/components/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
  1000. package/build/types/components/src/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
  1001. package/build/types/components/src/decision/Decision.d.ts.map +1 -0
  1002. package/build/types/components/src/decision/index.d.ts.map +1 -0
  1003. package/build/types/components/src/definitionList/DefinitionList.d.ts.map +1 -0
  1004. package/build/types/components/src/definitionList/index.d.ts.map +1 -0
  1005. package/build/types/components/src/dimmer/Dimmer.d.ts.map +1 -0
  1006. package/build/types/components/src/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
  1007. package/build/types/components/src/dimmer/dimmerManager/index.d.ts.map +1 -0
  1008. package/build/types/components/src/dimmer/index.d.ts.map +1 -0
  1009. package/build/types/components/src/display/Display.d.ts.map +1 -0
  1010. package/build/types/components/src/display/index.d.ts.map +1 -0
  1011. package/build/types/components/src/divider/Divider.d.ts.map +1 -0
  1012. package/build/types/components/src/divider/index.d.ts.map +1 -0
  1013. package/build/types/components/src/drawer/Drawer.d.ts.map +1 -0
  1014. package/build/types/components/src/drawer/index.d.ts.map +1 -0
  1015. package/build/types/components/src/dropFade/DropFade.d.ts.map +1 -0
  1016. package/build/types/components/src/dropFade/index.d.ts.map +1 -0
  1017. package/build/types/components/src/emphasis/Emphasis.d.ts.map +1 -0
  1018. package/build/types/components/src/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
  1019. package/build/types/components/src/emphasis/index.d.ts.map +1 -0
  1020. package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
  1021. package/build/types/components/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
  1022. package/build/types/components/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
  1023. package/build/types/components/src/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
  1024. package/build/types/components/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
  1025. package/build/types/components/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
  1026. package/build/types/components/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
  1027. package/build/types/components/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
  1028. package/build/types/components/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
  1029. package/build/types/components/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
  1030. package/build/types/components/src/expressiveMoneyInput/index.d.ts.map +1 -0
  1031. package/build/types/components/src/field/Field.d.ts +28 -0
  1032. package/build/types/components/src/field/Field.d.ts.map +1 -0
  1033. package/build/types/components/src/flowNavigation/FlowNavigation.d.ts.map +1 -0
  1034. package/build/types/components/src/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
  1035. package/build/types/components/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
  1036. package/build/types/components/src/flowNavigation/animatedLabel/index.d.ts.map +1 -0
  1037. package/build/types/components/src/header/Header.d.ts.map +1 -0
  1038. package/build/types/components/src/header/index.d.ts.map +1 -0
  1039. package/build/types/components/src/i18n/commonMessages/Button.messages.d.ts.map +1 -0
  1040. package/build/types/components/src/i18n/index.d.ts.map +1 -0
  1041. package/build/types/components/src/iconButton/IconButton.d.ts.map +1 -0
  1042. package/build/types/components/src/iconButton/index.d.ts.map +1 -0
  1043. package/build/types/components/src/image/Image.d.ts.map +1 -0
  1044. package/build/types/components/src/image/index.d.ts.map +1 -0
  1045. package/build/types/components/src/index.d.ts.map +1 -0
  1046. package/build/types/components/src/info/Info.d.ts.map +1 -0
  1047. package/build/types/components/src/info/Info.messages.d.ts.map +1 -0
  1048. package/build/types/components/src/info/index.d.ts.map +1 -0
  1049. package/build/types/components/src/info/infoPresentations.d.ts.map +1 -0
  1050. package/build/types/components/src/inlineAlert/InlineAlert.d.ts +14 -0
  1051. package/build/types/components/src/inlineAlert/InlineAlert.d.ts.map +1 -0
  1052. package/build/types/components/src/inlineAlert/index.d.ts.map +1 -0
  1053. package/build/types/components/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
  1054. package/build/types/components/src/inputWithDisplayFormat/index.d.ts.map +1 -0
  1055. package/build/types/components/src/inputs/Input.d.ts.map +1 -0
  1056. package/build/types/components/src/inputs/InputGroup.d.ts.map +1 -0
  1057. package/build/types/components/src/inputs/SearchInput.d.ts.map +1 -0
  1058. package/build/types/components/src/inputs/SelectInput.d.ts.map +1 -0
  1059. package/build/types/components/src/inputs/SelectInput.messages.d.ts.map +1 -0
  1060. package/build/types/components/src/inputs/TextArea.d.ts.map +1 -0
  1061. package/build/types/components/src/inputs/_BottomSheet.d.ts.map +1 -0
  1062. package/build/types/components/src/inputs/_ButtonInput.d.ts.map +1 -0
  1063. package/build/types/components/src/inputs/_Popover.d.ts.map +1 -0
  1064. package/build/types/components/src/inputs/_common.d.ts.map +1 -0
  1065. package/build/types/components/src/inputs/contexts.d.ts.map +1 -0
  1066. package/build/types/components/src/instructionsList/InstructionsList.d.ts.map +1 -0
  1067. package/build/types/components/src/instructionsList/index.d.ts.map +1 -0
  1068. package/build/types/components/src/label/Label.d.ts.map +1 -0
  1069. package/build/types/components/src/label/Label.messages.d.ts.map +1 -0
  1070. package/build/types/components/src/label/index.d.ts.map +1 -0
  1071. package/build/types/components/src/legacylistItem/LegacyListItem.d.ts.map +1 -0
  1072. package/build/types/components/src/legacylistItem/index.d.ts.map +1 -0
  1073. package/build/types/components/src/link/Link.d.ts.map +1 -0
  1074. package/build/types/components/src/link/Link.messages.d.ts.map +1 -0
  1075. package/build/types/components/src/link/index.d.ts.map +1 -0
  1076. package/build/types/components/src/list/List.d.ts.map +1 -0
  1077. package/build/types/components/src/list/index.d.ts.map +1 -0
  1078. package/build/types/components/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
  1079. package/build/types/components/src/listItem/AdditionalInfo/index.d.ts.map +1 -0
  1080. package/build/types/components/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
  1081. package/build/types/components/src/listItem/AvatarLayout/index.d.ts.map +1 -0
  1082. package/build/types/components/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
  1083. package/build/types/components/src/listItem/AvatarView/index.d.ts.map +1 -0
  1084. package/build/types/components/src/listItem/Button/ListItemButton.d.ts.map +1 -0
  1085. package/build/types/components/src/listItem/Button/index.d.ts.map +1 -0
  1086. package/build/types/components/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
  1087. package/build/types/components/src/listItem/Checkbox/index.d.ts.map +1 -0
  1088. package/build/types/components/src/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
  1089. package/build/types/components/src/listItem/IconButton/index.d.ts.map +1 -0
  1090. package/build/types/components/src/listItem/Image/ListItemImage.d.ts.map +1 -0
  1091. package/build/types/components/src/listItem/Image/index.d.ts.map +1 -0
  1092. package/build/types/components/src/listItem/ListItem.d.ts +120 -0
  1093. package/build/types/components/src/listItem/ListItem.d.ts.map +1 -0
  1094. package/build/types/components/src/listItem/ListItemContext.d.ts.map +1 -0
  1095. package/build/types/components/src/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
  1096. package/build/types/components/src/listItem/Navigation/index.d.ts.map +1 -0
  1097. package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts +14 -0
  1098. package/build/types/components/src/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
  1099. package/build/types/components/src/listItem/Prompt/index.d.ts.map +1 -0
  1100. package/build/types/components/src/listItem/Radio/ListItemRadio.d.ts.map +1 -0
  1101. package/build/types/components/src/listItem/Radio/index.d.ts.map +1 -0
  1102. package/build/types/components/src/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
  1103. package/build/types/components/src/listItem/Switch/index.d.ts.map +1 -0
  1104. package/build/types/components/src/listItem/_stories/helpers.d.ts.map +1 -0
  1105. package/build/types/components/src/listItem/_stories/subcomponents.d.ts.map +1 -0
  1106. package/build/types/components/src/listItem/_stories/variants/helpers.d.ts +11 -0
  1107. package/build/types/components/src/listItem/_stories/variants/helpers.d.ts.map +1 -0
  1108. package/build/types/components/src/listItem/constants.d.ts.map +1 -0
  1109. package/build/types/components/src/listItem/index.d.ts.map +1 -0
  1110. package/build/types/components/src/listItem/test-utils.d.ts.map +1 -0
  1111. package/build/types/components/src/listItem/useListItemControl.d.ts.map +1 -0
  1112. package/build/types/components/src/listItem/useListItemMedia.d.ts.map +1 -0
  1113. package/build/types/components/src/loader/Loader.d.ts.map +1 -0
  1114. package/build/types/components/src/loader/index.d.ts.map +1 -0
  1115. package/build/types/components/src/logo/Logo.d.ts.map +1 -0
  1116. package/build/types/components/src/logo/index.d.ts.map +1 -0
  1117. package/build/types/components/src/logo/logo-assets.d.ts.map +1 -0
  1118. package/build/types/components/src/markdown/Markdown.d.ts.map +1 -0
  1119. package/build/types/components/src/markdown/index.d.ts.map +1 -0
  1120. package/build/types/components/src/mocks.d.ts.map +1 -0
  1121. package/build/types/components/src/modal/Modal.d.ts.map +1 -0
  1122. package/build/types/components/src/modal/index.d.ts.map +1 -0
  1123. package/build/types/components/src/money/Money.d.ts.map +1 -0
  1124. package/build/types/components/src/money/index.d.ts.map +1 -0
  1125. package/build/types/components/src/moneyInput/MoneyInput.d.ts.map +1 -0
  1126. package/build/types/components/src/moneyInput/MoneyInput.messages.d.ts.map +1 -0
  1127. package/build/types/components/src/moneyInput/currencyFormatting.d.ts.map +1 -0
  1128. package/build/types/components/src/moneyInput/index.d.ts.map +1 -0
  1129. package/build/types/components/src/navigationOption/NavigationOption.d.ts.map +1 -0
  1130. package/build/types/components/src/navigationOption/index.d.ts.map +1 -0
  1131. package/build/types/components/src/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
  1132. package/build/types/components/src/navigationOptionsList/index.d.ts.map +1 -0
  1133. package/build/types/components/src/nudge/Nudge.d.ts.map +1 -0
  1134. package/build/types/components/src/nudge/index.d.ts.map +1 -0
  1135. package/build/types/components/src/overlayHeader/OverlayHeader.d.ts.map +1 -0
  1136. package/build/types/components/src/overlayHeader/index.d.ts.map +1 -0
  1137. package/build/types/components/src/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
  1138. package/build/types/components/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
  1139. package/build/types/components/src/phoneNumberInput/data/countries.d.ts.map +1 -0
  1140. package/build/types/components/src/phoneNumberInput/index.d.ts.map +1 -0
  1141. package/build/types/components/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
  1142. package/build/types/components/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
  1143. package/build/types/components/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
  1144. package/build/types/components/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
  1145. package/build/types/components/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
  1146. package/build/types/components/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
  1147. package/build/types/components/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
  1148. package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
  1149. package/build/types/components/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
  1150. package/build/types/components/src/phoneNumberInput/utils/index.d.ts.map +1 -0
  1151. package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
  1152. package/build/types/components/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
  1153. package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
  1154. package/build/types/components/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
  1155. package/build/types/components/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
  1156. package/build/types/components/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
  1157. package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
  1158. package/build/types/components/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
  1159. package/build/types/components/src/popover/Popover.d.ts.map +1 -0
  1160. package/build/types/components/src/popover/index.d.ts.map +1 -0
  1161. package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
  1162. package/build/types/components/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
  1163. package/build/types/components/src/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
  1164. package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
  1165. package/build/types/components/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
  1166. package/build/types/components/src/primitives/PrimitiveButton/index.d.ts.map +1 -0
  1167. package/build/types/components/src/primitives/index.d.ts.map +1 -0
  1168. package/build/types/components/src/primitives/types.d.ts.map +1 -0
  1169. package/build/types/components/src/processIndicator/ProcessIndicator.d.ts.map +1 -0
  1170. package/build/types/components/src/processIndicator/index.d.ts.map +1 -0
  1171. package/build/types/components/src/progress/Progress.d.ts.map +1 -0
  1172. package/build/types/components/src/progress/index.d.ts.map +1 -0
  1173. package/build/types/components/src/progressBar/ProgressBar.d.ts.map +1 -0
  1174. package/build/types/components/src/progressBar/index.d.ts.map +1 -0
  1175. package/build/types/components/src/promoCard/PromoCard.d.ts.map +1 -0
  1176. package/build/types/components/src/promoCard/PromoCardContext.d.ts.map +1 -0
  1177. package/build/types/components/src/promoCard/PromoCardGroup.d.ts.map +1 -0
  1178. package/build/types/components/src/promoCard/PromoCardIndicator.d.ts.map +1 -0
  1179. package/build/types/components/src/promoCard/index.d.ts.map +1 -0
  1180. package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts +44 -0
  1181. package/build/types/components/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
  1182. package/build/types/components/src/prompt/InlinePrompt/index.d.ts.map +1 -0
  1183. package/build/types/components/src/prompt/index.d.ts.map +1 -0
  1184. package/build/types/components/src/provider/Provider.d.ts.map +1 -0
  1185. package/build/types/components/src/provider/direction/DirectionProvider.d.ts.map +1 -0
  1186. package/build/types/components/src/provider/direction/index.d.ts.map +1 -0
  1187. package/build/types/components/src/provider/index.d.ts.map +1 -0
  1188. package/build/types/components/src/provider/language/LanguageProvider.d.ts.map +1 -0
  1189. package/build/types/components/src/provider/language/index.d.ts.map +1 -0
  1190. package/build/types/components/src/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
  1191. package/build/types/components/src/radio/Radio.d.ts.map +1 -0
  1192. package/build/types/components/src/radio/index.d.ts.map +1 -0
  1193. package/build/types/components/src/radioGroup/RadioGroup.d.ts.map +1 -0
  1194. package/build/types/components/src/radioGroup/index.d.ts.map +1 -0
  1195. package/build/types/components/src/radioOption/RadioOption.d.ts.map +1 -0
  1196. package/build/types/components/src/radioOption/index.d.ts.map +1 -0
  1197. package/build/types/components/src/section/Section.d.ts.map +1 -0
  1198. package/build/types/components/src/section/index.d.ts.map +1 -0
  1199. package/build/types/components/src/segmentedControl/SegmentedControl.d.ts.map +1 -0
  1200. package/build/types/components/src/segmentedControl/index.d.ts.map +1 -0
  1201. package/build/types/components/src/select/Select.d.ts.map +1 -0
  1202. package/build/types/components/src/select/Select.messages.d.ts.map +1 -0
  1203. package/build/types/components/src/select/index.d.ts.map +1 -0
  1204. package/build/types/components/src/select/option/Option.d.ts.map +1 -0
  1205. package/build/types/components/src/select/option/index.d.ts.map +1 -0
  1206. package/build/types/components/src/select/searchBox/SearchBox.d.ts.map +1 -0
  1207. package/build/types/components/src/select/searchBox/index.d.ts.map +1 -0
  1208. package/build/types/components/src/sentimentSurface/SentimentSurface.d.ts.map +1 -0
  1209. package/build/types/components/src/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
  1210. package/build/types/components/src/sentimentSurface/index.d.ts.map +1 -0
  1211. package/build/types/components/src/slidingPanel/SlidingPanel.d.ts.map +1 -0
  1212. package/build/types/components/src/slidingPanel/index.d.ts.map +1 -0
  1213. package/build/types/components/src/snackbar/Snackbar.d.ts.map +1 -0
  1214. package/build/types/components/src/snackbar/SnackbarContext.d.ts.map +1 -0
  1215. package/build/types/components/src/snackbar/SnackbarProvider.d.ts.map +1 -0
  1216. package/build/types/components/src/snackbar/index.d.ts.map +1 -0
  1217. package/build/types/components/src/snackbar/useSnackbar.d.ts.map +1 -0
  1218. package/build/types/components/src/statusIcon/StatusIcon.d.ts.map +1 -0
  1219. package/build/types/components/src/statusIcon/StatusIcon.messages.d.ts.map +1 -0
  1220. package/build/types/components/src/statusIcon/index.d.ts.map +1 -0
  1221. package/build/types/components/src/stepper/Stepper.d.ts.map +1 -0
  1222. package/build/types/components/src/stepper/deviceDetection.d.ts.map +1 -0
  1223. package/build/types/components/src/sticky/Sticky.d.ts.map +1 -0
  1224. package/build/types/components/src/sticky/index.d.ts.map +1 -0
  1225. package/build/types/components/src/summary/Summary.d.ts.map +1 -0
  1226. package/build/types/components/src/summary/Summary.messages.d.ts.map +1 -0
  1227. package/build/types/components/src/summary/index.d.ts.map +1 -0
  1228. package/build/types/components/src/switch/Switch.d.ts.map +1 -0
  1229. package/build/types/components/src/switch/index.d.ts.map +1 -0
  1230. package/build/types/components/src/switchOption/SwitchOption.d.ts.map +1 -0
  1231. package/build/types/components/src/switchOption/index.d.ts.map +1 -0
  1232. package/build/types/components/src/table/Table.d.ts.map +1 -0
  1233. package/build/types/components/src/table/Table.messages.d.ts.map +1 -0
  1234. package/build/types/components/src/table/TableCell.d.ts.map +1 -0
  1235. package/build/types/components/src/table/TableHeader.d.ts.map +1 -0
  1236. package/build/types/components/src/table/TableRow.d.ts.map +1 -0
  1237. package/build/types/components/src/table/TableStatusText.d.ts.map +1 -0
  1238. package/build/types/components/src/table/index.d.ts.map +1 -0
  1239. package/build/types/components/src/tabs/Tab.d.ts.map +1 -0
  1240. package/build/types/components/src/tabs/TabList.d.ts.map +1 -0
  1241. package/build/types/components/src/tabs/TabPanel.d.ts.map +1 -0
  1242. package/build/types/components/src/tabs/Tabs.d.ts.map +1 -0
  1243. package/build/types/components/src/tabs/index.d.ts.map +1 -0
  1244. package/build/types/components/src/tabs/utils.d.ts.map +1 -0
  1245. package/build/types/components/src/test-utils/fake-data.d.ts.map +1 -0
  1246. package/build/types/components/src/test-utils/index.d.ts +179 -0
  1247. package/build/types/components/src/test-utils/index.d.ts.map +1 -0
  1248. package/build/types/components/src/test-utils/jest.setup.d.ts.map +1 -0
  1249. package/build/types/components/src/test-utils/style-mock.d.ts.map +1 -0
  1250. package/build/types/components/src/test-utils/wait.d.ts.map +1 -0
  1251. package/build/types/components/src/test-utils/window-mock.d.ts.map +1 -0
  1252. package/build/types/components/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
  1253. package/build/types/components/src/textareaWithDisplayFormat/index.d.ts.map +1 -0
  1254. package/build/types/components/src/tile/Tile.d.ts.map +1 -0
  1255. package/build/types/components/src/tile/index.d.ts.map +1 -0
  1256. package/build/types/components/src/title/Title.d.ts.map +1 -0
  1257. package/build/types/components/src/title/index.d.ts.map +1 -0
  1258. package/build/types/components/src/tooltip/Tooltip.d.ts.map +1 -0
  1259. package/build/types/components/src/tooltip/index.d.ts.map +1 -0
  1260. package/build/types/components/src/typeahead/Typeahead.d.ts +51 -0
  1261. package/build/types/components/src/typeahead/Typeahead.d.ts.map +1 -0
  1262. package/build/types/components/src/typeahead/Typeahead.messages.d.ts.map +1 -0
  1263. package/build/types/components/src/typeahead/index.d.ts.map +1 -0
  1264. package/build/types/components/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
  1265. package/build/types/components/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
  1266. package/build/types/components/src/typeahead/util/highlight.d.ts.map +1 -0
  1267. package/build/types/components/src/upload/Upload.d.ts +100 -0
  1268. package/build/types/components/src/upload/Upload.d.ts.map +1 -0
  1269. package/build/types/components/src/upload/Upload.messages.d.ts.map +1 -0
  1270. package/build/types/components/src/upload/index.d.ts.map +1 -0
  1271. package/build/types/components/src/upload/steps/completeStep/completeStep.d.ts.map +1 -0
  1272. package/build/types/components/src/upload/steps/completeStep/index.d.ts.map +1 -0
  1273. package/build/types/components/src/upload/steps/index.d.ts.map +1 -0
  1274. package/build/types/components/src/upload/steps/processingStep/index.d.ts.map +1 -0
  1275. package/build/types/components/src/upload/steps/processingStep/processingStep.d.ts.map +1 -0
  1276. package/build/types/components/src/upload/steps/uploadImageStep/index.d.ts.map +1 -0
  1277. package/build/types/components/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
  1278. package/build/types/components/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
  1279. package/build/types/components/src/upload/utils/asyncFileRead/index.d.ts.map +1 -0
  1280. package/build/types/components/src/upload/utils/getFileType/getFileType.d.ts.map +1 -0
  1281. package/build/types/components/src/upload/utils/getFileType/index.d.ts.map +1 -0
  1282. package/build/types/components/src/upload/utils/index.d.ts.map +1 -0
  1283. package/build/types/components/src/upload/utils/isSizeValid/index.d.ts.map +1 -0
  1284. package/build/types/components/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
  1285. package/build/types/components/src/upload/utils/isTypeValid/index.d.ts.map +1 -0
  1286. package/build/types/components/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
  1287. package/build/types/components/src/upload/utils/postData/index.d.ts.map +1 -0
  1288. package/build/types/components/src/upload/utils/postData/postData.d.ts.map +1 -0
  1289. package/build/types/components/src/uploadInput/UploadInput.d.ts.map +1 -0
  1290. package/build/types/components/src/uploadInput/UploadInput.messages.d.ts.map +1 -0
  1291. package/build/types/components/src/uploadInput/index.d.ts.map +1 -0
  1292. package/build/types/components/src/uploadInput/types.d.ts.map +1 -0
  1293. package/build/types/components/src/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
  1294. package/build/types/components/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
  1295. package/build/types/components/src/uploadInput/uploadButton/defaults.d.ts.map +1 -0
  1296. package/build/types/components/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
  1297. package/build/types/components/src/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
  1298. package/build/types/components/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
  1299. package/build/types/components/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
  1300. package/build/types/components/src/utilities/cssValueWithUnit.d.ts.map +1 -0
  1301. package/build/types/components/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
  1302. package/build/types/components/src/utilities/deprecatedProperty/index.d.ts.map +1 -0
  1303. package/build/types/components/src/utilities/index.d.ts.map +1 -0
  1304. package/build/types/components/src/utilities/logActionRequired.d.ts.map +1 -0
  1305. package/build/types/components/src/utils.d.ts.map +1 -0
  1306. package/build/types/components/src/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
  1307. package/build/types/components/src/withDisplayFormat/index.d.ts.map +1 -0
  1308. package/build/types/components/src/withId/index.d.ts.map +1 -0
  1309. package/build/types/components/src/withId/story/source.d.ts.map +1 -0
  1310. package/build/types/components/src/withId/withId.d.ts.map +1 -0
  1311. package/build/types/components/src/withNextPortal/withNextPortal.d.ts.map +1 -0
  1312. package/build/types/components-theming/src/ThemeProvider.d.ts +7 -0
  1313. package/build/types/components-theming/src/ThemeProvider.d.ts.map +1 -0
  1314. package/build/types/components-theming/src/ThemeProviderContext.d.ts +8 -0
  1315. package/build/types/components-theming/src/ThemeProviderContext.d.ts.map +1 -0
  1316. package/build/types/components-theming/src/ThemedChildren.d.ts +8 -0
  1317. package/build/types/components-theming/src/ThemedChildren.d.ts.map +1 -0
  1318. package/build/types/components-theming/src/const.d.ts +35 -0
  1319. package/build/types/components-theming/src/const.d.ts.map +1 -0
  1320. package/build/types/components-theming/src/helpers.d.ts +11 -0
  1321. package/build/types/components-theming/src/helpers.d.ts.map +1 -0
  1322. package/build/types/components-theming/src/index.d.ts +5 -0
  1323. package/build/types/components-theming/src/index.d.ts.map +1 -0
  1324. package/build/types/components-theming/src/useTheme.d.ts +17 -0
  1325. package/build/types/components-theming/src/useTheme.d.ts.map +1 -0
  1326. package/build/upload/Upload.js +4 -21
  1327. package/build/upload/Upload.js.map +1 -1
  1328. package/build/upload/Upload.messages.js.map +1 -1
  1329. package/build/upload/Upload.messages.mjs.map +1 -1
  1330. package/build/upload/Upload.mjs +3 -21
  1331. package/build/upload/Upload.mjs.map +1 -1
  1332. package/build/upload/steps/completeStep/completeStep.js +0 -18
  1333. package/build/upload/steps/completeStep/completeStep.js.map +1 -1
  1334. package/build/upload/steps/completeStep/completeStep.mjs +0 -18
  1335. package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
  1336. package/build/upload/steps/processingStep/processingStep.js +0 -17
  1337. package/build/upload/steps/processingStep/processingStep.js.map +1 -1
  1338. package/build/upload/steps/processingStep/processingStep.mjs +0 -17
  1339. package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
  1340. package/build/upload/steps/uploadImageStep/uploadImageStep.js +5 -21
  1341. package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
  1342. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +5 -21
  1343. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
  1344. package/build/upload/utils/asyncFileRead/asyncFileRead.js.map +1 -1
  1345. package/build/upload/utils/asyncFileRead/asyncFileRead.mjs.map +1 -1
  1346. package/build/upload/utils/getFileType/getFileType.js.map +1 -1
  1347. package/build/upload/utils/getFileType/getFileType.mjs.map +1 -1
  1348. package/build/upload/utils/isSizeValid/isSizeValid.js.map +1 -1
  1349. package/build/upload/utils/isSizeValid/isSizeValid.mjs.map +1 -1
  1350. package/build/upload/utils/isTypeValid/isTypeValid.js.map +1 -1
  1351. package/build/upload/utils/isTypeValid/isTypeValid.mjs.map +1 -1
  1352. package/build/upload/utils/postData/postData.js.map +1 -1
  1353. package/build/upload/utils/postData/postData.mjs.map +1 -1
  1354. package/build/uploadInput/UploadInput.js +8 -17
  1355. package/build/uploadInput/UploadInput.js.map +1 -1
  1356. package/build/uploadInput/UploadInput.messages.js.map +1 -1
  1357. package/build/uploadInput/UploadInput.messages.mjs.map +1 -1
  1358. package/build/uploadInput/UploadInput.mjs +8 -17
  1359. package/build/uploadInput/UploadInput.mjs.map +1 -1
  1360. package/build/uploadInput/uploadButton/UploadButton.js +6 -23
  1361. package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
  1362. package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
  1363. package/build/uploadInput/uploadButton/UploadButton.messages.mjs.map +1 -1
  1364. package/build/uploadInput/uploadButton/UploadButton.mjs +3 -21
  1365. package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
  1366. package/build/uploadInput/uploadButton/defaults.js +0 -18
  1367. package/build/uploadInput/uploadButton/defaults.js.map +1 -1
  1368. package/build/uploadInput/uploadButton/defaults.mjs +0 -18
  1369. package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
  1370. package/build/uploadInput/uploadButton/getAllowedFileTypes.js +1 -0
  1371. package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
  1372. package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs +1 -0
  1373. package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
  1374. package/build/uploadInput/uploadItem/UploadItem.js +9 -23
  1375. package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
  1376. package/build/uploadInput/uploadItem/UploadItem.messages.js.map +1 -1
  1377. package/build/uploadInput/uploadItem/UploadItem.messages.mjs.map +1 -1
  1378. package/build/uploadInput/uploadItem/UploadItem.mjs +4 -19
  1379. package/build/uploadInput/uploadItem/UploadItem.mjs.map +1 -1
  1380. package/build/uploadInput/uploadItem/UploadItemLink.js.map +1 -1
  1381. package/build/uploadInput/uploadItem/UploadItemLink.mjs.map +1 -1
  1382. package/build/utilities/cssValueWithUnit.js.map +1 -1
  1383. package/build/utilities/cssValueWithUnit.mjs.map +1 -1
  1384. package/build/utilities/logActionRequired.js.map +1 -1
  1385. package/build/utilities/logActionRequired.mjs.map +1 -1
  1386. package/build/withDisplayFormat/WithDisplayFormat.js +17 -33
  1387. package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
  1388. package/build/withDisplayFormat/WithDisplayFormat.mjs +3 -19
  1389. package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
  1390. package/build/withId/withId.js +4 -0
  1391. package/build/withId/withId.js.map +1 -1
  1392. package/build/withId/withId.mjs +4 -0
  1393. package/build/withId/withId.mjs.map +1 -1
  1394. package/build/withNextPortal/withNextPortal.js.map +1 -1
  1395. package/build/withNextPortal/withNextPortal.mjs.map +1 -1
  1396. package/package.json +9 -8
  1397. package/src/DisabledComponents.story.tsx +1 -3
  1398. package/src/actionButton/ActionButton.story.tsx +42 -45
  1399. package/src/alert/Alert.spec.tsx +1 -1
  1400. package/src/alert/Alert.tsx +2 -2
  1401. package/src/avatar/Avatar.story.tsx +192 -188
  1402. package/src/button/_stories/Button.tests.story.tsx +122 -119
  1403. package/src/carousel/Carousel.story.tsx +4 -7
  1404. package/src/checkbox/Checkbox.story.tsx +42 -21
  1405. package/src/checkbox/Checkbox.tsx +1 -1
  1406. package/src/checkbox/__snapshots__/Checkbox.spec.tsx.snap +1 -1
  1407. package/src/circularButton/CircularButton.story.tsx +10 -2
  1408. package/src/common/bottomSheet/BottomSheet.story.tsx +48 -14
  1409. package/src/common/circle/Circle.story.tsx +62 -55
  1410. package/src/common/initials.spec.tsx +31 -0
  1411. package/src/common/initials.ts +19 -8
  1412. package/src/criticalBanner/CriticalCommsBanner.story.tsx +30 -19
  1413. package/src/dateInput/DateInput.tests.story.tsx +101 -74
  1414. package/src/dateLookup/DateLookup.story.tsx +69 -59
  1415. package/src/field/Field.css +10 -1
  1416. package/src/field/Field.less +13 -2
  1417. package/src/field/Field.spec.tsx +19 -3
  1418. package/src/field/Field.story.tsx +18 -0
  1419. package/src/field/Field.tsx +17 -5
  1420. package/src/header/Header.story.tsx +5 -16
  1421. package/src/header/Header.tests.story.tsx +95 -69
  1422. package/src/info/Info.story.tsx +27 -11
  1423. package/src/inlineAlert/InlineAlert.story.tsx +4 -0
  1424. package/src/inlineAlert/InlineAlert.tsx +1 -7
  1425. package/src/instructionsList/InstructionsList.story.tsx +0 -1
  1426. package/src/listItem/Prompt/ListItemPrompt.spec.tsx +9 -9
  1427. package/src/listItem/Prompt/ListItemPrompt.story.tsx +1 -1
  1428. package/src/listItem/Prompt/ListItemPrompt.tsx +3 -4
  1429. package/src/listItem/_stories/ListItem.layout.test.story.tsx +1 -3
  1430. package/src/listItem/_stories/variants/ListItem.brightGreen.test.story.tsx +77 -35
  1431. package/src/listItem/_stories/variants/ListItem.dark.test.story.tsx +65 -29
  1432. package/src/listItem/_stories/variants/ListItem.forestGreen.test.story.tsx +77 -35
  1433. package/src/listItem/_stories/variants/ListItem.medium.test.story.tsx +38 -18
  1434. package/src/listItem/_stories/variants/ListItem.neutral.test.story.tsx +0 -1
  1435. package/src/listItem/_stories/variants/ListItem.personal.test.story.tsx +38 -18
  1436. package/src/listItem/_stories/variants/ListItem.rtl.test.story.tsx +77 -29
  1437. package/src/listItem/_stories/variants/ListItem.small.test.story.tsx +65 -18
  1438. package/src/listItem/_stories/variants/helpers.tsx +136 -133
  1439. package/src/main.css +20 -1
  1440. package/src/main.less +1 -0
  1441. package/src/modal/Modal.story.tsx +47 -8
  1442. package/src/moneyInput/MoneyInput.story.tsx +2 -2
  1443. package/src/primitives/PrimitiveAnchor/stories/PrimitiveAnchor.story.tsx +1 -0
  1444. package/src/primitives/PrimitiveAnchor/stories/PrimitiveAnchor.tests.story.tsx +1 -0
  1445. package/src/primitives/PrimitiveButton/stories/PrimitiveButton.story.tsx +1 -0
  1446. package/src/primitives/PrimitiveButton/stories/PrimitiveButton.tests.story.tsx +1 -0
  1447. package/src/prompt/InlinePrompt/InlinePrompt.css +3 -0
  1448. package/src/prompt/InlinePrompt/InlinePrompt.less +5 -1
  1449. package/src/prompt/InlinePrompt/InlinePrompt.spec.tsx +23 -6
  1450. package/src/prompt/InlinePrompt/InlinePrompt.story.tsx +37 -2
  1451. package/src/prompt/InlinePrompt/InlinePrompt.tsx +12 -5
  1452. package/src/radioGroup/RadioGroup.css +3 -0
  1453. package/src/radioGroup/RadioGroup.less +3 -0
  1454. package/src/radioGroup/RadioGroup.story.tsx +2 -0
  1455. package/src/radioGroup/RadioGroup.test.story.tsx +62 -0
  1456. package/src/radioGroup/RadioGroup.tsx +6 -1
  1457. package/src/segmentedControl/SegmentedControl.story.tsx +71 -67
  1458. package/src/snackbar/Snackbar.tests.story.tsx +116 -114
  1459. package/src/statusIcon/StatusIcon.story.tsx +41 -38
  1460. package/src/test-utils/index.tsx +0 -2
  1461. package/src/tokens/tokens.story.tsx +1 -1
  1462. package/src/tooltip/Tooltip.story.tsx +10 -2
  1463. package/src/typeahead/Typeahead.css +4 -0
  1464. package/src/typeahead/Typeahead.less +5 -1
  1465. package/src/typeahead/Typeahead.spec.tsx +1 -1
  1466. package/src/typeahead/Typeahead.story.tsx +151 -3
  1467. package/src/typeahead/Typeahead.tsx +33 -9
  1468. package/src/upload/Upload.story.tsx +1 -1
  1469. package/src/upload/Upload.tests.story.tsx +36 -1
  1470. package/src/upload/Upload.tsx +1 -1
  1471. package/src/upload/steps/uploadImageStep/uploadImageStep.tsx +7 -3
  1472. package/src/withId/withId.story.tsx +1 -1
  1473. package/build/types/accordion/Accordion.d.ts.map +0 -1
  1474. package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
  1475. package/build/types/accordion/AccordionItem/index.d.ts.map +0 -1
  1476. package/build/types/accordion/index.d.ts.map +0 -1
  1477. package/build/types/actionButton/ActionButton.d.ts.map +0 -1
  1478. package/build/types/actionButton/index.d.ts.map +0 -1
  1479. package/build/types/actionOption/ActionOption.d.ts.map +0 -1
  1480. package/build/types/actionOption/index.d.ts.map +0 -1
  1481. package/build/types/alert/Alert.d.ts +0 -51
  1482. package/build/types/alert/Alert.d.ts.map +0 -1
  1483. package/build/types/alert/index.d.ts.map +0 -1
  1484. package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
  1485. package/build/types/alert/inlineMarkdown/index.d.ts.map +0 -1
  1486. package/build/types/avatar/Avatar.d.ts.map +0 -1
  1487. package/build/types/avatar/avatarTypes.d.ts.map +0 -1
  1488. package/build/types/avatar/index.d.ts.map +0 -1
  1489. package/build/types/avatarLayout/AvatarLayout.d.ts.map +0 -1
  1490. package/build/types/avatarLayout/index.d.ts.map +0 -1
  1491. package/build/types/avatarView/AvatarView.d.ts.map +0 -1
  1492. package/build/types/avatarView/Dot.d.ts.map +0 -1
  1493. package/build/types/avatarView/index.d.ts.map +0 -1
  1494. package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
  1495. package/build/types/avatarWrapper/index.d.ts.map +0 -1
  1496. package/build/types/badge/Badge.d.ts.map +0 -1
  1497. package/build/types/badge/BadgeAssets.d.ts.map +0 -1
  1498. package/build/types/badge/index.d.ts.map +0 -1
  1499. package/build/types/body/Body.d.ts.map +0 -1
  1500. package/build/types/body/index.d.ts.map +0 -1
  1501. package/build/types/button/Button.d.ts.map +0 -1
  1502. package/build/types/button/Button.resolver.d.ts.map +0 -1
  1503. package/build/types/button/Button.types.d.ts.map +0 -1
  1504. package/build/types/button/LegacyButton.d.ts.map +0 -1
  1505. package/build/types/button/_stories/helpers.d.ts.map +0 -1
  1506. package/build/types/button/classMap.d.ts.map +0 -1
  1507. package/build/types/button/index.d.ts.map +0 -1
  1508. package/build/types/button/legacyUtils/index.d.ts.map +0 -1
  1509. package/build/types/button/legacyUtils/legacyUtils.d.ts.map +0 -1
  1510. package/build/types/card/Card.d.ts.map +0 -1
  1511. package/build/types/card/index.d.ts.map +0 -1
  1512. package/build/types/carousel/Carousel.d.ts.map +0 -1
  1513. package/build/types/carousel/index.d.ts.map +0 -1
  1514. package/build/types/checkbox/Checkbox.d.ts.map +0 -1
  1515. package/build/types/checkbox/index.d.ts.map +0 -1
  1516. package/build/types/checkboxButton/CheckboxButton.d.ts.map +0 -1
  1517. package/build/types/checkboxButton/index.d.ts.map +0 -1
  1518. package/build/types/checkboxOption/CheckboxOption.d.ts.map +0 -1
  1519. package/build/types/checkboxOption/index.d.ts.map +0 -1
  1520. package/build/types/chevron/Chevron.d.ts.map +0 -1
  1521. package/build/types/chevron/index.d.ts.map +0 -1
  1522. package/build/types/chips/Chip.d.ts.map +0 -1
  1523. package/build/types/chips/Chips.d.ts.map +0 -1
  1524. package/build/types/chips/Chips.messages.d.ts.map +0 -1
  1525. package/build/types/chips/index.d.ts.map +0 -1
  1526. package/build/types/circularButton/CircularButton.d.ts.map +0 -1
  1527. package/build/types/circularButton/index.d.ts.map +0 -1
  1528. package/build/types/common/DOMOperations/DOMOperations.d.ts.map +0 -1
  1529. package/build/types/common/DOMOperations/index.d.ts.map +0 -1
  1530. package/build/types/common/Option/Option.d.ts.map +0 -1
  1531. package/build/types/common/Option/index.d.ts.map +0 -1
  1532. package/build/types/common/RadioButton/RadioButton.d.ts.map +0 -1
  1533. package/build/types/common/RadioButton/index.d.ts.map +0 -1
  1534. package/build/types/common/bottomSheet/BottomSheet.d.ts.map +0 -1
  1535. package/build/types/common/bottomSheet/index.d.ts.map +0 -1
  1536. package/build/types/common/card/Card.d.ts.map +0 -1
  1537. package/build/types/common/card/index.d.ts.map +0 -1
  1538. package/build/types/common/circle/Circle.d.ts.map +0 -1
  1539. package/build/types/common/circle/index.d.ts.map +0 -1
  1540. package/build/types/common/closeButton/CloseButton.d.ts.map +0 -1
  1541. package/build/types/common/closeButton/CloseButton.messages.d.ts.map +0 -1
  1542. package/build/types/common/closeButton/index.d.ts.map +0 -1
  1543. package/build/types/common/colors.d.ts.map +0 -1
  1544. package/build/types/common/commonProps.d.ts.map +0 -1
  1545. package/build/types/common/constants.d.ts.map +0 -1
  1546. package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
  1547. package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
  1548. package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
  1549. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
  1550. package/build/types/common/dateUtils/index.d.ts.map +0 -1
  1551. package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
  1552. package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
  1553. package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
  1554. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
  1555. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
  1556. package/build/types/common/deviceDetection/deviceDetection.d.ts.map +0 -1
  1557. package/build/types/common/deviceDetection/index.d.ts.map +0 -1
  1558. package/build/types/common/direction.d.ts.map +0 -1
  1559. package/build/types/common/domHelpers/documentIosClick.d.ts.map +0 -1
  1560. package/build/types/common/domHelpers/index.d.ts.map +0 -1
  1561. package/build/types/common/fakeEvents.d.ts.map +0 -1
  1562. package/build/types/common/fileType.d.ts.map +0 -1
  1563. package/build/types/common/flowHeader/FlowHeader.d.ts.map +0 -1
  1564. package/build/types/common/flowHeader/index.d.ts.map +0 -1
  1565. package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
  1566. package/build/types/common/focusBoundary/index.d.ts.map +0 -1
  1567. package/build/types/common/historyNavigator/historyNavigator.d.ts.map +0 -1
  1568. package/build/types/common/historyNavigator/index.d.ts.map +0 -1
  1569. package/build/types/common/hooks/index.d.ts.map +0 -1
  1570. package/build/types/common/hooks/useConditionalListener/index.d.ts.map +0 -1
  1571. package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
  1572. package/build/types/common/hooks/useDirection/index.d.ts.map +0 -1
  1573. package/build/types/common/hooks/useDirection/useDirection.d.ts.map +0 -1
  1574. package/build/types/common/hooks/useEffectEvent.d.ts.map +0 -1
  1575. package/build/types/common/hooks/useHasIntersected/index.d.ts.map +0 -1
  1576. package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
  1577. package/build/types/common/hooks/useLayout/index.d.ts.map +0 -1
  1578. package/build/types/common/hooks/useLayout/useLayout.d.ts.map +0 -1
  1579. package/build/types/common/hooks/useMedia.d.ts.map +0 -1
  1580. package/build/types/common/hooks/useResizeObserver.d.ts.map +0 -1
  1581. package/build/types/common/hooks/useScreenSize.d.ts.map +0 -1
  1582. package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
  1583. package/build/types/common/index.d.ts.map +0 -1
  1584. package/build/types/common/initials.d.ts.map +0 -1
  1585. package/build/types/common/locale/index.d.ts.map +0 -1
  1586. package/build/types/common/panel/Panel.d.ts.map +0 -1
  1587. package/build/types/common/panel/index.d.ts.map +0 -1
  1588. package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
  1589. package/build/types/common/preventScroll/PreventScroll.d.ts.map +0 -1
  1590. package/build/types/common/propsValues/breakpoint.d.ts.map +0 -1
  1591. package/build/types/common/propsValues/control.d.ts.map +0 -1
  1592. package/build/types/common/propsValues/dateMode.d.ts.map +0 -1
  1593. package/build/types/common/propsValues/layouts.d.ts.map +0 -1
  1594. package/build/types/common/propsValues/markdownNodeType.d.ts.map +0 -1
  1595. package/build/types/common/propsValues/monthFormat.d.ts.map +0 -1
  1596. package/build/types/common/propsValues/position.d.ts.map +0 -1
  1597. package/build/types/common/propsValues/profileType.d.ts.map +0 -1
  1598. package/build/types/common/propsValues/scroll.d.ts.map +0 -1
  1599. package/build/types/common/propsValues/sentiment.d.ts.map +0 -1
  1600. package/build/types/common/propsValues/size.d.ts.map +0 -1
  1601. package/build/types/common/propsValues/status.d.ts.map +0 -1
  1602. package/build/types/common/propsValues/type.d.ts.map +0 -1
  1603. package/build/types/common/propsValues/typography.d.ts.map +0 -1
  1604. package/build/types/common/propsValues/variant.d.ts.map +0 -1
  1605. package/build/types/common/propsValues/width.d.ts.map +0 -1
  1606. package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
  1607. package/build/types/common/responsivePanel/index.d.ts.map +0 -1
  1608. package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
  1609. package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
  1610. package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
  1611. package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
  1612. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
  1613. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
  1614. package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
  1615. package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
  1616. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
  1617. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
  1618. package/build/types/common/textFormat/index.d.ts.map +0 -1
  1619. package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
  1620. package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
  1621. package/build/types/common/theme.d.ts.map +0 -1
  1622. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
  1623. package/build/types/criticalBanner/index.d.ts.map +0 -1
  1624. package/build/types/dateInput/DateInput.d.ts.map +0 -1
  1625. package/build/types/dateInput/DateInput.messages.d.ts.map +0 -1
  1626. package/build/types/dateInput/index.d.ts.map +0 -1
  1627. package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
  1628. package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
  1629. package/build/types/dateInput/utils/index.d.ts.map +0 -1
  1630. package/build/types/dateLookup/DateLookup.d.ts.map +0 -1
  1631. package/build/types/dateLookup/DateLookup.messages.d.ts.map +0 -1
  1632. package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
  1633. package/build/types/dateLookup/dateHeader/index.d.ts.map +0 -1
  1634. package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
  1635. package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
  1636. package/build/types/dateLookup/dateTrigger/index.d.ts.map +0 -1
  1637. package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
  1638. package/build/types/dateLookup/dayCalendar/index.d.ts.map +0 -1
  1639. package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
  1640. package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
  1641. package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
  1642. package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
  1643. package/build/types/dateLookup/getStartOfDay/index.d.ts.map +0 -1
  1644. package/build/types/dateLookup/index.d.ts.map +0 -1
  1645. package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
  1646. package/build/types/dateLookup/monthCalendar/index.d.ts.map +0 -1
  1647. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
  1648. package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
  1649. package/build/types/dateLookup/tableLink/TableLink.d.ts.map +0 -1
  1650. package/build/types/dateLookup/tableLink/index.d.ts.map +0 -1
  1651. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
  1652. package/build/types/dateLookup/yearCalendar/index.d.ts.map +0 -1
  1653. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
  1654. package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
  1655. package/build/types/decision/Decision.d.ts.map +0 -1
  1656. package/build/types/decision/index.d.ts.map +0 -1
  1657. package/build/types/definitionList/DefinitionList.d.ts.map +0 -1
  1658. package/build/types/definitionList/index.d.ts.map +0 -1
  1659. package/build/types/dimmer/Dimmer.d.ts.map +0 -1
  1660. package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
  1661. package/build/types/dimmer/dimmerManager/index.d.ts.map +0 -1
  1662. package/build/types/dimmer/index.d.ts.map +0 -1
  1663. package/build/types/display/Display.d.ts.map +0 -1
  1664. package/build/types/display/index.d.ts.map +0 -1
  1665. package/build/types/divider/Divider.d.ts.map +0 -1
  1666. package/build/types/divider/index.d.ts.map +0 -1
  1667. package/build/types/drawer/Drawer.d.ts.map +0 -1
  1668. package/build/types/drawer/index.d.ts.map +0 -1
  1669. package/build/types/dropFade/DropFade.d.ts.map +0 -1
  1670. package/build/types/dropFade/index.d.ts.map +0 -1
  1671. package/build/types/emphasis/Emphasis.d.ts.map +0 -1
  1672. package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
  1673. package/build/types/emphasis/index.d.ts.map +0 -1
  1674. package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
  1675. package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
  1676. package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
  1677. package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
  1678. package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
  1679. package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
  1680. package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
  1681. package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
  1682. package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
  1683. package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
  1684. package/build/types/expressiveMoneyInput/index.d.ts.map +0 -1
  1685. package/build/types/field/Field.d.ts +0 -24
  1686. package/build/types/field/Field.d.ts.map +0 -1
  1687. package/build/types/flowNavigation/FlowNavigation.d.ts.map +0 -1
  1688. package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
  1689. package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
  1690. package/build/types/flowNavigation/animatedLabel/index.d.ts.map +0 -1
  1691. package/build/types/header/Header.d.ts.map +0 -1
  1692. package/build/types/header/index.d.ts.map +0 -1
  1693. package/build/types/i18n/commonMessages/Button.messages.d.ts.map +0 -1
  1694. package/build/types/i18n/index.d.ts.map +0 -1
  1695. package/build/types/iconButton/IconButton.d.ts.map +0 -1
  1696. package/build/types/iconButton/index.d.ts.map +0 -1
  1697. package/build/types/image/Image.d.ts.map +0 -1
  1698. package/build/types/image/index.d.ts.map +0 -1
  1699. package/build/types/index.d.ts.map +0 -1
  1700. package/build/types/info/Info.d.ts.map +0 -1
  1701. package/build/types/info/Info.messages.d.ts.map +0 -1
  1702. package/build/types/info/index.d.ts.map +0 -1
  1703. package/build/types/info/infoPresentations.d.ts.map +0 -1
  1704. package/build/types/inlineAlert/InlineAlert.d.ts +0 -20
  1705. package/build/types/inlineAlert/InlineAlert.d.ts.map +0 -1
  1706. package/build/types/inlineAlert/index.d.ts.map +0 -1
  1707. package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
  1708. package/build/types/inputWithDisplayFormat/index.d.ts.map +0 -1
  1709. package/build/types/inputs/Input.d.ts.map +0 -1
  1710. package/build/types/inputs/InputGroup.d.ts.map +0 -1
  1711. package/build/types/inputs/SearchInput.d.ts.map +0 -1
  1712. package/build/types/inputs/SelectInput.d.ts.map +0 -1
  1713. package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
  1714. package/build/types/inputs/TextArea.d.ts.map +0 -1
  1715. package/build/types/inputs/_BottomSheet.d.ts.map +0 -1
  1716. package/build/types/inputs/_ButtonInput.d.ts.map +0 -1
  1717. package/build/types/inputs/_Popover.d.ts.map +0 -1
  1718. package/build/types/inputs/_common.d.ts.map +0 -1
  1719. package/build/types/inputs/contexts.d.ts.map +0 -1
  1720. package/build/types/instructionsList/InstructionsList.d.ts.map +0 -1
  1721. package/build/types/instructionsList/index.d.ts.map +0 -1
  1722. package/build/types/label/Label.d.ts.map +0 -1
  1723. package/build/types/label/Label.messages.d.ts.map +0 -1
  1724. package/build/types/label/index.d.ts.map +0 -1
  1725. package/build/types/legacylistItem/LegacyListItem.d.ts.map +0 -1
  1726. package/build/types/legacylistItem/index.d.ts.map +0 -1
  1727. package/build/types/link/Link.d.ts.map +0 -1
  1728. package/build/types/link/Link.messages.d.ts.map +0 -1
  1729. package/build/types/link/index.d.ts.map +0 -1
  1730. package/build/types/list/List.d.ts.map +0 -1
  1731. package/build/types/list/index.d.ts.map +0 -1
  1732. package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
  1733. package/build/types/listItem/AdditionalInfo/index.d.ts.map +0 -1
  1734. package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
  1735. package/build/types/listItem/AvatarLayout/index.d.ts.map +0 -1
  1736. package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
  1737. package/build/types/listItem/AvatarView/index.d.ts.map +0 -1
  1738. package/build/types/listItem/Button/ListItemButton.d.ts.map +0 -1
  1739. package/build/types/listItem/Button/index.d.ts.map +0 -1
  1740. package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
  1741. package/build/types/listItem/Checkbox/index.d.ts.map +0 -1
  1742. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
  1743. package/build/types/listItem/IconButton/index.d.ts.map +0 -1
  1744. package/build/types/listItem/Image/ListItemImage.d.ts.map +0 -1
  1745. package/build/types/listItem/Image/index.d.ts.map +0 -1
  1746. package/build/types/listItem/ListItem.d.ts +0 -120
  1747. package/build/types/listItem/ListItem.d.ts.map +0 -1
  1748. package/build/types/listItem/ListItemContext.d.ts.map +0 -1
  1749. package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
  1750. package/build/types/listItem/Navigation/index.d.ts.map +0 -1
  1751. package/build/types/listItem/Prompt/ListItemPrompt.d.ts +0 -14
  1752. package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
  1753. package/build/types/listItem/Prompt/index.d.ts.map +0 -1
  1754. package/build/types/listItem/Radio/ListItemRadio.d.ts.map +0 -1
  1755. package/build/types/listItem/Radio/index.d.ts.map +0 -1
  1756. package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
  1757. package/build/types/listItem/Switch/index.d.ts.map +0 -1
  1758. package/build/types/listItem/_stories/helpers.d.ts.map +0 -1
  1759. package/build/types/listItem/_stories/subcomponents.d.ts.map +0 -1
  1760. package/build/types/listItem/_stories/variants/helpers.d.ts +0 -8
  1761. package/build/types/listItem/_stories/variants/helpers.d.ts.map +0 -1
  1762. package/build/types/listItem/constants.d.ts.map +0 -1
  1763. package/build/types/listItem/index.d.ts.map +0 -1
  1764. package/build/types/listItem/test-utils.d.ts.map +0 -1
  1765. package/build/types/listItem/useListItemControl.d.ts.map +0 -1
  1766. package/build/types/listItem/useListItemMedia.d.ts.map +0 -1
  1767. package/build/types/loader/Loader.d.ts.map +0 -1
  1768. package/build/types/loader/index.d.ts.map +0 -1
  1769. package/build/types/logo/Logo.d.ts.map +0 -1
  1770. package/build/types/logo/index.d.ts.map +0 -1
  1771. package/build/types/logo/logo-assets.d.ts.map +0 -1
  1772. package/build/types/markdown/Markdown.d.ts.map +0 -1
  1773. package/build/types/markdown/index.d.ts.map +0 -1
  1774. package/build/types/mocks.d.ts.map +0 -1
  1775. package/build/types/modal/Modal.d.ts.map +0 -1
  1776. package/build/types/modal/index.d.ts.map +0 -1
  1777. package/build/types/money/Money.d.ts.map +0 -1
  1778. package/build/types/money/index.d.ts.map +0 -1
  1779. package/build/types/moneyInput/MoneyInput.d.ts.map +0 -1
  1780. package/build/types/moneyInput/MoneyInput.messages.d.ts.map +0 -1
  1781. package/build/types/moneyInput/currencyFormatting.d.ts.map +0 -1
  1782. package/build/types/moneyInput/index.d.ts.map +0 -1
  1783. package/build/types/navigationOption/NavigationOption.d.ts.map +0 -1
  1784. package/build/types/navigationOption/index.d.ts.map +0 -1
  1785. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
  1786. package/build/types/navigationOptionsList/index.d.ts.map +0 -1
  1787. package/build/types/nudge/Nudge.d.ts.map +0 -1
  1788. package/build/types/nudge/index.d.ts.map +0 -1
  1789. package/build/types/overlayHeader/OverlayHeader.d.ts.map +0 -1
  1790. package/build/types/overlayHeader/index.d.ts.map +0 -1
  1791. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
  1792. package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
  1793. package/build/types/phoneNumberInput/data/countries.d.ts.map +0 -1
  1794. package/build/types/phoneNumberInput/index.d.ts.map +0 -1
  1795. package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
  1796. package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
  1797. package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
  1798. package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
  1799. package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
  1800. package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
  1801. package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
  1802. package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
  1803. package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
  1804. package/build/types/phoneNumberInput/utils/index.d.ts.map +0 -1
  1805. package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
  1806. package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
  1807. package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
  1808. package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
  1809. package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
  1810. package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
  1811. package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
  1812. package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
  1813. package/build/types/popover/Popover.d.ts.map +0 -1
  1814. package/build/types/popover/index.d.ts.map +0 -1
  1815. package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
  1816. package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
  1817. package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
  1818. package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
  1819. package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
  1820. package/build/types/primitives/PrimitiveButton/index.d.ts.map +0 -1
  1821. package/build/types/primitives/index.d.ts.map +0 -1
  1822. package/build/types/primitives/types.d.ts.map +0 -1
  1823. package/build/types/processIndicator/ProcessIndicator.d.ts.map +0 -1
  1824. package/build/types/processIndicator/index.d.ts.map +0 -1
  1825. package/build/types/progress/Progress.d.ts.map +0 -1
  1826. package/build/types/progress/index.d.ts.map +0 -1
  1827. package/build/types/progressBar/ProgressBar.d.ts.map +0 -1
  1828. package/build/types/progressBar/index.d.ts.map +0 -1
  1829. package/build/types/promoCard/PromoCard.d.ts.map +0 -1
  1830. package/build/types/promoCard/PromoCardContext.d.ts.map +0 -1
  1831. package/build/types/promoCard/PromoCardGroup.d.ts.map +0 -1
  1832. package/build/types/promoCard/PromoCardIndicator.d.ts.map +0 -1
  1833. package/build/types/promoCard/index.d.ts.map +0 -1
  1834. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts +0 -39
  1835. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
  1836. package/build/types/prompt/InlinePrompt/index.d.ts.map +0 -1
  1837. package/build/types/prompt/index.d.ts.map +0 -1
  1838. package/build/types/provider/Provider.d.ts.map +0 -1
  1839. package/build/types/provider/direction/DirectionProvider.d.ts.map +0 -1
  1840. package/build/types/provider/direction/index.d.ts.map +0 -1
  1841. package/build/types/provider/index.d.ts.map +0 -1
  1842. package/build/types/provider/language/LanguageProvider.d.ts.map +0 -1
  1843. package/build/types/provider/language/index.d.ts.map +0 -1
  1844. package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
  1845. package/build/types/radio/Radio.d.ts.map +0 -1
  1846. package/build/types/radio/index.d.ts.map +0 -1
  1847. package/build/types/radioGroup/RadioGroup.d.ts.map +0 -1
  1848. package/build/types/radioGroup/index.d.ts.map +0 -1
  1849. package/build/types/radioOption/RadioOption.d.ts.map +0 -1
  1850. package/build/types/radioOption/index.d.ts.map +0 -1
  1851. package/build/types/section/Section.d.ts.map +0 -1
  1852. package/build/types/section/index.d.ts.map +0 -1
  1853. package/build/types/segmentedControl/SegmentedControl.d.ts.map +0 -1
  1854. package/build/types/segmentedControl/index.d.ts.map +0 -1
  1855. package/build/types/select/Select.d.ts.map +0 -1
  1856. package/build/types/select/Select.messages.d.ts.map +0 -1
  1857. package/build/types/select/index.d.ts.map +0 -1
  1858. package/build/types/select/option/Option.d.ts.map +0 -1
  1859. package/build/types/select/option/index.d.ts.map +0 -1
  1860. package/build/types/select/searchBox/SearchBox.d.ts.map +0 -1
  1861. package/build/types/select/searchBox/index.d.ts.map +0 -1
  1862. package/build/types/sentimentSurface/SentimentSurface.d.ts.map +0 -1
  1863. package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
  1864. package/build/types/sentimentSurface/index.d.ts.map +0 -1
  1865. package/build/types/slidingPanel/SlidingPanel.d.ts.map +0 -1
  1866. package/build/types/slidingPanel/index.d.ts.map +0 -1
  1867. package/build/types/snackbar/Snackbar.d.ts.map +0 -1
  1868. package/build/types/snackbar/SnackbarContext.d.ts.map +0 -1
  1869. package/build/types/snackbar/SnackbarProvider.d.ts.map +0 -1
  1870. package/build/types/snackbar/index.d.ts.map +0 -1
  1871. package/build/types/snackbar/useSnackbar.d.ts.map +0 -1
  1872. package/build/types/statusIcon/StatusIcon.d.ts.map +0 -1
  1873. package/build/types/statusIcon/StatusIcon.messages.d.ts.map +0 -1
  1874. package/build/types/statusIcon/index.d.ts.map +0 -1
  1875. package/build/types/stepper/Stepper.d.ts.map +0 -1
  1876. package/build/types/stepper/deviceDetection.d.ts.map +0 -1
  1877. package/build/types/sticky/Sticky.d.ts.map +0 -1
  1878. package/build/types/sticky/index.d.ts.map +0 -1
  1879. package/build/types/summary/Summary.d.ts.map +0 -1
  1880. package/build/types/summary/Summary.messages.d.ts.map +0 -1
  1881. package/build/types/summary/index.d.ts.map +0 -1
  1882. package/build/types/switch/Switch.d.ts.map +0 -1
  1883. package/build/types/switch/index.d.ts.map +0 -1
  1884. package/build/types/switchOption/SwitchOption.d.ts.map +0 -1
  1885. package/build/types/switchOption/index.d.ts.map +0 -1
  1886. package/build/types/table/Table.d.ts.map +0 -1
  1887. package/build/types/table/Table.messages.d.ts.map +0 -1
  1888. package/build/types/table/TableCell.d.ts.map +0 -1
  1889. package/build/types/table/TableHeader.d.ts.map +0 -1
  1890. package/build/types/table/TableRow.d.ts.map +0 -1
  1891. package/build/types/table/TableStatusText.d.ts.map +0 -1
  1892. package/build/types/table/index.d.ts.map +0 -1
  1893. package/build/types/tabs/Tab.d.ts.map +0 -1
  1894. package/build/types/tabs/TabList.d.ts.map +0 -1
  1895. package/build/types/tabs/TabPanel.d.ts.map +0 -1
  1896. package/build/types/tabs/Tabs.d.ts.map +0 -1
  1897. package/build/types/tabs/index.d.ts.map +0 -1
  1898. package/build/types/tabs/utils.d.ts.map +0 -1
  1899. package/build/types/test-utils/fake-data.d.ts.map +0 -1
  1900. package/build/types/test-utils/index.d.ts +0 -180
  1901. package/build/types/test-utils/index.d.ts.map +0 -1
  1902. package/build/types/test-utils/jest.setup.d.ts.map +0 -1
  1903. package/build/types/test-utils/story-config.d.ts +0 -64
  1904. package/build/types/test-utils/story-config.d.ts.map +0 -1
  1905. package/build/types/test-utils/style-mock.d.ts.map +0 -1
  1906. package/build/types/test-utils/wait.d.ts.map +0 -1
  1907. package/build/types/test-utils/window-mock.d.ts.map +0 -1
  1908. package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
  1909. package/build/types/textareaWithDisplayFormat/index.d.ts.map +0 -1
  1910. package/build/types/tile/Tile.d.ts.map +0 -1
  1911. package/build/types/tile/index.d.ts.map +0 -1
  1912. package/build/types/title/Title.d.ts.map +0 -1
  1913. package/build/types/title/index.d.ts.map +0 -1
  1914. package/build/types/tooltip/Tooltip.d.ts.map +0 -1
  1915. package/build/types/tooltip/index.d.ts.map +0 -1
  1916. package/build/types/typeahead/Typeahead.d.ts +0 -47
  1917. package/build/types/typeahead/Typeahead.d.ts.map +0 -1
  1918. package/build/types/typeahead/Typeahead.messages.d.ts.map +0 -1
  1919. package/build/types/typeahead/index.d.ts.map +0 -1
  1920. package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
  1921. package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
  1922. package/build/types/typeahead/util/highlight.d.ts.map +0 -1
  1923. package/build/types/upload/Upload.d.ts +0 -100
  1924. package/build/types/upload/Upload.d.ts.map +0 -1
  1925. package/build/types/upload/Upload.messages.d.ts.map +0 -1
  1926. package/build/types/upload/index.d.ts.map +0 -1
  1927. package/build/types/upload/steps/completeStep/completeStep.d.ts.map +0 -1
  1928. package/build/types/upload/steps/completeStep/index.d.ts.map +0 -1
  1929. package/build/types/upload/steps/index.d.ts.map +0 -1
  1930. package/build/types/upload/steps/processingStep/index.d.ts.map +0 -1
  1931. package/build/types/upload/steps/processingStep/processingStep.d.ts.map +0 -1
  1932. package/build/types/upload/steps/uploadImageStep/index.d.ts.map +0 -1
  1933. package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
  1934. package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
  1935. package/build/types/upload/utils/asyncFileRead/index.d.ts.map +0 -1
  1936. package/build/types/upload/utils/getFileType/getFileType.d.ts.map +0 -1
  1937. package/build/types/upload/utils/getFileType/index.d.ts.map +0 -1
  1938. package/build/types/upload/utils/index.d.ts.map +0 -1
  1939. package/build/types/upload/utils/isSizeValid/index.d.ts.map +0 -1
  1940. package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
  1941. package/build/types/upload/utils/isTypeValid/index.d.ts.map +0 -1
  1942. package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
  1943. package/build/types/upload/utils/postData/index.d.ts.map +0 -1
  1944. package/build/types/upload/utils/postData/postData.d.ts.map +0 -1
  1945. package/build/types/uploadInput/UploadInput.d.ts.map +0 -1
  1946. package/build/types/uploadInput/UploadInput.messages.d.ts.map +0 -1
  1947. package/build/types/uploadInput/index.d.ts.map +0 -1
  1948. package/build/types/uploadInput/types.d.ts.map +0 -1
  1949. package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
  1950. package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
  1951. package/build/types/uploadInput/uploadButton/defaults.d.ts.map +0 -1
  1952. package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
  1953. package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
  1954. package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
  1955. package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
  1956. package/build/types/utilities/cssValueWithUnit.d.ts.map +0 -1
  1957. package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
  1958. package/build/types/utilities/deprecatedProperty/index.d.ts.map +0 -1
  1959. package/build/types/utilities/index.d.ts.map +0 -1
  1960. package/build/types/utilities/logActionRequired.d.ts.map +0 -1
  1961. package/build/types/utils.d.ts.map +0 -1
  1962. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
  1963. package/build/types/withDisplayFormat/index.d.ts.map +0 -1
  1964. package/build/types/withId/index.d.ts.map +0 -1
  1965. package/build/types/withId/story/source.d.ts.map +0 -1
  1966. package/build/types/withId/withId.d.ts.map +0 -1
  1967. package/build/types/withNextPortal/withNextPortal.d.ts.map +0 -1
  1968. package/src/test-utils/story-config.ts +0 -95
  1969. /package/build/types/{accordion → components/src/accordion}/Accordion.d.ts +0 -0
  1970. /package/build/types/{accordion → components/src/accordion}/AccordionItem/AccordionItem.d.ts +0 -0
  1971. /package/build/types/{accordion → components/src/accordion}/AccordionItem/index.d.ts +0 -0
  1972. /package/build/types/{accordion → components/src/accordion}/index.d.ts +0 -0
  1973. /package/build/types/{actionButton → components/src/actionButton}/ActionButton.d.ts +0 -0
  1974. /package/build/types/{actionButton → components/src/actionButton}/index.d.ts +0 -0
  1975. /package/build/types/{actionOption → components/src/actionOption}/ActionOption.d.ts +0 -0
  1976. /package/build/types/{actionOption → components/src/actionOption}/index.d.ts +0 -0
  1977. /package/build/types/{alert → components/src/alert}/index.d.ts +0 -0
  1978. /package/build/types/{alert → components/src/alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
  1979. /package/build/types/{alert → components/src/alert}/inlineMarkdown/index.d.ts +0 -0
  1980. /package/build/types/{avatar → components/src/avatar}/Avatar.d.ts +0 -0
  1981. /package/build/types/{avatar → components/src/avatar}/avatarTypes.d.ts +0 -0
  1982. /package/build/types/{avatar → components/src/avatar}/index.d.ts +0 -0
  1983. /package/build/types/{avatarLayout → components/src/avatarLayout}/AvatarLayout.d.ts +0 -0
  1984. /package/build/types/{avatarLayout → components/src/avatarLayout}/index.d.ts +0 -0
  1985. /package/build/types/{avatarView → components/src/avatarView}/AvatarView.d.ts +0 -0
  1986. /package/build/types/{avatarView → components/src/avatarView}/Dot.d.ts +0 -0
  1987. /package/build/types/{avatarView → components/src/avatarView}/index.d.ts +0 -0
  1988. /package/build/types/{avatarWrapper → components/src/avatarWrapper}/AvatarWrapper.d.ts +0 -0
  1989. /package/build/types/{avatarWrapper → components/src/avatarWrapper}/index.d.ts +0 -0
  1990. /package/build/types/{badge → components/src/badge}/Badge.d.ts +0 -0
  1991. /package/build/types/{badge → components/src/badge}/BadgeAssets.d.ts +0 -0
  1992. /package/build/types/{badge → components/src/badge}/index.d.ts +0 -0
  1993. /package/build/types/{body → components/src/body}/Body.d.ts +0 -0
  1994. /package/build/types/{body → components/src/body}/index.d.ts +0 -0
  1995. /package/build/types/{button → components/src/button}/Button.d.ts +0 -0
  1996. /package/build/types/{button → components/src/button}/Button.resolver.d.ts +0 -0
  1997. /package/build/types/{button → components/src/button}/Button.types.d.ts +0 -0
  1998. /package/build/types/{button → components/src/button}/LegacyButton.d.ts +0 -0
  1999. /package/build/types/{button → components/src/button}/_stories/helpers.d.ts +0 -0
  2000. /package/build/types/{button → components/src/button}/classMap.d.ts +0 -0
  2001. /package/build/types/{button → components/src/button}/index.d.ts +0 -0
  2002. /package/build/types/{button → components/src/button}/legacyUtils/index.d.ts +0 -0
  2003. /package/build/types/{button → components/src/button}/legacyUtils/legacyUtils.d.ts +0 -0
  2004. /package/build/types/{card → components/src/card}/Card.d.ts +0 -0
  2005. /package/build/types/{card → components/src/card}/index.d.ts +0 -0
  2006. /package/build/types/{carousel → components/src/carousel}/Carousel.d.ts +0 -0
  2007. /package/build/types/{carousel → components/src/carousel}/index.d.ts +0 -0
  2008. /package/build/types/{checkbox → components/src/checkbox}/Checkbox.d.ts +0 -0
  2009. /package/build/types/{checkbox → components/src/checkbox}/index.d.ts +0 -0
  2010. /package/build/types/{checkboxButton → components/src/checkboxButton}/CheckboxButton.d.ts +0 -0
  2011. /package/build/types/{checkboxButton → components/src/checkboxButton}/index.d.ts +0 -0
  2012. /package/build/types/{checkboxOption → components/src/checkboxOption}/CheckboxOption.d.ts +0 -0
  2013. /package/build/types/{checkboxOption → components/src/checkboxOption}/index.d.ts +0 -0
  2014. /package/build/types/{chevron → components/src/chevron}/Chevron.d.ts +0 -0
  2015. /package/build/types/{chevron → components/src/chevron}/index.d.ts +0 -0
  2016. /package/build/types/{chips → components/src/chips}/Chip.d.ts +0 -0
  2017. /package/build/types/{chips → components/src/chips}/Chips.d.ts +0 -0
  2018. /package/build/types/{chips → components/src/chips}/Chips.messages.d.ts +0 -0
  2019. /package/build/types/{chips → components/src/chips}/index.d.ts +0 -0
  2020. /package/build/types/{circularButton → components/src/circularButton}/CircularButton.d.ts +0 -0
  2021. /package/build/types/{circularButton → components/src/circularButton}/index.d.ts +0 -0
  2022. /package/build/types/{common → components/src/common}/DOMOperations/DOMOperations.d.ts +0 -0
  2023. /package/build/types/{common → components/src/common}/DOMOperations/index.d.ts +0 -0
  2024. /package/build/types/{common → components/src/common}/Option/Option.d.ts +0 -0
  2025. /package/build/types/{common → components/src/common}/Option/index.d.ts +0 -0
  2026. /package/build/types/{common → components/src/common}/RadioButton/RadioButton.d.ts +0 -0
  2027. /package/build/types/{common → components/src/common}/RadioButton/index.d.ts +0 -0
  2028. /package/build/types/{common → components/src/common}/bottomSheet/BottomSheet.d.ts +0 -0
  2029. /package/build/types/{common → components/src/common}/bottomSheet/index.d.ts +0 -0
  2030. /package/build/types/{common → components/src/common}/card/Card.d.ts +0 -0
  2031. /package/build/types/{common → components/src/common}/card/index.d.ts +0 -0
  2032. /package/build/types/{common → components/src/common}/circle/Circle.d.ts +0 -0
  2033. /package/build/types/{common → components/src/common}/circle/index.d.ts +0 -0
  2034. /package/build/types/{common → components/src/common}/closeButton/CloseButton.d.ts +0 -0
  2035. /package/build/types/{common → components/src/common}/closeButton/CloseButton.messages.d.ts +0 -0
  2036. /package/build/types/{common → components/src/common}/closeButton/index.d.ts +0 -0
  2037. /package/build/types/{common → components/src/common}/colors.d.ts +0 -0
  2038. /package/build/types/{common → components/src/common}/commonProps.d.ts +0 -0
  2039. /package/build/types/{common → components/src/common}/constants.d.ts +0 -0
  2040. /package/build/types/{common → components/src/common}/dateUtils/getDateView/getDateView.d.ts +0 -0
  2041. /package/build/types/{common → components/src/common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
  2042. /package/build/types/{common → components/src/common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
  2043. /package/build/types/{common → components/src/common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
  2044. /package/build/types/{common → components/src/common}/dateUtils/index.d.ts +0 -0
  2045. /package/build/types/{common → components/src/common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
  2046. /package/build/types/{common → components/src/common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
  2047. /package/build/types/{common → components/src/common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
  2048. /package/build/types/{common → components/src/common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
  2049. /package/build/types/{common → components/src/common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
  2050. /package/build/types/{common → components/src/common}/deviceDetection/deviceDetection.d.ts +0 -0
  2051. /package/build/types/{common → components/src/common}/deviceDetection/index.d.ts +0 -0
  2052. /package/build/types/{common → components/src/common}/direction.d.ts +0 -0
  2053. /package/build/types/{common → components/src/common}/domHelpers/documentIosClick.d.ts +0 -0
  2054. /package/build/types/{common → components/src/common}/domHelpers/index.d.ts +0 -0
  2055. /package/build/types/{common → components/src/common}/fakeEvents.d.ts +0 -0
  2056. /package/build/types/{common → components/src/common}/fileType.d.ts +0 -0
  2057. /package/build/types/{common → components/src/common}/flowHeader/FlowHeader.d.ts +0 -0
  2058. /package/build/types/{common → components/src/common}/flowHeader/index.d.ts +0 -0
  2059. /package/build/types/{common → components/src/common}/focusBoundary/FocusBoundary.d.ts +0 -0
  2060. /package/build/types/{common → components/src/common}/focusBoundary/index.d.ts +0 -0
  2061. /package/build/types/{common → components/src/common}/historyNavigator/historyNavigator.d.ts +0 -0
  2062. /package/build/types/{common → components/src/common}/historyNavigator/index.d.ts +0 -0
  2063. /package/build/types/{common → components/src/common}/hooks/index.d.ts +0 -0
  2064. /package/build/types/{common → components/src/common}/hooks/useConditionalListener/index.d.ts +0 -0
  2065. /package/build/types/{common → components/src/common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
  2066. /package/build/types/{common → components/src/common}/hooks/useDirection/index.d.ts +0 -0
  2067. /package/build/types/{common → components/src/common}/hooks/useDirection/useDirection.d.ts +0 -0
  2068. /package/build/types/{common → components/src/common}/hooks/useEffectEvent.d.ts +0 -0
  2069. /package/build/types/{common → components/src/common}/hooks/useHasIntersected/index.d.ts +0 -0
  2070. /package/build/types/{common → components/src/common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
  2071. /package/build/types/{common → components/src/common}/hooks/useLayout/index.d.ts +0 -0
  2072. /package/build/types/{common → components/src/common}/hooks/useLayout/useLayout.d.ts +0 -0
  2073. /package/build/types/{common → components/src/common}/hooks/useMedia.d.ts +0 -0
  2074. /package/build/types/{common → components/src/common}/hooks/useResizeObserver.d.ts +0 -0
  2075. /package/build/types/{common → components/src/common}/hooks/useScreenSize.d.ts +0 -0
  2076. /package/build/types/{common → components/src/common}/hooks/useVirtualKeyboard.d.ts +0 -0
  2077. /package/build/types/{common → components/src/common}/index.d.ts +0 -0
  2078. /package/build/types/{common → components/src/common}/initials.d.ts +0 -0
  2079. /package/build/types/{common → components/src/common}/locale/index.d.ts +0 -0
  2080. /package/build/types/{common → components/src/common}/panel/Panel.d.ts +0 -0
  2081. /package/build/types/{common → components/src/common}/panel/index.d.ts +0 -0
  2082. /package/build/types/{common → components/src/common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
  2083. /package/build/types/{common → components/src/common}/preventScroll/PreventScroll.d.ts +0 -0
  2084. /package/build/types/{common → components/src/common}/propsValues/breakpoint.d.ts +0 -0
  2085. /package/build/types/{common → components/src/common}/propsValues/control.d.ts +0 -0
  2086. /package/build/types/{common → components/src/common}/propsValues/dateMode.d.ts +0 -0
  2087. /package/build/types/{common → components/src/common}/propsValues/layouts.d.ts +0 -0
  2088. /package/build/types/{common → components/src/common}/propsValues/markdownNodeType.d.ts +0 -0
  2089. /package/build/types/{common → components/src/common}/propsValues/monthFormat.d.ts +0 -0
  2090. /package/build/types/{common → components/src/common}/propsValues/position.d.ts +0 -0
  2091. /package/build/types/{common → components/src/common}/propsValues/profileType.d.ts +0 -0
  2092. /package/build/types/{common → components/src/common}/propsValues/scroll.d.ts +0 -0
  2093. /package/build/types/{common → components/src/common}/propsValues/sentiment.d.ts +0 -0
  2094. /package/build/types/{common → components/src/common}/propsValues/size.d.ts +0 -0
  2095. /package/build/types/{common → components/src/common}/propsValues/status.d.ts +0 -0
  2096. /package/build/types/{common → components/src/common}/propsValues/type.d.ts +0 -0
  2097. /package/build/types/{common → components/src/common}/propsValues/typography.d.ts +0 -0
  2098. /package/build/types/{common → components/src/common}/propsValues/variant.d.ts +0 -0
  2099. /package/build/types/{common → components/src/common}/propsValues/width.d.ts +0 -0
  2100. /package/build/types/{common → components/src/common}/responsivePanel/ResponsivePanel.d.ts +0 -0
  2101. /package/build/types/{common → components/src/common}/responsivePanel/index.d.ts +0 -0
  2102. /package/build/types/{common → components/src/common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
  2103. /package/build/types/{common → components/src/common}/textFormat/formatWithPattern/index.d.ts +0 -0
  2104. /package/build/types/{common → components/src/common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
  2105. /package/build/types/{common → components/src/common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
  2106. /package/build/types/{common → components/src/common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
  2107. /package/build/types/{common → components/src/common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
  2108. /package/build/types/{common → components/src/common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
  2109. /package/build/types/{common → components/src/common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
  2110. /package/build/types/{common → components/src/common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
  2111. /package/build/types/{common → components/src/common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
  2112. /package/build/types/{common → components/src/common}/textFormat/index.d.ts +0 -0
  2113. /package/build/types/{common → components/src/common}/textFormat/unformatWithPattern/index.d.ts +0 -0
  2114. /package/build/types/{common → components/src/common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
  2115. /package/build/types/{common → components/src/common}/theme.d.ts +0 -0
  2116. /package/build/types/{criticalBanner → components/src/criticalBanner}/CriticalCommsBanner.d.ts +0 -0
  2117. /package/build/types/{criticalBanner → components/src/criticalBanner}/index.d.ts +0 -0
  2118. /package/build/types/{dateInput → components/src/dateInput}/DateInput.d.ts +0 -0
  2119. /package/build/types/{dateInput → components/src/dateInput}/DateInput.messages.d.ts +0 -0
  2120. /package/build/types/{dateInput → components/src/dateInput}/index.d.ts +0 -0
  2121. /package/build/types/{dateInput → components/src/dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
  2122. /package/build/types/{dateInput → components/src/dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
  2123. /package/build/types/{dateInput → components/src/dateInput}/utils/index.d.ts +0 -0
  2124. /package/build/types/{dateLookup → components/src/dateLookup}/DateLookup.d.ts +0 -0
  2125. /package/build/types/{dateLookup → components/src/dateLookup}/DateLookup.messages.d.ts +0 -0
  2126. /package/build/types/{dateLookup → components/src/dateLookup}/dateHeader/DateHeader.d.ts +0 -0
  2127. /package/build/types/{dateLookup → components/src/dateLookup}/dateHeader/index.d.ts +0 -0
  2128. /package/build/types/{dateLookup → components/src/dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
  2129. /package/build/types/{dateLookup → components/src/dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
  2130. /package/build/types/{dateLookup → components/src/dateLookup}/dateTrigger/index.d.ts +0 -0
  2131. /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
  2132. /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/index.d.ts +0 -0
  2133. /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
  2134. /package/build/types/{dateLookup → components/src/dateLookup}/dayCalendar/table/index.d.ts +0 -0
  2135. /package/build/types/{dateLookup → components/src/dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
  2136. /package/build/types/{dateLookup → components/src/dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
  2137. /package/build/types/{dateLookup → components/src/dateLookup}/getStartOfDay/index.d.ts +0 -0
  2138. /package/build/types/{dateLookup → components/src/dateLookup}/index.d.ts +0 -0
  2139. /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
  2140. /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/index.d.ts +0 -0
  2141. /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
  2142. /package/build/types/{dateLookup → components/src/dateLookup}/monthCalendar/table/index.d.ts +0 -0
  2143. /package/build/types/{dateLookup → components/src/dateLookup}/tableLink/TableLink.d.ts +0 -0
  2144. /package/build/types/{dateLookup → components/src/dateLookup}/tableLink/index.d.ts +0 -0
  2145. /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
  2146. /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/index.d.ts +0 -0
  2147. /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
  2148. /package/build/types/{dateLookup → components/src/dateLookup}/yearCalendar/table/index.d.ts +0 -0
  2149. /package/build/types/{decision → components/src/decision}/Decision.d.ts +0 -0
  2150. /package/build/types/{decision → components/src/decision}/index.d.ts +0 -0
  2151. /package/build/types/{definitionList → components/src/definitionList}/DefinitionList.d.ts +0 -0
  2152. /package/build/types/{definitionList → components/src/definitionList}/index.d.ts +0 -0
  2153. /package/build/types/{dimmer → components/src/dimmer}/Dimmer.d.ts +0 -0
  2154. /package/build/types/{dimmer → components/src/dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
  2155. /package/build/types/{dimmer → components/src/dimmer}/dimmerManager/index.d.ts +0 -0
  2156. /package/build/types/{dimmer → components/src/dimmer}/index.d.ts +0 -0
  2157. /package/build/types/{display → components/src/display}/Display.d.ts +0 -0
  2158. /package/build/types/{display → components/src/display}/index.d.ts +0 -0
  2159. /package/build/types/{divider → components/src/divider}/Divider.d.ts +0 -0
  2160. /package/build/types/{divider → components/src/divider}/index.d.ts +0 -0
  2161. /package/build/types/{drawer → components/src/drawer}/Drawer.d.ts +0 -0
  2162. /package/build/types/{drawer → components/src/drawer}/index.d.ts +0 -0
  2163. /package/build/types/{dropFade → components/src/dropFade}/DropFade.d.ts +0 -0
  2164. /package/build/types/{dropFade → components/src/dropFade}/index.d.ts +0 -0
  2165. /package/build/types/{emphasis → components/src/emphasis}/Emphasis.d.ts +0 -0
  2166. /package/build/types/{emphasis → components/src/emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
  2167. /package/build/types/{emphasis → components/src/emphasis}/index.d.ts +0 -0
  2168. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
  2169. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
  2170. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
  2171. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
  2172. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
  2173. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
  2174. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
  2175. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
  2176. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
  2177. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
  2178. /package/build/types/{expressiveMoneyInput → components/src/expressiveMoneyInput}/index.d.ts +0 -0
  2179. /package/build/types/{flowNavigation → components/src/flowNavigation}/FlowNavigation.d.ts +0 -0
  2180. /package/build/types/{flowNavigation → components/src/flowNavigation}/FlowNavigation.messages.d.ts +0 -0
  2181. /package/build/types/{flowNavigation → components/src/flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
  2182. /package/build/types/{flowNavigation → components/src/flowNavigation}/animatedLabel/index.d.ts +0 -0
  2183. /package/build/types/{header → components/src/header}/Header.d.ts +0 -0
  2184. /package/build/types/{header → components/src/header}/index.d.ts +0 -0
  2185. /package/build/types/{i18n → components/src/i18n}/commonMessages/Button.messages.d.ts +0 -0
  2186. /package/build/types/{i18n → components/src/i18n}/index.d.ts +0 -0
  2187. /package/build/types/{iconButton → components/src/iconButton}/IconButton.d.ts +0 -0
  2188. /package/build/types/{iconButton → components/src/iconButton}/index.d.ts +0 -0
  2189. /package/build/types/{image → components/src/image}/Image.d.ts +0 -0
  2190. /package/build/types/{image → components/src/image}/index.d.ts +0 -0
  2191. /package/build/types/{index.d.ts → components/src/index.d.ts} +0 -0
  2192. /package/build/types/{info → components/src/info}/Info.d.ts +0 -0
  2193. /package/build/types/{info → components/src/info}/Info.messages.d.ts +0 -0
  2194. /package/build/types/{info → components/src/info}/index.d.ts +0 -0
  2195. /package/build/types/{info → components/src/info}/infoPresentations.d.ts +0 -0
  2196. /package/build/types/{inlineAlert → components/src/inlineAlert}/index.d.ts +0 -0
  2197. /package/build/types/{inputWithDisplayFormat → components/src/inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
  2198. /package/build/types/{inputWithDisplayFormat → components/src/inputWithDisplayFormat}/index.d.ts +0 -0
  2199. /package/build/types/{inputs → components/src/inputs}/Input.d.ts +0 -0
  2200. /package/build/types/{inputs → components/src/inputs}/InputGroup.d.ts +0 -0
  2201. /package/build/types/{inputs → components/src/inputs}/SearchInput.d.ts +0 -0
  2202. /package/build/types/{inputs → components/src/inputs}/SelectInput.d.ts +0 -0
  2203. /package/build/types/{inputs → components/src/inputs}/SelectInput.messages.d.ts +0 -0
  2204. /package/build/types/{inputs → components/src/inputs}/TextArea.d.ts +0 -0
  2205. /package/build/types/{inputs → components/src/inputs}/_BottomSheet.d.ts +0 -0
  2206. /package/build/types/{inputs → components/src/inputs}/_ButtonInput.d.ts +0 -0
  2207. /package/build/types/{inputs → components/src/inputs}/_Popover.d.ts +0 -0
  2208. /package/build/types/{inputs → components/src/inputs}/_common.d.ts +0 -0
  2209. /package/build/types/{inputs → components/src/inputs}/contexts.d.ts +0 -0
  2210. /package/build/types/{instructionsList → components/src/instructionsList}/InstructionsList.d.ts +0 -0
  2211. /package/build/types/{instructionsList → components/src/instructionsList}/index.d.ts +0 -0
  2212. /package/build/types/{label → components/src/label}/Label.d.ts +0 -0
  2213. /package/build/types/{label → components/src/label}/Label.messages.d.ts +0 -0
  2214. /package/build/types/{label → components/src/label}/index.d.ts +0 -0
  2215. /package/build/types/{legacylistItem → components/src/legacylistItem}/LegacyListItem.d.ts +0 -0
  2216. /package/build/types/{legacylistItem → components/src/legacylistItem}/index.d.ts +0 -0
  2217. /package/build/types/{link → components/src/link}/Link.d.ts +0 -0
  2218. /package/build/types/{link → components/src/link}/Link.messages.d.ts +0 -0
  2219. /package/build/types/{link → components/src/link}/index.d.ts +0 -0
  2220. /package/build/types/{list → components/src/list}/List.d.ts +0 -0
  2221. /package/build/types/{list → components/src/list}/index.d.ts +0 -0
  2222. /package/build/types/{listItem → components/src/listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
  2223. /package/build/types/{listItem → components/src/listItem}/AdditionalInfo/index.d.ts +0 -0
  2224. /package/build/types/{listItem → components/src/listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
  2225. /package/build/types/{listItem → components/src/listItem}/AvatarLayout/index.d.ts +0 -0
  2226. /package/build/types/{listItem → components/src/listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
  2227. /package/build/types/{listItem → components/src/listItem}/AvatarView/index.d.ts +0 -0
  2228. /package/build/types/{listItem → components/src/listItem}/Button/ListItemButton.d.ts +0 -0
  2229. /package/build/types/{listItem → components/src/listItem}/Button/index.d.ts +0 -0
  2230. /package/build/types/{listItem → components/src/listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
  2231. /package/build/types/{listItem → components/src/listItem}/Checkbox/index.d.ts +0 -0
  2232. /package/build/types/{listItem → components/src/listItem}/IconButton/ListItemIconButton.d.ts +0 -0
  2233. /package/build/types/{listItem → components/src/listItem}/IconButton/index.d.ts +0 -0
  2234. /package/build/types/{listItem → components/src/listItem}/Image/ListItemImage.d.ts +0 -0
  2235. /package/build/types/{listItem → components/src/listItem}/Image/index.d.ts +0 -0
  2236. /package/build/types/{listItem → components/src/listItem}/ListItemContext.d.ts +0 -0
  2237. /package/build/types/{listItem → components/src/listItem}/Navigation/ListItemNavigation.d.ts +0 -0
  2238. /package/build/types/{listItem → components/src/listItem}/Navigation/index.d.ts +0 -0
  2239. /package/build/types/{listItem → components/src/listItem}/Prompt/index.d.ts +0 -0
  2240. /package/build/types/{listItem → components/src/listItem}/Radio/ListItemRadio.d.ts +0 -0
  2241. /package/build/types/{listItem → components/src/listItem}/Radio/index.d.ts +0 -0
  2242. /package/build/types/{listItem → components/src/listItem}/Switch/ListItemSwitch.d.ts +0 -0
  2243. /package/build/types/{listItem → components/src/listItem}/Switch/index.d.ts +0 -0
  2244. /package/build/types/{listItem → components/src/listItem}/_stories/helpers.d.ts +0 -0
  2245. /package/build/types/{listItem → components/src/listItem}/_stories/subcomponents.d.ts +0 -0
  2246. /package/build/types/{listItem → components/src/listItem}/constants.d.ts +0 -0
  2247. /package/build/types/{listItem → components/src/listItem}/index.d.ts +0 -0
  2248. /package/build/types/{listItem → components/src/listItem}/test-utils.d.ts +0 -0
  2249. /package/build/types/{listItem → components/src/listItem}/useListItemControl.d.ts +0 -0
  2250. /package/build/types/{listItem → components/src/listItem}/useListItemMedia.d.ts +0 -0
  2251. /package/build/types/{loader → components/src/loader}/Loader.d.ts +0 -0
  2252. /package/build/types/{loader → components/src/loader}/index.d.ts +0 -0
  2253. /package/build/types/{logo → components/src/logo}/Logo.d.ts +0 -0
  2254. /package/build/types/{logo → components/src/logo}/index.d.ts +0 -0
  2255. /package/build/types/{logo → components/src/logo}/logo-assets.d.ts +0 -0
  2256. /package/build/types/{markdown → components/src/markdown}/Markdown.d.ts +0 -0
  2257. /package/build/types/{markdown → components/src/markdown}/index.d.ts +0 -0
  2258. /package/build/types/{mocks.d.ts → components/src/mocks.d.ts} +0 -0
  2259. /package/build/types/{modal → components/src/modal}/Modal.d.ts +0 -0
  2260. /package/build/types/{modal → components/src/modal}/index.d.ts +0 -0
  2261. /package/build/types/{money → components/src/money}/Money.d.ts +0 -0
  2262. /package/build/types/{money → components/src/money}/index.d.ts +0 -0
  2263. /package/build/types/{moneyInput → components/src/moneyInput}/MoneyInput.d.ts +0 -0
  2264. /package/build/types/{moneyInput → components/src/moneyInput}/MoneyInput.messages.d.ts +0 -0
  2265. /package/build/types/{moneyInput → components/src/moneyInput}/currencyFormatting.d.ts +0 -0
  2266. /package/build/types/{moneyInput → components/src/moneyInput}/index.d.ts +0 -0
  2267. /package/build/types/{navigationOption → components/src/navigationOption}/NavigationOption.d.ts +0 -0
  2268. /package/build/types/{navigationOption → components/src/navigationOption}/index.d.ts +0 -0
  2269. /package/build/types/{navigationOptionsList → components/src/navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
  2270. /package/build/types/{navigationOptionsList → components/src/navigationOptionsList}/index.d.ts +0 -0
  2271. /package/build/types/{nudge → components/src/nudge}/Nudge.d.ts +0 -0
  2272. /package/build/types/{nudge → components/src/nudge}/index.d.ts +0 -0
  2273. /package/build/types/{overlayHeader → components/src/overlayHeader}/OverlayHeader.d.ts +0 -0
  2274. /package/build/types/{overlayHeader → components/src/overlayHeader}/index.d.ts +0 -0
  2275. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
  2276. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
  2277. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/data/countries.d.ts +0 -0
  2278. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/index.d.ts +0 -0
  2279. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
  2280. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
  2281. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
  2282. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
  2283. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
  2284. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
  2285. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
  2286. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
  2287. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
  2288. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/index.d.ts +0 -0
  2289. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
  2290. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
  2291. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
  2292. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
  2293. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
  2294. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
  2295. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
  2296. /package/build/types/{phoneNumberInput → components/src/phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
  2297. /package/build/types/{popover → components/src/popover}/Popover.d.ts +0 -0
  2298. /package/build/types/{popover → components/src/popover}/index.d.ts +0 -0
  2299. /package/build/types/{primitives → components/src/primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
  2300. /package/build/types/{primitives → components/src/primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
  2301. /package/build/types/{primitives → components/src/primitives}/PrimitiveAnchor/index.d.ts +0 -0
  2302. /package/build/types/{primitives → components/src/primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
  2303. /package/build/types/{primitives → components/src/primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
  2304. /package/build/types/{primitives → components/src/primitives}/PrimitiveButton/index.d.ts +0 -0
  2305. /package/build/types/{primitives → components/src/primitives}/index.d.ts +0 -0
  2306. /package/build/types/{primitives → components/src/primitives}/types.d.ts +0 -0
  2307. /package/build/types/{processIndicator → components/src/processIndicator}/ProcessIndicator.d.ts +0 -0
  2308. /package/build/types/{processIndicator → components/src/processIndicator}/index.d.ts +0 -0
  2309. /package/build/types/{progress → components/src/progress}/Progress.d.ts +0 -0
  2310. /package/build/types/{progress → components/src/progress}/index.d.ts +0 -0
  2311. /package/build/types/{progressBar → components/src/progressBar}/ProgressBar.d.ts +0 -0
  2312. /package/build/types/{progressBar → components/src/progressBar}/index.d.ts +0 -0
  2313. /package/build/types/{promoCard → components/src/promoCard}/PromoCard.d.ts +0 -0
  2314. /package/build/types/{promoCard → components/src/promoCard}/PromoCardContext.d.ts +0 -0
  2315. /package/build/types/{promoCard → components/src/promoCard}/PromoCardGroup.d.ts +0 -0
  2316. /package/build/types/{promoCard → components/src/promoCard}/PromoCardIndicator.d.ts +0 -0
  2317. /package/build/types/{promoCard → components/src/promoCard}/index.d.ts +0 -0
  2318. /package/build/types/{prompt → components/src/prompt}/InlinePrompt/index.d.ts +0 -0
  2319. /package/build/types/{prompt → components/src/prompt}/index.d.ts +0 -0
  2320. /package/build/types/{provider → components/src/provider}/Provider.d.ts +0 -0
  2321. /package/build/types/{provider → components/src/provider}/direction/DirectionProvider.d.ts +0 -0
  2322. /package/build/types/{provider → components/src/provider}/direction/index.d.ts +0 -0
  2323. /package/build/types/{provider → components/src/provider}/index.d.ts +0 -0
  2324. /package/build/types/{provider → components/src/provider}/language/LanguageProvider.d.ts +0 -0
  2325. /package/build/types/{provider → components/src/provider}/language/index.d.ts +0 -0
  2326. /package/build/types/{provider → components/src/provider}/overlay/OverlayIdProvider.d.ts +0 -0
  2327. /package/build/types/{radio → components/src/radio}/Radio.d.ts +0 -0
  2328. /package/build/types/{radio → components/src/radio}/index.d.ts +0 -0
  2329. /package/build/types/{radioGroup → components/src/radioGroup}/RadioGroup.d.ts +0 -0
  2330. /package/build/types/{radioGroup → components/src/radioGroup}/index.d.ts +0 -0
  2331. /package/build/types/{radioOption → components/src/radioOption}/RadioOption.d.ts +0 -0
  2332. /package/build/types/{radioOption → components/src/radioOption}/index.d.ts +0 -0
  2333. /package/build/types/{section → components/src/section}/Section.d.ts +0 -0
  2334. /package/build/types/{section → components/src/section}/index.d.ts +0 -0
  2335. /package/build/types/{segmentedControl → components/src/segmentedControl}/SegmentedControl.d.ts +0 -0
  2336. /package/build/types/{segmentedControl → components/src/segmentedControl}/index.d.ts +0 -0
  2337. /package/build/types/{select → components/src/select}/Select.d.ts +0 -0
  2338. /package/build/types/{select → components/src/select}/Select.messages.d.ts +0 -0
  2339. /package/build/types/{select → components/src/select}/index.d.ts +0 -0
  2340. /package/build/types/{select → components/src/select}/option/Option.d.ts +0 -0
  2341. /package/build/types/{select → components/src/select}/option/index.d.ts +0 -0
  2342. /package/build/types/{select → components/src/select}/searchBox/SearchBox.d.ts +0 -0
  2343. /package/build/types/{select → components/src/select}/searchBox/index.d.ts +0 -0
  2344. /package/build/types/{sentimentSurface → components/src/sentimentSurface}/SentimentSurface.d.ts +0 -0
  2345. /package/build/types/{sentimentSurface → components/src/sentimentSurface}/SentimentSurface.types.d.ts +0 -0
  2346. /package/build/types/{sentimentSurface → components/src/sentimentSurface}/index.d.ts +0 -0
  2347. /package/build/types/{slidingPanel → components/src/slidingPanel}/SlidingPanel.d.ts +0 -0
  2348. /package/build/types/{slidingPanel → components/src/slidingPanel}/index.d.ts +0 -0
  2349. /package/build/types/{snackbar → components/src/snackbar}/Snackbar.d.ts +0 -0
  2350. /package/build/types/{snackbar → components/src/snackbar}/SnackbarContext.d.ts +0 -0
  2351. /package/build/types/{snackbar → components/src/snackbar}/SnackbarProvider.d.ts +0 -0
  2352. /package/build/types/{snackbar → components/src/snackbar}/index.d.ts +0 -0
  2353. /package/build/types/{snackbar → components/src/snackbar}/useSnackbar.d.ts +0 -0
  2354. /package/build/types/{statusIcon → components/src/statusIcon}/StatusIcon.d.ts +0 -0
  2355. /package/build/types/{statusIcon → components/src/statusIcon}/StatusIcon.messages.d.ts +0 -0
  2356. /package/build/types/{statusIcon → components/src/statusIcon}/index.d.ts +0 -0
  2357. /package/build/types/{stepper → components/src/stepper}/Stepper.d.ts +0 -0
  2358. /package/build/types/{stepper → components/src/stepper}/deviceDetection.d.ts +0 -0
  2359. /package/build/types/{sticky → components/src/sticky}/Sticky.d.ts +0 -0
  2360. /package/build/types/{sticky → components/src/sticky}/index.d.ts +0 -0
  2361. /package/build/types/{summary → components/src/summary}/Summary.d.ts +0 -0
  2362. /package/build/types/{summary → components/src/summary}/Summary.messages.d.ts +0 -0
  2363. /package/build/types/{summary → components/src/summary}/index.d.ts +0 -0
  2364. /package/build/types/{switch → components/src/switch}/Switch.d.ts +0 -0
  2365. /package/build/types/{switch → components/src/switch}/index.d.ts +0 -0
  2366. /package/build/types/{switchOption → components/src/switchOption}/SwitchOption.d.ts +0 -0
  2367. /package/build/types/{switchOption → components/src/switchOption}/index.d.ts +0 -0
  2368. /package/build/types/{table → components/src/table}/Table.d.ts +0 -0
  2369. /package/build/types/{table → components/src/table}/Table.messages.d.ts +0 -0
  2370. /package/build/types/{table → components/src/table}/TableCell.d.ts +0 -0
  2371. /package/build/types/{table → components/src/table}/TableHeader.d.ts +0 -0
  2372. /package/build/types/{table → components/src/table}/TableRow.d.ts +0 -0
  2373. /package/build/types/{table → components/src/table}/TableStatusText.d.ts +0 -0
  2374. /package/build/types/{table → components/src/table}/index.d.ts +0 -0
  2375. /package/build/types/{tabs → components/src/tabs}/Tab.d.ts +0 -0
  2376. /package/build/types/{tabs → components/src/tabs}/TabList.d.ts +0 -0
  2377. /package/build/types/{tabs → components/src/tabs}/TabPanel.d.ts +0 -0
  2378. /package/build/types/{tabs → components/src/tabs}/Tabs.d.ts +0 -0
  2379. /package/build/types/{tabs → components/src/tabs}/index.d.ts +0 -0
  2380. /package/build/types/{tabs → components/src/tabs}/utils.d.ts +0 -0
  2381. /package/build/types/{test-utils → components/src/test-utils}/fake-data.d.ts +0 -0
  2382. /package/build/types/{test-utils → components/src/test-utils}/jest.setup.d.ts +0 -0
  2383. /package/build/types/{test-utils → components/src/test-utils}/style-mock.d.ts +0 -0
  2384. /package/build/types/{test-utils → components/src/test-utils}/wait.d.ts +0 -0
  2385. /package/build/types/{test-utils → components/src/test-utils}/window-mock.d.ts +0 -0
  2386. /package/build/types/{textareaWithDisplayFormat → components/src/textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
  2387. /package/build/types/{textareaWithDisplayFormat → components/src/textareaWithDisplayFormat}/index.d.ts +0 -0
  2388. /package/build/types/{tile → components/src/tile}/Tile.d.ts +0 -0
  2389. /package/build/types/{tile → components/src/tile}/index.d.ts +0 -0
  2390. /package/build/types/{title → components/src/title}/Title.d.ts +0 -0
  2391. /package/build/types/{title → components/src/title}/index.d.ts +0 -0
  2392. /package/build/types/{tooltip → components/src/tooltip}/Tooltip.d.ts +0 -0
  2393. /package/build/types/{tooltip → components/src/tooltip}/index.d.ts +0 -0
  2394. /package/build/types/{typeahead → components/src/typeahead}/Typeahead.messages.d.ts +0 -0
  2395. /package/build/types/{typeahead → components/src/typeahead}/index.d.ts +0 -0
  2396. /package/build/types/{typeahead → components/src/typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
  2397. /package/build/types/{typeahead → components/src/typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
  2398. /package/build/types/{typeahead → components/src/typeahead}/util/highlight.d.ts +0 -0
  2399. /package/build/types/{upload → components/src/upload}/Upload.messages.d.ts +0 -0
  2400. /package/build/types/{upload → components/src/upload}/index.d.ts +0 -0
  2401. /package/build/types/{upload → components/src/upload}/steps/completeStep/completeStep.d.ts +0 -0
  2402. /package/build/types/{upload → components/src/upload}/steps/completeStep/index.d.ts +0 -0
  2403. /package/build/types/{upload → components/src/upload}/steps/index.d.ts +0 -0
  2404. /package/build/types/{upload → components/src/upload}/steps/processingStep/index.d.ts +0 -0
  2405. /package/build/types/{upload → components/src/upload}/steps/processingStep/processingStep.d.ts +0 -0
  2406. /package/build/types/{upload → components/src/upload}/steps/uploadImageStep/index.d.ts +0 -0
  2407. /package/build/types/{upload → components/src/upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
  2408. /package/build/types/{upload → components/src/upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
  2409. /package/build/types/{upload → components/src/upload}/utils/asyncFileRead/index.d.ts +0 -0
  2410. /package/build/types/{upload → components/src/upload}/utils/getFileType/getFileType.d.ts +0 -0
  2411. /package/build/types/{upload → components/src/upload}/utils/getFileType/index.d.ts +0 -0
  2412. /package/build/types/{upload → components/src/upload}/utils/index.d.ts +0 -0
  2413. /package/build/types/{upload → components/src/upload}/utils/isSizeValid/index.d.ts +0 -0
  2414. /package/build/types/{upload → components/src/upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
  2415. /package/build/types/{upload → components/src/upload}/utils/isTypeValid/index.d.ts +0 -0
  2416. /package/build/types/{upload → components/src/upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
  2417. /package/build/types/{upload → components/src/upload}/utils/postData/index.d.ts +0 -0
  2418. /package/build/types/{upload → components/src/upload}/utils/postData/postData.d.ts +0 -0
  2419. /package/build/types/{uploadInput → components/src/uploadInput}/UploadInput.d.ts +0 -0
  2420. /package/build/types/{uploadInput → components/src/uploadInput}/UploadInput.messages.d.ts +0 -0
  2421. /package/build/types/{uploadInput → components/src/uploadInput}/index.d.ts +0 -0
  2422. /package/build/types/{uploadInput → components/src/uploadInput}/types.d.ts +0 -0
  2423. /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/UploadButton.d.ts +0 -0
  2424. /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
  2425. /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/defaults.d.ts +0 -0
  2426. /package/build/types/{uploadInput → components/src/uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
  2427. /package/build/types/{uploadInput → components/src/uploadInput}/uploadItem/UploadItem.d.ts +0 -0
  2428. /package/build/types/{uploadInput → components/src/uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
  2429. /package/build/types/{uploadInput → components/src/uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
  2430. /package/build/types/{utilities → components/src/utilities}/cssValueWithUnit.d.ts +0 -0
  2431. /package/build/types/{utilities → components/src/utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
  2432. /package/build/types/{utilities → components/src/utilities}/deprecatedProperty/index.d.ts +0 -0
  2433. /package/build/types/{utilities → components/src/utilities}/index.d.ts +0 -0
  2434. /package/build/types/{utilities → components/src/utilities}/logActionRequired.d.ts +0 -0
  2435. /package/build/types/{utils.d.ts → components/src/utils.d.ts} +0 -0
  2436. /package/build/types/{withDisplayFormat → components/src/withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
  2437. /package/build/types/{withDisplayFormat → components/src/withDisplayFormat}/index.d.ts +0 -0
  2438. /package/build/types/{withId → components/src/withId}/index.d.ts +0 -0
  2439. /package/build/types/{withId → components/src/withId}/story/source.d.ts +0 -0
  2440. /package/build/types/{withId → components/src/withId}/withId.d.ts +0 -0
  2441. /package/build/types/{withNextPortal → components/src/withNextPortal}/withNextPortal.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Select.mjs","sources":["../../src/select/Select.tsx"],"sourcesContent":["import { useTheme } from '@wise/components-theming';\nimport { clsx } from 'clsx';\nimport { useState, useEffect, useRef, useMemo, useId } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Button, { ButtonProps } from '../button';\nimport Chevron from '../chevron';\nimport { Position, Size } from '../common';\nimport BottomSheet from '../common/bottomSheet';\nimport { stopPropagation } from '../common/domHelpers';\nimport { useLayout } from '../common/hooks';\nimport Panel from '../common/panel';\nimport Drawer from '../drawer';\nimport { useInputAttributes } from '../inputs/contexts';\n\nimport messages from './Select.messages';\nimport Option from './option';\nimport SearchBox from './searchBox';\n\nconst DEFAULT_SEARCH_VALUE = '';\nconst DEFAULT_OPTIONS_PAGE_SIZE = 1000;\n\nconst includesString = (string1: string, string2: string) =>\n string1.toLowerCase().includes(string2.toLowerCase());\n\nexport interface SelectOptionItem {\n value: any;\n label?: React.ReactNode;\n icon?: React.ReactNode;\n currency?: string;\n note?: React.ReactNode;\n secondary?: React.ReactNode;\n}\n\nexport interface SelectItem extends Partial<SelectOptionItem> {\n header?: React.ReactNode;\n separator?: boolean;\n disabled?: boolean;\n searchStrings?: string[];\n}\n\nexport interface SelectItemWithPlaceholder extends SelectItem {\n placeholder?: string;\n}\n\nfunction defaultFilterFunction(option: SelectItemWithPlaceholder, searchValue: string) {\n if (isPlaceholderOption(option)) {\n return true;\n }\n const { label, note, secondary, currency, searchStrings } = option;\n return (\n (typeof label === 'string' && includesString(label, searchValue)) ||\n (typeof note === 'string' && includesString(note, searchValue)) ||\n (typeof secondary === 'string' && includesString(secondary, searchValue)) ||\n (!!currency && includesString(currency, searchValue)) ||\n (!!searchStrings && searchStrings.some((string) => includesString(string, searchValue)))\n );\n}\n\nfunction isActionableOption(option: SelectItem) {\n return !option.header && !option.separator && !option.disabled;\n}\n\nfunction isHeaderOption(option: SelectItem | null) {\n return option != null && 'header' in option;\n}\n\nfunction isSeparatorOption(option: SelectItem | null) {\n return option != null && 'separator' in option;\n}\n\nfunction clamp(from: number, to: number, value: number) {\n return Math.max(Math.min(to, value), from);\n}\n\n/**\n * No option or placeholder option is selected\n */\nconst DEFAULT_SELECTED_OPTION = null;\n\nfunction isPlaceholderOption(option: SelectItemWithPlaceholder | null) {\n return option === DEFAULT_SELECTED_OPTION || 'placeholder' in option;\n}\n\nfunction isSearchableOption(option: SelectItemWithPlaceholder | null) {\n return !isHeaderOption(option) && !isSeparatorOption(option) && !isPlaceholderOption(option);\n}\n\nconst getUniqueIdForOption = (parentId: string | undefined, option: SelectItem | null) => {\n if (option == null) {\n return undefined;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const uniqueOptionId =\n option.value || (typeof option.label === 'string' ? option.label.replace(/\\s/g, '') : '');\n\n return `option-${parentId ?? ''}-${uniqueOptionId}`;\n};\n\nexport interface SelectProps {\n placeholder?: string;\n id?: string;\n required?: boolean;\n disabled?: boolean;\n inverse?: boolean;\n dropdownRight?: `${Size.EXTRA_SMALL | Size.SMALL | Size.MEDIUM | Size.LARGE | Size.EXTRA_LARGE}`;\n dropdownWidth?: `${Size.SMALL | Size.MEDIUM | Size.LARGE}`;\n size?: `${Size.SMALL | Size.MEDIUM | Size.LARGE}`;\n block?: boolean;\n selected?: SelectOptionItem;\n /**\n * Search toggle\n * if `true` default search functionality being enabled (not case sensitive search in option labels & currency props)\n * if `function` you can define your own search function to implement custom search experience. This search function used while filtering the options array.\n */\n search?: boolean | ((option: SelectItemWithPlaceholder, searchValue: string) => boolean);\n options: SelectItem[];\n searchValue?: string;\n searchPlaceholder?: string;\n classNames?: Record<string, string>;\n dropdownUp?: boolean;\n buttonProps?: Extract<ButtonProps, { as?: 'button' }>;\n dropdownProps?: React.ComponentPropsWithoutRef<'ul'>;\n onChange: (value: SelectItem | typeof DEFAULT_SELECTED_OPTION) => void;\n onFocus?: React.FocusEventHandler<HTMLDivElement>;\n onBlur?: React.FocusEventHandler<HTMLDivElement>;\n /**\n * To have full control of your search value and response use `onSearchChange` function combined with `searchValue` and custom filtering on the options array.\n * DO NOT USE TOGETHER WITH `search` PROPERTY\n */\n onSearchChange?: (value: string) => void;\n}\n\nconst defaultClassNames = {};\n\n/**\n * @deprecated Use `SelectInput` instead (https://neptune.wise.design/blog/2023-11-28-adopting-our-new-selectinput)\n */\nexport default function Select({\n placeholder,\n id,\n required,\n disabled,\n inverse,\n dropdownWidth,\n size = 'md',\n block = true,\n selected,\n search,\n onChange,\n onFocus,\n onBlur,\n options: defaultOptions,\n onSearchChange,\n searchValue: initSearchValue = '',\n searchPlaceholder,\n classNames: classNamesProp = defaultClassNames,\n dropdownUp,\n dropdownProps,\n buttonProps,\n}: SelectProps) {\n const inputAttributes = useInputAttributes();\n\n const { formatMessage } = useIntl();\n const s = (className: string) => classNamesProp[className] || className;\n const [open, setOpen] = useState(false);\n const [searchValue, setSearchValue] = useState(DEFAULT_SEARCH_VALUE);\n const [keyboardFocusedOptionIndex, setKeyboardFocusedOptionIndex] = useState(-1);\n const keyboardFocusedReference = useRef<HTMLLIElement>(null);\n const previousKeyboardFocusedOptionIndex = useRef(-1);\n const [numberOfOptionsShown, setNumberOfOptionsShown] = useState(DEFAULT_OPTIONS_PAGE_SIZE);\n const searchBoxReference = useRef<HTMLInputElement>(null);\n const selectReference = useRef<HTMLDivElement>(null);\n const dropdownButtonReference = useRef<HTMLButtonElement>(null);\n const optionsListReference = useRef<HTMLUListElement>(null);\n const isSearchEnabled = !!onSearchChange || !!search;\n const isDropdownAutoWidth = dropdownWidth == null;\n\n const options = useMemo(() => {\n if (!search || !searchValue) {\n return defaultOptions;\n }\n\n return defaultOptions.filter(isSearchableOption).filter((option) => {\n if (typeof search === 'function') {\n return search(option, searchValue);\n }\n return defaultFilterFunction(option, searchValue);\n });\n }, [defaultOptions, search, searchValue]);\n\n const selectableOptions = useMemo(() => options.filter(isActionableOption), [options]);\n const focusedOption = selectableOptions[keyboardFocusedOptionIndex];\n\n const fallbackButtonId = useId();\n const computedId = id || inputAttributes.id || fallbackButtonId;\n const listboxId = `${computedId}-listbox`;\n const searchBoxId = `${computedId}-searchbox`;\n\n const { isMobile } = useLayout();\n\n useEffect(() => {\n let cancelled = false;\n\n if (keyboardFocusedOptionIndex >= 0) {\n requestAnimationFrame(() => {\n if (!cancelled) {\n if (isSearchEnabled) {\n keyboardFocusedReference.current?.scrollIntoView?.({ block: 'center' });\n } else {\n keyboardFocusedReference.current?.focus();\n }\n }\n });\n\n return () => {\n cancelled = true;\n };\n }\n }, [keyboardFocusedOptionIndex, isSearchEnabled]);\n\n const handleOnClick = () => {\n setOpen(true);\n };\n\n const handleTouchStart: React.TouchEventHandler<HTMLDivElement> = (event) => {\n if (event.currentTarget === event.target && open) {\n handleCloseOptions();\n }\n };\n\n const handleOnFocus: React.FocusEventHandler<HTMLDivElement> = (event) => {\n onFocus?.(event);\n };\n\n const handleOnBlur: React.FocusEventHandler<HTMLDivElement> = (event) => {\n const { nativeEvent } = event;\n if (nativeEvent) {\n const elementReceivingFocus = nativeEvent.relatedTarget;\n const select = event.currentTarget;\n if (\n select &&\n elementReceivingFocus instanceof Node &&\n select.contains(elementReceivingFocus)\n ) {\n return;\n }\n }\n\n onBlur?.(event);\n };\n\n const handleSearchChange: React.ChangeEventHandler<HTMLInputElement> = (event) => {\n setNumberOfOptionsShown(DEFAULT_OPTIONS_PAGE_SIZE);\n setSearchValue(event.target.value);\n onSearchChange?.(event.target.value);\n };\n\n const handleKeyDown: React.KeyboardEventHandler<HTMLDivElement> = (event) => {\n switch (event.key) {\n case 'ArrowUp':\n case 'ArrowDown':\n if (open) {\n moveFocusWithDifference(event.key === 'ArrowUp' ? -1 : 1);\n } else {\n setOpen(true);\n }\n stopPropagation(event);\n break;\n case ' ':\n if (event.target !== searchBoxReference.current) {\n if (open) {\n selectKeyboardFocusedOption();\n } else {\n setOpen(true);\n }\n stopPropagation(event);\n }\n break;\n case 'Enter':\n if (open) {\n selectKeyboardFocusedOption();\n } else {\n setOpen(true);\n }\n stopPropagation(event);\n break;\n case 'Escape':\n handleCloseOptions();\n stopPropagation(event);\n break;\n case 'Tab':\n if (open) {\n selectKeyboardFocusedOption();\n }\n break;\n default:\n break;\n }\n };\n\n function selectKeyboardFocusedOption() {\n if (keyboardFocusedOptionIndex >= 0 && selectableOptions.length > 0) {\n selectOption(selectableOptions[keyboardFocusedOptionIndex]);\n }\n }\n\n function moveFocusWithDifference(difference: number) {\n const selectedOptionIndex = selectableOptions.reduce((optionIndex, current, index) => {\n if (optionIndex >= 0) {\n return optionIndex;\n }\n if (isOptionSelected(selected, current)) {\n return index;\n }\n return -1;\n }, -1);\n const previousFocusedIndex = previousKeyboardFocusedOptionIndex.current;\n let indexToStartMovingFrom = previousFocusedIndex;\n if (previousFocusedIndex < 0) {\n if (selectedOptionIndex < 0) {\n setKeyboardFocusedOptionIndex(0);\n } else {\n indexToStartMovingFrom = selectedOptionIndex;\n }\n }\n\n const unClampedNewIndex = indexToStartMovingFrom + difference;\n const newIndex = clamp(0, selectableOptions.length - 1, unClampedNewIndex);\n\n setKeyboardFocusedOptionIndex(newIndex);\n }\n\n useEffect(() => {\n if (open) {\n if (!isMobile || searchValue) {\n if (isSearchEnabled && searchBoxReference.current) {\n searchBoxReference.current.focus();\n }\n if (\n !isSearchEnabled &&\n optionsListReference.current &&\n previousKeyboardFocusedOptionIndex.current < 0\n ) {\n optionsListReference.current.focus();\n }\n }\n\n previousKeyboardFocusedOptionIndex.current = keyboardFocusedOptionIndex;\n } else {\n previousKeyboardFocusedOptionIndex.current = -1;\n }\n }, [open, searchValue, isSearchEnabled, isMobile, keyboardFocusedOptionIndex]);\n\n const handleCloseOptions = () => {\n setOpen(false);\n setKeyboardFocusedOptionIndex(-1);\n if (dropdownButtonReference.current) {\n dropdownButtonReference.current.focus();\n }\n };\n\n function createSelectHandlerForOption(option: SelectItemWithPlaceholder) {\n return (event: React.SyntheticEvent) => {\n stopPropagation(event);\n selectOption(option);\n };\n }\n\n function selectOption(option: SelectItemWithPlaceholder) {\n onChange(isPlaceholderOption(option) ? DEFAULT_SELECTED_OPTION : option);\n handleCloseOptions();\n }\n\n function renderOptionsList({ className = '' } = {}) {\n const dropdownClass = clsx(\n s('np-dropdown-menu'),\n {\n [s('np-dropdown-menu-desktop')]: !isMobile,\n [s(`np-dropdown-menu-${dropdownWidth}`)]: !isMobile && !isDropdownAutoWidth,\n },\n s(className),\n );\n\n const showPlaceholder = !required && !isSearchEnabled && Boolean(placeholder);\n return (\n <ul\n ref={optionsListReference}\n id={listboxId}\n role=\"listbox\"\n aria-orientation=\"vertical\"\n aria-activedescendant={getUniqueIdForOption(id, selected ?? null)}\n tabIndex={-1}\n className={dropdownClass}\n {...dropdownProps}\n >\n {showPlaceholder && <PlaceHolderOption />}\n {isSearchEnabled && (\n <SearchBox\n ref={searchBoxReference}\n id={searchBoxId}\n classNames={classNamesProp}\n value={initSearchValue || searchValue}\n placeholder={searchPlaceholder || formatMessage(messages.searchPlaceholder)}\n focusedOptionId={getUniqueIdForOption(id, focusedOption)}\n onChange={handleSearchChange}\n onClick={stopPropagation}\n />\n )}\n {options.slice(0, numberOfOptionsShown).map(renderOption)}\n {numberOfOptionsShown < options.length && <ShowMoreOption />}\n </ul>\n );\n }\n\n function ShowMoreOption() {\n function handleOnClick(event: React.SyntheticEvent<HTMLLIElement>) {\n stopPropagation(event);\n setNumberOfOptionsShown(numberOfOptionsShown + DEFAULT_OPTIONS_PAGE_SIZE);\n }\n return (\n /* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */\n <li\n className={clsx(s('clickable'), s('border-bottom'), s('show-more'))}\n onClick={handleOnClick}\n onKeyPress={handleOnClick}\n >\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}\n <a>...</a>\n </li>\n );\n }\n\n function PlaceHolderOption() {\n const placeholderOption = { placeholder };\n return (\n /* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */\n <li\n className={clsx(s('clickable'), s('border-bottom'))}\n onClick={createSelectHandlerForOption(placeholderOption)}\n onKeyPress={createSelectHandlerForOption(placeholderOption)}\n >\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}\n <a>{placeholder}</a>\n </li>\n );\n }\n\n function SeparatorOption() {\n return <li className={s('np-separator')} aria-hidden />;\n }\n\n function HeaderOption({ children }: { children?: React.ReactNode }) {\n return (\n <li // eslint-disable-line jsx-a11y/no-noninteractive-element-interactions\n className={clsx(s('np-dropdown-header'), s('np-text-title-group'))}\n onClick={stopPropagation}\n onKeyPress={stopPropagation}\n >\n {children}\n </li>\n );\n }\n\n function isOptionSelected(selected: SelectOptionItem | undefined, option: SelectItem) {\n return selected?.value === option?.value;\n }\n\n const renderOption = (option: SelectItem, index: number) => {\n const separatorOption = option;\n if (isSeparatorOption(separatorOption) && separatorOption?.separator) {\n return <SeparatorOption key={index} />;\n }\n const headerOption = option;\n if (isHeaderOption(headerOption) && headerOption.header) {\n return <HeaderOption key={index}>{headerOption.header}</HeaderOption>;\n }\n\n const isActive = isOptionSelected(selected, option);\n const selectOption = option;\n const isFocusedWithKeyboard =\n !selectOption.disabled &&\n keyboardFocusedOptionIndex === getIndexWithoutHeadersForIndexWithHeaders(index);\n\n const className = clsx(\n s('np-dropdown-item'),\n selectOption.disabled ? [s('disabled')] : s('clickable'),\n {\n [s('active')]: isActive,\n [s('np-dropdown-item--focused')]: isFocusedWithKeyboard,\n },\n );\n\n const handleOnClick = selectOption.disabled\n ? stopPropagation\n : createSelectHandlerForOption(selectOption);\n\n return (\n <li\n ref={isFocusedWithKeyboard ? keyboardFocusedReference : undefined}\n key={index}\n id={getUniqueIdForOption(id, option)}\n aria-selected={isActive}\n aria-disabled={option.disabled}\n role=\"option\"\n tabIndex={-1}\n className={className}\n onClick={handleOnClick}\n onKeyPress={handleOnClick}\n >\n {/* @ts-expect-error options needs DOM refactoring */}\n <a disabled={selectOption.disabled}>\n <Option\n label={undefined}\n value={undefined}\n {...selectOption}\n classNames={classNamesProp}\n />\n </a>\n </li>\n );\n };\n\n function getIndexWithoutHeadersForIndexWithHeaders(index: number) {\n return options.reduce((sum, option, currentIndex) => {\n if (currentIndex < index && isActionableOption(option)) {\n return sum + 1;\n }\n return sum;\n }, 0);\n }\n\n const hasActiveOptions = !!defaultOptions.length;\n if (open && (initSearchValue || searchValue)) {\n if (hasActiveOptions && keyboardFocusedOptionIndex < 0) {\n setKeyboardFocusedOptionIndex(0);\n }\n if (!hasActiveOptions && keyboardFocusedOptionIndex >= 0) {\n setKeyboardFocusedOptionIndex(-1);\n }\n }\n\n return (\n <div // eslint-disable-line jsx-a11y/no-static-element-interactions\n ref={selectReference}\n className={clsx(s('np-select'), block ? s('btn-block') : null, s('btn-group'))}\n onKeyDown={handleKeyDown}\n onTouchMove={handleTouchStart}\n onFocus={handleOnFocus}\n onBlur={handleOnBlur}\n >\n <Button\n ref={dropdownButtonReference}\n {...inputAttributes}\n id={computedId}\n block={block}\n size={size}\n htmlType=\"button\"\n className={clsx(\n s('np-dropdown-toggle'),\n s('np-text-body-large'),\n inverse ? s('np-dropdown-toggle-navy') : null,\n )}\n // reset Button's styles\n type={null}\n priority={null}\n disabled={disabled}\n aria-controls={listboxId}\n aria-expanded={open}\n onClick={handleOnClick}\n {...buttonProps}\n >\n {selected ? (\n <Option label={undefined} {...selected} classNames={classNamesProp} selected />\n ) : (\n <span className={s('form-control-placeholder')}>{placeholder}</span>\n )}\n <Chevron\n // disabled={disabled}\n className={clsx(\n s('tw-icon'),\n s('tw-chevron-up-icon'),\n s('tw-chevron'),\n s('bottom'),\n s('np-select-chevron'),\n )}\n />\n </Button>\n {isMobile ? (\n isSearchEnabled ? (\n <Drawer\n open={open}\n headerTitle={searchPlaceholder || formatMessage(messages.searchPlaceholder)}\n onClose={handleCloseOptions}\n >\n {renderOptionsList()}\n </Drawer>\n ) : (\n <BottomSheet open={open} onClose={handleCloseOptions}>\n {renderOptionsList()}\n </BottomSheet>\n )\n ) : (\n <Panel\n open={open}\n flip={false}\n altAxis\n anchorRef={selectReference}\n anchorWidth={isDropdownAutoWidth}\n position={dropdownUp ? Position.TOP : Position.BOTTOM}\n onClose={handleCloseOptions}\n >\n {renderOptionsList({ className: 'p-a-1' })}\n </Panel>\n )}\n </div>\n );\n}\n"],"names":["DEFAULT_SEARCH_VALUE","DEFAULT_OPTIONS_PAGE_SIZE","includesString","string1","string2","toLowerCase","includes","defaultFilterFunction","option","searchValue","isPlaceholderOption","label","note","secondary","currency","searchStrings","some","string","isActionableOption","header","separator","disabled","isHeaderOption","isSeparatorOption","clamp","from","to","value","Math","max","min","DEFAULT_SELECTED_OPTION","isSearchableOption","getUniqueIdForOption","parentId","undefined","uniqueOptionId","replace","defaultClassNames","Select","placeholder","id","required","inverse","dropdownWidth","size","block","selected","search","onChange","onFocus","onBlur","options","defaultOptions","onSearchChange","initSearchValue","searchPlaceholder","classNames","classNamesProp","dropdownUp","dropdownProps","buttonProps","inputAttributes","useInputAttributes","formatMessage","useIntl","s","className","open","setOpen","useState","setSearchValue","keyboardFocusedOptionIndex","setKeyboardFocusedOptionIndex","keyboardFocusedReference","useRef","previousKeyboardFocusedOptionIndex","numberOfOptionsShown","setNumberOfOptionsShown","searchBoxReference","selectReference","dropdownButtonReference","optionsListReference","isSearchEnabled","isDropdownAutoWidth","useMemo","filter","selectableOptions","focusedOption","fallbackButtonId","useId","computedId","listboxId","searchBoxId","isMobile","useLayout","useEffect","cancelled","requestAnimationFrame","current","scrollIntoView","focus","handleOnClick","handleTouchStart","event","currentTarget","target","handleCloseOptions","handleOnFocus","handleOnBlur","nativeEvent","elementReceivingFocus","relatedTarget","select","Node","contains","handleSearchChange","handleKeyDown","key","moveFocusWithDifference","stopPropagation","selectKeyboardFocusedOption","length","selectOption","difference","selectedOptionIndex","reduce","optionIndex","index","isOptionSelected","previousFocusedIndex","indexToStartMovingFrom","unClampedNewIndex","newIndex","createSelectHandlerForOption","renderOptionsList","dropdownClass","clsx","showPlaceholder","Boolean","_jsxs","ref","role","tabIndex","children","_jsx","PlaceHolderOption","SearchBox","messages","focusedOptionId","onClick","slice","map","renderOption","ShowMoreOption","onKeyPress","placeholderOption","SeparatorOption","HeaderOption","separatorOption","headerOption","isActive","isFocusedWithKeyboard","getIndexWithoutHeadersForIndexWithHeaders","Option","sum","currentIndex","hasActiveOptions","onKeyDown","onTouchMove","Button","htmlType","type","priority","Chevron","Drawer","headerTitle","onClose","BottomSheet","Panel","flip","altAxis","anchorRef","anchorWidth","position","Position","TOP","BOTTOM"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,MAAMA,oBAAoB,GAAG,EAAE;AAC/B,MAAMC,yBAAyB,GAAG,IAAI;AAEtC,MAAMC,cAAc,GAAGA,CAACC,OAAe,EAAEC,OAAe,KACtDD,OAAO,CAACE,WAAW,EAAE,CAACC,QAAQ,CAACF,OAAO,CAACC,WAAW,EAAE,CAAC;AAsBvD,SAASE,qBAAqBA,CAACC,MAAiC,EAAEC,WAAmB,EAAA;AACnF,EAAA,IAAIC,mBAAmB,CAACF,MAAM,CAAC,EAAE;AAC/B,IAAA,OAAO,IAAI;AACb,EAAA;EACA,MAAM;IAAEG,KAAK;IAAEC,IAAI;IAAEC,SAAS;IAAEC,QAAQ;AAAEC,IAAAA;AAAa,GAAE,GAAGP,MAAM;AAClE,EAAA,OACG,OAAOG,KAAK,KAAK,QAAQ,IAAIT,cAAc,CAACS,KAAK,EAAEF,WAAW,CAAC,IAC/D,OAAOG,IAAI,KAAK,QAAQ,IAAIV,cAAc,CAACU,IAAI,EAAEH,WAAW,CAAE,IAC9D,OAAOI,SAAS,KAAK,Q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rC,CACR;AAAA,GACE,CAAC;AAEV;;;;"}
1
+ {"version":3,"file":"Select.mjs","sources":["../../src/select/Select.tsx"],"sourcesContent":["import { useTheme } from '@wise/components-theming';\nimport { clsx } from 'clsx';\nimport { useState, useEffect, useRef, useMemo, useId } from 'react';\nimport { useIntl } from 'react-intl';\n\nimport Button, { ButtonProps } from '../button';\nimport Chevron from '../chevron';\nimport { Position, Size } from '../common';\nimport BottomSheet from '../common/bottomSheet';\nimport { stopPropagation } from '../common/domHelpers';\nimport { useLayout } from '../common/hooks';\nimport Panel from '../common/panel';\nimport Drawer from '../drawer';\nimport { useInputAttributes } from '../inputs/contexts';\n\nimport messages from './Select.messages';\nimport Option from './option';\nimport SearchBox from './searchBox';\n\nconst DEFAULT_SEARCH_VALUE = '';\nconst DEFAULT_OPTIONS_PAGE_SIZE = 1000;\n\nconst includesString = (string1: string, string2: string) =>\n string1.toLowerCase().includes(string2.toLowerCase());\n\nexport interface SelectOptionItem {\n value: any;\n label?: React.ReactNode;\n icon?: React.ReactNode;\n currency?: string;\n note?: React.ReactNode;\n secondary?: React.ReactNode;\n}\n\nexport interface SelectItem extends Partial<SelectOptionItem> {\n header?: React.ReactNode;\n separator?: boolean;\n disabled?: boolean;\n searchStrings?: string[];\n}\n\nexport interface SelectItemWithPlaceholder extends SelectItem {\n placeholder?: string;\n}\n\nfunction defaultFilterFunction(option: SelectItemWithPlaceholder, searchValue: string) {\n if (isPlaceholderOption(option)) {\n return true;\n }\n const { label, note, secondary, currency, searchStrings } = option;\n return (\n (typeof label === 'string' && includesString(label, searchValue)) ||\n (typeof note === 'string' && includesString(note, searchValue)) ||\n (typeof secondary === 'string' && includesString(secondary, searchValue)) ||\n (!!currency && includesString(currency, searchValue)) ||\n (!!searchStrings && searchStrings.some((string) => includesString(string, searchValue)))\n );\n}\n\nfunction isActionableOption(option: SelectItem) {\n return !option.header && !option.separator && !option.disabled;\n}\n\nfunction isHeaderOption(option: SelectItem | null) {\n return option != null && 'header' in option;\n}\n\nfunction isSeparatorOption(option: SelectItem | null) {\n return option != null && 'separator' in option;\n}\n\nfunction clamp(from: number, to: number, value: number) {\n return Math.max(Math.min(to, value), from);\n}\n\n/**\n * No option or placeholder option is selected\n */\nconst DEFAULT_SELECTED_OPTION = null;\n\nfunction isPlaceholderOption(option: SelectItemWithPlaceholder | null) {\n return option === DEFAULT_SELECTED_OPTION || 'placeholder' in option;\n}\n\nfunction isSearchableOption(option: SelectItemWithPlaceholder | null) {\n return !isHeaderOption(option) && !isSeparatorOption(option) && !isPlaceholderOption(option);\n}\n\nconst getUniqueIdForOption = (parentId: string | undefined, option: SelectItem | null) => {\n if (option == null) {\n return undefined;\n }\n\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const uniqueOptionId =\n option.value || (typeof option.label === 'string' ? option.label.replace(/\\s/g, '') : '');\n\n return `option-${parentId ?? ''}-${uniqueOptionId}`;\n};\n\nexport interface SelectProps {\n placeholder?: string;\n id?: string;\n required?: boolean;\n disabled?: boolean;\n inverse?: boolean;\n dropdownRight?: `${Size.EXTRA_SMALL | Size.SMALL | Size.MEDIUM | Size.LARGE | Size.EXTRA_LARGE}`;\n dropdownWidth?: `${Size.SMALL | Size.MEDIUM | Size.LARGE}`;\n size?: `${Size.SMALL | Size.MEDIUM | Size.LARGE}`;\n block?: boolean;\n selected?: SelectOptionItem;\n /**\n * Search toggle\n * if `true` default search functionality being enabled (not case sensitive search in option labels & currency props)\n * if `function` you can define your own search function to implement custom search experience. This search function used while filtering the options array.\n */\n search?: boolean | ((option: SelectItemWithPlaceholder, searchValue: string) => boolean);\n options: SelectItem[];\n searchValue?: string;\n searchPlaceholder?: string;\n classNames?: Record<string, string>;\n dropdownUp?: boolean;\n buttonProps?: Extract<ButtonProps, { as?: 'button' }>;\n dropdownProps?: React.ComponentPropsWithoutRef<'ul'>;\n onChange: (value: SelectItem | typeof DEFAULT_SELECTED_OPTION) => void;\n onFocus?: React.FocusEventHandler<HTMLDivElement>;\n onBlur?: React.FocusEventHandler<HTMLDivElement>;\n /**\n * To have full control of your search value and response use `onSearchChange` function combined with `searchValue` and custom filtering on the options array.\n * DO NOT USE TOGETHER WITH `search` PROPERTY\n */\n onSearchChange?: (value: string) => void;\n}\n\nconst defaultClassNames = {};\n\n/**\n * @deprecated Use `SelectInput` instead (https://neptune.wise.design/blog/2023-11-28-adopting-our-new-selectinput)\n */\nexport default function Select({\n placeholder,\n id,\n required,\n disabled,\n inverse,\n dropdownWidth,\n size = 'md',\n block = true,\n selected,\n search,\n onChange,\n onFocus,\n onBlur,\n options: defaultOptions,\n onSearchChange,\n searchValue: initSearchValue = '',\n searchPlaceholder,\n classNames: classNamesProp = defaultClassNames,\n dropdownUp,\n dropdownProps,\n buttonProps,\n}: SelectProps) {\n const inputAttributes = useInputAttributes();\n\n const { formatMessage } = useIntl();\n const s = (className: string) => classNamesProp[className] || className;\n const [open, setOpen] = useState(false);\n const [searchValue, setSearchValue] = useState(DEFAULT_SEARCH_VALUE);\n const [keyboardFocusedOptionIndex, setKeyboardFocusedOptionIndex] = useState(-1);\n const keyboardFocusedReference = useRef<HTMLLIElement>(null);\n const previousKeyboardFocusedOptionIndex = useRef(-1);\n const [numberOfOptionsShown, setNumberOfOptionsShown] = useState(DEFAULT_OPTIONS_PAGE_SIZE);\n const searchBoxReference = useRef<HTMLInputElement>(null);\n const selectReference = useRef<HTMLDivElement>(null);\n const dropdownButtonReference = useRef<HTMLButtonElement>(null);\n const optionsListReference = useRef<HTMLUListElement>(null);\n const isSearchEnabled = !!onSearchChange || !!search;\n const isDropdownAutoWidth = dropdownWidth == null;\n\n const options = useMemo(() => {\n if (!search || !searchValue) {\n return defaultOptions;\n }\n\n return defaultOptions.filter(isSearchableOption).filter((option) => {\n if (typeof search === 'function') {\n return search(option, searchValue);\n }\n return defaultFilterFunction(option, searchValue);\n });\n }, [defaultOptions, search, searchValue]);\n\n const selectableOptions = useMemo(() => options.filter(isActionableOption), [options]);\n const focusedOption = selectableOptions[keyboardFocusedOptionIndex];\n\n const fallbackButtonId = useId();\n const computedId = id || inputAttributes.id || fallbackButtonId;\n const listboxId = `${computedId}-listbox`;\n const searchBoxId = `${computedId}-searchbox`;\n\n const { isMobile } = useLayout();\n\n useEffect(() => {\n let cancelled = false;\n\n if (keyboardFocusedOptionIndex >= 0) {\n requestAnimationFrame(() => {\n if (!cancelled) {\n if (isSearchEnabled) {\n keyboardFocusedReference.current?.scrollIntoView?.({ block: 'center' });\n } else {\n keyboardFocusedReference.current?.focus();\n }\n }\n });\n\n return () => {\n cancelled = true;\n };\n }\n }, [keyboardFocusedOptionIndex, isSearchEnabled]);\n\n const handleOnClick = () => {\n setOpen(true);\n };\n\n const handleTouchStart: React.TouchEventHandler<HTMLDivElement> = (event) => {\n if (event.currentTarget === event.target && open) {\n handleCloseOptions();\n }\n };\n\n const handleOnFocus: React.FocusEventHandler<HTMLDivElement> = (event) => {\n onFocus?.(event);\n };\n\n const handleOnBlur: React.FocusEventHandler<HTMLDivElement> = (event) => {\n const { nativeEvent } = event;\n if (nativeEvent) {\n const elementReceivingFocus = nativeEvent.relatedTarget;\n const select = event.currentTarget;\n if (\n select &&\n elementReceivingFocus instanceof Node &&\n select.contains(elementReceivingFocus)\n ) {\n return;\n }\n }\n\n onBlur?.(event);\n };\n\n const handleSearchChange: React.ChangeEventHandler<HTMLInputElement> = (event) => {\n setNumberOfOptionsShown(DEFAULT_OPTIONS_PAGE_SIZE);\n setSearchValue(event.target.value);\n onSearchChange?.(event.target.value);\n };\n\n const handleKeyDown: React.KeyboardEventHandler<HTMLDivElement> = (event) => {\n switch (event.key) {\n case 'ArrowUp':\n case 'ArrowDown':\n if (open) {\n moveFocusWithDifference(event.key === 'ArrowUp' ? -1 : 1);\n } else {\n setOpen(true);\n }\n stopPropagation(event);\n break;\n case ' ':\n if (event.target !== searchBoxReference.current) {\n if (open) {\n selectKeyboardFocusedOption();\n } else {\n setOpen(true);\n }\n stopPropagation(event);\n }\n break;\n case 'Enter':\n if (open) {\n selectKeyboardFocusedOption();\n } else {\n setOpen(true);\n }\n stopPropagation(event);\n break;\n case 'Escape':\n handleCloseOptions();\n stopPropagation(event);\n break;\n case 'Tab':\n if (open) {\n selectKeyboardFocusedOption();\n }\n break;\n default:\n break;\n }\n };\n\n function selectKeyboardFocusedOption() {\n if (keyboardFocusedOptionIndex >= 0 && selectableOptions.length > 0) {\n selectOption(selectableOptions[keyboardFocusedOptionIndex]);\n }\n }\n\n function moveFocusWithDifference(difference: number) {\n const selectedOptionIndex = selectableOptions.reduce((optionIndex, current, index) => {\n if (optionIndex >= 0) {\n return optionIndex;\n }\n if (isOptionSelected(selected, current)) {\n return index;\n }\n return -1;\n }, -1);\n const previousFocusedIndex = previousKeyboardFocusedOptionIndex.current;\n let indexToStartMovingFrom = previousFocusedIndex;\n if (previousFocusedIndex < 0) {\n if (selectedOptionIndex < 0) {\n setKeyboardFocusedOptionIndex(0);\n } else {\n indexToStartMovingFrom = selectedOptionIndex;\n }\n }\n\n const unClampedNewIndex = indexToStartMovingFrom + difference;\n const newIndex = clamp(0, selectableOptions.length - 1, unClampedNewIndex);\n\n setKeyboardFocusedOptionIndex(newIndex);\n }\n\n useEffect(() => {\n if (open) {\n if (!isMobile || searchValue) {\n if (isSearchEnabled && searchBoxReference.current) {\n searchBoxReference.current.focus();\n }\n if (\n !isSearchEnabled &&\n optionsListReference.current &&\n previousKeyboardFocusedOptionIndex.current < 0\n ) {\n optionsListReference.current.focus();\n }\n }\n\n previousKeyboardFocusedOptionIndex.current = keyboardFocusedOptionIndex;\n } else {\n previousKeyboardFocusedOptionIndex.current = -1;\n }\n }, [open, searchValue, isSearchEnabled, isMobile, keyboardFocusedOptionIndex]);\n\n const handleCloseOptions = () => {\n setOpen(false);\n setKeyboardFocusedOptionIndex(-1);\n if (dropdownButtonReference.current) {\n dropdownButtonReference.current.focus();\n }\n };\n\n function createSelectHandlerForOption(option: SelectItemWithPlaceholder) {\n return (event: React.SyntheticEvent) => {\n stopPropagation(event);\n selectOption(option);\n };\n }\n\n function selectOption(option: SelectItemWithPlaceholder) {\n onChange(isPlaceholderOption(option) ? DEFAULT_SELECTED_OPTION : option);\n handleCloseOptions();\n }\n\n function renderOptionsList({ className = '' } = {}) {\n const dropdownClass = clsx(\n s('np-dropdown-menu'),\n {\n [s('np-dropdown-menu-desktop')]: !isMobile,\n [s(`np-dropdown-menu-${dropdownWidth}`)]: !isMobile && !isDropdownAutoWidth,\n },\n s(className),\n );\n\n const showPlaceholder = !required && !isSearchEnabled && Boolean(placeholder);\n return (\n <ul\n ref={optionsListReference}\n id={listboxId}\n role=\"listbox\"\n aria-orientation=\"vertical\"\n aria-activedescendant={getUniqueIdForOption(id, selected ?? null)}\n tabIndex={-1}\n className={dropdownClass}\n {...dropdownProps}\n >\n {showPlaceholder && <PlaceHolderOption />}\n {isSearchEnabled && (\n <SearchBox\n ref={searchBoxReference}\n id={searchBoxId}\n classNames={classNamesProp}\n value={initSearchValue || searchValue}\n placeholder={searchPlaceholder || formatMessage(messages.searchPlaceholder)}\n focusedOptionId={getUniqueIdForOption(id, focusedOption)}\n onChange={handleSearchChange}\n onClick={stopPropagation}\n />\n )}\n {options.slice(0, numberOfOptionsShown).map(renderOption)}\n {numberOfOptionsShown < options.length && <ShowMoreOption />}\n </ul>\n );\n }\n\n function ShowMoreOption() {\n function handleOnClick(event: React.SyntheticEvent<HTMLLIElement>) {\n stopPropagation(event);\n setNumberOfOptionsShown(numberOfOptionsShown + DEFAULT_OPTIONS_PAGE_SIZE);\n }\n return (\n /* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */\n <li\n className={clsx(s('clickable'), s('border-bottom'), s('show-more'))}\n onClick={handleOnClick}\n onKeyPress={handleOnClick}\n >\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}\n <a>...</a>\n </li>\n );\n }\n\n function PlaceHolderOption() {\n const placeholderOption = { placeholder };\n return (\n /* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */\n <li\n className={clsx(s('clickable'), s('border-bottom'))}\n onClick={createSelectHandlerForOption(placeholderOption)}\n onKeyPress={createSelectHandlerForOption(placeholderOption)}\n >\n {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */}\n <a>{placeholder}</a>\n </li>\n );\n }\n\n function SeparatorOption() {\n return <li className={s('np-separator')} aria-hidden />;\n }\n\n function HeaderOption({ children }: { children?: React.ReactNode }) {\n return (\n <li // eslint-disable-line jsx-a11y/no-noninteractive-element-interactions\n className={clsx(s('np-dropdown-header'), s('np-text-title-group'))}\n onClick={stopPropagation}\n onKeyPress={stopPropagation}\n >\n {children}\n </li>\n );\n }\n\n function isOptionSelected(selected: SelectOptionItem | undefined, option: SelectItem) {\n return selected?.value === option?.value;\n }\n\n const renderOption = (option: SelectItem, index: number) => {\n const separatorOption = option;\n if (isSeparatorOption(separatorOption) && separatorOption?.separator) {\n return <SeparatorOption key={index} />;\n }\n const headerOption = option;\n if (isHeaderOption(headerOption) && headerOption.header) {\n return <HeaderOption key={index}>{headerOption.header}</HeaderOption>;\n }\n\n const isActive = isOptionSelected(selected, option);\n const selectOption = option;\n const isFocusedWithKeyboard =\n !selectOption.disabled &&\n keyboardFocusedOptionIndex === getIndexWithoutHeadersForIndexWithHeaders(index);\n\n const className = clsx(\n s('np-dropdown-item'),\n selectOption.disabled ? [s('disabled')] : s('clickable'),\n {\n [s('active')]: isActive,\n [s('np-dropdown-item--focused')]: isFocusedWithKeyboard,\n },\n );\n\n const handleOnClick = selectOption.disabled\n ? stopPropagation\n : createSelectHandlerForOption(selectOption);\n\n return (\n <li\n ref={isFocusedWithKeyboard ? keyboardFocusedReference : undefined}\n key={index}\n id={getUniqueIdForOption(id, option)}\n aria-selected={isActive}\n aria-disabled={option.disabled}\n role=\"option\"\n tabIndex={-1}\n className={className}\n onClick={handleOnClick}\n onKeyPress={handleOnClick}\n >\n {/* @ts-expect-error options needs DOM refactoring */}\n <a disabled={selectOption.disabled}>\n <Option\n label={undefined}\n value={undefined}\n {...selectOption}\n classNames={classNamesProp}\n />\n </a>\n </li>\n );\n };\n\n function getIndexWithoutHeadersForIndexWithHeaders(index: number) {\n return options.reduce((sum, option, currentIndex) => {\n if (currentIndex < index && isActionableOption(option)) {\n return sum + 1;\n }\n return sum;\n }, 0);\n }\n\n const hasActiveOptions = !!defaultOptions.length;\n if (open && (initSearchValue || searchValue)) {\n if (hasActiveOptions && keyboardFocusedOptionIndex < 0) {\n setKeyboardFocusedOptionIndex(0);\n }\n if (!hasActiveOptions && keyboardFocusedOptionIndex >= 0) {\n setKeyboardFocusedOptionIndex(-1);\n }\n }\n\n return (\n <div // eslint-disable-line jsx-a11y/no-static-element-interactions\n ref={selectReference}\n className={clsx(s('np-select'), block ? s('btn-block') : null, s('btn-group'))}\n onKeyDown={handleKeyDown}\n onTouchMove={handleTouchStart}\n onFocus={handleOnFocus}\n onBlur={handleOnBlur}\n >\n <Button\n ref={dropdownButtonReference}\n {...inputAttributes}\n id={computedId}\n block={block}\n size={size}\n htmlType=\"button\"\n className={clsx(\n s('np-dropdown-toggle'),\n s('np-text-body-large'),\n inverse ? s('np-dropdown-toggle-navy') : null,\n )}\n // reset Button's styles\n type={null}\n priority={null}\n disabled={disabled}\n aria-controls={listboxId}\n aria-expanded={open}\n onClick={handleOnClick}\n {...buttonProps}\n >\n {selected ? (\n <Option label={undefined} {...selected} classNames={classNamesProp} selected />\n ) : (\n <span className={s('form-control-placeholder')}>{placeholder}</span>\n )}\n <Chevron\n // disabled={disabled}\n className={clsx(\n s('tw-icon'),\n s('tw-chevron-up-icon'),\n s('tw-chevron'),\n s('bottom'),\n s('np-select-chevron'),\n )}\n />\n </Button>\n {isMobile ? (\n isSearchEnabled ? (\n <Drawer\n open={open}\n headerTitle={searchPlaceholder || formatMessage(messages.searchPlaceholder)}\n onClose={handleCloseOptions}\n >\n {renderOptionsList()}\n </Drawer>\n ) : (\n <BottomSheet open={open} onClose={handleCloseOptions}>\n {renderOptionsList()}\n </BottomSheet>\n )\n ) : (\n <Panel\n open={open}\n flip={false}\n altAxis\n anchorRef={selectReference}\n anchorWidth={isDropdownAutoWidth}\n position={dropdownUp ? Position.TOP : Position.BOTTOM}\n onClose={handleCloseOptions}\n >\n {renderOptionsList({ className: 'p-a-1' })}\n </Panel>\n )}\n </div>\n );\n}\n"],"names":["DEFAULT_SEARCH_VALUE","DEFAULT_OPTIONS_PAGE_SIZE","includesString","string1","string2","toLowerCase","includes","defaultFilterFunction","option","searchValue","isPlaceholderOption","label","note","secondary","currency","searchStrings","some","string","isActionableOption","header","separator","disabled","isHeaderOption","isSeparatorOption","clamp","from","to","value","Math","max","min","DEFAULT_SELECTED_OPTION","isSearchableOption","getUniqueIdForOption","parentId","undefined","uniqueOptionId","replace","defaultClassNames","Select","placeholder","id","required","inverse","dropdownWidth","size","block","selected","search","onChange","onFocus","onBlur","options","defaultOptions","onSearchChange","initSearchValue","searchPlaceholder","classNames","classNamesProp","dropdownUp","dropdownProps","buttonProps","inputAttributes","useInputAttributes","formatMessage","useIntl","s","className","open","setOpen","useState","setSearchValue","keyboardFocusedOptionIndex","setKeyboardFocusedOptionIndex","keyboardFocusedReference","useRef","previousKeyboardFocusedOptionIndex","numberOfOptionsShown","setNumberOfOptionsShown","searchBoxReference","selectReference","dropdownButtonReference","optionsListReference","isSearchEnabled","isDropdownAutoWidth","useMemo","filter","selectableOptions","focusedOption","fallbackButtonId","useId","computedId","listboxId","searchBoxId","isMobile","useLayout","useEffect","cancelled","requestAnimationFrame","current","scrollIntoView","focus","handleOnClick","handleTouchStart","event","currentTarget","target","handleCloseOptions","handleOnFocus","handleOnBlur","nativeEvent","elementReceivingFocus","relatedTarget","select","Node","contains","handleSearchChange","handleKeyDown","key","moveFocusWithDifference","stopPropagation","selectKeyboardFocusedOption","length","selectOption","difference","selectedOptionIndex","reduce","optionIndex","index","isOptionSelected","previousFocusedIndex","indexToStartMovingFrom","unClampedNewIndex","newIndex","createSelectHandlerForOption","renderOptionsList","dropdownClass","clsx","showPlaceholder","Boolean","_jsxs","ref","role","tabIndex","children","_jsx","PlaceHolderOption","SearchBox","messages","focusedOptionId","onClick","slice","map","renderOption","ShowMoreOption","onKeyPress","placeholderOption","SeparatorOption","HeaderOption","separatorOption","headerOption","isActive","isFocusedWithKeyboard","getIndexWithoutHeadersForIndexWithHeaders","Option","sum","currentIndex","hasActiveOptions","onKeyDown","onTouchMove","Button","htmlType","type","priority","Chevron","Drawer","headerTitle","onClose","BottomSheet","Panel","flip","altAxis","anchorRef","anchorWidth","position","Position","TOP","BOTTOM"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAmBA,MAAMA,oBAAoB,GAAG,EAAE;AAC/B,MAAMC,yBAAyB,GAAG,IAAI;AAEtC,MAAMC,cAAc,GAAGA,CAACC,OAAe,EAAEC,OAAe,KACtDD,OAAO,CAACE,WAAW,EAAE,CAACC,QAAQ,CAACF,OAAO,CAACC,WAAW,EAAE,CAAC;AAsBvD,SAASE,qBAAqBA,CAACC,MAAiC,EAAEC,WAAmB,EAAE;AACrF,EAAA,IAAIC,mBAAmB,CAACF,MAAM,CAAC,EAAE;AAC/B,IAAA,OAAO,IAAI;AACb,EAAA;EACA,MAAM;IAAEG,KAAK;IAAEC,IAAI;IAAEC,SAAS;IAAEC,QAAQ;AAAEC,IAAAA;AAAc,GAAC,GAAGP,MAAM;AAClE,EAAA,OACG,OAAOG,KAAK,KAAK,QAAQ,IAAIT,cAAc,CAACS,KAAK,EAAEF,WAAW,CAAC,IAC/D,OAAOG,IAAI,KAAK,QAAQ,IAAIV,cAAc,CAACU,IAAI,EAAEH,WAAW,CAAE,IAC9D,OAAOI,SAAS,KAAK,QAAQ,IAAIX,cAAc,CAACW,SAAS,EAAEJ,WAAW,CAAE,IACxE,CAAC,CAACK,QAAQ,IAAIZ,cAAc,CAACY,QAAQ,EAAEL,WAAW,CAAE,IACpD,CAAC,CAACM,aAAa,IAAIA,aAAa,CAACC,IAAI,CAAEC,MAAM,IAAKf,cAAc,CAACe,MAAM,EAAER,WAAW,CAAC,CAAE;AAE5F;AAEA,SA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,CAAC,SAAS,CAAC,EACZA,CAAC,CAAC,oBAAoB,CAAC,EACvBA,CAAC,CAAC,YAAY,CAAC,EACfA,CAAC,CAAC,QAAQ,CAAC,EACXA,CAAC,CAAC,mBAAmB,CACvB;AAAE,OACH,CAAC;KACI,CAAC,EACR4B,QAAQ,GACPX,eAAe,gBACb8D,GAAA,CAAC8B,MAAM,EAAA;AACL3G,MAAAA,IAAI,EAAEA,IAAK;MACX4G,WAAW,EAAExH,iBAAiB,IAAIQ,aAAa,CAACoF,QAAQ,CAAC5F,iBAAiB,CAAE;AAC5EyH,MAAAA,OAAO,EAAEtE,kBAAmB;MAAAqC,QAAA,EAE3BT,iBAAiB;AAAE,KACd,CAAC,gBAETU,GAAA,CAACiC,WAAW,EAAA;AAAC9G,MAAAA,IAAI,EAAEA,IAAK;AAAC6G,MAAAA,OAAO,EAAEtE,kBAAmB;MAAAqC,QAAA,EAClDT,iBAAiB;AAAE,KACT,CACd,gBAEDU,GAAA,CAACkC,KAAK,EAAA;AACJ/G,MAAAA,IAAI,EAAEA,IAAK;AACXgH,MAAAA,IAAI,EAAE,KAAM;MACZC,OAAO,EAAA,IAAA;AACPC,MAAAA,SAAS,EAAEtG,eAAgB;AAC3BuG,MAAAA,WAAW,EAAEnG,mBAAoB;MACjCoG,QAAQ,EAAE7H,UAAU,GAAG8H,QAAQ,CAACC,GAAG,GAAGD,QAAQ,CAACE,MAAO;AACtDV,MAAAA,OAAO,EAAEtE,kBAAmB;MAAAqC,QAAA,EAE3BT,iBAAiB,CAAC;AAAEpE,QAAAA,SAAS,EAAE;OAAS;AAAC,KACrC,CACR;AAAA,GACE,CAAC;AAEV;;;;"}
@@ -6,25 +6,7 @@ var art = require('@wise/art');
6
6
  var clsx = require('clsx');
7
7
  var React = require('react');
8
8
  var Body = require('../../body/Body.js');
9
- require('../../common/theme.js');
10
- require('../../common/direction.js');
11
- require('../../common/propsValues/control.js');
12
- require('../../common/propsValues/breakpoint.js');
13
- require('../../common/propsValues/size.js');
14
9
  var typography = require('../../common/propsValues/typography.js');
15
- require('../../common/propsValues/width.js');
16
- require('../../common/propsValues/type.js');
17
- require('../../common/propsValues/dateMode.js');
18
- require('../../common/propsValues/monthFormat.js');
19
- require('../../common/propsValues/position.js');
20
- require('../../common/propsValues/layouts.js');
21
- require('../../common/propsValues/status.js');
22
- require('../../common/propsValues/sentiment.js');
23
- require('../../common/propsValues/profileType.js');
24
- require('../../common/propsValues/variant.js');
25
- require('../../common/propsValues/scroll.js');
26
- require('../../common/propsValues/markdownNodeType.js');
27
- require('../../common/fileType.js');
28
10
  require('@transferwise/icons');
29
11
  require('react-intl');
30
12
  require('../../common/closeButton/CloseButton.messages.js');
@@ -1 +1 @@
1
- {"version":3,"file":"Option.js","sources":["../../../src/select/option/Option.tsx"],"sourcesContent":["import { IdIconProps } from '@transferwise/icons';\nimport { Flag } from '@wise/art';\nimport { clsx } from 'clsx';\nimport { cloneElement, ReactElement, ReactNode } from 'react';\n\nimport Body from '../../body';\nimport { Typography } from '../../common';\n\nexport type Props<T> = {\n label: ReactNode;\n value: T;\n currency?: string;\n note?: ReactNode;\n secondary?: ReactNode;\n icon?: ReactNode;\n /** @deprecated */\n classNames?: Record<string, string>;\n selected?: boolean;\n testId?: string;\n};\n\nfunction Option<T>({\n label,\n currency = '',\n note = '',\n secondary = '',\n icon,\n selected = false,\n testId,\n}: Props<T>) {\n const iconElement = icon\n ? cloneElement(icon as ReactElement<IdIconProps>, {\n size: 24,\n className: 'tw-icon',\n })\n : currency && <Flag code={currency.toLowerCase()} intrinsicSize={24} />;\n\n const titleAndNoteElement = (\n <Body as=\"span\" type={Typography.BODY_LARGE} className={selected ? 'text-ellipsis' : undefined}>\n {label}\n {note && (\n <Body as=\"span\" className=\"m-l-1\">\n {note}\n </Body>\n )}\n </Body>\n );\n\n const secondaryElement = secondary && (\n <Body className={clsx(selected && 'text-ellipsis')}>{secondary}</Body>\n );\n\n return iconElement ? (\n <div className=\"d-flex np-option-content\" data-testid={testId}>\n <div className={`d-flex flex-column${selected ? ' justify-content-center' : ''}`}>\n {iconElement}\n </div>\n <div className=\"d-flex flex-column justify-content-center\">\n {titleAndNoteElement}\n {secondaryElement}\n </div>\n </div>\n ) : (\n <>\n {iconElement}\n {titleAndNoteElement}\n {secondaryElement}\n </>\n );\n}\n\nexport default Option;\n"],"names":["Option","label","currency","note","secondary","icon","selected","testId","iconElement","cloneElement","size","className","_jsx","Flag","code","toLowerCase","intrinsicSize","titleAndNoteElement","_jsxs","Body","as","type","Typography","BODY_LARGE","undefined","children","secondaryElement","clsx","_Fragment"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,SAASA,MAAMA,CAAI;EACjBC,KAAK;AACLC,EAAAA,QAAQ,GAAG,EAAE;AACbC,EAAAA,IAAI,GAAG,EAAE;AACTC,EAAAA,SAAS,GAAG,EAAE;EACdC,IAAI;AACJC,EAAAA,QAAQ,GAAG,KAAK;AAChBC,EAAAA;AAAM,CACG,EAAA;AACT,EAAA,MAAMC,WAAW,GAAGH,IAAI,gBACpBI,kBAAY,CAACJ,IAAiC,EAAE;AAC9CK,IAAAA,IAAI,EAAE,EAAE;AACRC,IAAAA,SAAS,EAAE;GACZ,CAAC,GACFT,QAAQ,iBAAIU,cAAA,CAACC,QAAI,EAAA;AAACC,IAAAA,IAAI,EAAEZ,QAAQ,CAACa,WAAW,EAAG;AAACC,IAAAA,aAAa,EAAE;AAAG,GAAA,CAAG;AAEzE,EAAA,MAAMC,mBAAmB,gBACvBC,eAAA,CAACC,YAAI,EAAA;AAACC,IAAAA,EAAE,EAAC,MAAM;IAACC,IAAI,EAAEC,qBAAU,CAACC,UAAW;AAACZ,IAAAA,SAAS,EAAEL,QAAQ,GAAG,eAAe,GAAGkB,SAAU;AAAAC,IAAAA,QAAA,GAC5FxB,KAAK,EACLE,IAAI,iBACHS,cAAA,CAACO,YAAI,EAAA;AAACC,MAAAA,EAAE,EAAC,MAAM;AAACT,MAAAA,SAAS,EAAC,OAAO;AAAAc,MAAAA,QAAA,EAC9BtB;AAAI,KACD,CACP;AAAA,GACG,CACP;AAED,EAAA,MAAMuB,gBAAgB,GAAGtB,SAAS,iBAChCQ,cAAA,CAACO,YAAI,EAAA;AAACR,IAAAA,SAAS,EAAEgB,SAAI,CAACrB,QAAQ,IAAI,eAAe,CAAE;AAAAmB,IAAAA,QAAA,EAAErB;AAAS,GAAO,CACtE;EAED,OAAOI,WAAW,gBAChBU,eAAA,CAAA,KAAA,EAAA;AAAKP,IAAAA,SAAS,EAAC,0BAA0B;AAAC,IAAA,aAAA,EAAaJ,MAAO;AAAAkB,IAAAA,QAAA,gBAC5Db,cAAA,CAAA,KAAA,EAAA;AAAKD,MAAAA,SAAS,EAAE,CAAA,kBAAA,EAAqBL,QAAQ,GAAG,yBAAyB,GAAG,EAAE,CAAA,CAAG;AAAAmB,MAAAA,QAAA,EAC9EjB;KACE,CACL,eAAAU,eAAA,CAAA,KAAA,EAAA;AAAKP,MAAAA,SAAS,EAAC,2CAA2C;MAAAc,QAAA,EAAA,CACvDR,mBAAmB,EACnBS,gBAAgB;AAAA,KACd,CACP;AAAA,GAAK,CAAC,gBAENR,eAAA,CAAAU,mBAAA,EAAA;AAAAH,IAAAA,QAAA,EAAA,CACGjB,WAAW,EACXS,mBAAmB,EACnBS,gBAAgB;AAAA,GACnB,CACD;AACH;;;;"}
1
+ {"version":3,"file":"Option.js","sources":["../../../src/select/option/Option.tsx"],"sourcesContent":["import { IdIconProps } from '@transferwise/icons';\nimport { Flag } from '@wise/art';\nimport { clsx } from 'clsx';\nimport { cloneElement, ReactElement, ReactNode } from 'react';\n\nimport Body from '../../body';\nimport { Typography } from '../../common';\n\nexport type Props<T> = {\n label: ReactNode;\n value: T;\n currency?: string;\n note?: ReactNode;\n secondary?: ReactNode;\n icon?: ReactNode;\n /** @deprecated */\n classNames?: Record<string, string>;\n selected?: boolean;\n testId?: string;\n};\n\nfunction Option<T>({\n label,\n currency = '',\n note = '',\n secondary = '',\n icon,\n selected = false,\n testId,\n}: Props<T>) {\n const iconElement = icon\n ? cloneElement(icon as ReactElement<IdIconProps>, {\n size: 24,\n className: 'tw-icon',\n })\n : currency && <Flag code={currency.toLowerCase()} intrinsicSize={24} />;\n\n const titleAndNoteElement = (\n <Body as=\"span\" type={Typography.BODY_LARGE} className={selected ? 'text-ellipsis' : undefined}>\n {label}\n {note && (\n <Body as=\"span\" className=\"m-l-1\">\n {note}\n </Body>\n )}\n </Body>\n );\n\n const secondaryElement = secondary && (\n <Body className={clsx(selected && 'text-ellipsis')}>{secondary}</Body>\n );\n\n return iconElement ? (\n <div className=\"d-flex np-option-content\" data-testid={testId}>\n <div className={`d-flex flex-column${selected ? ' justify-content-center' : ''}`}>\n {iconElement}\n </div>\n <div className=\"d-flex flex-column justify-content-center\">\n {titleAndNoteElement}\n {secondaryElement}\n </div>\n </div>\n ) : (\n <>\n {iconElement}\n {titleAndNoteElement}\n {secondaryElement}\n </>\n );\n}\n\nexport default Option;\n"],"names":["Option","label","currency","note","secondary","icon","selected","testId","iconElement","cloneElement","size","className","_jsx","Flag","code","toLowerCase","intrinsicSize","titleAndNoteElement","_jsxs","Body","as","type","Typography","BODY_LARGE","undefined","children","secondaryElement","clsx","_Fragment"],"mappings":";;;;;;;;;;;;;;AAqBA,SAASA,MAAMA,CAAI;EACjBC,KAAK;AACLC,EAAAA,QAAQ,GAAG,EAAE;AACbC,EAAAA,IAAI,GAAG,EAAE;AACTC,EAAAA,SAAS,GAAG,EAAE;EACdC,IAAI;AACJC,EAAAA,QAAQ,GAAG,KAAK;AAChBC,EAAAA;AACQ,CAAC,EAAE;AACX,EAAA,MAAMC,WAAW,GAAGH,IAAI,gBACpBI,kBAAY,CAACJ,IAAI,EAA+B;AAC9CK,IAAAA,IAAI,EAAE,EAAE;AACRC,IAAAA,SAAS,EAAE;AACb,GAAC,CAAC,GACFT,QAAQ,iBAAIU,cAAA,CAACC,QAAI,EAAA;AAACC,IAAAA,IAAI,EAAEZ,QAAQ,CAACa,W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 -2,25 +2,7 @@ import { Flag } from '@wise/art';
2
2
  import { clsx } from 'clsx';
3
3
  import { cloneElement } from 'react';
4
4
  import Body from '../../body/Body.mjs';
5
- import '../../common/theme.mjs';
6
- import '../../common/direction.mjs';
7
- import '../../common/propsValues/control.mjs';
8
- import '../../common/propsValues/breakpoint.mjs';
9
- import '../../common/propsValues/size.mjs';
10
5
  import { Typography } from '../../common/propsValues/typography.mjs';
11
- import '../../common/propsValues/width.mjs';
12
- import '../../common/propsValues/type.mjs';
13
- import '../../common/propsValues/dateMode.mjs';
14
- import '../../common/propsValues/monthFormat.mjs';
15
- import '../../common/propsValues/position.mjs';
16
- import '../../common/propsValues/layouts.mjs';
17
- import '../../common/propsValues/status.mjs';
18
- import '../../common/propsValues/sentiment.mjs';
19
- import '../../common/propsValues/profileType.mjs';
20
- import '../../common/propsValues/variant.mjs';
21
- import '../../common/propsValues/scroll.mjs';
22
- import '../../common/propsValues/markdownNodeType.mjs';
23
- import '../../common/fileType.mjs';
24
6
  import '@transferwise/icons';
25
7
  import 'react-intl';
26
8
  import '../../common/closeButton/CloseButton.messages.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"Option.mjs","sources":["../../../src/select/option/Option.tsx"],"sourcesContent":["import { IdIconProps } from '@transferwise/icons';\nimport { Flag } from '@wise/art';\nimport { clsx } from 'clsx';\nimport { cloneElement, ReactElement, ReactNode } from 'react';\n\nimport Body from '../../body';\nimport { Typography } from '../../common';\n\nexport type Props<T> = {\n label: ReactNode;\n value: T;\n currency?: string;\n note?: ReactNode;\n secondary?: ReactNode;\n icon?: ReactNode;\n /** @deprecated */\n classNames?: Record<string, string>;\n selected?: boolean;\n testId?: string;\n};\n\nfunction Option<T>({\n label,\n currency = '',\n note = '',\n secondary = '',\n icon,\n selected = false,\n testId,\n}: Props<T>) {\n const iconElement = icon\n ? cloneElement(icon as ReactElement<IdIconProps>, {\n size: 24,\n className: 'tw-icon',\n })\n : currency && <Flag code={currency.toLowerCase()} intrinsicSize={24} />;\n\n const titleAndNoteElement = (\n <Body as=\"span\" type={Typography.BODY_LARGE} className={selected ? 'text-ellipsis' : undefined}>\n {label}\n {note && (\n <Body as=\"span\" className=\"m-l-1\">\n {note}\n </Body>\n )}\n </Body>\n );\n\n const secondaryElement = secondary && (\n <Body className={clsx(selected && 'text-ellipsis')}>{secondary}</Body>\n );\n\n return iconElement ? (\n <div className=\"d-flex np-option-content\" data-testid={testId}>\n <div className={`d-flex flex-column${selected ? ' justify-content-center' : ''}`}>\n {iconElement}\n </div>\n <div className=\"d-flex flex-column justify-content-center\">\n {titleAndNoteElement}\n {secondaryElement}\n </div>\n </div>\n ) : (\n <>\n {iconElement}\n {titleAndNoteElement}\n {secondaryElement}\n </>\n );\n}\n\nexport default Option;\n"],"names":["Option","label","currency","note","secondary","icon","selected","testId","iconElement","cloneElement","size","className","_jsx","Flag","code","toLowerCase","intrinsicSize","titleAndNoteElement","_jsxs","Body","as","type","Typography","BODY_LARGE","undefined","children","secondaryElement","clsx","_Fragment"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,SAASA,MAAMA,CAAI;EACjBC,KAAK;AACLC,EAAAA,QAAQ,GAAG,EAAE;AACbC,EAAAA,IAAI,GAAG,EAAE;AACTC,EAAAA,SAAS,GAAG,EAAE;EACdC,IAAI;AACJC,EAAAA,QAAQ,GAAG,KAAK;AAChBC,EAAAA;AAAM,CACG,EAAA;AACT,EAAA,MAAMC,WAAW,GAAGH,IAAI,gBACpBI,YAAY,CAACJ,IAAiC,EAAE;AAC9CK,IAAAA,IAAI,EAAE,EAAE;AACRC,IAAAA,SAAS,EAAE;GACZ,CAAC,GACFT,QAAQ,iBAAIU,GAAA,CAACC,IAAI,EAAA;AAACC,IAAAA,IAAI,EAAEZ,QAAQ,CAACa,WAAW,EAAG;AAACC,IAAAA,aAAa,EAAE;AAAG,GAAA,CAAG;AAEzE,EAAA,MAAMC,mBAAmB,gBACvBC,IAAA,CAACC,IAAI,EAAA;AAACC,IAAAA,EAAE,EAAC,MAAM;IAACC,IAAI,EAAEC,UAAU,CAACC,UAAW;AAACZ,IAAAA,SAAS,EAAEL,QAAQ,GAAG,eAAe,GAAGkB,SAAU;AAAAC,IAAAA,QAAA,GAC5FxB,KAAK,EACLE,IAAI,iBACHS,GAAA,CAACO,IAAI,EAAA;AAACC,MAAAA,EAAE,EAAC,MAAM;AAACT,MAAAA,SAAS,EAAC,OAAO;AAAAc,MAAAA,QAAA,EAC9BtB;AAAI,KACD,CACP;AAAA,GACG,CACP;AAED,EAAA,MAAMuB,gBAAgB,GAAGtB,SAAS,iBAChCQ,GAAA,CAACO,IAAI,EAAA;AAACR,IAAAA,SAAS,EAAEgB,IAAI,CAACrB,QAAQ,IAAI,eAAe,CAAE;AAAAmB,IAAAA,QAAA,EAAErB;AAAS,GAAO,CACtE;EAED,OAAOI,WAAW,gBAChBU,IAAA,CAAA,KAAA,EAAA;AAAKP,IAAAA,SAAS,EAAC,0BAA0B;AAAC,IAAA,aAAA,EAAaJ,MAAO;AAAAkB,IAAAA,QAAA,gBAC5Db,GAAA,CAAA,KAAA,EAAA;AAAKD,MAAAA,SAAS,EAAE,CAAA,kBAAA,EAAqBL,QAAQ,GAAG,yBAAyB,GAAG,EAAE,CAAA,CAAG;AAAAmB,MAAAA,QAAA,EAC9EjB;KACE,CACL,eAAAU,IAAA,CAAA,KAAA,EAAA;AAAKP,MAAAA,SAAS,EAAC,2CAA2C;MAAAc,QAAA,EAAA,CACvDR,mBAAmB,EACnBS,gBAAgB;AAAA,KACd,CACP;AAAA,GAAK,CAAC,gBAENR,IAAA,CAAAU,QAAA,EAAA;AAAAH,IAAAA,QAAA,EAAA,CACGjB,WAAW,EACXS,mBAAmB,EACnBS,gBAAgB;AAAA,GACnB,CACD;AACH;;;;"}
1
+ {"version":3,"file":"Option.mjs","sources":["../../../src/select/option/Option.tsx"],"sourcesContent":["import { IdIconProps } from '@transferwise/icons';\nimport { Flag } from '@wise/art';\nimport { clsx } from 'clsx';\nimport { cloneElement, ReactElement, ReactNode } from 'react';\n\nimport Body from '../../body';\nimport { Typography } from '../../common';\n\nexport type Props<T> = {\n label: ReactNode;\n value: T;\n currency?: string;\n note?: ReactNode;\n secondary?: ReactNode;\n icon?: ReactNode;\n /** @deprecated */\n classNames?: Record<string, string>;\n selected?: boolean;\n testId?: string;\n};\n\nfunction Option<T>({\n label,\n currency = '',\n note = '',\n secondary = '',\n icon,\n selected = false,\n testId,\n}: Props<T>) {\n const iconElement = icon\n ? cloneElement(icon as ReactElement<IdIconProps>, {\n size: 24,\n className: 'tw-icon',\n })\n : currency && <Flag code={currency.toLowerCase()} intrinsicSize={24} />;\n\n const titleAndNoteElement = (\n <Body as=\"span\" type={Typography.BODY_LARGE} className={selected ? 'text-ellipsis' : undefined}>\n {label}\n {note && (\n <Body as=\"span\" className=\"m-l-1\">\n {note}\n </Body>\n )}\n </Body>\n );\n\n const secondaryElement = secondary && (\n <Body className={clsx(selected && 'text-ellipsis')}>{secondary}</Body>\n );\n\n return iconElement ? (\n <div className=\"d-flex np-option-content\" data-testid={testId}>\n <div className={`d-flex flex-column${selected ? ' justify-content-center' : ''}`}>\n {iconElement}\n </div>\n <div className=\"d-flex flex-column justify-content-center\">\n {titleAndNoteElement}\n {secondaryElement}\n </div>\n </div>\n ) : (\n <>\n {iconElement}\n {titleAndNoteElement}\n {secondaryElement}\n </>\n );\n}\n\nexport default Option;\n"],"names":["Option","label","currency","note","secondary","icon","selected","testId","iconElement","cloneElement","size","className","_jsx","Flag","code","toLowerCase","intrinsicSize","titleAndNoteElement","_jsxs","Body","as","type","Typography","BODY_LARGE","undefined","children","secondaryElement","clsx","_Fragment"],"mappings":";;;;;;;;;;AAqBA,SAASA,MAAMA,CAAI;EACjBC,KAAK;AACLC,EAAAA,QAAQ,GAAG,EAAE;AACbC,EAAAA,IAAI,GAAG,EAAE;AACTC,EAAAA,SAAS,GAAG,EAAE;EACdC,IAAI;AACJC,EAAAA,QAAQ,GAAG,KAAK;AAChBC,EAA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A;AAAKP,MAAAA,SAAS,EAAC,2CAA2C;MAAAc,QAAA,EAAA,CACvDR,mBAAmB,EACnBS,gBAAgB;AAAA,KACd,CAAC;AAAA,GACH,CAAC,gBAENR,IAAA,CAAAU,QAAA,EAAA;AAAAH,IAAAA,QAAA,EAAA,CACGjB,WAAW,EACXS,mBAAmB,EACnBS,gBAAgB;AAAA,GACjB,CACH;AACH;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBox.js","sources":["../../../src/select/searchBox/SearchBox.tsx"],"sourcesContent":["import { Search as SearchIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef, InputHTMLAttributes } from 'react';\n\nimport { Input } from '../../inputs/Input';\n\ntype Props = {\n id?: string;\n classNames?: Record<string, string>;\n focusedOptionId?: string;\n} & Pick<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onClick' | 'placeholder' | 'value'>;\n\nconst SearchBox = forwardRef<HTMLInputElement, Props>(\n (\n {\n id,\n classNames = {},\n focusedOptionId,\n onChange,\n onClick,\n placeholder = undefined,\n value = '',\n },\n reference,\n ) => {\n const style = (className: string) => classNames[className] || className;\n return (\n <li className={style('border-bottom')}>\n <a className={`${style('np-select-filter-link')} ${style('p-a-0')}`}>\n <div className={style('input-group')}>\n <span className={clsx('input-group-addon', 'input-group-addon--search')}>\n <SearchIcon className={clsx(style('tw-icon'), style('tw-icon-search'))} size={24} />\n </span>\n <Input\n ref={reference}\n id={id}\n role=\"searchbox\"\n inputMode=\"search\"\n className={clsx(style('np-select-filter'))}\n placeholder={placeholder}\n value={value}\n spellCheck=\"false\"\n aria-activedescendant={focusedOptionId}\n onChange={onChange}\n onClick={onClick}\n />\n </div>\n </a>\n </li>\n );\n },\n);\n\nexport default SearchBox;\n"],"names":["SearchBox","forwardRef","id","classNames","focusedOptionId","onChange","onClick","placeholder","undefined","value","reference","style","className","_jsx","children","_jsxs","clsx","SearchIcon","size","Input","ref","role","inputMode","spellCheck"],"mappings":";;;;;;;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Y;AACzBE,UAAAA,KAAK,EAAEA,KAAM;AACbc,UAAAA,UAAU,EAAC,OAAO;AAClB,UAAA,uBAAA,EAAuBnB,eAAgB;AACvCC,UAAAA,QAAQ,EAAEA,QAAS;AACnBC,UAAAA,OAAO,EAAEA;AAAQ,SAAA,CAErB;OAAK;KACJ;AACL,GAAI,CAAC;AAET,CAAC;;;;"}
1
+ {"version":3,"file":"SearchBox.js","sources":["../../../src/select/searchBox/SearchBox.tsx"],"sourcesContent":["import { Search as SearchIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef, InputHTMLAttributes } from 'react';\n\nimport { Input } from '../../inputs/Input';\n\ntype Props = {\n id?: string;\n classNames?: Record<string, string>;\n focusedOptionId?: string;\n} & Pick<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onClick' | 'placeholder' | 'value'>;\n\nconst SearchBox = forwardRef<HTMLInputElement, Props>(\n (\n {\n id,\n classNames = {},\n focusedOptionId,\n onChange,\n onClick,\n placeholder = undefined,\n value = '',\n },\n reference,\n ) => {\n const style = (className: string) => classNames[className] || className;\n return (\n <li className={style('border-bottom')}>\n <a className={`${style('np-select-filter-link')} ${style('p-a-0')}`}>\n <div className={style('input-group')}>\n <span className={clsx('input-group-addon', 'input-group-addon--search')}>\n <SearchIcon className={clsx(style('tw-icon'), style('tw-icon-search'))} size={24} />\n </span>\n <Input\n ref={reference}\n id={id}\n role=\"searchbox\"\n inputMode=\"search\"\n className={clsx(style('np-select-filter'))}\n placeholder={placeholder}\n value={value}\n spellCheck=\"false\"\n aria-activedescendant={focusedOptionId}\n onChange={onChange}\n onClick={onClick}\n />\n </div>\n </a>\n </li>\n );\n },\n);\n\nexport default SearchBox;\n"],"names":["SearchBox","forwardRef","id","classNames","focusedOptionId","onChange","onClick","placeholder","undefined","value","reference","style","className","_jsx","children","_jsxs","clsx","SearchIcon","size","Input","ref","role","inputMode","spellCheck"],"mappings":";;;;;;;;;;AAYA,MAAMA,SAAS,gBAAGC,gB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M;AACbc,UAAAA,UAAU,EAAC,OAAO;AAClB,UAAA,uBAAA,EAAuBnB,eAAgB;AACvCC,UAAAA,QAAQ,EAAEA,QAAS;AACnBC,UAAAA,OAAO,EAAEA;AAAQ,SAClB,CAAC;OACC;KACJ;AAAC,GACF,CAAC;AAET,CACF;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchBox.mjs","sources":["../../../src/select/searchBox/SearchBox.tsx"],"sourcesContent":["import { Search as SearchIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef, InputHTMLAttributes } from 'react';\n\nimport { Input } from '../../inputs/Input';\n\ntype Props = {\n id?: string;\n classNames?: Record<string, string>;\n focusedOptionId?: string;\n} & Pick<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onClick' | 'placeholder' | 'value'>;\n\nconst SearchBox = forwardRef<HTMLInputElement, Props>(\n (\n {\n id,\n classNames = {},\n focusedOptionId,\n onChange,\n onClick,\n placeholder = undefined,\n value = '',\n },\n reference,\n ) => {\n const style = (className: string) => classNames[className] || className;\n return (\n <li className={style('border-bottom')}>\n <a className={`${style('np-select-filter-link')} ${style('p-a-0')}`}>\n <div className={style('input-group')}>\n <span className={clsx('input-group-addon', 'input-group-addon--search')}>\n <SearchIcon className={clsx(style('tw-icon'), style('tw-icon-search'))} size={24} />\n </span>\n <Input\n ref={reference}\n id={id}\n role=\"searchbox\"\n inputMode=\"search\"\n className={clsx(style('np-select-filter'))}\n placeholder={placeholder}\n value={value}\n spellCheck=\"false\"\n aria-activedescendant={focusedOptionId}\n onChange={onChange}\n onClick={onClick}\n />\n </div>\n </a>\n </li>\n );\n },\n);\n\nexport default SearchBox;\n"],"names":["SearchBox","forwardRef","id","classNames","focusedOptionId","onChange","onClick","placeholder","undefined","value","reference","style","className","_jsx","children","_jsxs","clsx","SearchIcon","size","Input","ref","role","inputMode","spellCheck"],"mappings":";;;;;;AAYA,MAAMA,SAAS,gBAAGC,UAAU,CAC1B,CACE;EACEC,EAA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,OAAO;AAClB,UAAA,uBAAA,EAAuBnB,eAAgB;AACvCC,UAAAA,QAAQ,EAAEA,QAAS;AACnBC,UAAAA,OAAO,EAAEA;AAAQ,SAAA,CAErB;OAAK;KACJ;AACL,GAAI,CAAC;AAET,CAAC;;;;"}
1
+ {"version":3,"file":"SearchBox.mjs","sources":["../../../src/select/searchBox/SearchBox.tsx"],"sourcesContent":["import { Search as SearchIcon } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { forwardRef, InputHTMLAttributes } from 'react';\n\nimport { Input } from '../../inputs/Input';\n\ntype Props = {\n id?: string;\n classNames?: Record<string, string>;\n focusedOptionId?: string;\n} & Pick<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'onClick' | 'placeholder' | 'value'>;\n\nconst SearchBox = forwardRef<HTMLInputElement, Props>(\n (\n {\n id,\n classNames = {},\n focusedOptionId,\n onChange,\n onClick,\n placeholder = undefined,\n value = '',\n },\n reference,\n ) => {\n const style = (className: string) => classNames[className] || className;\n return (\n <li className={style('border-bottom')}>\n <a className={`${style('np-select-filter-link')} ${style('p-a-0')}`}>\n <div className={style('input-group')}>\n <span className={clsx('input-group-addon', 'input-group-addon--search')}>\n <SearchIcon className={clsx(style('tw-icon'), style('tw-icon-search'))} size={24} />\n </span>\n <Input\n ref={reference}\n id={id}\n role=\"searchbox\"\n inputMode=\"search\"\n className={clsx(style('np-select-filter'))}\n placeholder={placeholder}\n value={value}\n spellCheck=\"false\"\n aria-activedescendant={focusedOptionId}\n onChange={onChange}\n onClick={onClick}\n />\n </div>\n </a>\n </li>\n );\n },\n);\n\nexport default SearchBox;\n"],"names":["SearchBox","forwardRef","id","classNames","focusedOptionId","onChange","onClick","placeholder","undefined","value","reference","style","className","_jsx","children","_jsxs","clsx","SearchIcon","size","Input","ref","role","inputMode","spellCheck"],"mappings":";;;;;;AAYA,MAAMA,SAAS,gBAAGC,UAAU,CAC1B,CACE;EACEC,EAAE;EACFC,UAAU,GAAG,EAAE;EACfC,eAAe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AAgB;AACvCC,UAAAA,QAAQ,EAAEA,QAAS;AACnBC,UAAAA,OAAO,EAAEA;AAAQ,SAClB,CAAC;OACC;KACJ;AAAC,GACF,CAAC;AAET,CACF;;;;"}
@@ -6,6 +6,34 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var jsxRuntime = require('react/jsx-runtime');
8
8
 
9
+ /**
10
+ * SentimentSurface is a polymorphic container component that exposes and, optionally, applies
11
+ * contextual colour tokens as CSS custom properties, based on sentiment types (`negative`,
12
+ * `warning`, `neutral`, `success`, `proposition`).
13
+ *
14
+ * @param {ElementType} [as='div'] - Optional prop to override the HTML element rendered.
15
+ * @param {Sentiment} sentiment - Required prop to set the sentiment type (negative, warning, neutral, success, proposition).
16
+ * @param {Emphasis} [emphasis='base'] - Optional prop to specify the emphasis level (base or elevated).
17
+ * @param {boolean} [hasBaseStyles=true] - If true, sets the `background-color` and `color` on the container. Otherwise, only exposes the tokens as CSS custom properties without rendering.
18
+ * @param {ReactNode} [children] - Content to render inside the surface.
19
+ * @param {string} [className] - Additional CSS classes to apply.
20
+ * @param {CSSProperties} [style] - Inline styles to apply.
21
+ * @param {string} [id] - Unique identifier for the component.
22
+ * @param {string} [data-testid] - A unique string that appears as data attribute `data-testid` in the rendered code.
23
+ *
24
+ * @component
25
+ * @example
26
+ * ```tsx
27
+ * // Basic usage with negative sentiment
28
+ * <SentimentSurface sentiment="negative">
29
+ * Your payment has failed
30
+ * </SentimentSurface>
31
+ * ```
32
+ *
33
+ * @see {@link SentimentSurface} for further information.
34
+ * @see {@link https://storybook.wise.design/?path=/docs/sentiment-surface--docs|Storybook Wise Design}
35
+ */
36
+ // @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/
9
37
  const SentimentSurface = /*#__PURE__*/React.forwardRef(function SentimentSurface({
10
38
  as,
11
39
  sentiment,
@@ -1 +1 @@
1
- {"version":3,"file":"SentimentSurface.js","sources":["../../src/sentimentSurface/SentimentSurface.tsx"],"sourcesContent":["import { forwardRef, ElementType, ForwardedRef } from 'react';\nimport { clsx } from 'clsx';\n\nimport {\n SentimentSurfaceComponentProps,\n SentimentSurfaceComponent,\n} from './SentimentSurface.types';\n\n/**\n * SentimentSurface is a polymorphic container component that exposes and, optionally, applies\n * contextual colour tokens as CSS custom properties, based on sentiment types (`negative`,\n * `warning`, `neutral`, `success`, `proposition`).\n *\n * @param {ElementType} [as='div'] - Optional prop to override the HTML element rendered.\n * @param {Sentiment} sentiment - Required prop to set the sentiment type (negative, warning, neutral, success, proposition).\n * @param {Emphasis} [emphasis='base'] - Optional prop to specify the emphasis level (base or elevated).\n * @param {boolean} [hasBaseStyles=true] - If true, sets the `background-color` and `color` on the container. Otherwise, only exposes the tokens as CSS custom properties without rendering.\n * @param {ReactNode} [children] - Content to render inside the surface.\n * @param {string} [className] - Additional CSS classes to apply.\n * @param {CSSProperties} [style] - Inline styles to apply.\n * @param {string} [id] - Unique identifier for the component.\n * @param {string} [data-testid] - A unique string that appears as data attribute `data-testid` in the rendered code.\n *\n * @component\n * @example\n * ```tsx\n * // Basic usage with negative sentiment\n * <SentimentSurface sentiment=\"negative\">\n * Your payment has failed\n * </SentimentSurface>\n * ```\n *\n * @see {@link SentimentSurface} for further information.\n * @see {@link https://storybook.wise.design/?path=/docs/sentiment-surface--docs|Storybook Wise Design}\n */\n// @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/\nconst SentimentSurface: SentimentSurfaceComponent = forwardRef(function SentimentSurface<\n T extends ElementType = 'div',\n>(\n {\n as,\n sentiment,\n emphasis = 'base',\n hasBaseStyles = true,\n style,\n className,\n children,\n id,\n 'data-testid': dataTestId,\n ...props\n }: SentimentSurfaceComponentProps<T>,\n ref: ForwardedRef<HTMLElement>,\n) {\n const Element = as ?? 'div';\n const BASE_CLASS = 'wds-sentiment-surface';\n const classNames = clsx(\n BASE_CLASS,\n `${BASE_CLASS}-${sentiment}-${emphasis}`,\n hasBaseStyles && `${BASE_CLASS}--hasBaseStyles`,\n className,\n );\n const sentimentProps = {\n ref,\n id,\n 'data-testid': dataTestId,\n className: classNames,\n style,\n ...props,\n };\n\n return (\n // @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/\n <Element {...sentimentProps}>{children}</Element>\n );\n});\n\nSentimentSurface.displayName = 'SentimentSurface';\n\nexport default SentimentSurface;\n"],"names":["SentimentSurface","forwardRef","as","sentiment","emphasis","hasBaseStyles","style","className","children","id","dataTestId","props","ref","Element","BASE_CLASS","classNames","clsx","sentimentProps","_jsx","displayName"],"mappings":";;;;;;;;AAoCA,MAAMA,gBAAgB,gBAA8BC,gBAAU,CAAC,SAASD,gBAAgBA,CAGtF;EACEE,EAAE;EACFC,SAAS;AACTC,EAAAA,QAAQ,GAAG,MAAM;AACjBC,EAAAA,aAAa,GAAG,IAAI;EACpBC,KAAK;EACLC,SAAS;EACTC,QAAQ;EACRC,EAAE;AACF,EAAA,aAAa,EAAEC,UAAU;EACzB,GAAGC;AAAK,CAC0B,EACpCC,GAA8B,EAAA;AAE9B,EAAA,MAAMC,OAAO,GAAGX,EAAE,IAAI,KAAK;EAC3B,MAAMY,UAAU,GAAG,uBAAuB;EAC1C,MAAMC,UAAU,GAAGC,SAAI,CACrBF,UAAU,EACV,CAAA,EAAGA,UAAU,CAAA,CAAA,EAAIX,SAAS,IAAIC,QAAQ,CAAA,CAAE,EACxCC,aAAa,IAAI,GAAGS,UAAU,CAAA,eAAA,CAAiB,EAC/CP,SAAS,CACV;AACD,EAAA,MAAMU,cAAc,GAAG;IACrBL,GAAG;IACHH,EAAE;AACF,IAAA,aAAa,EAAEC,UAAU;AACzBH,IAAAA,SAAS,EAAEQ,UAAU;IACrBT,KAAK;IACL,GAAGK;GACJ;AAED,EAAA;AAAA;AACE;AACAO,IAAAA,cAAA,CAACL,OAAO,EAAA;AAAA,MAAA,GAAKI,cAAc;AAAAT,MAAAA,QAAA,EAAGA;KAAkB;AAAC;AAErD,CAAC;AAEDR,gBAAgB,CAACmB,WAAW,GAAG,kBAAkB;;;;"}
1
+ {"version":3,"file":"SentimentSurface.js","sources":["../../src/sentimentSurface/SentimentSurface.tsx"],"sourcesContent":["import { forwardRef, ElementType, ForwardedRef } from 'react';\nimport { clsx } from 'clsx';\n\nimport {\n SentimentSurfaceComponentProps,\n SentimentSurfaceComponent,\n} from './SentimentSurface.types';\n\n/**\n * SentimentSurface is a polymorphic container component that exposes and, optionally, applies\n * contextual colour tokens as CSS custom properties, based on sentiment types (`negative`,\n * `warning`, `neutral`, `success`, `proposition`).\n *\n * @param {ElementType} [as='div'] - Optional prop to override the HTML element rendered.\n * @param {Sentiment} sentiment - Required prop to set the sentiment type (negative, warning, neutral, success, proposition).\n * @param {Emphasis} [emphasis='base'] - Optional prop to specify the emphasis level (base or elevated).\n * @param {boolean} [hasBaseStyles=true] - If true, sets the `background-color` and `color` on the container. Otherwise, only exposes the tokens as CSS custom properties without rendering.\n * @param {ReactNode} [children] - Content to render inside the surface.\n * @param {string} [className] - Additional CSS classes to apply.\n * @param {CSSProperties} [style] - Inline styles to apply.\n * @param {string} [id] - Unique identifier for the component.\n * @param {string} [data-testid] - A unique string that appears as data attribute `data-testid` in the rendered code.\n *\n * @component\n * @example\n * ```tsx\n * // Basic usage with negative sentiment\n * <SentimentSurface sentiment=\"negative\">\n * Your payment has failed\n * </SentimentSurface>\n * ```\n *\n * @see {@link SentimentSurface} for further information.\n * @see {@link https://storybook.wise.design/?path=/docs/sentiment-surface--docs|Storybook Wise Design}\n */\n// @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/\nconst SentimentSurface: SentimentSurfaceComponent = forwardRef(function SentimentSurface<\n T extends ElementType = 'div',\n>(\n {\n as,\n sentiment,\n emphasis = 'base',\n hasBaseStyles = true,\n style,\n className,\n children,\n id,\n 'data-testid': dataTestId,\n ...props\n }: SentimentSurfaceComponentProps<T>,\n ref: ForwardedRef<HTMLElement>,\n) {\n const Element = as ?? 'div';\n const BASE_CLASS = 'wds-sentiment-surface';\n const classNames = clsx(\n BASE_CLASS,\n `${BASE_CLASS}-${sentiment}-${emphasis}`,\n hasBaseStyles && `${BASE_CLASS}--hasBaseStyles`,\n className,\n );\n const sentimentProps = {\n ref,\n id,\n 'data-testid': dataTestId,\n className: classNames,\n style,\n ...props,\n };\n\n return (\n // @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/\n <Element {...sentimentProps}>{children}</Element>\n );\n});\n\nSentimentSurface.displayName = 'SentimentSurface';\n\nexport default SentimentSurface;\n"],"names":["SentimentSurface","forwardRef","as","sentiment","emphasis","hasBaseStyles","style","className","children","id","dataTestId","props","ref","Element","BASE_CLASS","classNames","clsx","sentimentProps","_jsx","displayName"],"mappings":";;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,gBAA2C,gBAAGC,gBAAU,CAAC,SAASD,gBAAgBA,CAGtF;EACEE,EAAE;EACFC,SAAS;AACTC,EAAAA,QAAQ,GAAG,MAAM;AACjBC,EAAAA,aAAa,GAAG,IAAI;EACpBC,KAAK;EACLC,SAAS;EACTC,QAAQ;EACRC,EAAE;AACF,EAAA,aAAa,EAAEC,UAAU;EACzB,GAAGC;AAC8B,CAAC,EACpCC,GAA8B,EAC9B;AACA,EAAA,MAAMC,OAAO,GAAGX,EAAE,IAAI,KAAK;EAC3B,MAAMY,UAAU,GAAG,uBAAuB;EAC1C,MAAMC,UAAU,GAAGC,SAAI,CACrBF,UAAU,EACV,CAAA,EAAGA,UAAU,CAAA,CAAA,EAAIX,SAAS,IAAIC,QAAQ,CAAA,CAAE,EACxCC,aAAa,IAAI,GAAGS,UAAU,CAAA,eAAA,CAAiB,EAC/CP,SACF,CAAC;AACD,EAAA,MAAMU,cAAc,GAAG;IACrBL,GAAG;IACHH,EAAE;AACF,IAAA,aAAa,EAAEC,UAAU;AACzBH,IAAAA,SAAS,EAAEQ,UAAU;IACrBT,KAAK;IACL,GAAGK;GACJ;AAED,EAAA;AAAA;AACE;AACAO,IAAAA,cAAA,CAACL,OAAO,EAAA;AAAA,MAAA,GAAKI,cAAc;AAAAT,MAAAA,QAAA,EAAGA;KAAkB;AAAC;AAErD,CAAC;AAEDR,gBAAgB,CAACmB,WAAW,GAAG,kBAAkB;;;;"}
@@ -2,6 +2,34 @@ import { forwardRef } from 'react';
2
2
  import { clsx } from 'clsx';
3
3
  import { jsx } from 'react/jsx-runtime';
4
4
 
5
+ /**
6
+ * SentimentSurface is a polymorphic container component that exposes and, optionally, applies
7
+ * contextual colour tokens as CSS custom properties, based on sentiment types (`negative`,
8
+ * `warning`, `neutral`, `success`, `proposition`).
9
+ *
10
+ * @param {ElementType} [as='div'] - Optional prop to override the HTML element rendered.
11
+ * @param {Sentiment} sentiment - Required prop to set the sentiment type (negative, warning, neutral, success, proposition).
12
+ * @param {Emphasis} [emphasis='base'] - Optional prop to specify the emphasis level (base or elevated).
13
+ * @param {boolean} [hasBaseStyles=true] - If true, sets the `background-color` and `color` on the container. Otherwise, only exposes the tokens as CSS custom properties without rendering.
14
+ * @param {ReactNode} [children] - Content to render inside the surface.
15
+ * @param {string} [className] - Additional CSS classes to apply.
16
+ * @param {CSSProperties} [style] - Inline styles to apply.
17
+ * @param {string} [id] - Unique identifier for the component.
18
+ * @param {string} [data-testid] - A unique string that appears as data attribute `data-testid` in the rendered code.
19
+ *
20
+ * @component
21
+ * @example
22
+ * ```tsx
23
+ * // Basic usage with negative sentiment
24
+ * <SentimentSurface sentiment="negative">
25
+ * Your payment has failed
26
+ * </SentimentSurface>
27
+ * ```
28
+ *
29
+ * @see {@link SentimentSurface} for further information.
30
+ * @see {@link https://storybook.wise.design/?path=/docs/sentiment-surface--docs|Storybook Wise Design}
31
+ */
32
+ // @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/
5
33
  const SentimentSurface = /*#__PURE__*/forwardRef(function SentimentSurface({
6
34
  as,
7
35
  sentiment,
@@ -1 +1 @@
1
- {"version":3,"file":"SentimentSurface.mjs","sources":["../../src/sentimentSurface/SentimentSurface.tsx"],"sourcesContent":["import { forwardRef, ElementType, ForwardedRef } from 'react';\nimport { clsx } from 'clsx';\n\nimport {\n SentimentSurfaceComponentProps,\n SentimentSurfaceComponent,\n} from './SentimentSurface.types';\n\n/**\n * SentimentSurface is a polymorphic container component that exposes and, optionally, applies\n * contextual colour tokens as CSS custom properties, based on sentiment types (`negative`,\n * `warning`, `neutral`, `success`, `proposition`).\n *\n * @param {ElementType} [as='div'] - Optional prop to override the HTML element rendered.\n * @param {Sentiment} sentiment - Required prop to set the sentiment type (negative, warning, neutral, success, proposition).\n * @param {Emphasis} [emphasis='base'] - Optional prop to specify the emphasis level (base or elevated).\n * @param {boolean} [hasBaseStyles=true] - If true, sets the `background-color` and `color` on the container. Otherwise, only exposes the tokens as CSS custom properties without rendering.\n * @param {ReactNode} [children] - Content to render inside the surface.\n * @param {string} [className] - Additional CSS classes to apply.\n * @param {CSSProperties} [style] - Inline styles to apply.\n * @param {string} [id] - Unique identifier for the component.\n * @param {string} [data-testid] - A unique string that appears as data attribute `data-testid` in the rendered code.\n *\n * @component\n * @example\n * ```tsx\n * // Basic usage with negative sentiment\n * <SentimentSurface sentiment=\"negative\">\n * Your payment has failed\n * </SentimentSurface>\n * ```\n *\n * @see {@link SentimentSurface} for further information.\n * @see {@link https://storybook.wise.design/?path=/docs/sentiment-surface--docs|Storybook Wise Design}\n */\n// @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/\nconst SentimentSurface: SentimentSurfaceComponent = forwardRef(function SentimentSurface<\n T extends ElementType = 'div',\n>(\n {\n as,\n sentiment,\n emphasis = 'base',\n hasBaseStyles = true,\n style,\n className,\n children,\n id,\n 'data-testid': dataTestId,\n ...props\n }: SentimentSurfaceComponentProps<T>,\n ref: ForwardedRef<HTMLElement>,\n) {\n const Element = as ?? 'div';\n const BASE_CLASS = 'wds-sentiment-surface';\n const classNames = clsx(\n BASE_CLASS,\n `${BASE_CLASS}-${sentiment}-${emphasis}`,\n hasBaseStyles && `${BASE_CLASS}--hasBaseStyles`,\n className,\n );\n const sentimentProps = {\n ref,\n id,\n 'data-testid': dataTestId,\n className: classNames,\n style,\n ...props,\n };\n\n return (\n // @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/\n <Element {...sentimentProps}>{children}</Element>\n );\n});\n\nSentimentSurface.displayName = 'SentimentSurface';\n\nexport default SentimentSurface;\n"],"names":["SentimentSurface","forwardRef","as","sentiment","emphasis","hasBaseStyles","style","className","children","id","dataTestId","props","ref","Element","BASE_CLASS","classNames","clsx","sentimentProps","_jsx","displayName"],"mappings":";;;;AAoCA,MAAMA,gBAAgB,gBAA8BC,UAAU,CAAC,SAASD,gBAAgBA,CAGtF;EACEE,EAAE;EACFC,SAAS;AACTC,EAAAA,QAAQ,GAAG,MAAM;AACjBC,EAAAA,aAAa,GAAG,IAAI;EACpBC,KAAK;EACLC,SAAS;EACTC,QAAQ;EACRC,EAAE;AACF,EAAA,aAAa,EAAEC,UAAU;EACzB,GAAGC;AAAK,CAC0B,EACpCC,GAA8B,EAAA;AAE9B,EAAA,MAAMC,OAAO,GAAGX,EAAE,IAAI,KAAK;EAC3B,MAAMY,UAAU,GAAG,uBAAuB;EAC1C,MAAMC,UAAU,GAAGC,IAAI,CACrBF,UAAU,EACV,CAAA,EAAGA,UAAU,CAAA,CAAA,EAAIX,SAAS,IAAIC,QAAQ,CAAA,CAAE,EACxCC,aAAa,IAAI,GAAGS,UAAU,CAAA,eAAA,CAAiB,EAC/CP,SAAS,CACV;AACD,EAAA,MAAMU,cAAc,GAAG;IACrBL,GAAG;IACHH,EAAE;AACF,IAAA,aAAa,EAAEC,UAAU;AACzBH,IAAAA,SAAS,EAAEQ,UAAU;IACrBT,KAAK;IACL,GAAGK;GACJ;AAED,EAAA;AAAA;AACE;AACAO,IAAAA,GAAA,CAACL,OAAO,EAAA;AAAA,MAAA,GAAKI,cAAc;AAAAT,MAAAA,QAAA,EAAGA;KAAkB;AAAC;AAErD,CAAC;AAEDR,gBAAgB,CAACmB,WAAW,GAAG,kBAAkB;;;;"}
1
+ {"version":3,"file":"SentimentSurface.mjs","sources":["../../src/sentimentSurface/SentimentSurface.tsx"],"sourcesContent":["import { forwardRef, ElementType, ForwardedRef } from 'react';\nimport { clsx } from 'clsx';\n\nimport {\n SentimentSurfaceComponentProps,\n SentimentSurfaceComponent,\n} from './SentimentSurface.types';\n\n/**\n * SentimentSurface is a polymorphic container component that exposes and, optionally, applies\n * contextual colour tokens as CSS custom properties, based on sentiment types (`negative`,\n * `warning`, `neutral`, `success`, `proposition`).\n *\n * @param {ElementType} [as='div'] - Optional prop to override the HTML element rendered.\n * @param {Sentiment} sentiment - Required prop to set the sentiment type (negative, warning, neutral, success, proposition).\n * @param {Emphasis} [emphasis='base'] - Optional prop to specify the emphasis level (base or elevated).\n * @param {boolean} [hasBaseStyles=true] - If true, sets the `background-color` and `color` on the container. Otherwise, only exposes the tokens as CSS custom properties without rendering.\n * @param {ReactNode} [children] - Content to render inside the surface.\n * @param {string} [className] - Additional CSS classes to apply.\n * @param {CSSProperties} [style] - Inline styles to apply.\n * @param {string} [id] - Unique identifier for the component.\n * @param {string} [data-testid] - A unique string that appears as data attribute `data-testid` in the rendered code.\n *\n * @component\n * @example\n * ```tsx\n * // Basic usage with negative sentiment\n * <SentimentSurface sentiment=\"negative\">\n * Your payment has failed\n * </SentimentSurface>\n * ```\n *\n * @see {@link SentimentSurface} for further information.\n * @see {@link https://storybook.wise.design/?path=/docs/sentiment-surface--docs|Storybook Wise Design}\n */\n// @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/\nconst SentimentSurface: SentimentSurfaceComponent = forwardRef(function SentimentSurface<\n T extends ElementType = 'div',\n>(\n {\n as,\n sentiment,\n emphasis = 'base',\n hasBaseStyles = true,\n style,\n className,\n children,\n id,\n 'data-testid': dataTestId,\n ...props\n }: SentimentSurfaceComponentProps<T>,\n ref: ForwardedRef<HTMLElement>,\n) {\n const Element = as ?? 'div';\n const BASE_CLASS = 'wds-sentiment-surface';\n const classNames = clsx(\n BASE_CLASS,\n `${BASE_CLASS}-${sentiment}-${emphasis}`,\n hasBaseStyles && `${BASE_CLASS}--hasBaseStyles`,\n className,\n );\n const sentimentProps = {\n ref,\n id,\n 'data-testid': dataTestId,\n className: classNames,\n style,\n ...props,\n };\n\n return (\n // @ts-expect-error - Generic forwardRef limitation. See: https://fettblog.eu/typescript-react-generic-forward-refs/\n <Element {...sentimentProps}>{children}</Element>\n );\n});\n\nSentimentSurface.displayName = 'SentimentSurface';\n\nexport default SentimentSurface;\n"],"names":["SentimentSurface","forwardRef","as","sentiment","emphasis","hasBaseStyles","style","className","children","id","dataTestId","props","ref","Element","BASE_CLASS","classNames","clsx","sentimentProps","_jsx","displayName"],"mappings":";;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMA,gBAA2C,gBAAGC,UAAU,CAAC,SAASD,gBAAgBA,CAGtF;EACEE,EAAE;EACFC,SAAS;AACTC,EAAAA,QAAQ,GAAG,MAAM;AACjBC,EAAAA,aAAa,GAAG,IAAI;EACpBC,KAAK;EACLC,SAAS;EACTC,QAAQ;EACRC,EAAE;AACF,EAAA,aAAa,EAAEC,UAAU;EACzB,GAAGC;AAC8B,CAAC,EACpCC,GAA8B,EAC9B;AACA,EAAA,MAAMC,OAAO,GAAGX,EAAE,IAAI,KAAK;EAC3B,MAAMY,UAAU,GAAG,uBAAuB;EAC1C,MAAMC,UAAU,GAAGC,IAAI,CACrBF,UAAU,EACV,CAAA,EAAGA,UAAU,CAAA,CAAA,EAAIX,SAAS,IAAIC,QAAQ,CAAA,CAAE,EACxCC,aAAa,IAAI,GAAGS,UAAU,CAAA,eAAA,CAAiB,EAC/CP,SACF,CAAC;AACD,EAAA,MAAMU,cAAc,GAAG;IACrBL,GAAG;IACHH,EAAE;AACF,IAAA,aAAa,EAAEC,UAAU;AACzBH,IAAAA,SAAS,EAAEQ,UAAU;IACrBT,KAAK;IACL,GAAGK;GACJ;AAED,EAAA;AAAA;AACE;AACAO,IAAAA,GAAA,CAACL,OAAO,EAAA;AAAA,MAAA,GAAKI,cAAc;AAAAT,MAAAA,QAAA,EAAGA;KAAkB;AAAC;AAErD,CAAC;AAEDR,gBAAgB,CAACmB,WAAW,GAAG,kBAAkB;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SlidingPanel.js","sources":["../../src/slidingPanel/SlidingPanel.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nimport { Position } from '../common';\n\nexport const EXIT_ANIMATION = 350;\n\nexport interface SlidingPanelProps\n extends Pick<React.ComponentPropsWithRef<'div'>, 'ref' | 'className' | 'children'> {\n position?: `${Position.TOP | Position.RIGHT | Position.BOTTOM | Position.LEFT}`;\n open: boolean;\n showSlidingPanelBorder?: boolean;\n slidingPanelPositionFixed?: boolean;\n testId?: string;\n}\n\nconst SlidingPanel = forwardRef(\n (\n {\n position = 'left',\n open,\n showSlidingPanelBorder,\n slidingPanelPositionFixed,\n className,\n children,\n testId,\n ...rest\n }: Omit<SlidingPanelProps, 'ref'>,\n reference: React.ForwardedRef<HTMLDivElement | null>,\n ) => {\n const localReference = useRef<HTMLDivElement>(null as never);\n useImperativeHandle(reference, () => localReference.current, []);\n\n return (\n <CSSTransition\n {...rest}\n key={`sliding-panel--open-${position}`}\n nodeRef={localReference}\n in={open}\n // Wait for animation to finish before unmount.\n timeout={{ enter: 0, exit: EXIT_ANIMATION }}\n classNames=\"sliding-panel\"\n appear\n unmountOnExit\n >\n <div\n ref={localReference}\n data-testid={testId}\n className={clsx(\n 'sliding-panel',\n `sliding-panel--open-${position}`,\n showSlidingPanelBorder && `sliding-panel--border-${position}`,\n slidingPanelPositionFixed && 'sliding-panel--fixed',\n className,\n )}\n >\n {children}\n </div>\n </CSSTransition>\n );\n },\n);\n\nexport default SlidingPanel;\n"],"names":["EXIT_ANIMATION","SlidingPanel","forwardRef","position","open","showSlidingPanelBorder","slidingPanelPositionFixed","className","children","testId","rest","reference","localReference","useRef","useImperativeHandle","current","_createElement","CSSTransition","key","nodeRef","in","timeout","enter","exit","classNames","appear","unmountOnExit","_jsx","ref","clsx"],"mappings":";;;;;;;;;AAMO,MAAMA,cAAc,GAAG;AAW9B,MAAMC,YAAY,gBAAGC,gBAAU,CAC7B,CACE;AACEC,EAAAA,QAAQ,GAAG,MAAM;EACjBC,IAAI;EACJC,sBAAsB;EACtBC,yBAAyB;EACzBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACN,GAAGC;AAAI,CACwB,EACjCC,SAAoD,KAClD;AACF,EAAA,MAAMC,cAAc,GAAGC,YAAM,CAAiB,IAAa,CAAC;EAC5DC,yBAAmB,CAACH,SAAS,EAAE,MAAMC,cAAc,CAACG,OAAO,EAAE,EAAE,CAAC;EAEhE,oBACEC,mBAAA,CAACC,kCAAa,EAAA;AAAA,IAAA,GACRP,IAAI;IACRQ,GAAG,EAAE,CAAA,oBAAA,EAAuBf,QAAQ,CAAA,CAAG;AACvCgB,IAAAA,OAAO,EAAEP,cAAe;AACxBQ,IAAAA,EAAE,EAAEhB;AACJ;AAAA;AACAiB,IAAAA,OAAO,EAAE;AAAEC,MAAAA,KAAK,EAAE,CAAC;AAAEC,MAAAA,IAAI,EAAEvB;KAAiB;AAC5CwB,IAAAA,UAAU,EAAC,eAAe;IAC1BC,MAAM,EAAA,IAAA;IACNC,aAAa,EAAA;AAAA,GAAA,eAEbC,cAAA,CAAA,KAAA,EAAA;AACEC,IAAAA,GAAG,EAAEhB,cAAe;AACpB,IAAA,aAAA,EAAaH,MAAO;IACpBF,SAAS,EAAEsB,SAAI,CACb,eAAe,EACf,CAAA,oBAAA,EAAuB1B,QAAQ,EAAE,EACjCE,sBAAsB,IAAI,CAAA,sBAAA,EAAyBF,QAAQ,EAAE,EAC7DG,yBAAyB,IAAI,sBAAsB,EACnDC,SAAS,CACT;AAAAC,IAAAA,QAAA,EAEDA;AAAQ,GACN,CACQ,CAAC;AAEpB,CAAC;;;;;"}
1
+ {"version":3,"file":"SlidingPanel.js","sources":["../../src/slidingPanel/SlidingPanel.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nimport { Position } from '../common';\n\nexport const EXIT_ANIMATION = 350;\n\nexport interface SlidingPanelProps\n extends Pick<React.ComponentPropsWithRef<'div'>, 'ref' | 'className' | 'children'> {\n position?: `${Position.TOP | Position.RIGHT | Position.BOTTOM | Position.LEFT}`;\n open: boolean;\n showSlidingPanelBorder?: boolean;\n slidingPanelPositionFixed?: boolean;\n testId?: string;\n}\n\nconst SlidingPanel = forwardRef(\n (\n {\n position = 'left',\n open,\n showSlidingPanelBorder,\n slidingPanelPositionFixed,\n className,\n children,\n testId,\n ...rest\n }: Omit<SlidingPanelProps, 'ref'>,\n reference: React.ForwardedRef<HTMLDivElement | null>,\n ) => {\n const localReference = useRef<HTMLDivElement>(null as never);\n useImperativeHandle(reference, () => localReference.current, []);\n\n return (\n <CSSTransition\n {...rest}\n key={`sliding-panel--open-${position}`}\n nodeRef={localReference}\n in={open}\n // Wait for animation to finish before unmount.\n timeout={{ enter: 0, exit: EXIT_ANIMATION }}\n classNames=\"sliding-panel\"\n appear\n unmountOnExit\n >\n <div\n ref={localReference}\n data-testid={testId}\n className={clsx(\n 'sliding-panel',\n `sliding-panel--open-${position}`,\n showSlidingPanelBorder && `sliding-panel--border-${position}`,\n slidingPanelPositionFixed && 'sliding-panel--fixed',\n className,\n )}\n >\n {children}\n </div>\n </CSSTransition>\n );\n },\n);\n\nexport default SlidingPanel;\n"],"names":["EXIT_ANIMATION","SlidingPanel","forwardRef","position","open","showSlidingPanelBorder","slidingPanelPositionFixed","className","children","testId","rest","reference","localReference","useRef","useImperativeHandle","current","_createElement","CSSTransition","key","nodeRef","in","timeout","enter","exit","classNames","appear","unmountOnExit","_jsx","ref","clsx"],"mappings":";;;;;;;;;AAMO,MAAMA,cAAc,GAAG;AAW9B,MAAMC,YAAY,gBAAGC,gBAAU,CAC7B,CACE;AACEC,EAAAA,QAAQ,GAAG,MAAM;EACjBC,IAAI;EACJC,sBAAsB;EACtBC,yBAAyB;EACzBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACN,GAAGC;AAC2B,CAAC,EACjCC,SAAoD,KACjD;AACH,EAAA,MAAMC,cAAc,GAAGC,YAAM,CAAiB,IAAa,CAAC;EAC5DC,yBAAmB,CAACH,SAAS,EAAE,MAAMC,cAAc,CAACG,OAAO,EAAE,EAAE,CAAC;EAEhE,oBACEC,mBAAA,CAACC,kCAAa,EAAA;AAAA,IAAA,GACRP,IAAI;IACRQ,GAAG,EAAE,CAAA,oBAAA,EAAuBf,QAAQ,CAAA,CAAG;AACvCgB,IAAAA,OAAO,EAAEP,cAAe;AACxBQ,IAAAA,EAAE,EAAEhB;AACJ;AAAA;AACAiB,IAAAA,OAAO,EAAE;AAAEC,MAAAA,KAAK,EAAE,CAAC;AAAEC,MAAAA,IAAI,EAAEvB;KAAiB;AAC5CwB,IAAAA,UAAU,EAAC,eAAe;IAC1BC,MAAM,EAAA,IAAA;IACNC,aAAa,EAAA;AAAA,GAAA,eAEbC,cAAA,CAAA,KAAA,EAAA;AACEC,IAAAA,GAAG,EAAEhB,cAAe;AACpB,IAAA,aAAA,EAAaH,MAAO;IACpBF,SAAS,EAAEsB,SAAI,CACb,eAAe,EACf,CAAA,oBAAA,EAAuB1B,QAAQ,EAAE,EACjCE,sBAAsB,IAAI,CAAA,sBAAA,EAAyBF,QAAQ,EAAE,EAC7DG,yBAAyB,IAAI,sBAAsB,EACnDC,SACF,CAAE;AAAAC,IAAAA,QAAA,EAEDA;AAAQ,GACN,CACQ,CAAC;AAEpB,CACF;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SlidingPanel.mjs","sources":["../../src/slidingPanel/SlidingPanel.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nimport { Position } from '../common';\n\nexport const EXIT_ANIMATION = 350;\n\nexport interface SlidingPanelProps\n extends Pick<React.ComponentPropsWithRef<'div'>, 'ref' | 'className' | 'children'> {\n position?: `${Position.TOP | Position.RIGHT | Position.BOTTOM | Position.LEFT}`;\n open: boolean;\n showSlidingPanelBorder?: boolean;\n slidingPanelPositionFixed?: boolean;\n testId?: string;\n}\n\nconst SlidingPanel = forwardRef(\n (\n {\n position = 'left',\n open,\n showSlidingPanelBorder,\n slidingPanelPositionFixed,\n className,\n children,\n testId,\n ...rest\n }: Omit<SlidingPanelProps, 'ref'>,\n reference: React.ForwardedRef<HTMLDivElement | null>,\n ) => {\n const localReference = useRef<HTMLDivElement>(null as never);\n useImperativeHandle(reference, () => localReference.current, []);\n\n return (\n <CSSTransition\n {...rest}\n key={`sliding-panel--open-${position}`}\n nodeRef={localReference}\n in={open}\n // Wait for animation to finish before unmount.\n timeout={{ enter: 0, exit: EXIT_ANIMATION }}\n classNames=\"sliding-panel\"\n appear\n unmountOnExit\n >\n <div\n ref={localReference}\n data-testid={testId}\n className={clsx(\n 'sliding-panel',\n `sliding-panel--open-${position}`,\n showSlidingPanelBorder && `sliding-panel--border-${position}`,\n slidingPanelPositionFixed && 'sliding-panel--fixed',\n className,\n )}\n >\n {children}\n </div>\n </CSSTransition>\n );\n },\n);\n\nexport default SlidingPanel;\n"],"names":["EXIT_ANIMATION","SlidingPanel","forwardRef","position","open","showSlidingPanelBorder","slidingPanelPositionFixed","className","children","testId","rest","reference","localReference","useRef","useImperativeHandle","current","_createElement","CSSTransition","key","nodeRef","in","timeout","enter","exit","classNames","appear","unmountOnExit","_jsx","ref","clsx"],"mappings":";;;;;AAMO,MAAMA,cAAc,GAAG;AAW9B,MAAMC,YAAY,gBAAGC,UAAU,CAC7B,CACE;AACEC,EAAAA,QAAQ,GAAG,MAAM;EACjBC,IAAI;EACJC,sBAAsB;EACtBC,yBAAyB;EACzBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACN,GAAGC;AAAI,CACwB,EACjCC,SAAoD,KAClD;AACF,EAAA,MAAMC,cAAc,GAAGC,MAAM,CAAiB,IAAa,CAAC;EAC5DC,mBAAmB,CAACH,SAAS,EAAE,MAAMC,cAAc,CAACG,OAAO,EAAE,EAAE,CAAC;EAEhE,oBACEC,aAAA,CAACC,aAAa,EAAA;AAAA,IAAA,GACRP,IAAI;IACRQ,GAAG,EAAE,CAAA,oBAAA,EAAuBf,QAAQ,CAAA,CAAG;AACvCgB,IAAAA,OAAO,EAAEP,cAAe;AACxBQ,IAAAA,EAAE,EAAEhB;AACJ;AAAA;AACAiB,IAAAA,OAAO,EAAE;AAAEC,MAAAA,KAAK,EAAE,CAAC;AAAEC,MAAAA,IAAI,EAAEvB;KAAiB;AAC5CwB,IAAAA,UAAU,EAAC,eAAe;IAC1BC,MAAM,EAAA,IAAA;IACNC,aAAa,EAAA;AAAA,GAAA,eAEbC,GAAA,CAAA,KAAA,EAAA;AACEC,IAAAA,GAAG,EAAEhB,cAAe;AACpB,IAAA,aAAA,EAAaH,MAAO;IACpBF,SAAS,EAAEsB,IAAI,CACb,eAAe,EACf,CAAA,oBAAA,EAAuB1B,QAAQ,EAAE,EACjCE,sBAAsB,IAAI,CAAA,sBAAA,EAAyBF,QAAQ,EAAE,EAC7DG,yBAAyB,IAAI,sBAAsB,EACnDC,SAAS,CACT;AAAAC,IAAAA,QAAA,EAEDA;AAAQ,GACN,CACQ,CAAC;AAEpB,CAAC;;;;"}
1
+ {"version":3,"file":"SlidingPanel.mjs","sources":["../../src/slidingPanel/SlidingPanel.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { forwardRef, useImperativeHandle, useRef } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nimport { Position } from '../common';\n\nexport const EXIT_ANIMATION = 350;\n\nexport interface SlidingPanelProps\n extends Pick<React.ComponentPropsWithRef<'div'>, 'ref' | 'className' | 'children'> {\n position?: `${Position.TOP | Position.RIGHT | Position.BOTTOM | Position.LEFT}`;\n open: boolean;\n showSlidingPanelBorder?: boolean;\n slidingPanelPositionFixed?: boolean;\n testId?: string;\n}\n\nconst SlidingPanel = forwardRef(\n (\n {\n position = 'left',\n open,\n showSlidingPanelBorder,\n slidingPanelPositionFixed,\n className,\n children,\n testId,\n ...rest\n }: Omit<SlidingPanelProps, 'ref'>,\n reference: React.ForwardedRef<HTMLDivElement | null>,\n ) => {\n const localReference = useRef<HTMLDivElement>(null as never);\n useImperativeHandle(reference, () => localReference.current, []);\n\n return (\n <CSSTransition\n {...rest}\n key={`sliding-panel--open-${position}`}\n nodeRef={localReference}\n in={open}\n // Wait for animation to finish before unmount.\n timeout={{ enter: 0, exit: EXIT_ANIMATION }}\n classNames=\"sliding-panel\"\n appear\n unmountOnExit\n >\n <div\n ref={localReference}\n data-testid={testId}\n className={clsx(\n 'sliding-panel',\n `sliding-panel--open-${position}`,\n showSlidingPanelBorder && `sliding-panel--border-${position}`,\n slidingPanelPositionFixed && 'sliding-panel--fixed',\n className,\n )}\n >\n {children}\n </div>\n </CSSTransition>\n );\n },\n);\n\nexport default SlidingPanel;\n"],"names":["EXIT_ANIMATION","SlidingPanel","forwardRef","position","open","showSlidingPanelBorder","slidingPanelPositionFixed","className","children","testId","rest","reference","localReference","useRef","useImperativeHandle","current","_createElement","CSSTransition","key","nodeRef","in","timeout","enter","exit","classNames","appear","unmountOnExit","_jsx","ref","clsx"],"mappings":";;;;;AAMO,MAAMA,cAAc,GAAG;AAW9B,MAAMC,YAAY,gBAAGC,UAAU,CAC7B,CACE;AACEC,EAAAA,QAAQ,GAAG,MAAM;EACjBC,IAAI;EACJC,sBAAsB;EACtBC,yBAAyB;EACzBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACN,GAAGC;AAC2B,CAAC,EACjCC,SAAoD,KACjD;AACH,EAAA,MAAMC,cAAc,GAAGC,MAAM,CAAiB,IAAa,CAAC;EAC5DC,mBAAmB,CAACH,SAAS,EAAE,MAAMC,cAAc,CAACG,OAAO,EAAE,EAAE,CAAC;EAEhE,oBACEC,aAAA,CAACC,aAAa,EAAA;AAAA,IAAA,GACRP,IAAI;IACRQ,GAAG,EAAE,CAAA,oBAAA,EAAuBf,QAAQ,CAAA,CAAG;AACvCgB,IAAAA,OAAO,EAAEP,cAAe;AACxBQ,IAAAA,EAAE,EAAEhB;AACJ;AAAA;AACAiB,IAAAA,OAAO,EAAE;AAAEC,MAAAA,KAAK,EAAE,CAAC;AAAEC,MAAAA,IAAI,EAAEvB;KAAiB;AAC5CwB,IAAAA,UAAU,EAAC,eAAe;IAC1BC,MAAM,EAAA,IAAA;IACNC,aAAa,EAAA;AAAA,GAAA,eAEbC,GAAA,CAAA,KAAA,EAAA;AACEC,IAAAA,GAAG,EAAEhB,cAAe;AACpB,IAAA,aAAA,EAAaH,MAAO;IACpBF,SAAS,EAAEsB,IAAI,CACb,eAAe,EACf,CAAA,oBAAA,EAAuB1B,QAAQ,EAAE,EACjCE,sBAAsB,IAAI,CAAA,sBAAA,EAAyBF,QAAQ,EAAE,EAC7DG,yBAAyB,IAAI,sBAAsB,EACnDC,SACF,CAAE;AAAAC,IAAAA,QAAA,EAEDA;AAAQ,GACN,CACQ,CAAC;AAEpB,CACF;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Snackbar.js","sources":["../../src/snackbar/Snackbar.tsx"],"sourcesContent":["import { Component, createRef } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nimport Button from '../button';\nimport Body from '../body';\nimport { Theme, type ThemeDark, type ThemeLight } from '../common';\nimport { DirectionContext } from '../provider/direction';\nimport withNextPortal from '../withNextPortal/withNextPortal';\n\nconst CSS_TRANSITION_DURATION = 400;\n\nexport interface SnackbarProps {\n action?: {\n label: string;\n onClick?: React.MouseEventHandler<HTMLButtonElement>;\n };\n text: React.ReactNode;\n /** @deprecated */\n theme?: ThemeLight | ThemeDark;\n timeout: number;\n timestamp: number;\n}\n\ninterface SnackbarState extends Pick<SnackbarProps, 'action' | 'text' | 'theme'> {\n visible: boolean;\n}\n\nexport class Snackbar extends Component<SnackbarProps, SnackbarState> {\n bodyRef = createRef<HTMLSpanElement>();\n timeout = 0;\n transitionTimeout = 0;\n\n constructor(props: SnackbarProps) {\n super(props);\n this.state = {\n visible: false,\n text: '',\n };\n }\n\n componentWillUnmount() {\n window.clearTimeout(this.timeout);\n window.clearTimeout(this.transitionTimeout);\n }\n\n shouldComponentUpdate(nextProps: SnackbarProps, nextState: SnackbarState) {\n if (!nextProps.text) {\n return false;\n }\n if (\n nextProps.timestamp === this.props.timestamp &&\n nextState.visible === this.state.visible &&\n nextState.text === this.state.text\n ) {\n return false;\n }\n\n return true;\n }\n\n setLeaveTimeout = () => {\n const { timeout } = this.props;\n\n this.timeout = window.setTimeout(() => {\n this.setState({ visible: false });\n }, timeout);\n };\n\n componentDidUpdate(previousProps: SnackbarProps) {\n const { action, text, timestamp } = this.props;\n\n if (!previousProps.text) {\n this.setState({ visible: true, action, text }, () => {\n this.setLeaveTimeout();\n });\n } else if (previousProps.timestamp !== timestamp) {\n window.clearTimeout(this.timeout);\n\n if (this.state.visible) {\n this.setState({ visible: false }, () => {\n this.transitionTimeout = window.setTimeout(() => {\n this.setState({ visible: true, action, text });\n this.setLeaveTimeout();\n }, CSS_TRANSITION_DURATION);\n });\n } else {\n this.setState({ visible: true, action, text });\n this.setLeaveTimeout();\n }\n }\n }\n\n render() {\n const { action, text, visible } = this.state;\n const { timeout } = this.props;\n\n return (\n <div className=\"snackbar\" aria-live=\"assertive\" role=\"alert\">\n <CSSTransition\n nodeRef={this.bodyRef}\n in={visible}\n classNames=\"snackbar__text-container\"\n timeout={{\n appear: 0,\n enter: timeout,\n exit: CSS_TRANSITION_DURATION,\n }}\n unmountOnExit\n >\n <Body ref={this.bodyRef} as=\"span\" className=\"snackbar__text\">\n {text}\n {action ? (\n <Button className=\"snackbar__text__action\" v2 size=\"sm\" onClick={action.onClick}>\n {action.label}\n </Button>\n ) : null}\n </Body>\n </CSSTransition>\n </div>\n );\n }\n}\n\nSnackbar.contextType = DirectionContext;\n\nexport default withNextPortal(Snackbar);\n"],"names":["CSS_TRANSITION_DURATION","Snackbar","Component","bodyRef","createRef","timeout","transitionTimeout","constructor","props","state","visible","text","componentWillUnmount","window","clearTimeout","shouldComponentUpdate","nextProps","nextState","timestamp","setLeaveTimeout","setTimeout","setState","componentDidUpdate","previousProps","action","render","_jsx","className","role","children","CSSTransition","nodeRef","in","classNames","appear","enter","exit","unmountOnExit","_jsxs","Body","ref","as","Button","v2","size","onClick","label","contextType","DirectionContext","withNextPortal"],"mappings":";;;;;;;;;;;;AASA,MAAMA,uBAAuB,GAAG,GAAG;AAkB7B,MAAOC,QAAS,SAAQC,eAAuC,CAAA;EACnEC,OAAO,gBAAGC,eAAS,EAAmB;AACtCC,EAAAA,OAAO,GAAG,CAAC;AACXC,EAAAA,iBAAiB,GAAG,CAAC;EAErBC,WAAAA,CAAYC,KAAoB,EAAA;IAC9B,KAAK,CAACA,KAAK,CAAC;IACZ,IAAI,CAACC,KAAK,GAAG;AACXC,MAAAA,OAAO,EAAE,KAAK;AACdC,MAAAA,IAAI,EAAE;KACP;AACH,EAAA;AAEAC,EAAAA,oBAAoBA,GAAA;AAClBC,IAAAA,MAAM,CAACC,YAAY,CAAC,IAAI,CAACT,OAAO,CAAC;AACjCQ,IAAAA,MAAM,CAACC,YAAY,CAAC,IAAI,CAACR,iBAAiB,CAAC;AAC7C,EA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OAAQ;AAACsC,UAAAA,EAAE,EAAC,MAAM;AAACd,UAAAA,SAAS,EAAC,gBAAgB;AAAAE,UAAAA,QAAA,GAC1DlB,IAAI,EACJa,MAAM,gBACLE,cAAA,CAACgB,uBAAM,EAAA;AAACf,YAAAA,SAAS,EAAC,wBAAwB;YAACgB,EAAE,EAAA,IAAA;AAACC,YAAAA,IAAI,EAAC,IAAI;YAACC,OAAO,EAAErB,MAAM,CAACqB,OAAQ;YAAAhB,QAAA,EAC7EL,MAAM,CAACsB;WACF,CAAC,GACP,IAAI;SACJ;OACO;AACjB,KAAK,CAAC;AAEV,EAAA;AACD;AAED7C,QAAQ,CAAC8C,WAAW,GAAGC,kCAAgB;AAEvC,qBAAeC,sBAAc,CAAChD,QAAQ,CAAC;;;;;"}
1
+ {"version":3,"file":"Snackbar.js","sources":["../../src/snackbar/Snackbar.tsx"],"sourcesContent":["import { Component, createRef } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nimport Button from '../button';\nimport Body from '../body';\nimport { Theme, type ThemeDark, type ThemeLight } from '../common';\nimport { DirectionContext } from '../provider/direction';\nimport withNextPortal from '../withNextPortal/withNextPortal';\n\nconst CSS_TRANSITION_DURATION = 400;\n\nexport interface SnackbarProps {\n action?: {\n label: string;\n onClick?: React.MouseEventHandler<HTMLButtonElement>;\n };\n text: React.ReactNode;\n /** @deprecated */\n theme?: ThemeLight | ThemeDark;\n timeout: number;\n timestamp: number;\n}\n\ninterface SnackbarState extends Pick<SnackbarProps, 'action' | 'text' | 'theme'> {\n visible: boolean;\n}\n\nexport class Snackbar extends Component<SnackbarProps, SnackbarState> {\n bodyRef = createRef<HTMLSpanElement>();\n timeout = 0;\n transitionTimeout = 0;\n\n constructor(props: SnackbarProps) {\n super(props);\n this.state = {\n visible: false,\n text: '',\n };\n }\n\n componentWillUnmount() {\n window.clearTimeout(this.timeout);\n window.clearTimeout(this.transitionTimeout);\n }\n\n shouldComponentUpdate(nextProps: SnackbarProps, nextState: SnackbarState) {\n if (!nextProps.text) {\n return false;\n }\n if (\n nextProps.timestamp === this.props.timestamp &&\n nextState.visible === this.state.visible &&\n nextState.text === this.state.text\n ) {\n return false;\n }\n\n return true;\n }\n\n setLeaveTimeout = () => {\n const { timeout } = this.props;\n\n this.timeout = window.setTimeout(() => {\n this.setState({ visible: false });\n }, timeout);\n };\n\n componentDidUpdate(previousProps: SnackbarProps) {\n const { action, text, timestamp } = this.props;\n\n if (!previousProps.text) {\n this.setState({ visible: true, action, text }, () => {\n this.setLeaveTimeout();\n });\n } else if (previousProps.timestamp !== timestamp) {\n window.clearTimeout(this.timeout);\n\n if (this.state.visible) {\n this.setState({ visible: false }, () => {\n this.transitionTimeout = window.setTimeout(() => {\n this.setState({ visible: true, action, text });\n this.setLeaveTimeout();\n }, CSS_TRANSITION_DURATION);\n });\n } else {\n this.setState({ visible: true, action, text });\n this.setLeaveTimeout();\n }\n }\n }\n\n render() {\n const { action, text, visible } = this.state;\n const { timeout } = this.props;\n\n return (\n <div className=\"snackbar\" aria-live=\"assertive\" role=\"alert\">\n <CSSTransition\n nodeRef={this.bodyRef}\n in={visible}\n classNames=\"snackbar__text-container\"\n timeout={{\n appear: 0,\n enter: timeout,\n exit: CSS_TRANSITION_DURATION,\n }}\n unmountOnExit\n >\n <Body ref={this.bodyRef} as=\"span\" className=\"snackbar__text\">\n {text}\n {action ? (\n <Button className=\"snackbar__text__action\" v2 size=\"sm\" onClick={action.onClick}>\n {action.label}\n </Button>\n ) : null}\n </Body>\n </CSSTransition>\n </div>\n );\n }\n}\n\nSnackbar.contextType = DirectionContext;\n\nexport default withNextPortal(Snackbar);\n"],"names":["CSS_TRANSITION_DURATION","Snackbar","Component","bodyRef","createRef","timeout","transitionTimeout","constructor","props","state","visible","text","componentWillUnmount","window","clearTimeout","shouldComponentUpdate","nextProps","nextState","timestamp","setLeaveTimeout","setTimeout","setState","componentDidUpdate","previousProps","action","render","_jsx","className","role","children","CSSTransition","nodeRef","in","classNames","appear","enter","exit","unmountOnExit","_jsxs","Body","ref","as","Button","v2","size","onClick","label","contextType","DirectionContext","withNextPortal"],"mappings":";;;;;;;;;;;;AASA,MAAMA,uBAAuB,GAAG,GAAG;AAkB5B,MAAMC,QAAQ,SAASC,eAAS,CAA+B;EACpEC,OAAO,gBAAGC,eAAS,EAAmB;AACtCC,EAAAA,OAAO,GAAG,CAAC;AACXC,EAAAA,iBAAiB,GAAG,CAAC;EAErBC,WAAWA,CAACC,KAAoB,EAAE;IAChC,KAAK,CAACA,KAAK,CAAC;IACZ,IAAI,CAACC,KAAK,GAAG;AACXC,MAAAA,OAAO,EAAE,KAAK;AACdC,MAAAA,IAAI,EAAE;KACP;AACH,EAAA;AAEAC,EAAAA,oBAAoBA,GAAG;AACrBC,IAAAA,MAAM,CAACC,YAAY,CAAC,IAAI,CAACT,OAAO,CAAC;AACjCQ,IAAAA,MAAM,CAACC,YAAY,CAAC,IAAI,CAACR,iBAAiB,CAAC;AAC7C,EAAA;AAEAS,EAAAA,qBAAqBA,CAACC,SAAwB,EAAEC,SAAwB,EAAE;AACxE,IAAA,IAAI,CAACD,SAAS,CAACL,IAAI,EAAE;AACnB,MAAA,OAAO,KAAK;AACd,IAAA;AACA,IAAA,IACEK,SAAS,CAACE,SAAS,KAAK,IAAI,CAACV,KAAK,CAACU,SAAS,IAC5CD,SAAS,CAACP,OAAO,KAAK,IAAI,CAACD,KAAK,CAACC,OAAO,IACxCO,SAAS,CAACN,IAAI,KAAK,IAAI,CAACF,KAAK,CAACE,IAAI,EAClC;AACA,MAAA,OAAO,KAAK;AACd,IAAA;AAEA,IAAA,OAAO,IAAI;AACb,EAAA;EAEAQ,eAAe,GAAGA,MAAM;IACtB,MAAM;AAAEd,MAAAA;KAAS,GAAG,IAAI,CAACG,KAAK;AAE9B,IAAA,IAAI,CAACH,OAAO,GAAGQ,MAAM,CAACO,UAAU,CAAC,MAAM;MACrC,IAAI,CAACC,QAAQ,CAAC;AAAEX,QAAAA,OAAO,EAAE;AAAM,OAAC,CAAC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K;IAC5C,MAAM;AAAEJ,MAAAA;KAAS,GAAG,IAAI,CAACG,KAAK;AAE9B,IAAA,oBACEkB,cAAA,CAAA,KAAA,EAAA;AAAKC,MAAAA,SAAS,EAAC,UAAU;AAAC,MAAA,WAAA,EAAU,WAAW;AAACC,MAAAA,IAAI,EAAC,OAAO;MAAAC,QAAA,eAC1DH,cAAA,CAACI,kCAAa,EAAA;QACZC,OAAO,EAAE,IAAI,CAAC5B,OAAQ;AACtB6B,QAAAA,EAAE,EAAEtB,OAAQ;AACZuB,QAAAA,UAAU,EAAC,0BAA0B;AACrC5B,QAAAA,OAAO,EAAE;AACP6B,UAAAA,MAAM,EAAE,CAAC;AACTC,UAAAA,KAAK,EAAE9B,OAAO;AACd+B,UAAAA,IAAI,EAAEpC;SACN;QACFqC,aAAa,EAAA,IAAA;QAAAR,QAAA,eAEbS,eAAA,CAACC,YAAI,EAAA;UAACC,GAAG,EAAE,IAAI,CAACrC,OAAQ;AAACsC,UAAAA,EAAE,EAAC,MAAM;AAACd,UAAAA,SAAS,EAAC,gBAAgB;AAAAE,UAAAA,QAAA,GAC1DlB,IAAI,EACJa,MAAM,gBACLE,cAAA,CAACgB,uBAAM,EAAA;AAACf,YAAAA,SAAS,EAAC,wBAAwB;YAACgB,EAAE,EAAA,IAAA;AAACC,YAAAA,IAAI,EAAC,IAAI;YAACC,OAAO,EAAErB,MAAM,CAACqB,OAAQ;YAAAhB,QAAA,EAC7EL,MAAM,CAACsB;WACF,CAAC,GACP,IAAI;SACJ;OACO;AAAC,KACb,CAAC;AAEV,EAAA;AACF;AAEA7C,QAAQ,CAAC8C,WAAW,GAAGC,kCAAgB;AAEvC,qBAAeC,sBAAc,CAAChD,QAAQ,CAAC;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Snackbar.mjs","sources":["../../src/snackbar/Snackbar.tsx"],"sourcesContent":["import { Component, createRef } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nimport Button from '../button';\nimport Body from '../body';\nimport { Theme, type ThemeDark, type ThemeLight } from '../common';\nimport { DirectionContext } from '../provider/direction';\nimport withNextPortal from '../withNextPortal/withNextPortal';\n\nconst CSS_TRANSITION_DURATION = 400;\n\nexport interface SnackbarProps {\n action?: {\n label: string;\n onClick?: React.MouseEventHandler<HTMLButtonElement>;\n };\n text: React.ReactNode;\n /** @deprecated */\n theme?: ThemeLight | ThemeDark;\n timeout: number;\n timestamp: number;\n}\n\ninterface SnackbarState extends Pick<SnackbarProps, 'action' | 'text' | 'theme'> {\n visible: boolean;\n}\n\nexport class Snackbar extends Component<SnackbarProps, SnackbarState> {\n bodyRef = createRef<HTMLSpanElement>();\n timeout = 0;\n transitionTimeout = 0;\n\n constructor(props: SnackbarProps) {\n super(props);\n this.state = {\n visible: false,\n text: '',\n };\n }\n\n componentWillUnmount() {\n window.clearTimeout(this.timeout);\n window.clearTimeout(this.transitionTimeout);\n }\n\n shouldComponentUpdate(nextProps: SnackbarProps, nextState: SnackbarState) {\n if (!nextProps.text) {\n return false;\n }\n if (\n nextProps.timestamp === this.props.timestamp &&\n nextState.visible === this.state.visible &&\n nextState.text === this.state.text\n ) {\n return false;\n }\n\n return true;\n }\n\n setLeaveTimeout = () => {\n const { timeout } = this.props;\n\n this.timeout = window.setTimeout(() => {\n this.setState({ visible: false });\n }, timeout);\n };\n\n componentDidUpdate(previousProps: SnackbarProps) {\n const { action, text, timestamp } = this.props;\n\n if (!previousProps.text) {\n this.setState({ visible: true, action, text }, () => {\n this.setLeaveTimeout();\n });\n } else if (previousProps.timestamp !== timestamp) {\n window.clearTimeout(this.timeout);\n\n if (this.state.visible) {\n this.setState({ visible: false }, () => {\n this.transitionTimeout = window.setTimeout(() => {\n this.setState({ visible: true, action, text });\n this.setLeaveTimeout();\n }, CSS_TRANSITION_DURATION);\n });\n } else {\n this.setState({ visible: true, action, text });\n this.setLeaveTimeout();\n }\n }\n }\n\n render() {\n const { action, text, visible } = this.state;\n const { timeout } = this.props;\n\n return (\n <div className=\"snackbar\" aria-live=\"assertive\" role=\"alert\">\n <CSSTransition\n nodeRef={this.bodyRef}\n in={visible}\n classNames=\"snackbar__text-container\"\n timeout={{\n appear: 0,\n enter: timeout,\n exit: CSS_TRANSITION_DURATION,\n }}\n unmountOnExit\n >\n <Body ref={this.bodyRef} as=\"span\" className=\"snackbar__text\">\n {text}\n {action ? (\n <Button className=\"snackbar__text__action\" v2 size=\"sm\" onClick={action.onClick}>\n {action.label}\n </Button>\n ) : null}\n </Body>\n </CSSTransition>\n </div>\n );\n }\n}\n\nSnackbar.contextType = DirectionContext;\n\nexport default withNextPortal(Snackbar);\n"],"names":["CSS_TRANSITION_DURATION","Snackbar","Component","bodyRef","createRef","timeout","transitionTimeout","constructor","props","state","visible","text","componentWillUnmount","window","clearTimeout","shouldComponentUpdate","nextProps","nextState","timestamp","setLeaveTimeout","setTimeout","setState","componentDidUpdate","previousProps","action","render","_jsx","className","role","children","CSSTransition","nodeRef","in","classNames","appear","enter","exit","unmountOnExit","_jsxs","Body","ref","as","Button","v2","size","onClick","label","contextType","DirectionContext","withNextPortal"],"mappings":";;;;;;;;AASA,MAAMA,uBAAuB,GAAG,GAAG;AAkB7B,MAAOC,QAAS,SAAQC,SAAuC,CAAA;EACnEC,OAAO,gBAAGC,SAAS,EAAmB;AACtCC,EAAAA,OAAO,GAAG,CAAC;AACXC,EAAAA,iBAAiB,GAAG,CAAC;EAErBC,WAAAA,CAAYC,KAAoB,EAAA;IAC9B,KAAK,CAACA,KAAK,CAAC;IACZ,IAAI,CAACC,KAAK,GAAG;AACXC,MAAAA,OAAO,EAAE,KAAK;AACdC,MAAAA,IAAI,EAAE;KACP;AACH,EAAA;AAEAC,EAAAA,oBAAoBA,GAAA;AAClBC,IAAAA,MAAM,CAACC,YAAY,CAAC,IAAI,CAACT,OAAO,CAAC;AACjCQ,IAAAA,MAAM,CAACC,YAAY,CAAC,IAAI,CAACR,iBAAiB,CAAC;AAC7C,EAAA;AAEAS,EAAAA,qBAAqBA,CAACC,SAAwB,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ACd,UAAAA,SAAS,EAAC,gBAAgB;AAAAE,UAAAA,QAAA,GAC1DlB,IAAI,EACJa,MAAM,gBACLE,GAAA,CAACgB,MAAM,EAAA;AAACf,YAAAA,SAAS,EAAC,wBAAwB;YAACgB,EAAE,EAAA,IAAA;AAACC,YAAAA,IAAI,EAAC,IAAI;YAACC,OAAO,EAAErB,MAAM,CAACqB,OAAQ;YAAAhB,QAAA,EAC7EL,MAAM,CAACsB;WACF,CAAC,GACP,IAAI;SACJ;OACO;AACjB,KAAK,CAAC;AAEV,EAAA;AACD;AAED7C,QAAQ,CAAC8C,WAAW,GAAGC,gBAAgB;AAEvC,qBAAeC,qBAAc,CAAChD,QAAQ,CAAC;;;;"}
1
+ {"version":3,"file":"Snackbar.mjs","sources":["../../src/snackbar/Snackbar.tsx"],"sourcesContent":["import { Component, createRef } from 'react';\nimport { CSSTransition } from 'react-transition-group';\n\nimport Button from '../button';\nimport Body from '../body';\nimport { Theme, type ThemeDark, type ThemeLight } from '../common';\nimport { DirectionContext } from '../provider/direction';\nimport withNextPortal from '../withNextPortal/withNextPortal';\n\nconst CSS_TRANSITION_DURATION = 400;\n\nexport interface SnackbarProps {\n action?: {\n label: string;\n onClick?: React.MouseEventHandler<HTMLButtonElement>;\n };\n text: React.ReactNode;\n /** @deprecated */\n theme?: ThemeLight | ThemeDark;\n timeout: number;\n timestamp: number;\n}\n\ninterface SnackbarState extends Pick<SnackbarProps, 'action' | 'text' | 'theme'> {\n visible: boolean;\n}\n\nexport class Snackbar extends Component<SnackbarProps, SnackbarState> {\n bodyRef = createRef<HTMLSpanElement>();\n timeout = 0;\n transitionTimeout = 0;\n\n constructor(props: SnackbarProps) {\n super(props);\n this.state = {\n visible: false,\n text: '',\n };\n }\n\n componentWillUnmount() {\n window.clearTimeout(this.timeout);\n window.clearTimeout(this.transitionTimeout);\n }\n\n shouldComponentUpdate(nextProps: SnackbarProps, nextState: SnackbarState) {\n if (!nextProps.text) {\n return false;\n }\n if (\n nextProps.timestamp === this.props.timestamp &&\n nextState.visible === this.state.visible &&\n nextState.text === this.state.text\n ) {\n return false;\n }\n\n return true;\n }\n\n setLeaveTimeout = () => {\n const { timeout } = this.props;\n\n this.timeout = window.setTimeout(() => {\n this.setState({ visible: false });\n }, timeout);\n };\n\n componentDidUpdate(previousProps: SnackbarProps) {\n const { action, text, timestamp } = this.props;\n\n if (!previousProps.text) {\n this.setState({ visible: true, action, text }, () => {\n this.setLeaveTimeout();\n });\n } else if (previousProps.timestamp !== timestamp) {\n window.clearTimeout(this.timeout);\n\n if (this.state.visible) {\n this.setState({ visible: false }, () => {\n this.transitionTimeout = window.setTimeout(() => {\n this.setState({ visible: true, action, text });\n this.setLeaveTimeout();\n }, CSS_TRANSITION_DURATION);\n });\n } else {\n this.setState({ visible: true, action, text });\n this.setLeaveTimeout();\n }\n }\n }\n\n render() {\n const { action, text, visible } = this.state;\n const { timeout } = this.props;\n\n return (\n <div className=\"snackbar\" aria-live=\"assertive\" role=\"alert\">\n <CSSTransition\n nodeRef={this.bodyRef}\n in={visible}\n classNames=\"snackbar__text-container\"\n timeout={{\n appear: 0,\n enter: timeout,\n exit: CSS_TRANSITION_DURATION,\n }}\n unmountOnExit\n >\n <Body ref={this.bodyRef} as=\"span\" className=\"snackbar__text\">\n {text}\n {action ? (\n <Button className=\"snackbar__text__action\" v2 size=\"sm\" onClick={action.onClick}>\n {action.label}\n </Button>\n ) : null}\n </Body>\n </CSSTransition>\n </div>\n );\n }\n}\n\nSnackbar.contextType = DirectionContext;\n\nexport default withNextPortal(Snackbar);\n"],"names":["CSS_TRANSITION_DURATION","Snackbar","Component","bodyRef","createRef","timeout","transitionTimeout","constructor","props","state","visible","text","componentWillUnmount","window","clearTimeout","shouldComponentUpdate","nextProps","nextState","timestamp","setLeaveTimeout","setTimeout","setState","componentDidUpdate","previousProps","action","render","_jsx","className","role","children","CSSTransition","nodeRef","in","classNames","appear","enter","exit","unmountOnExit","_jsxs","Body","ref","as","Button","v2","size","onClick","label","contextType","D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