@transferwise/components 0.0.0-experimental-4b28665 → 0.0.0-experimental-b15bafb

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 (2555) hide show
  1. package/build/accordion/Accordion.js.map +1 -1
  2. package/build/accordion/Accordion.mjs.map +1 -1
  3. package/build/accordion/AccordionItem/AccordionItem.js +1 -1
  4. package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
  5. package/build/accordion/AccordionItem/AccordionItem.mjs +1 -1
  6. package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
  7. package/build/actionButton/ActionButton.js +1 -1
  8. package/build/actionButton/ActionButton.js.map +1 -1
  9. package/build/actionButton/ActionButton.mjs +1 -1
  10. package/build/actionButton/ActionButton.mjs.map +1 -1
  11. package/build/actionOption/ActionOption.js +1 -1
  12. package/build/actionOption/ActionOption.js.map +1 -1
  13. package/build/actionOption/ActionOption.mjs +1 -1
  14. package/build/actionOption/ActionOption.mjs.map +1 -1
  15. package/build/alert/Alert.js +1 -1
  16. package/build/alert/Alert.js.map +1 -1
  17. package/build/alert/Alert.mjs +1 -1
  18. package/build/alert/Alert.mjs.map +1 -1
  19. package/build/alert/inlineMarkdown/InlineMarkdown.js +1 -1
  20. package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
  21. package/build/alert/inlineMarkdown/InlineMarkdown.mjs +1 -1
  22. package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
  23. package/build/avatar/Avatar.js +1 -1
  24. package/build/avatar/Avatar.js.map +1 -1
  25. package/build/avatar/Avatar.mjs +1 -1
  26. package/build/avatar/Avatar.mjs.map +1 -1
  27. package/build/avatar/avatarTypes.js.map +1 -1
  28. package/build/avatar/avatarTypes.mjs.map +1 -1
  29. package/build/avatarLayout/AvatarLayout.js +1 -1
  30. package/build/avatarLayout/AvatarLayout.js.map +1 -1
  31. package/build/avatarLayout/AvatarLayout.mjs +1 -1
  32. package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
  33. package/build/avatarView/AvatarView.js +1 -1
  34. package/build/avatarView/AvatarView.js.map +1 -1
  35. package/build/avatarView/AvatarView.mjs +1 -1
  36. package/build/avatarView/AvatarView.mjs.map +1 -1
  37. package/build/avatarView/Dot.js.map +1 -1
  38. package/build/avatarView/Dot.mjs.map +1 -1
  39. package/build/avatarWrapper/AvatarWrapper.js +1 -1
  40. package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
  41. package/build/avatarWrapper/AvatarWrapper.mjs +1 -1
  42. package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
  43. package/build/badge/Badge.js +1 -1
  44. package/build/badge/Badge.js.map +1 -1
  45. package/build/badge/Badge.mjs +1 -1
  46. package/build/badge/Badge.mjs.map +1 -1
  47. package/build/badge/BadgeAssets.js.map +1 -1
  48. package/build/badge/BadgeAssets.mjs.map +1 -1
  49. package/build/body/Body.js.map +1 -1
  50. package/build/body/Body.mjs.map +1 -1
  51. package/build/button/Button.js +1 -1
  52. package/build/button/Button.js.map +1 -1
  53. package/build/button/Button.mjs +1 -1
  54. package/build/button/Button.mjs.map +1 -1
  55. package/build/button/Button.resolver.js.map +1 -1
  56. package/build/button/Button.resolver.mjs.map +1 -1
  57. package/build/button/LegacyButton.js +1 -1
  58. package/build/button/LegacyButton.js.map +1 -1
  59. package/build/button/LegacyButton.mjs +1 -1
  60. package/build/button/LegacyButton.mjs.map +1 -1
  61. package/build/button/classMap.js +1 -1
  62. package/build/button/classMap.js.map +1 -1
  63. package/build/button/classMap.mjs +1 -1
  64. package/build/button/classMap.mjs.map +1 -1
  65. package/build/button/legacyUtils/legacyUtils.js +1 -1
  66. package/build/button/legacyUtils/legacyUtils.js.map +1 -1
  67. package/build/button/legacyUtils/legacyUtils.mjs +1 -1
  68. package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
  69. package/build/card/Card.js +1 -1
  70. package/build/card/Card.js.map +1 -1
  71. package/build/card/Card.mjs +1 -1
  72. package/build/card/Card.mjs.map +1 -1
  73. package/build/carousel/Carousel.js.map +1 -1
  74. package/build/carousel/Carousel.mjs.map +1 -1
  75. package/build/checkbox/Checkbox.js +1 -1
  76. package/build/checkbox/Checkbox.js.map +1 -1
  77. package/build/checkbox/Checkbox.mjs +1 -1
  78. package/build/checkbox/Checkbox.mjs.map +1 -1
  79. package/build/checkboxButton/CheckboxButton.js.map +1 -1
  80. package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
  81. package/build/checkboxOption/CheckboxOption.js.map +1 -1
  82. package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
  83. package/build/chevron/Chevron.js +1 -1
  84. package/build/chevron/Chevron.js.map +1 -1
  85. package/build/chevron/Chevron.mjs +1 -1
  86. package/build/chevron/Chevron.mjs.map +1 -1
  87. package/build/chips/Chip.js +1 -1
  88. package/build/chips/Chip.js.map +1 -1
  89. package/build/chips/Chip.mjs +1 -1
  90. package/build/chips/Chip.mjs.map +1 -1
  91. package/build/chips/Chips.js.map +1 -1
  92. package/build/chips/Chips.messages.js.map +1 -1
  93. package/build/chips/Chips.messages.mjs.map +1 -1
  94. package/build/chips/Chips.mjs.map +1 -1
  95. package/build/circularButton/CircularButton.js +2 -2
  96. package/build/circularButton/CircularButton.js.map +1 -1
  97. package/build/circularButton/CircularButton.mjs +2 -2
  98. package/build/circularButton/CircularButton.mjs.map +1 -1
  99. package/build/common/DOMOperations/DOMOperations.js.map +1 -1
  100. package/build/common/DOMOperations/DOMOperations.mjs.map +1 -1
  101. package/build/common/Option/Option.js.map +1 -1
  102. package/build/common/Option/Option.mjs.map +1 -1
  103. package/build/common/RadioButton/RadioButton.js.map +1 -1
  104. package/build/common/RadioButton/RadioButton.mjs.map +1 -1
  105. package/build/common/baseCard/BaseCard.js.map +1 -1
  106. package/build/common/baseCard/BaseCard.mjs.map +1 -1
  107. package/build/common/bottomSheet/BottomSheet.js +2 -2
  108. package/build/common/bottomSheet/BottomSheet.js.map +1 -1
  109. package/build/common/bottomSheet/BottomSheet.mjs +2 -2
  110. package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
  111. package/build/common/circle/Circle.js +2 -2
  112. package/build/common/circle/Circle.js.map +1 -1
  113. package/build/common/circle/Circle.mjs +2 -2
  114. package/build/common/circle/Circle.mjs.map +1 -1
  115. package/build/common/closeButton/CloseButton.js.map +1 -1
  116. package/build/common/closeButton/CloseButton.messages.js.map +1 -1
  117. package/build/common/closeButton/CloseButton.messages.mjs.map +1 -1
  118. package/build/common/closeButton/CloseButton.mjs.map +1 -1
  119. package/build/common/colors.js.map +1 -1
  120. package/build/common/colors.mjs.map +1 -1
  121. package/build/common/constants.js.map +1 -1
  122. package/build/common/constants.mjs.map +1 -1
  123. package/build/common/dateUtils/getDateView/getDateView.js.map +1 -1
  124. package/build/common/dateUtils/getDateView/getDateView.mjs.map +1 -1
  125. package/build/common/dateUtils/getDayNames/getDayNames.js.map +1 -1
  126. package/build/common/dateUtils/getDayNames/getDayNames.mjs.map +1 -1
  127. package/build/common/dateUtils/getFormatForLocale/getFormatForLocale.js.map +1 -1
  128. package/build/common/dateUtils/getFormatForLocale/getFormatForLocale.mjs.map +1 -1
  129. package/build/common/dateUtils/getMonthNames/getMonthNames.js.map +1 -1
  130. package/build/common/dateUtils/getMonthNames/getMonthNames.mjs.map +1 -1
  131. package/build/common/dateUtils/isDateValid/isDateValid.js.map +1 -1
  132. package/build/common/dateUtils/isDateValid/isDateValid.mjs.map +1 -1
  133. package/build/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.js.map +1 -1
  134. package/build/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.mjs.map +1 -1
  135. package/build/common/dateUtils/isWithinRange/isWithinRange.js.map +1 -1
  136. package/build/common/dateUtils/isWithinRange/isWithinRange.mjs.map +1 -1
  137. package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.js.map +1 -1
  138. package/build/common/dateUtils/moveToWithinRange/moveToWithinRange.mjs.map +1 -1
  139. package/build/common/deviceDetection/deviceDetection.js.map +1 -1
  140. package/build/common/deviceDetection/deviceDetection.mjs.map +1 -1
  141. package/build/common/direction.js.map +1 -1
  142. package/build/common/direction.mjs.map +1 -1
  143. package/build/common/domHelpers/documentIosClick.js.map +1 -1
  144. package/build/common/domHelpers/documentIosClick.mjs.map +1 -1
  145. package/build/common/fileType.js.map +1 -1
  146. package/build/common/fileType.mjs.map +1 -1
  147. package/build/common/flowHeader/FlowHeader.js.map +1 -1
  148. package/build/common/flowHeader/FlowHeader.mjs.map +1 -1
  149. package/build/common/focusBoundary/FocusBoundary.js.map +1 -1
  150. package/build/common/focusBoundary/FocusBoundary.mjs.map +1 -1
  151. package/build/common/historyNavigator/historyNavigator.js.map +1 -1
  152. package/build/common/historyNavigator/historyNavigator.mjs.map +1 -1
  153. package/build/common/hooks/useConditionalListener/useConditionalListener.js.map +1 -1
  154. package/build/common/hooks/useConditionalListener/useConditionalListener.mjs.map +1 -1
  155. package/build/common/hooks/useContainerSize.js.map +1 -1
  156. package/build/common/hooks/useContainerSize.mjs.map +1 -1
  157. package/build/common/hooks/useDirection/useDirection.js.map +1 -1
  158. package/build/common/hooks/useDirection/useDirection.mjs.map +1 -1
  159. package/build/common/hooks/useEffectEvent.js.map +1 -1
  160. package/build/common/hooks/useEffectEvent.mjs.map +1 -1
  161. package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
  162. package/build/common/hooks/useHasIntersected/useHasIntersected.mjs.map +1 -1
  163. package/build/common/hooks/useLayout/useLayout.js +6 -6
  164. package/build/common/hooks/useLayout/useLayout.js.map +1 -1
  165. package/build/common/hooks/useLayout/useLayout.mjs +1 -1
  166. package/build/common/hooks/useLayout/useLayout.mjs.map +1 -1
  167. package/build/common/hooks/useMedia.js.map +1 -1
  168. package/build/common/hooks/useMedia.mjs.map +1 -1
  169. package/build/common/hooks/useResizeObserver.js.map +1 -1
  170. package/build/common/hooks/useResizeObserver.mjs.map +1 -1
  171. package/build/common/hooks/useScreenSize.js.map +1 -1
  172. package/build/common/hooks/useScreenSize.mjs.map +1 -1
  173. package/build/common/hooks/useVirtualKeyboard.js.map +1 -1
  174. package/build/common/hooks/useVirtualKeyboard.mjs.map +1 -1
  175. package/build/common/initials.js.map +1 -1
  176. package/build/common/initials.mjs.map +1 -1
  177. package/build/common/liveRegion/LiveRegion.js.map +1 -1
  178. package/build/common/liveRegion/LiveRegion.mjs.map +1 -1
  179. package/build/common/locale/index.js.map +1 -1
  180. package/build/common/locale/index.mjs.map +1 -1
  181. package/build/common/panel/Panel.js +1 -1
  182. package/build/common/panel/Panel.js.map +1 -1
  183. package/build/common/panel/Panel.mjs +1 -1
  184. package/build/common/panel/Panel.mjs.map +1 -1
  185. package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.js.map +1 -1
  186. package/build/common/polymorphicWithOverrides/PolymorphicWithOverrides.mjs.map +1 -1
  187. package/build/common/preventScroll/PreventScroll.js.map +1 -1
  188. package/build/common/preventScroll/PreventScroll.mjs.map +1 -1
  189. package/build/common/propsValues/breakpoint.js +12 -0
  190. package/build/common/propsValues/breakpoint.js.map +1 -0
  191. package/build/common/propsValues/breakpoint.mjs +12 -0
  192. package/build/common/propsValues/breakpoint.mjs.map +1 -0
  193. package/build/common/propsValues/control.js.map +1 -1
  194. package/build/common/propsValues/control.mjs.map +1 -1
  195. package/build/common/propsValues/dateMode.js.map +1 -1
  196. package/build/common/propsValues/dateMode.mjs.map +1 -1
  197. package/build/common/propsValues/layouts.js.map +1 -1
  198. package/build/common/propsValues/layouts.mjs.map +1 -1
  199. package/build/common/propsValues/markdownNodeType.js.map +1 -1
  200. package/build/common/propsValues/markdownNodeType.mjs.map +1 -1
  201. package/build/common/propsValues/monthFormat.js.map +1 -1
  202. package/build/common/propsValues/monthFormat.mjs.map +1 -1
  203. package/build/common/propsValues/position.js.map +1 -1
  204. package/build/common/propsValues/position.mjs.map +1 -1
  205. package/build/common/propsValues/profileType.js.map +1 -1
  206. package/build/common/propsValues/profileType.mjs.map +1 -1
  207. package/build/common/propsValues/scroll.js.map +1 -1
  208. package/build/common/propsValues/scroll.mjs.map +1 -1
  209. package/build/common/propsValues/sentiment.js.map +1 -1
  210. package/build/common/propsValues/sentiment.mjs.map +1 -1
  211. package/build/common/propsValues/size.js.map +1 -1
  212. package/build/common/propsValues/size.mjs.map +1 -1
  213. package/build/common/propsValues/status.js.map +1 -1
  214. package/build/common/propsValues/status.mjs.map +1 -1
  215. package/build/common/propsValues/type.js.map +1 -1
  216. package/build/common/propsValues/type.mjs.map +1 -1
  217. package/build/common/propsValues/typography.js.map +1 -1
  218. package/build/common/propsValues/typography.mjs.map +1 -1
  219. package/build/common/propsValues/variant.js.map +1 -1
  220. package/build/common/propsValues/variant.mjs.map +1 -1
  221. package/build/common/propsValues/width.js.map +1 -1
  222. package/build/common/propsValues/width.mjs.map +1 -1
  223. package/build/common/responsivePanel/ResponsivePanel.js +1 -1
  224. package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
  225. package/build/common/responsivePanel/ResponsivePanel.mjs +1 -1
  226. package/build/common/responsivePanel/ResponsivePanel.mjs.map +1 -1
  227. package/build/common/textFormat/formatWithPattern/formatWithPattern.js.map +1 -1
  228. package/build/common/textFormat/formatWithPattern/formatWithPattern.mjs.map +1 -1
  229. package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.js.map +1 -1
  230. package/build/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.mjs.map +1 -1
  231. package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.js.map +1 -1
  232. package/build/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.mjs.map +1 -1
  233. package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.js.map +1 -1
  234. package/build/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.mjs.map +1 -1
  235. package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.js.map +1 -1
  236. package/build/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.mjs.map +1 -1
  237. package/build/common/textFormat/unformatWithPattern/unformatWithPattern.js.map +1 -1
  238. package/build/common/textFormat/unformatWithPattern/unformatWithPattern.mjs.map +1 -1
  239. package/build/common/theme.js.map +1 -1
  240. package/build/common/theme.mjs.map +1 -1
  241. package/build/container/Container.js.map +1 -1
  242. package/build/container/Container.mjs.map +1 -1
  243. package/build/criticalBanner/CriticalCommsBanner.js +1 -1
  244. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  245. package/build/criticalBanner/CriticalCommsBanner.mjs +1 -1
  246. package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
  247. package/build/dateInput/DateInput.js +1 -1
  248. package/build/dateInput/DateInput.js.map +1 -1
  249. package/build/dateInput/DateInput.messages.js.map +1 -1
  250. package/build/dateInput/DateInput.messages.mjs.map +1 -1
  251. package/build/dateInput/DateInput.mjs +1 -1
  252. package/build/dateInput/DateInput.mjs.map +1 -1
  253. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.js.map +1 -1
  254. package/build/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.mjs.map +1 -1
  255. package/build/dateLookup/DateLookup.js +2 -2
  256. package/build/dateLookup/DateLookup.js.map +1 -1
  257. package/build/dateLookup/DateLookup.messages.js.map +1 -1
  258. package/build/dateLookup/DateLookup.messages.mjs.map +1 -1
  259. package/build/dateLookup/DateLookup.mjs +1 -1
  260. package/build/dateLookup/DateLookup.mjs.map +1 -1
  261. package/build/dateLookup/dateHeader/DateHeader.js +1 -1
  262. package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
  263. package/build/dateLookup/dateHeader/DateHeader.mjs +1 -1
  264. package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
  265. package/build/dateLookup/dateTrigger/DateTrigger.js +1 -1
  266. package/build/dateLookup/dateTrigger/DateTrigger.js.map +1 -1
  267. package/build/dateLookup/dateTrigger/DateTrigger.messages.js.map +1 -1
  268. package/build/dateLookup/dateTrigger/DateTrigger.messages.mjs.map +1 -1
  269. package/build/dateLookup/dateTrigger/DateTrigger.mjs +1 -1
  270. package/build/dateLookup/dateTrigger/DateTrigger.mjs.map +1 -1
  271. package/build/dateLookup/dayCalendar/DayCalendar.js.map +1 -1
  272. package/build/dateLookup/dayCalendar/DayCalendar.mjs.map +1 -1
  273. package/build/dateLookup/dayCalendar/table/DayCalendarTable.js.map +1 -1
  274. package/build/dateLookup/dayCalendar/table/DayCalendarTable.mjs.map +1 -1
  275. package/build/dateLookup/getFocusableTime/getFocusableTime.js.map +1 -1
  276. package/build/dateLookup/getFocusableTime/getFocusableTime.mjs.map +1 -1
  277. package/build/dateLookup/getStartOfDay/getStartOfDay.js.map +1 -1
  278. package/build/dateLookup/getStartOfDay/getStartOfDay.mjs.map +1 -1
  279. package/build/dateLookup/monthCalendar/MonthCalendar.js.map +1 -1
  280. package/build/dateLookup/monthCalendar/MonthCalendar.mjs.map +1 -1
  281. package/build/dateLookup/monthCalendar/table/MonthCalendarTable.js.map +1 -1
  282. package/build/dateLookup/monthCalendar/table/MonthCalendarTable.mjs.map +1 -1
  283. package/build/dateLookup/tableLink/TableLink.js.map +1 -1
  284. package/build/dateLookup/tableLink/TableLink.mjs.map +1 -1
  285. package/build/dateLookup/yearCalendar/YearCalendar.js.map +1 -1
  286. package/build/dateLookup/yearCalendar/YearCalendar.mjs.map +1 -1
  287. package/build/dateLookup/yearCalendar/table/YearCalendarTable.js.map +1 -1
  288. package/build/dateLookup/yearCalendar/table/YearCalendarTable.mjs.map +1 -1
  289. package/build/decision/Decision.js +3 -3
  290. package/build/decision/Decision.js.map +1 -1
  291. package/build/decision/Decision.mjs +1 -1
  292. package/build/decision/Decision.mjs.map +1 -1
  293. package/build/definitionList/DefinitionList.js +1 -1
  294. package/build/definitionList/DefinitionList.js.map +1 -1
  295. package/build/definitionList/DefinitionList.mjs +1 -1
  296. package/build/definitionList/DefinitionList.mjs.map +1 -1
  297. package/build/dimmer/Dimmer.js +1 -1
  298. package/build/dimmer/Dimmer.js.map +1 -1
  299. package/build/dimmer/Dimmer.mjs +1 -1
  300. package/build/dimmer/Dimmer.mjs.map +1 -1
  301. package/build/dimmer/dimmerManager/DimmerManager.js.map +1 -1
  302. package/build/dimmer/dimmerManager/DimmerManager.mjs.map +1 -1
  303. package/build/display/Display.js +1 -1
  304. package/build/display/Display.js.map +1 -1
  305. package/build/display/Display.mjs +1 -1
  306. package/build/display/Display.mjs.map +1 -1
  307. package/build/divider/Divider.js.map +1 -1
  308. package/build/divider/Divider.mjs.map +1 -1
  309. package/build/drawer/Drawer.js +1 -1
  310. package/build/drawer/Drawer.js.map +1 -1
  311. package/build/drawer/Drawer.mjs +1 -1
  312. package/build/drawer/Drawer.mjs.map +1 -1
  313. package/build/dropFade/DropFade.js.map +1 -1
  314. package/build/dropFade/DropFade.mjs.map +1 -1
  315. package/build/emphasis/Emphasis.js.map +1 -1
  316. package/build/emphasis/Emphasis.mjs.map +1 -1
  317. package/build/emphasis/EmphasisHtmlTransformer.js.map +1 -1
  318. package/build/emphasis/EmphasisHtmlTransformer.mjs.map +1 -1
  319. package/build/expressiveMoneyInput/ExpressiveMoneyInput.js.map +1 -1
  320. package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.js.map +1 -1
  321. package/build/expressiveMoneyInput/ExpressiveMoneyInput.messages.mjs.map +1 -1
  322. package/build/expressiveMoneyInput/ExpressiveMoneyInput.mjs.map +1 -1
  323. package/build/expressiveMoneyInput/amountInput/AmountInput.js.map +1 -1
  324. package/build/expressiveMoneyInput/amountInput/AmountInput.mjs.map +1 -1
  325. package/build/expressiveMoneyInput/amountInput/utils.js.map +1 -1
  326. package/build/expressiveMoneyInput/amountInput/utils.mjs.map +1 -1
  327. package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.js.map +1 -1
  328. package/build/expressiveMoneyInput/animatedNumber/AnimatedNumber.mjs.map +1 -1
  329. package/build/expressiveMoneyInput/chevron/Chevron.js.map +1 -1
  330. package/build/expressiveMoneyInput/chevron/Chevron.mjs.map +1 -1
  331. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +1 -1
  332. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
  333. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +1 -1
  334. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
  335. package/build/expressiveMoneyInput/hooks/useFocus.js.map +1 -1
  336. package/build/expressiveMoneyInput/hooks/useFocus.mjs.map +1 -1
  337. package/build/expressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
  338. package/build/expressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
  339. package/build/field/Field.js +1 -1
  340. package/build/field/Field.js.map +1 -1
  341. package/build/field/Field.mjs +1 -1
  342. package/build/field/Field.mjs.map +1 -1
  343. package/build/flowNavigation/FlowNavigation.js +3 -3
  344. package/build/flowNavigation/FlowNavigation.js.map +1 -1
  345. package/build/flowNavigation/FlowNavigation.messages.js.map +1 -1
  346. package/build/flowNavigation/FlowNavigation.messages.mjs.map +1 -1
  347. package/build/flowNavigation/FlowNavigation.mjs +1 -1
  348. package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
  349. package/build/flowNavigation/animatedLabel/AnimatedLabel.js.map +1 -1
  350. package/build/flowNavigation/animatedLabel/AnimatedLabel.mjs.map +1 -1
  351. package/build/header/Header.js +1 -1
  352. package/build/header/Header.js.map +1 -1
  353. package/build/header/Header.mjs +1 -1
  354. package/build/header/Header.mjs.map +1 -1
  355. package/build/i18n/commonMessages/Button.messages.js.map +1 -1
  356. package/build/i18n/commonMessages/Button.messages.mjs.map +1 -1
  357. package/build/i18n/index.js.map +1 -1
  358. package/build/i18n/index.mjs.map +1 -1
  359. package/build/iconButton/IconButton.js.map +1 -1
  360. package/build/iconButton/IconButton.mjs.map +1 -1
  361. package/build/image/Image.js +1 -1
  362. package/build/image/Image.js.map +1 -1
  363. package/build/image/Image.mjs +1 -1
  364. package/build/image/Image.mjs.map +1 -1
  365. package/build/index.js +2 -2
  366. package/build/index.mjs +1 -1
  367. package/build/info/Info.js +1 -1
  368. package/build/info/Info.js.map +1 -1
  369. package/build/info/Info.messages.js.map +1 -1
  370. package/build/info/Info.messages.mjs.map +1 -1
  371. package/build/info/Info.mjs +1 -1
  372. package/build/info/Info.mjs.map +1 -1
  373. package/build/info/infoPresentations.js.map +1 -1
  374. package/build/info/infoPresentations.mjs.map +1 -1
  375. package/build/inlineAlert/InlineAlert.js +1 -1
  376. package/build/inlineAlert/InlineAlert.js.map +1 -1
  377. package/build/inlineAlert/InlineAlert.mjs +1 -1
  378. package/build/inlineAlert/InlineAlert.mjs.map +1 -1
  379. package/build/inputWithDisplayFormat/InputWithDisplayFormat.js.map +1 -1
  380. package/build/inputWithDisplayFormat/InputWithDisplayFormat.mjs.map +1 -1
  381. package/build/inputs/Input.js.map +1 -1
  382. package/build/inputs/Input.mjs.map +1 -1
  383. package/build/inputs/InputGroup.js.map +1 -1
  384. package/build/inputs/InputGroup.mjs.map +1 -1
  385. package/build/inputs/SearchInput.js +1 -1
  386. package/build/inputs/SearchInput.js.map +1 -1
  387. package/build/inputs/SearchInput.mjs +1 -1
  388. package/build/inputs/SearchInput.mjs.map +1 -1
  389. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
  390. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
  391. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +1 -1
  392. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +1 -1
  393. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -1
  394. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +1 -1
  395. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +1 -1
  396. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +1 -1
  397. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +1 -1
  398. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +1 -1
  399. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +1 -1
  400. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +1 -1
  401. package/build/inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
  402. package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
  403. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
  404. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
  405. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +1 -1
  406. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +1 -1
  407. package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +1 -1
  408. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +1 -1
  409. package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
  410. package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
  411. package/build/inputs/SelectInput/SelectInput.contexts.js.map +1 -1
  412. package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +1 -1
  413. package/build/inputs/SelectInput/SelectInput.js +2 -2
  414. package/build/inputs/SelectInput/SelectInput.js.map +1 -1
  415. package/build/inputs/SelectInput/SelectInput.messages.js.map +1 -1
  416. package/build/inputs/SelectInput/SelectInput.messages.mjs.map +1 -1
  417. package/build/inputs/SelectInput/SelectInput.mjs +1 -1
  418. package/build/inputs/SelectInput/SelectInput.mjs.map +1 -1
  419. package/build/inputs/SelectInput/SelectInput.utils.js.map +1 -1
  420. package/build/inputs/SelectInput/SelectInput.utils.mjs.map +1 -1
  421. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +1 -1
  422. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +1 -1
  423. package/build/inputs/TextArea.js.map +1 -1
  424. package/build/inputs/TextArea.mjs.map +1 -1
  425. package/build/inputs/_common.js.map +1 -1
  426. package/build/inputs/_common.mjs.map +1 -1
  427. package/build/inputs/contexts.js.map +1 -1
  428. package/build/inputs/contexts.mjs.map +1 -1
  429. package/build/instructionsList/InstructionsList.js +1 -1
  430. package/build/instructionsList/InstructionsList.js.map +1 -1
  431. package/build/instructionsList/InstructionsList.mjs +1 -1
  432. package/build/instructionsList/InstructionsList.mjs.map +1 -1
  433. package/build/label/Label.js.map +1 -1
  434. package/build/label/Label.messages.js.map +1 -1
  435. package/build/label/Label.messages.mjs.map +1 -1
  436. package/build/label/Label.mjs.map +1 -1
  437. package/build/legacylistItem/LegacyListItem.js.map +1 -1
  438. package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
  439. package/build/link/Link.js +1 -1
  440. package/build/link/Link.js.map +1 -1
  441. package/build/link/Link.messages.js.map +1 -1
  442. package/build/link/Link.messages.mjs.map +1 -1
  443. package/build/link/Link.mjs +1 -1
  444. package/build/link/Link.mjs.map +1 -1
  445. package/build/list/List.js.map +1 -1
  446. package/build/list/List.mjs.map +1 -1
  447. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js +1 -1
  448. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.js.map +1 -1
  449. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs +1 -1
  450. package/build/listItem/AdditionalInfo/ListItemAdditionalInfo.mjs.map +1 -1
  451. package/build/listItem/AvatarLayout/ListItemAvatarLayout.js.map +1 -1
  452. package/build/listItem/AvatarLayout/ListItemAvatarLayout.mjs.map +1 -1
  453. package/build/listItem/AvatarView/ListItemAvatarView.js.map +1 -1
  454. package/build/listItem/AvatarView/ListItemAvatarView.mjs.map +1 -1
  455. package/build/listItem/Button/ListItemButton.js.map +1 -1
  456. package/build/listItem/Button/ListItemButton.mjs.map +1 -1
  457. package/build/listItem/Checkbox/ListItemCheckbox.js.map +1 -1
  458. package/build/listItem/Checkbox/ListItemCheckbox.mjs.map +1 -1
  459. package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
  460. package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
  461. package/build/listItem/Image/ListItemImage.js.map +1 -1
  462. package/build/listItem/Image/ListItemImage.mjs.map +1 -1
  463. package/build/listItem/ListItem.js +1 -1
  464. package/build/listItem/ListItem.js.map +1 -1
  465. package/build/listItem/ListItem.mjs +1 -1
  466. package/build/listItem/ListItem.mjs.map +1 -1
  467. package/build/listItem/ListItemContext.js.map +1 -1
  468. package/build/listItem/ListItemContext.mjs.map +1 -1
  469. package/build/listItem/Navigation/ListItemNavigation.js.map +1 -1
  470. package/build/listItem/Navigation/ListItemNavigation.mjs.map +1 -1
  471. package/build/listItem/Prompt/ListItemPrompt.js +1 -1
  472. package/build/listItem/Prompt/ListItemPrompt.js.map +1 -1
  473. package/build/listItem/Prompt/ListItemPrompt.mjs +1 -1
  474. package/build/listItem/Prompt/ListItemPrompt.mjs.map +1 -1
  475. package/build/listItem/Radio/ListItemRadio.js.map +1 -1
  476. package/build/listItem/Radio/ListItemRadio.mjs.map +1 -1
  477. package/build/listItem/Switch/ListItemSwitch.js.map +1 -1
  478. package/build/listItem/Switch/ListItemSwitch.mjs.map +1 -1
  479. package/build/listItem/useListItemControl.js.map +1 -1
  480. package/build/listItem/useListItemControl.mjs.map +1 -1
  481. package/build/listItem/useListItemMedia.js.map +1 -1
  482. package/build/listItem/useListItemMedia.mjs.map +1 -1
  483. package/build/loader/Loader.js +1 -1
  484. package/build/loader/Loader.js.map +1 -1
  485. package/build/loader/Loader.mjs +1 -1
  486. package/build/loader/Loader.mjs.map +1 -1
  487. package/build/logo/Logo.js +3 -3
  488. package/build/logo/Logo.js.map +1 -1
  489. package/build/logo/Logo.mjs +2 -2
  490. package/build/logo/Logo.mjs.map +1 -1
  491. package/build/logo/logo-assets.js.map +1 -1
  492. package/build/logo/logo-assets.mjs.map +1 -1
  493. package/build/main.css +309 -307
  494. package/build/markdown/Markdown.js +1 -1
  495. package/build/markdown/Markdown.js.map +1 -1
  496. package/build/markdown/Markdown.mjs +1 -1
  497. package/build/markdown/Markdown.mjs.map +1 -1
  498. package/build/mocks.js.map +1 -1
  499. package/build/mocks.mjs.map +1 -1
  500. package/build/modal/Modal.js +1 -1
  501. package/build/modal/Modal.js.map +1 -1
  502. package/build/modal/Modal.mjs +1 -1
  503. package/build/modal/Modal.mjs.map +1 -1
  504. package/build/money/Money.js.map +1 -1
  505. package/build/money/Money.mjs.map +1 -1
  506. package/build/moneyInput/MoneyInput.js +1 -1
  507. package/build/moneyInput/MoneyInput.js.map +1 -1
  508. package/build/moneyInput/MoneyInput.messages.js.map +1 -1
  509. package/build/moneyInput/MoneyInput.messages.mjs.map +1 -1
  510. package/build/moneyInput/MoneyInput.mjs +1 -1
  511. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  512. package/build/moneyInput/currencyFormatting.js.map +1 -1
  513. package/build/moneyInput/currencyFormatting.mjs.map +1 -1
  514. package/build/navigationOption/NavigationOption.js +1 -1
  515. package/build/navigationOption/NavigationOption.js.map +1 -1
  516. package/build/navigationOption/NavigationOption.mjs +1 -1
  517. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  518. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  519. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  520. package/build/nudge/Nudge.js +1 -1
  521. package/build/nudge/Nudge.js.map +1 -1
  522. package/build/nudge/Nudge.mjs +1 -1
  523. package/build/nudge/Nudge.mjs.map +1 -1
  524. package/build/overlayHeader/OverlayHeader.js +1 -1
  525. package/build/overlayHeader/OverlayHeader.js.map +1 -1
  526. package/build/overlayHeader/OverlayHeader.mjs +1 -1
  527. package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
  528. package/build/phoneNumberInput/PhoneNumberInput.js +1 -1
  529. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  530. package/build/phoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
  531. package/build/phoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
  532. package/build/phoneNumberInput/PhoneNumberInput.mjs +1 -1
  533. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  534. package/build/phoneNumberInput/data/countries.js.map +1 -1
  535. package/build/phoneNumberInput/data/countries.mjs.map +1 -1
  536. package/build/phoneNumberInput/utils/cleanNumber/cleanNumber.js.map +1 -1
  537. package/build/phoneNumberInput/utils/cleanNumber/cleanNumber.mjs.map +1 -1
  538. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.js.map +1 -1
  539. package/build/phoneNumberInput/utils/excludeCountries/excludeCountries.mjs.map +1 -1
  540. package/build/phoneNumberInput/utils/explodeNumberModel/index.js.map +1 -1
  541. package/build/phoneNumberInput/utils/explodeNumberModel/index.mjs.map +1 -1
  542. package/build/phoneNumberInput/utils/findCountryByCode/index.js.map +1 -1
  543. package/build/phoneNumberInput/utils/findCountryByCode/index.mjs.map +1 -1
  544. package/build/phoneNumberInput/utils/findCountryByPrefix/index.js.map +1 -1
  545. package/build/phoneNumberInput/utils/findCountryByPrefix/index.mjs.map +1 -1
  546. package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.js.map +1 -1
  547. package/build/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.mjs.map +1 -1
  548. package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.js.map +1 -1
  549. package/build/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.mjs.map +1 -1
  550. package/build/phoneNumberInput/utils/longestMatchingPrefix/index.js.map +1 -1
  551. package/build/phoneNumberInput/utils/longestMatchingPrefix/index.mjs.map +1 -1
  552. package/build/phoneNumberInput/utils/setDefaultPrefix/index.js.map +1 -1
  553. package/build/phoneNumberInput/utils/setDefaultPrefix/index.mjs.map +1 -1
  554. package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.js.map +1 -1
  555. package/build/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.mjs.map +1 -1
  556. package/build/popover/Popover.js +1 -1
  557. package/build/popover/Popover.js.map +1 -1
  558. package/build/popover/Popover.mjs +1 -1
  559. package/build/popover/Popover.mjs.map +1 -1
  560. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.js.map +1 -1
  561. package/build/primitives/PrimitiveAnchor/PrimitiveAnchor.mjs.map +1 -1
  562. package/build/primitives/PrimitiveButton/PrimitiveButton.js.map +1 -1
  563. package/build/primitives/PrimitiveButton/PrimitiveButton.mjs.map +1 -1
  564. package/build/processIndicator/ProcessIndicator.js +1 -1
  565. package/build/processIndicator/ProcessIndicator.js.map +1 -1
  566. package/build/processIndicator/ProcessIndicator.mjs +1 -1
  567. package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
  568. package/build/progress/Progress.js.map +1 -1
  569. package/build/progress/Progress.mjs.map +1 -1
  570. package/build/progressBar/ProgressBar.js +1 -1
  571. package/build/progressBar/ProgressBar.js.map +1 -1
  572. package/build/progressBar/ProgressBar.mjs +1 -1
  573. package/build/progressBar/ProgressBar.mjs.map +1 -1
  574. package/build/promoCard/PromoCard.js +1 -1
  575. package/build/promoCard/PromoCard.js.map +1 -1
  576. package/build/promoCard/PromoCard.mjs +1 -1
  577. package/build/promoCard/PromoCard.mjs.map +1 -1
  578. package/build/promoCard/PromoCardContext.js.map +1 -1
  579. package/build/promoCard/PromoCardContext.mjs.map +1 -1
  580. package/build/promoCard/PromoCardGroup.js.map +1 -1
  581. package/build/promoCard/PromoCardGroup.mjs.map +1 -1
  582. package/build/promoCard/PromoCardIndicator.js +1 -1
  583. package/build/promoCard/PromoCardIndicator.js.map +1 -1
  584. package/build/promoCard/PromoCardIndicator.mjs +1 -1
  585. package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
  586. package/build/prompt/ActionPrompt/ActionPrompt.js +2 -2
  587. package/build/prompt/ActionPrompt/ActionPrompt.js.map +1 -1
  588. package/build/prompt/ActionPrompt/ActionPrompt.mjs +1 -1
  589. package/build/prompt/ActionPrompt/ActionPrompt.mjs.map +1 -1
  590. package/build/prompt/CriticalBanner/CriticalBanner.js +2 -2
  591. package/build/prompt/CriticalBanner/CriticalBanner.js.map +1 -1
  592. package/build/prompt/CriticalBanner/CriticalBanner.mjs +1 -1
  593. package/build/prompt/CriticalBanner/CriticalBanner.mjs.map +1 -1
  594. package/build/prompt/CriticalBanner/helpers.js.map +1 -1
  595. package/build/prompt/CriticalBanner/helpers.mjs.map +1 -1
  596. package/build/prompt/InfoPrompt/InfoPrompt.js +1 -1
  597. package/build/prompt/InfoPrompt/InfoPrompt.js.map +1 -1
  598. package/build/prompt/InfoPrompt/InfoPrompt.mjs +1 -1
  599. package/build/prompt/InfoPrompt/InfoPrompt.mjs.map +1 -1
  600. package/build/prompt/InlinePrompt/InlinePrompt.js +1 -1
  601. package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
  602. package/build/prompt/InlinePrompt/InlinePrompt.mjs +1 -1
  603. package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
  604. package/build/prompt/PrimitivePrompt/PrimitivePrompt.js.map +1 -1
  605. package/build/prompt/PrimitivePrompt/PrimitivePrompt.mjs.map +1 -1
  606. package/build/prompt/common/Expander/Expander.js.map +1 -1
  607. package/build/prompt/common/Expander/Expander.messages.js.map +1 -1
  608. package/build/prompt/common/Expander/Expander.messages.mjs.map +1 -1
  609. package/build/prompt/common/Expander/Expander.mjs.map +1 -1
  610. package/build/prompt/helpers/promptMedia.js.map +1 -1
  611. package/build/prompt/helpers/promptMedia.mjs.map +1 -1
  612. package/build/provider/Provider.js +1 -1
  613. package/build/provider/Provider.js.map +1 -1
  614. package/build/provider/Provider.mjs +1 -1
  615. package/build/provider/Provider.mjs.map +1 -1
  616. package/build/provider/direction/DirectionProvider.js.map +1 -1
  617. package/build/provider/direction/DirectionProvider.mjs.map +1 -1
  618. package/build/provider/language/LanguageProvider.js.map +1 -1
  619. package/build/provider/language/LanguageProvider.mjs.map +1 -1
  620. package/build/provider/overlay/OverlayIdProvider.js.map +1 -1
  621. package/build/provider/overlay/OverlayIdProvider.mjs.map +1 -1
  622. package/build/radio/Radio.js +1 -1
  623. package/build/radio/Radio.js.map +1 -1
  624. package/build/radio/Radio.mjs +1 -1
  625. package/build/radio/Radio.mjs.map +1 -1
  626. package/build/radioGroup/RadioGroup.js.map +1 -1
  627. package/build/radioGroup/RadioGroup.mjs.map +1 -1
  628. package/build/radioOption/RadioOption.js.map +1 -1
  629. package/build/radioOption/RadioOption.mjs.map +1 -1
  630. package/build/section/Section.js.map +1 -1
  631. package/build/section/Section.mjs.map +1 -1
  632. package/build/segmentedControl/SegmentedControl.js +1 -1
  633. package/build/segmentedControl/SegmentedControl.js.map +1 -1
  634. package/build/segmentedControl/SegmentedControl.mjs +1 -1
  635. package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
  636. package/build/select/Select.js +1 -1
  637. package/build/select/Select.js.map +1 -1
  638. package/build/select/Select.messages.js.map +1 -1
  639. package/build/select/Select.messages.mjs.map +1 -1
  640. package/build/select/Select.mjs +1 -1
  641. package/build/select/Select.mjs.map +1 -1
  642. package/build/select/option/Option.js +1 -1
  643. package/build/select/option/Option.js.map +1 -1
  644. package/build/select/option/Option.mjs +1 -1
  645. package/build/select/option/Option.mjs.map +1 -1
  646. package/build/select/searchBox/SearchBox.js.map +1 -1
  647. package/build/select/searchBox/SearchBox.mjs.map +1 -1
  648. package/build/sentimentSurface/SentimentSurface.js.map +1 -1
  649. package/build/sentimentSurface/SentimentSurface.mjs.map +1 -1
  650. package/build/slidingPanel/SlidingPanel.js.map +1 -1
  651. package/build/slidingPanel/SlidingPanel.mjs.map +1 -1
  652. package/build/snackbar/Snackbar.js.map +1 -1
  653. package/build/snackbar/Snackbar.mjs.map +1 -1
  654. package/build/snackbar/SnackbarContext.js.map +1 -1
  655. package/build/snackbar/SnackbarContext.mjs.map +1 -1
  656. package/build/snackbar/SnackbarProvider.js.map +1 -1
  657. package/build/snackbar/SnackbarProvider.mjs.map +1 -1
  658. package/build/snackbar/useSnackbar.js.map +1 -1
  659. package/build/snackbar/useSnackbar.mjs.map +1 -1
  660. package/build/statusIcon/StatusIcon.js +2 -2
  661. package/build/statusIcon/StatusIcon.js.map +1 -1
  662. package/build/statusIcon/StatusIcon.messages.js.map +1 -1
  663. package/build/statusIcon/StatusIcon.messages.mjs.map +1 -1
  664. package/build/statusIcon/StatusIcon.mjs +2 -2
  665. package/build/statusIcon/StatusIcon.mjs.map +1 -1
  666. package/build/stepper/Stepper.js +1 -1
  667. package/build/stepper/Stepper.js.map +1 -1
  668. package/build/stepper/Stepper.mjs +1 -1
  669. package/build/stepper/Stepper.mjs.map +1 -1
  670. package/build/stepper/deviceDetection.js.map +1 -1
  671. package/build/stepper/deviceDetection.mjs.map +1 -1
  672. package/build/sticky/Sticky.js +1 -1
  673. package/build/sticky/Sticky.js.map +1 -1
  674. package/build/sticky/Sticky.mjs +1 -1
  675. package/build/sticky/Sticky.mjs.map +1 -1
  676. package/build/styles/accordion/Accordion.css +1 -1
  677. package/build/styles/card/Card.css +2 -2
  678. package/build/styles/carousel/Carousel.css +5 -5
  679. package/build/styles/common/Option/Option.css +4 -2
  680. package/build/styles/common/baseCard/BaseCard.css +1 -1
  681. package/build/styles/container/Container.css +3 -3
  682. package/build/styles/criticalBanner/CriticalCommsBanner.css +1 -1
  683. package/build/styles/css/accordion.css +4 -4
  684. package/build/styles/css/button-groups.css +6 -6
  685. package/build/styles/css/buttons.css +1 -1
  686. package/build/styles/css/circles.css +1 -1
  687. package/build/styles/css/column-layout.css +4 -4
  688. package/build/styles/css/decision.css +4 -4
  689. package/build/styles/css/dropdowns.css +10 -10
  690. package/build/styles/css/droppable.css +8 -8
  691. package/build/styles/css/flex.css +14 -14
  692. package/build/styles/css/footer.css +3 -3
  693. package/build/styles/css/grid.css +19 -19
  694. package/build/styles/css/input-groups.css +12 -12
  695. package/build/styles/css/list-group.css +8 -8
  696. package/build/styles/css/modals.css +6 -6
  697. package/build/styles/css/navbar.css +62 -62
  698. package/build/styles/css/navs.css +2 -2
  699. package/build/styles/css/neptune.css +261 -262
  700. package/build/styles/css/panels.css +9 -9
  701. package/build/styles/css/popovers.css +13 -13
  702. package/build/styles/css/select.css +1 -1
  703. package/build/styles/css/sequences.css +6 -6
  704. package/build/styles/css/table.css +6 -6
  705. package/build/styles/css/utilities.css +4 -4
  706. package/build/styles/css/wells.css +4 -4
  707. package/build/styles/dateInput/DateInput.css +1 -1
  708. package/build/styles/definitionList/DefinitionList.css +2 -2
  709. package/build/styles/drawer/Drawer.css +2 -2
  710. package/build/styles/flowNavigation/FlowNavigation.css +1 -1
  711. package/build/styles/inputs/Input.css +3 -3
  712. package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +2 -2
  713. package/build/styles/inputs/SelectInput/SelectInput.css +2 -2
  714. package/build/styles/inputs/TextArea.css +3 -3
  715. package/build/styles/less/legacy-variables.less +47 -34
  716. package/build/styles/less/neptune-tokens.less +2 -2
  717. package/build/styles/main.css +309 -307
  718. package/build/styles/modal/Modal.css +5 -5
  719. package/build/styles/popover/Popover.css +3 -3
  720. package/build/styles/promoCard/PromoCard.css +1 -1
  721. package/build/styles/prompt/ActionPrompt/ActionPrompt.css +1 -1
  722. package/build/styles/prompt/PrimitivePrompt/PrimitivePrompt.css +1 -1
  723. package/build/styles/props/custom-media.css +11 -23
  724. package/build/styles/props/neptune-tokens.css +1 -1
  725. package/build/styles/snackbar/Snackbar.css +2 -2
  726. package/build/styles/stepper/Stepper.css +2 -2
  727. package/build/styles/styles/less/accordion.css +4 -4
  728. package/build/styles/styles/less/button-groups.css +6 -6
  729. package/build/styles/styles/less/buttons.css +1 -1
  730. package/build/styles/styles/less/circles.css +1 -1
  731. package/build/styles/styles/less/column-layout.css +4 -4
  732. package/build/styles/styles/less/decision.css +4 -4
  733. package/build/styles/styles/less/dropdowns.css +10 -10
  734. package/build/styles/styles/less/droppable.css +8 -8
  735. package/build/styles/styles/less/flex.css +14 -14
  736. package/build/styles/styles/less/footer.css +3 -3
  737. package/build/styles/styles/less/forms/bootstrap-forms.css +9 -9
  738. package/build/styles/styles/less/grid.css +19 -19
  739. package/build/styles/styles/less/input-groups.css +12 -12
  740. package/build/styles/styles/less/list-group.css +8 -8
  741. package/build/styles/styles/less/modals.css +6 -6
  742. package/build/styles/styles/less/navbar.css +62 -62
  743. package/build/styles/styles/less/navs.css +2 -2
  744. package/build/styles/styles/less/neptune.css +261 -262
  745. package/build/styles/styles/less/panels.css +9 -9
  746. package/build/styles/styles/less/popovers.css +13 -13
  747. package/build/styles/styles/less/select.css +1 -1
  748. package/build/styles/styles/less/sequences.css +6 -6
  749. package/build/styles/styles/less/table.css +6 -6
  750. package/build/styles/styles/less/utilities.css +4 -4
  751. package/build/styles/styles/less/wells.css +4 -4
  752. package/build/styles/styles/props/custom-media.css +11 -1
  753. package/build/styles/table/Table.css +1 -1
  754. package/build/styles/tabs/Tabs.css +2 -2
  755. package/build/styles/typeahead/Typeahead.css +1 -1
  756. package/build/summary/Summary.js +1 -1
  757. package/build/summary/Summary.js.map +1 -1
  758. package/build/summary/Summary.messages.js.map +1 -1
  759. package/build/summary/Summary.messages.mjs.map +1 -1
  760. package/build/summary/Summary.mjs +1 -1
  761. package/build/summary/Summary.mjs.map +1 -1
  762. package/build/switch/Switch.js.map +1 -1
  763. package/build/switch/Switch.mjs.map +1 -1
  764. package/build/switchOption/SwitchOption.js.map +1 -1
  765. package/build/switchOption/SwitchOption.mjs.map +1 -1
  766. package/build/table/Table.js +1 -1
  767. package/build/table/Table.js.map +1 -1
  768. package/build/table/Table.messages.js.map +1 -1
  769. package/build/table/Table.messages.mjs.map +1 -1
  770. package/build/table/Table.mjs +1 -1
  771. package/build/table/Table.mjs.map +1 -1
  772. package/build/table/TableCell.js.map +1 -1
  773. package/build/table/TableCell.mjs.map +1 -1
  774. package/build/table/TableHeader.js.map +1 -1
  775. package/build/table/TableHeader.mjs.map +1 -1
  776. package/build/table/TableRow.js +1 -1
  777. package/build/table/TableRow.js.map +1 -1
  778. package/build/table/TableRow.mjs +1 -1
  779. package/build/table/TableRow.mjs.map +1 -1
  780. package/build/table/TableStatusText.js +1 -1
  781. package/build/table/TableStatusText.js.map +1 -1
  782. package/build/table/TableStatusText.mjs +1 -1
  783. package/build/table/TableStatusText.mjs.map +1 -1
  784. package/build/tabs/Tab.js.map +1 -1
  785. package/build/tabs/Tab.mjs.map +1 -1
  786. package/build/tabs/TabList.js.map +1 -1
  787. package/build/tabs/TabList.mjs.map +1 -1
  788. package/build/tabs/TabPanel.js.map +1 -1
  789. package/build/tabs/TabPanel.mjs.map +1 -1
  790. package/build/tabs/Tabs.js +1 -1
  791. package/build/tabs/Tabs.js.map +1 -1
  792. package/build/tabs/Tabs.mjs +1 -1
  793. package/build/tabs/Tabs.mjs.map +1 -1
  794. package/build/tabs/utils.js.map +1 -1
  795. package/build/tabs/utils.mjs.map +1 -1
  796. package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.js.map +1 -1
  797. package/build/textareaWithDisplayFormat/TextareaWithDisplayFormat.mjs.map +1 -1
  798. package/build/tile/Tile.js +1 -1
  799. package/build/tile/Tile.js.map +1 -1
  800. package/build/tile/Tile.mjs +1 -1
  801. package/build/tile/Tile.mjs.map +1 -1
  802. package/build/title/Title.js +1 -1
  803. package/build/title/Title.js.map +1 -1
  804. package/build/title/Title.mjs +1 -1
  805. package/build/title/Title.mjs.map +1 -1
  806. package/build/tooltip/Tooltip.js +1 -1
  807. package/build/tooltip/Tooltip.js.map +1 -1
  808. package/build/tooltip/Tooltip.mjs +1 -1
  809. package/build/tooltip/Tooltip.mjs.map +1 -1
  810. package/build/typeahead/Typeahead.js +1 -1
  811. package/build/typeahead/Typeahead.js.map +1 -1
  812. package/build/typeahead/Typeahead.messages.js.map +1 -1
  813. package/build/typeahead/Typeahead.messages.mjs.map +1 -1
  814. package/build/typeahead/Typeahead.mjs +1 -1
  815. package/build/typeahead/Typeahead.mjs.map +1 -1
  816. package/build/typeahead/typeaheadInput/TypeaheadInput.js.map +1 -1
  817. package/build/typeahead/typeaheadInput/TypeaheadInput.mjs.map +1 -1
  818. package/build/typeahead/typeaheadOption/TypeaheadOption.js.map +1 -1
  819. package/build/typeahead/typeaheadOption/TypeaheadOption.mjs.map +1 -1
  820. package/build/typeahead/util/highlight.js.map +1 -1
  821. package/build/typeahead/util/highlight.mjs.map +1 -1
  822. package/build/types/src/accordion/Accordion.d.ts.map +1 -0
  823. package/build/types/src/accordion/AccordionItem/AccordionItem.d.ts.map +1 -0
  824. package/build/types/src/accordion/AccordionItem/index.d.ts.map +1 -0
  825. package/build/types/src/accordion/index.d.ts.map +1 -0
  826. package/build/types/src/actionButton/ActionButton.d.ts.map +1 -0
  827. package/build/types/src/actionButton/index.d.ts.map +1 -0
  828. package/build/types/src/actionOption/ActionOption.d.ts.map +1 -0
  829. package/build/types/src/actionOption/index.d.ts.map +1 -0
  830. package/build/types/src/alert/Alert.d.ts.map +1 -0
  831. package/build/types/src/alert/index.d.ts.map +1 -0
  832. package/build/types/src/alert/inlineMarkdown/InlineMarkdown.d.ts.map +1 -0
  833. package/build/types/src/alert/inlineMarkdown/index.d.ts.map +1 -0
  834. package/build/types/src/avatar/Avatar.d.ts.map +1 -0
  835. package/build/types/src/avatar/avatarTypes.d.ts.map +1 -0
  836. package/build/types/src/avatar/index.d.ts.map +1 -0
  837. package/build/types/src/avatarLayout/AvatarLayout.d.ts.map +1 -0
  838. package/build/types/src/avatarLayout/index.d.ts.map +1 -0
  839. package/build/types/src/avatarView/AvatarView.d.ts.map +1 -0
  840. package/build/types/src/avatarView/Dot.d.ts.map +1 -0
  841. package/build/types/src/avatarView/index.d.ts.map +1 -0
  842. package/build/types/src/avatarWrapper/AvatarWrapper.d.ts.map +1 -0
  843. package/build/types/src/avatarWrapper/index.d.ts.map +1 -0
  844. package/build/types/src/badge/Badge.d.ts.map +1 -0
  845. package/build/types/src/badge/BadgeAssets.d.ts.map +1 -0
  846. package/build/types/src/badge/index.d.ts.map +1 -0
  847. package/build/types/src/body/Body.d.ts.map +1 -0
  848. package/build/types/src/body/index.d.ts.map +1 -0
  849. package/build/types/src/button/Button.d.ts.map +1 -0
  850. package/build/types/src/button/Button.resolver.d.ts.map +1 -0
  851. package/build/types/src/button/Button.types.d.ts.map +1 -0
  852. package/build/types/src/button/LegacyButton.d.ts.map +1 -0
  853. package/build/types/src/button/_stories/helpers.d.ts.map +1 -0
  854. package/build/types/src/button/classMap.d.ts.map +1 -0
  855. package/build/types/src/button/index.d.ts.map +1 -0
  856. package/build/types/src/button/legacyUtils/index.d.ts.map +1 -0
  857. package/build/types/src/button/legacyUtils/legacyUtils.d.ts.map +1 -0
  858. package/build/types/src/card/Card.d.ts.map +1 -0
  859. package/build/types/src/card/index.d.ts.map +1 -0
  860. package/build/types/src/carousel/Carousel.d.ts.map +1 -0
  861. package/build/types/src/carousel/index.d.ts.map +1 -0
  862. package/build/types/src/checkbox/Checkbox.d.ts.map +1 -0
  863. package/build/types/src/checkbox/index.d.ts.map +1 -0
  864. package/build/types/src/checkboxButton/CheckboxButton.d.ts.map +1 -0
  865. package/build/types/src/checkboxButton/index.d.ts.map +1 -0
  866. package/build/types/src/checkboxOption/CheckboxOption.d.ts.map +1 -0
  867. package/build/types/src/checkboxOption/index.d.ts.map +1 -0
  868. package/build/types/src/chevron/Chevron.d.ts.map +1 -0
  869. package/build/types/src/chevron/index.d.ts.map +1 -0
  870. package/build/types/src/chips/Chip.d.ts.map +1 -0
  871. package/build/types/src/chips/Chips.d.ts.map +1 -0
  872. package/build/types/src/chips/Chips.messages.d.ts.map +1 -0
  873. package/build/types/src/chips/index.d.ts.map +1 -0
  874. package/build/types/src/circularButton/CircularButton.d.ts.map +1 -0
  875. package/build/types/src/circularButton/index.d.ts.map +1 -0
  876. package/build/types/src/common/DOMOperations/DOMOperations.d.ts.map +1 -0
  877. package/build/types/src/common/DOMOperations/index.d.ts.map +1 -0
  878. package/build/types/src/common/Option/Option.d.ts.map +1 -0
  879. package/build/types/src/common/Option/index.d.ts.map +1 -0
  880. package/build/types/src/common/RadioButton/RadioButton.d.ts.map +1 -0
  881. package/build/types/src/common/RadioButton/index.d.ts.map +1 -0
  882. package/build/types/src/common/baseCard/BaseCard.d.ts.map +1 -0
  883. package/build/types/src/common/baseCard/index.d.ts.map +1 -0
  884. package/build/types/src/common/bottomSheet/BottomSheet.d.ts.map +1 -0
  885. package/build/types/src/common/bottomSheet/index.d.ts.map +1 -0
  886. package/build/types/src/common/circle/Circle.d.ts.map +1 -0
  887. package/build/types/src/common/circle/index.d.ts.map +1 -0
  888. package/build/types/src/common/closeButton/CloseButton.d.ts.map +1 -0
  889. package/build/types/src/common/closeButton/CloseButton.messages.d.ts.map +1 -0
  890. package/build/types/src/common/closeButton/index.d.ts.map +1 -0
  891. package/build/types/src/common/colors.d.ts.map +1 -0
  892. package/build/types/src/common/commonProps.d.ts.map +1 -0
  893. package/build/types/src/common/constants.d.ts.map +1 -0
  894. package/build/types/src/common/dateUtils/getDateView/getDateView.d.ts.map +1 -0
  895. package/build/types/src/common/dateUtils/getDayNames/getDayNames.d.ts.map +1 -0
  896. package/build/types/src/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +1 -0
  897. package/build/types/src/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +1 -0
  898. package/build/types/src/common/dateUtils/index.d.ts.map +1 -0
  899. package/build/types/src/common/dateUtils/isDateValid/isDateValid.d.ts.map +1 -0
  900. package/build/types/src/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +1 -0
  901. package/build/types/src/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +1 -0
  902. package/build/types/src/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +1 -0
  903. package/build/types/src/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +1 -0
  904. package/build/types/src/common/deviceDetection/deviceDetection.d.ts.map +1 -0
  905. package/build/types/src/common/deviceDetection/index.d.ts.map +1 -0
  906. package/build/types/src/common/direction.d.ts.map +1 -0
  907. package/build/types/src/common/domHelpers/documentIosClick.d.ts.map +1 -0
  908. package/build/types/src/common/domHelpers/index.d.ts.map +1 -0
  909. package/build/types/src/common/fakeEvents.d.ts.map +1 -0
  910. package/build/types/src/common/fileType.d.ts.map +1 -0
  911. package/build/types/src/common/flowHeader/FlowHeader.d.ts.map +1 -0
  912. package/build/types/src/common/flowHeader/index.d.ts.map +1 -0
  913. package/build/types/src/common/focusBoundary/FocusBoundary.d.ts.map +1 -0
  914. package/build/types/src/common/focusBoundary/index.d.ts.map +1 -0
  915. package/build/types/src/common/historyNavigator/historyNavigator.d.ts.map +1 -0
  916. package/build/types/src/common/historyNavigator/index.d.ts.map +1 -0
  917. package/build/types/src/common/hooks/index.d.ts.map +1 -0
  918. package/build/types/src/common/hooks/useConditionalListener/index.d.ts.map +1 -0
  919. package/build/types/src/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +1 -0
  920. package/build/types/src/common/hooks/useContainerSize.d.ts.map +1 -0
  921. package/build/types/src/common/hooks/useDirection/index.d.ts.map +1 -0
  922. package/build/types/src/common/hooks/useDirection/useDirection.d.ts.map +1 -0
  923. package/build/types/src/common/hooks/useEffectEvent.d.ts.map +1 -0
  924. package/build/types/src/common/hooks/useHasIntersected/index.d.ts.map +1 -0
  925. package/build/types/src/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -0
  926. package/build/types/src/common/hooks/useLayout/index.d.ts.map +1 -0
  927. package/build/types/src/common/hooks/useLayout/useLayout.d.ts.map +1 -0
  928. package/build/types/src/common/hooks/useMedia.d.ts.map +1 -0
  929. package/build/types/src/common/hooks/useResizeObserver.d.ts.map +1 -0
  930. package/build/types/src/common/hooks/useScreenSize.d.ts +3 -0
  931. package/build/types/src/common/hooks/useScreenSize.d.ts.map +1 -0
  932. package/build/types/src/common/hooks/useVirtualKeyboard.d.ts.map +1 -0
  933. package/build/types/src/common/index.d.ts +31 -0
  934. package/build/types/src/common/index.d.ts.map +1 -0
  935. package/build/types/src/common/initials.d.ts.map +1 -0
  936. package/build/types/src/common/liveRegion/LiveRegion.d.ts.map +1 -0
  937. package/build/types/src/common/liveRegion/index.d.ts.map +1 -0
  938. package/build/types/src/common/locale/index.d.ts.map +1 -0
  939. package/build/types/src/common/panel/Panel.d.ts.map +1 -0
  940. package/build/types/src/common/panel/index.d.ts.map +1 -0
  941. package/build/types/src/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +1 -0
  942. package/build/types/src/common/preventScroll/PreventScroll.d.ts.map +1 -0
  943. package/build/types/src/common/propsValues/breakpoint.d.ts +9 -0
  944. package/build/types/src/common/propsValues/breakpoint.d.ts.map +1 -0
  945. package/build/types/src/common/propsValues/control.d.ts.map +1 -0
  946. package/build/types/src/common/propsValues/dateMode.d.ts.map +1 -0
  947. package/build/types/src/common/propsValues/layouts.d.ts.map +1 -0
  948. package/build/types/src/common/propsValues/markdownNodeType.d.ts.map +1 -0
  949. package/build/types/src/common/propsValues/monthFormat.d.ts.map +1 -0
  950. package/build/types/src/common/propsValues/position.d.ts.map +1 -0
  951. package/build/types/src/common/propsValues/profileType.d.ts.map +1 -0
  952. package/build/types/src/common/propsValues/scroll.d.ts.map +1 -0
  953. package/build/types/src/common/propsValues/sentiment.d.ts.map +1 -0
  954. package/build/types/src/common/propsValues/size.d.ts.map +1 -0
  955. package/build/types/src/common/propsValues/status.d.ts.map +1 -0
  956. package/build/types/src/common/propsValues/type.d.ts.map +1 -0
  957. package/build/types/src/common/propsValues/typography.d.ts.map +1 -0
  958. package/build/types/src/common/propsValues/variant.d.ts.map +1 -0
  959. package/build/types/src/common/propsValues/width.d.ts.map +1 -0
  960. package/build/types/src/common/responsivePanel/ResponsivePanel.d.ts.map +1 -0
  961. package/build/types/src/common/responsivePanel/index.d.ts.map +1 -0
  962. package/build/types/src/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +1 -0
  963. package/build/types/src/common/textFormat/formatWithPattern/index.d.ts.map +1 -0
  964. package/build/types/src/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +1 -0
  965. package/build/types/src/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +1 -0
  966. package/build/types/src/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +1 -0
  967. package/build/types/src/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +1 -0
  968. package/build/types/src/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +1 -0
  969. package/build/types/src/common/textFormat/getDistanceToSymbol/index.d.ts.map +1 -0
  970. package/build/types/src/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +1 -0
  971. package/build/types/src/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +1 -0
  972. package/build/types/src/common/textFormat/index.d.ts.map +1 -0
  973. package/build/types/src/common/textFormat/unformatWithPattern/index.d.ts.map +1 -0
  974. package/build/types/src/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +1 -0
  975. package/build/types/src/common/theme.d.ts.map +1 -0
  976. package/build/types/src/container/Container.d.ts.map +1 -0
  977. package/build/types/src/container/index.d.ts.map +1 -0
  978. package/build/types/src/criticalBanner/CriticalCommsBanner.d.ts.map +1 -0
  979. package/build/types/src/criticalBanner/index.d.ts.map +1 -0
  980. package/build/types/src/dateInput/DateInput.d.ts.map +1 -0
  981. package/build/types/src/dateInput/DateInput.messages.d.ts.map +1 -0
  982. package/build/types/src/dateInput/index.d.ts.map +1 -0
  983. package/build/types/src/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +1 -0
  984. package/build/types/src/dateInput/utils/convertToLocalMidnight/index.d.ts.map +1 -0
  985. package/build/types/src/dateInput/utils/index.d.ts.map +1 -0
  986. package/build/types/src/dateLookup/DateLookup.d.ts.map +1 -0
  987. package/build/types/src/dateLookup/DateLookup.messages.d.ts.map +1 -0
  988. package/build/types/src/dateLookup/dateHeader/DateHeader.d.ts.map +1 -0
  989. package/build/types/src/dateLookup/dateHeader/index.d.ts.map +1 -0
  990. package/build/types/src/dateLookup/dateTrigger/DateTrigger.d.ts.map +1 -0
  991. package/build/types/src/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -0
  992. package/build/types/src/dateLookup/dateTrigger/index.d.ts.map +1 -0
  993. package/build/types/src/dateLookup/dayCalendar/DayCalendar.d.ts.map +1 -0
  994. package/build/types/src/dateLookup/dayCalendar/index.d.ts.map +1 -0
  995. package/build/types/src/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +1 -0
  996. package/build/types/src/dateLookup/dayCalendar/table/index.d.ts.map +1 -0
  997. package/build/types/src/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +1 -0
  998. package/build/types/src/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +1 -0
  999. package/build/types/src/dateLookup/getStartOfDay/index.d.ts.map +1 -0
  1000. package/build/types/src/dateLookup/index.d.ts.map +1 -0
  1001. package/build/types/src/dateLookup/monthCalendar/MonthCalendar.d.ts.map +1 -0
  1002. package/build/types/src/dateLookup/monthCalendar/index.d.ts.map +1 -0
  1003. package/build/types/src/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +1 -0
  1004. package/build/types/src/dateLookup/monthCalendar/table/index.d.ts.map +1 -0
  1005. package/build/types/src/dateLookup/tableLink/TableLink.d.ts.map +1 -0
  1006. package/build/types/src/dateLookup/tableLink/index.d.ts.map +1 -0
  1007. package/build/types/src/dateLookup/yearCalendar/YearCalendar.d.ts.map +1 -0
  1008. package/build/types/src/dateLookup/yearCalendar/index.d.ts.map +1 -0
  1009. package/build/types/src/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +1 -0
  1010. package/build/types/src/dateLookup/yearCalendar/table/index.d.ts.map +1 -0
  1011. package/build/types/src/decision/Decision.d.ts.map +1 -0
  1012. package/build/types/src/decision/index.d.ts.map +1 -0
  1013. package/build/types/src/definitionList/DefinitionList.d.ts.map +1 -0
  1014. package/build/types/src/definitionList/index.d.ts.map +1 -0
  1015. package/build/types/src/dimmer/Dimmer.d.ts.map +1 -0
  1016. package/build/types/src/dimmer/dimmerManager/DimmerManager.d.ts.map +1 -0
  1017. package/build/types/src/dimmer/dimmerManager/index.d.ts.map +1 -0
  1018. package/build/types/src/dimmer/index.d.ts.map +1 -0
  1019. package/build/types/src/display/Display.d.ts.map +1 -0
  1020. package/build/types/src/display/index.d.ts.map +1 -0
  1021. package/build/types/src/divider/Divider.d.ts.map +1 -0
  1022. package/build/types/src/divider/index.d.ts.map +1 -0
  1023. package/build/types/src/drawer/Drawer.d.ts.map +1 -0
  1024. package/build/types/src/drawer/index.d.ts.map +1 -0
  1025. package/build/types/src/dropFade/DropFade.d.ts.map +1 -0
  1026. package/build/types/src/dropFade/index.d.ts.map +1 -0
  1027. package/build/types/src/emphasis/Emphasis.d.ts.map +1 -0
  1028. package/build/types/src/emphasis/EmphasisHtmlTransformer.d.ts.map +1 -0
  1029. package/build/types/src/emphasis/index.d.ts.map +1 -0
  1030. package/build/types/src/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +1 -0
  1031. package/build/types/src/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +1 -0
  1032. package/build/types/src/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +1 -0
  1033. package/build/types/src/expressiveMoneyInput/amountInput/utils.d.ts.map +1 -0
  1034. package/build/types/src/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +1 -0
  1035. package/build/types/src/expressiveMoneyInput/chevron/Chevron.d.ts.map +1 -0
  1036. package/build/types/src/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +1 -0
  1037. package/build/types/src/expressiveMoneyInput/hooks/useFocus.d.ts.map +1 -0
  1038. package/build/types/src/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -0
  1039. package/build/types/src/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +1 -0
  1040. package/build/types/src/expressiveMoneyInput/index.d.ts.map +1 -0
  1041. package/build/types/src/field/Field.d.ts.map +1 -0
  1042. package/build/types/src/flowNavigation/FlowNavigation.d.ts.map +1 -0
  1043. package/build/types/src/flowNavigation/FlowNavigation.messages.d.ts.map +1 -0
  1044. package/build/types/src/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +1 -0
  1045. package/build/types/src/flowNavigation/animatedLabel/index.d.ts.map +1 -0
  1046. package/build/types/src/header/Header.d.ts.map +1 -0
  1047. package/build/types/src/header/index.d.ts.map +1 -0
  1048. package/build/types/src/i18n/commonMessages/Button.messages.d.ts.map +1 -0
  1049. package/build/types/src/i18n/index.d.ts.map +1 -0
  1050. package/build/types/src/iconButton/IconButton.d.ts.map +1 -0
  1051. package/build/types/src/iconButton/index.d.ts.map +1 -0
  1052. package/build/types/src/image/Image.d.ts.map +1 -0
  1053. package/build/types/src/image/index.d.ts.map +1 -0
  1054. package/build/types/src/index.d.ts +213 -0
  1055. package/build/types/src/index.d.ts.map +1 -0
  1056. package/build/types/src/info/Info.d.ts.map +1 -0
  1057. package/build/types/src/info/Info.messages.d.ts.map +1 -0
  1058. package/build/types/src/info/index.d.ts.map +1 -0
  1059. package/build/types/src/info/infoPresentations.d.ts.map +1 -0
  1060. package/build/types/src/inlineAlert/InlineAlert.d.ts.map +1 -0
  1061. package/build/types/src/inlineAlert/index.d.ts.map +1 -0
  1062. package/build/types/src/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +1 -0
  1063. package/build/types/src/inputWithDisplayFormat/index.d.ts.map +1 -0
  1064. package/build/types/src/inputs/Input.d.ts.map +1 -0
  1065. package/build/types/src/inputs/InputGroup.d.ts.map +1 -0
  1066. package/build/types/src/inputs/SearchInput.d.ts.map +1 -0
  1067. package/build/types/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -0
  1068. package/build/types/src/inputs/SelectInput/BottomSheet/index.d.ts.map +1 -0
  1069. package/build/types/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +1 -0
  1070. package/build/types/src/inputs/SelectInput/ButtonInput/index.d.ts.map +1 -0
  1071. package/build/types/src/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +1 -0
  1072. package/build/types/src/inputs/SelectInput/ClearButton/index.d.ts.map +1 -0
  1073. package/build/types/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +1 -0
  1074. package/build/types/src/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +1 -0
  1075. package/build/types/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +1 -0
  1076. package/build/types/src/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +1 -0
  1077. package/build/types/src/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +1 -0
  1078. package/build/types/src/inputs/SelectInput/ItemView/index.d.ts.map +1 -0
  1079. package/build/types/src/inputs/SelectInput/Option/SelectInputOption.d.ts.map +1 -0
  1080. package/build/types/src/inputs/SelectInput/Option/index.d.ts.map +1 -0
  1081. package/build/types/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -0
  1082. package/build/types/src/inputs/SelectInput/OptionContent/index.d.ts.map +1 -0
  1083. package/build/types/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +1 -0
  1084. package/build/types/src/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +1 -0
  1085. package/build/types/src/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +1 -0
  1086. package/build/types/src/inputs/SelectInput/Options/index.d.ts.map +1 -0
  1087. package/build/types/src/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -0
  1088. package/build/types/src/inputs/SelectInput/Popover/index.d.ts.map +1 -0
  1089. package/build/types/src/inputs/SelectInput/SelectInput.contexts.d.ts.map +1 -0
  1090. package/build/types/src/inputs/SelectInput/SelectInput.d.ts.map +1 -0
  1091. package/build/types/src/inputs/SelectInput/SelectInput.messages.d.ts.map +1 -0
  1092. package/build/types/src/inputs/SelectInput/SelectInput.types.d.ts.map +1 -0
  1093. package/build/types/src/inputs/SelectInput/SelectInput.utils.d.ts.map +1 -0
  1094. package/build/types/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -0
  1095. package/build/types/src/inputs/SelectInput/TriggerButton/index.d.ts.map +1 -0
  1096. package/build/types/src/inputs/SelectInput/components.d.ts.map +1 -0
  1097. package/build/types/src/inputs/SelectInput/index.d.ts.map +1 -0
  1098. package/build/types/src/inputs/TextArea.d.ts.map +1 -0
  1099. package/build/types/src/inputs/_common.d.ts.map +1 -0
  1100. package/build/types/src/inputs/contexts.d.ts.map +1 -0
  1101. package/build/types/src/instructionsList/InstructionsList.d.ts.map +1 -0
  1102. package/build/types/src/instructionsList/index.d.ts.map +1 -0
  1103. package/build/types/src/label/Label.d.ts.map +1 -0
  1104. package/build/types/src/label/Label.messages.d.ts.map +1 -0
  1105. package/build/types/src/label/index.d.ts.map +1 -0
  1106. package/build/types/src/legacylistItem/LegacyListItem.d.ts.map +1 -0
  1107. package/build/types/src/legacylistItem/index.d.ts.map +1 -0
  1108. package/build/types/src/link/Link.d.ts.map +1 -0
  1109. package/build/types/src/link/Link.messages.d.ts.map +1 -0
  1110. package/build/types/src/link/index.d.ts.map +1 -0
  1111. package/build/types/src/list/List.d.ts.map +1 -0
  1112. package/build/types/src/list/index.d.ts.map +1 -0
  1113. package/build/types/src/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +1 -0
  1114. package/build/types/src/listItem/AdditionalInfo/index.d.ts.map +1 -0
  1115. package/build/types/src/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +1 -0
  1116. package/build/types/src/listItem/AvatarLayout/index.d.ts.map +1 -0
  1117. package/build/types/src/listItem/AvatarView/ListItemAvatarView.d.ts.map +1 -0
  1118. package/build/types/src/listItem/AvatarView/index.d.ts.map +1 -0
  1119. package/build/types/src/listItem/Button/ListItemButton.d.ts.map +1 -0
  1120. package/build/types/src/listItem/Button/index.d.ts.map +1 -0
  1121. package/build/types/src/listItem/Checkbox/ListItemCheckbox.d.ts.map +1 -0
  1122. package/build/types/src/listItem/Checkbox/index.d.ts.map +1 -0
  1123. package/build/types/src/listItem/IconButton/ListItemIconButton.d.ts.map +1 -0
  1124. package/build/types/src/listItem/IconButton/index.d.ts.map +1 -0
  1125. package/build/types/src/listItem/Image/ListItemImage.d.ts.map +1 -0
  1126. package/build/types/src/listItem/Image/index.d.ts.map +1 -0
  1127. package/build/types/src/listItem/ListItem.d.ts.map +1 -0
  1128. package/build/types/src/listItem/ListItemContext.d.ts.map +1 -0
  1129. package/build/types/src/listItem/Navigation/ListItemNavigation.d.ts.map +1 -0
  1130. package/build/types/src/listItem/Navigation/index.d.ts.map +1 -0
  1131. package/build/types/src/listItem/Prompt/ListItemPrompt.d.ts.map +1 -0
  1132. package/build/types/src/listItem/Prompt/index.d.ts.map +1 -0
  1133. package/build/types/src/listItem/Radio/ListItemRadio.d.ts.map +1 -0
  1134. package/build/types/src/listItem/Radio/index.d.ts.map +1 -0
  1135. package/build/types/src/listItem/Switch/ListItemSwitch.d.ts.map +1 -0
  1136. package/build/types/src/listItem/Switch/index.d.ts.map +1 -0
  1137. package/build/types/src/listItem/_stories/helpers.d.ts.map +1 -0
  1138. package/build/types/src/listItem/_stories/subcomponents.d.ts.map +1 -0
  1139. package/build/types/src/listItem/_stories/variants/helpers.d.ts.map +1 -0
  1140. package/build/types/src/listItem/constants.d.ts.map +1 -0
  1141. package/build/types/src/listItem/index.d.ts.map +1 -0
  1142. package/build/types/src/listItem/test-utils.d.ts.map +1 -0
  1143. package/build/types/src/listItem/useListItemControl.d.ts.map +1 -0
  1144. package/build/types/src/listItem/useListItemMedia.d.ts.map +1 -0
  1145. package/build/types/src/loader/Loader.d.ts.map +1 -0
  1146. package/build/types/src/loader/index.d.ts.map +1 -0
  1147. package/build/types/src/logo/Logo.d.ts +59 -0
  1148. package/build/types/src/logo/Logo.d.ts.map +1 -0
  1149. package/build/types/src/logo/index.d.ts.map +1 -0
  1150. package/build/types/src/logo/logo-assets.d.ts.map +1 -0
  1151. package/build/types/src/markdown/Markdown.d.ts.map +1 -0
  1152. package/build/types/src/markdown/index.d.ts.map +1 -0
  1153. package/build/types/src/mocks.d.ts.map +1 -0
  1154. package/build/types/src/modal/Modal.d.ts.map +1 -0
  1155. package/build/types/src/modal/index.d.ts.map +1 -0
  1156. package/build/types/src/money/Money.d.ts.map +1 -0
  1157. package/build/types/src/money/index.d.ts.map +1 -0
  1158. package/build/types/src/moneyInput/MoneyInput.d.ts.map +1 -0
  1159. package/build/types/src/moneyInput/MoneyInput.messages.d.ts.map +1 -0
  1160. package/build/types/src/moneyInput/currencyFormatting.d.ts.map +1 -0
  1161. package/build/types/src/moneyInput/index.d.ts.map +1 -0
  1162. package/build/types/src/navigationOption/NavigationOption.d.ts.map +1 -0
  1163. package/build/types/src/navigationOption/index.d.ts.map +1 -0
  1164. package/build/types/src/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -0
  1165. package/build/types/src/navigationOptionsList/index.d.ts.map +1 -0
  1166. package/build/types/src/nudge/Nudge.d.ts.map +1 -0
  1167. package/build/types/src/nudge/index.d.ts.map +1 -0
  1168. package/build/types/src/overlayHeader/OverlayHeader.d.ts.map +1 -0
  1169. package/build/types/src/overlayHeader/index.d.ts.map +1 -0
  1170. package/build/types/src/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -0
  1171. package/build/types/src/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -0
  1172. package/build/types/src/phoneNumberInput/data/countries.d.ts.map +1 -0
  1173. package/build/types/src/phoneNumberInput/index.d.ts.map +1 -0
  1174. package/build/types/src/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +1 -0
  1175. package/build/types/src/phoneNumberInput/utils/cleanNumber/index.d.ts.map +1 -0
  1176. package/build/types/src/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +1 -0
  1177. package/build/types/src/phoneNumberInput/utils/excludeCountries/index.d.ts.map +1 -0
  1178. package/build/types/src/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +1 -0
  1179. package/build/types/src/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +1 -0
  1180. package/build/types/src/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +1 -0
  1181. package/build/types/src/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +1 -0
  1182. package/build/types/src/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +1 -0
  1183. package/build/types/src/phoneNumberInput/utils/index.d.ts.map +1 -0
  1184. package/build/types/src/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +1 -0
  1185. package/build/types/src/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +1 -0
  1186. package/build/types/src/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +1 -0
  1187. package/build/types/src/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +1 -0
  1188. package/build/types/src/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +1 -0
  1189. package/build/types/src/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +1 -0
  1190. package/build/types/src/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +1 -0
  1191. package/build/types/src/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +1 -0
  1192. package/build/types/src/popover/Popover.d.ts.map +1 -0
  1193. package/build/types/src/popover/index.d.ts.map +1 -0
  1194. package/build/types/src/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +1 -0
  1195. package/build/types/src/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +1 -0
  1196. package/build/types/src/primitives/PrimitiveAnchor/index.d.ts.map +1 -0
  1197. package/build/types/src/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +1 -0
  1198. package/build/types/src/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +1 -0
  1199. package/build/types/src/primitives/PrimitiveButton/index.d.ts.map +1 -0
  1200. package/build/types/src/primitives/index.d.ts.map +1 -0
  1201. package/build/types/src/primitives/types.d.ts.map +1 -0
  1202. package/build/types/src/processIndicator/ProcessIndicator.d.ts.map +1 -0
  1203. package/build/types/src/processIndicator/index.d.ts.map +1 -0
  1204. package/build/types/src/progress/Progress.d.ts.map +1 -0
  1205. package/build/types/src/progress/index.d.ts.map +1 -0
  1206. package/build/types/src/progressBar/ProgressBar.d.ts.map +1 -0
  1207. package/build/types/src/progressBar/index.d.ts.map +1 -0
  1208. package/build/types/src/promoCard/PromoCard.d.ts.map +1 -0
  1209. package/build/types/src/promoCard/PromoCardContext.d.ts.map +1 -0
  1210. package/build/types/src/promoCard/PromoCardGroup.d.ts.map +1 -0
  1211. package/build/types/src/promoCard/PromoCardIndicator.d.ts.map +1 -0
  1212. package/build/types/src/promoCard/index.d.ts.map +1 -0
  1213. package/build/types/src/prompt/ActionPrompt/ActionPrompt.d.ts.map +1 -0
  1214. package/build/types/src/prompt/ActionPrompt/index.d.ts.map +1 -0
  1215. package/build/types/src/prompt/CriticalBanner/CriticalBanner.d.ts.map +1 -0
  1216. package/build/types/src/prompt/CriticalBanner/helpers.d.ts.map +1 -0
  1217. package/build/types/src/prompt/CriticalBanner/index.d.ts.map +1 -0
  1218. package/build/types/src/prompt/InfoPrompt/InfoPrompt.d.ts.map +1 -0
  1219. package/build/types/src/prompt/InfoPrompt/index.d.ts.map +1 -0
  1220. package/build/types/src/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -0
  1221. package/build/types/src/prompt/InlinePrompt/index.d.ts.map +1 -0
  1222. package/build/types/src/prompt/PrimitivePrompt/PrimitivePrompt.d.ts.map +1 -0
  1223. package/build/types/src/prompt/PrimitivePrompt/index.d.ts.map +1 -0
  1224. package/build/types/src/prompt/common/Expander/Expander.d.ts.map +1 -0
  1225. package/build/types/src/prompt/common/Expander/Expander.messages.d.ts.map +1 -0
  1226. package/build/types/src/prompt/helpers/promptMedia.d.ts.map +1 -0
  1227. package/build/types/src/prompt/index.d.ts.map +1 -0
  1228. package/build/types/src/provider/Provider.d.ts.map +1 -0
  1229. package/build/types/src/provider/direction/DirectionProvider.d.ts.map +1 -0
  1230. package/build/types/src/provider/direction/index.d.ts.map +1 -0
  1231. package/build/types/src/provider/index.d.ts.map +1 -0
  1232. package/build/types/src/provider/language/LanguageProvider.d.ts.map +1 -0
  1233. package/build/types/src/provider/language/index.d.ts.map +1 -0
  1234. package/build/types/src/provider/overlay/OverlayIdProvider.d.ts.map +1 -0
  1235. package/build/types/src/radio/Radio.d.ts.map +1 -0
  1236. package/build/types/src/radio/index.d.ts.map +1 -0
  1237. package/build/types/src/radioGroup/RadioGroup.d.ts.map +1 -0
  1238. package/build/types/src/radioGroup/index.d.ts.map +1 -0
  1239. package/build/types/src/radioOption/RadioOption.d.ts.map +1 -0
  1240. package/build/types/src/radioOption/index.d.ts.map +1 -0
  1241. package/build/types/src/section/Section.d.ts.map +1 -0
  1242. package/build/types/src/section/index.d.ts.map +1 -0
  1243. package/build/types/src/segmentedControl/SegmentedControl.d.ts.map +1 -0
  1244. package/build/types/src/segmentedControl/index.d.ts.map +1 -0
  1245. package/build/types/src/select/Select.d.ts.map +1 -0
  1246. package/build/types/src/select/Select.messages.d.ts.map +1 -0
  1247. package/build/types/src/select/index.d.ts.map +1 -0
  1248. package/build/types/src/select/option/Option.d.ts.map +1 -0
  1249. package/build/types/src/select/option/index.d.ts.map +1 -0
  1250. package/build/types/src/select/searchBox/SearchBox.d.ts.map +1 -0
  1251. package/build/types/src/select/searchBox/index.d.ts.map +1 -0
  1252. package/build/types/src/sentimentSurface/SentimentSurface.d.ts.map +1 -0
  1253. package/build/types/src/sentimentSurface/SentimentSurface.types.d.ts.map +1 -0
  1254. package/build/types/src/sentimentSurface/index.d.ts.map +1 -0
  1255. package/build/types/src/slidingPanel/SlidingPanel.d.ts.map +1 -0
  1256. package/build/types/src/slidingPanel/index.d.ts.map +1 -0
  1257. package/build/types/src/snackbar/Snackbar.d.ts.map +1 -0
  1258. package/build/types/src/snackbar/SnackbarContext.d.ts.map +1 -0
  1259. package/build/types/src/snackbar/SnackbarProvider.d.ts.map +1 -0
  1260. package/build/types/src/snackbar/index.d.ts.map +1 -0
  1261. package/build/types/src/snackbar/useSnackbar.d.ts.map +1 -0
  1262. package/build/types/src/statusIcon/StatusIcon.d.ts.map +1 -0
  1263. package/build/types/src/statusIcon/StatusIcon.messages.d.ts.map +1 -0
  1264. package/build/types/src/statusIcon/index.d.ts.map +1 -0
  1265. package/build/types/src/stepper/Stepper.d.ts.map +1 -0
  1266. package/build/types/src/stepper/deviceDetection.d.ts.map +1 -0
  1267. package/build/types/src/sticky/Sticky.d.ts.map +1 -0
  1268. package/build/types/src/sticky/index.d.ts.map +1 -0
  1269. package/build/types/src/summary/Summary.d.ts.map +1 -0
  1270. package/build/types/src/summary/Summary.messages.d.ts.map +1 -0
  1271. package/build/types/src/summary/index.d.ts.map +1 -0
  1272. package/build/types/src/switch/Switch.d.ts.map +1 -0
  1273. package/build/types/src/switch/index.d.ts.map +1 -0
  1274. package/build/types/src/switchOption/SwitchOption.d.ts.map +1 -0
  1275. package/build/types/src/switchOption/index.d.ts.map +1 -0
  1276. package/build/types/src/table/Table.d.ts.map +1 -0
  1277. package/build/types/src/table/Table.messages.d.ts.map +1 -0
  1278. package/build/types/src/table/TableCell.d.ts.map +1 -0
  1279. package/build/types/src/table/TableHeader.d.ts.map +1 -0
  1280. package/build/types/src/table/TableRow.d.ts.map +1 -0
  1281. package/build/types/src/table/TableStatusText.d.ts.map +1 -0
  1282. package/build/types/src/table/index.d.ts.map +1 -0
  1283. package/build/types/src/tabs/Tab.d.ts.map +1 -0
  1284. package/build/types/src/tabs/TabList.d.ts.map +1 -0
  1285. package/build/types/src/tabs/TabPanel.d.ts.map +1 -0
  1286. package/build/types/src/tabs/Tabs.d.ts.map +1 -0
  1287. package/build/types/src/tabs/index.d.ts.map +1 -0
  1288. package/build/types/src/tabs/utils.d.ts.map +1 -0
  1289. package/build/types/src/test-utils/fake-data.d.ts.map +1 -0
  1290. package/build/types/src/test-utils/index.d.ts.map +1 -0
  1291. package/build/types/src/test-utils/jest.setup.d.ts.map +1 -0
  1292. package/build/types/src/test-utils/style-mock.d.ts.map +1 -0
  1293. package/build/types/src/test-utils/wait.d.ts.map +1 -0
  1294. package/build/types/src/test-utils/window-mock.d.ts.map +1 -0
  1295. package/build/types/src/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +1 -0
  1296. package/build/types/src/textareaWithDisplayFormat/index.d.ts.map +1 -0
  1297. package/build/types/src/tile/Tile.d.ts.map +1 -0
  1298. package/build/types/src/tile/index.d.ts.map +1 -0
  1299. package/build/types/src/title/Title.d.ts.map +1 -0
  1300. package/build/types/src/title/index.d.ts.map +1 -0
  1301. package/build/types/src/tooltip/Tooltip.d.ts.map +1 -0
  1302. package/build/types/src/tooltip/index.d.ts.map +1 -0
  1303. package/build/types/src/typeahead/Typeahead.d.ts.map +1 -0
  1304. package/build/types/src/typeahead/Typeahead.messages.d.ts.map +1 -0
  1305. package/build/types/src/typeahead/index.d.ts.map +1 -0
  1306. package/build/types/src/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +1 -0
  1307. package/build/types/src/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +1 -0
  1308. package/build/types/src/typeahead/util/highlight.d.ts.map +1 -0
  1309. package/build/types/src/upload/Upload.d.ts.map +1 -0
  1310. package/build/types/src/upload/Upload.messages.d.ts.map +1 -0
  1311. package/build/types/src/upload/index.d.ts.map +1 -0
  1312. package/build/types/src/upload/steps/completeStep/completeStep.d.ts.map +1 -0
  1313. package/build/types/src/upload/steps/completeStep/index.d.ts.map +1 -0
  1314. package/build/types/src/upload/steps/index.d.ts.map +1 -0
  1315. package/build/types/src/upload/steps/processingStep/index.d.ts.map +1 -0
  1316. package/build/types/src/upload/steps/processingStep/processingStep.d.ts.map +1 -0
  1317. package/build/types/src/upload/steps/uploadImageStep/index.d.ts.map +1 -0
  1318. package/build/types/src/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +1 -0
  1319. package/build/types/src/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +1 -0
  1320. package/build/types/src/upload/utils/asyncFileRead/index.d.ts.map +1 -0
  1321. package/build/types/src/upload/utils/getFileType/getFileType.d.ts.map +1 -0
  1322. package/build/types/src/upload/utils/getFileType/index.d.ts.map +1 -0
  1323. package/build/types/src/upload/utils/index.d.ts.map +1 -0
  1324. package/build/types/src/upload/utils/isSizeValid/index.d.ts.map +1 -0
  1325. package/build/types/src/upload/utils/isSizeValid/isSizeValid.d.ts.map +1 -0
  1326. package/build/types/src/upload/utils/isTypeValid/index.d.ts.map +1 -0
  1327. package/build/types/src/upload/utils/isTypeValid/isTypeValid.d.ts.map +1 -0
  1328. package/build/types/src/upload/utils/postData/index.d.ts.map +1 -0
  1329. package/build/types/src/upload/utils/postData/postData.d.ts.map +1 -0
  1330. package/build/types/src/uploadInput/UploadInput.d.ts.map +1 -0
  1331. package/build/types/src/uploadInput/UploadInput.messages.d.ts.map +1 -0
  1332. package/build/types/src/uploadInput/index.d.ts.map +1 -0
  1333. package/build/types/src/uploadInput/types.d.ts.map +1 -0
  1334. package/build/types/src/uploadInput/uploadButton/UploadButton.d.ts.map +1 -0
  1335. package/build/types/src/uploadInput/uploadButton/UploadButton.messages.d.ts.map +1 -0
  1336. package/build/types/src/uploadInput/uploadButton/defaults.d.ts.map +1 -0
  1337. package/build/types/src/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +1 -0
  1338. package/build/types/src/uploadInput/uploadItem/UploadItem.d.ts.map +1 -0
  1339. package/build/types/src/uploadInput/uploadItem/UploadItem.messages.d.ts.map +1 -0
  1340. package/build/types/src/uploadInput/uploadItem/UploadItemLink.d.ts.map +1 -0
  1341. package/build/types/src/utilities/cssValueWithUnit.d.ts.map +1 -0
  1342. package/build/types/src/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +1 -0
  1343. package/build/types/src/utilities/deprecatedProperty/index.d.ts.map +1 -0
  1344. package/build/types/src/utilities/index.d.ts.map +1 -0
  1345. package/build/types/src/utilities/logActionRequired.d.ts.map +1 -0
  1346. package/build/types/src/utils.d.ts.map +1 -0
  1347. package/build/types/src/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -0
  1348. package/build/types/src/withDisplayFormat/index.d.ts.map +1 -0
  1349. package/build/types/src/withId/index.d.ts.map +1 -0
  1350. package/build/types/src/withId/story/source.d.ts.map +1 -0
  1351. package/build/types/src/withId/withId.d.ts.map +1 -0
  1352. package/build/types/src/withNextPortal/withNextPortal.d.ts.map +1 -0
  1353. package/build/upload/Upload.js +1 -1
  1354. package/build/upload/Upload.js.map +1 -1
  1355. package/build/upload/Upload.messages.js.map +1 -1
  1356. package/build/upload/Upload.messages.mjs.map +1 -1
  1357. package/build/upload/Upload.mjs +1 -1
  1358. package/build/upload/Upload.mjs.map +1 -1
  1359. package/build/upload/steps/completeStep/completeStep.js +1 -1
  1360. package/build/upload/steps/completeStep/completeStep.js.map +1 -1
  1361. package/build/upload/steps/completeStep/completeStep.mjs +1 -1
  1362. package/build/upload/steps/completeStep/completeStep.mjs.map +1 -1
  1363. package/build/upload/steps/processingStep/processingStep.js +1 -1
  1364. package/build/upload/steps/processingStep/processingStep.js.map +1 -1
  1365. package/build/upload/steps/processingStep/processingStep.mjs +1 -1
  1366. package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
  1367. package/build/upload/steps/uploadImageStep/uploadImageStep.js +1 -1
  1368. package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
  1369. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +1 -1
  1370. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
  1371. package/build/upload/utils/asyncFileRead/asyncFileRead.js.map +1 -1
  1372. package/build/upload/utils/asyncFileRead/asyncFileRead.mjs.map +1 -1
  1373. package/build/upload/utils/getFileType/getFileType.js.map +1 -1
  1374. package/build/upload/utils/getFileType/getFileType.mjs.map +1 -1
  1375. package/build/upload/utils/isSizeValid/isSizeValid.js.map +1 -1
  1376. package/build/upload/utils/isSizeValid/isSizeValid.mjs.map +1 -1
  1377. package/build/upload/utils/isTypeValid/isTypeValid.js.map +1 -1
  1378. package/build/upload/utils/isTypeValid/isTypeValid.mjs.map +1 -1
  1379. package/build/upload/utils/postData/postData.js.map +1 -1
  1380. package/build/upload/utils/postData/postData.mjs.map +1 -1
  1381. package/build/uploadInput/UploadInput.js +1 -1
  1382. package/build/uploadInput/UploadInput.js.map +1 -1
  1383. package/build/uploadInput/UploadInput.messages.js.map +1 -1
  1384. package/build/uploadInput/UploadInput.messages.mjs.map +1 -1
  1385. package/build/uploadInput/UploadInput.mjs +1 -1
  1386. package/build/uploadInput/UploadInput.mjs.map +1 -1
  1387. package/build/uploadInput/uploadButton/UploadButton.js +1 -1
  1388. package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
  1389. package/build/uploadInput/uploadButton/UploadButton.messages.js.map +1 -1
  1390. package/build/uploadInput/uploadButton/UploadButton.messages.mjs.map +1 -1
  1391. package/build/uploadInput/uploadButton/UploadButton.mjs +1 -1
  1392. package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
  1393. package/build/uploadInput/uploadButton/defaults.js +1 -1
  1394. package/build/uploadInput/uploadButton/defaults.js.map +1 -1
  1395. package/build/uploadInput/uploadButton/defaults.mjs +1 -1
  1396. package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
  1397. package/build/uploadInput/uploadButton/getAllowedFileTypes.js.map +1 -1
  1398. package/build/uploadInput/uploadButton/getAllowedFileTypes.mjs.map +1 -1
  1399. package/build/uploadInput/uploadItem/UploadItem.js +1 -1
  1400. package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
  1401. package/build/uploadInput/uploadItem/UploadItem.messages.js.map +1 -1
  1402. package/build/uploadInput/uploadItem/UploadItem.messages.mjs.map +1 -1
  1403. package/build/uploadInput/uploadItem/UploadItem.mjs +1 -1
  1404. package/build/uploadInput/uploadItem/UploadItem.mjs.map +1 -1
  1405. package/build/uploadInput/uploadItem/UploadItemLink.js.map +1 -1
  1406. package/build/uploadInput/uploadItem/UploadItemLink.mjs.map +1 -1
  1407. package/build/utilities/cssValueWithUnit.js.map +1 -1
  1408. package/build/utilities/cssValueWithUnit.mjs.map +1 -1
  1409. package/build/utilities/logActionRequired.js.map +1 -1
  1410. package/build/utilities/logActionRequired.mjs.map +1 -1
  1411. package/build/withDisplayFormat/WithDisplayFormat.js +1 -1
  1412. package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
  1413. package/build/withDisplayFormat/WithDisplayFormat.mjs +1 -1
  1414. package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
  1415. package/build/withId/withId.js.map +1 -1
  1416. package/build/withId/withId.mjs.map +1 -1
  1417. package/build/withNextPortal/withNextPortal.js.map +1 -1
  1418. package/build/withNextPortal/withNextPortal.mjs.map +1 -1
  1419. package/package.json +8 -8
  1420. package/src/accordion/Accordion.css +1 -1
  1421. package/src/card/Card.css +2 -2
  1422. package/src/carousel/Carousel.css +5 -5
  1423. package/src/circularButton/CircularButton.tsx +2 -3
  1424. package/src/common/Option/Option.css +4 -2
  1425. package/src/common/Option/Option.less +4 -2
  1426. package/src/common/baseCard/BaseCard.css +1 -1
  1427. package/src/common/bottomSheet/BottomSheet.tsx +2 -2
  1428. package/src/common/circle/Circle.tsx +2 -2
  1429. package/src/common/hooks/useLayout/useLayout.ts +1 -1
  1430. package/src/common/hooks/useScreenSize.ts +1 -1
  1431. package/src/common/index.ts +1 -1
  1432. package/src/common/propsValues/breakpoint.ts +8 -0
  1433. package/src/common/responsivePanel/ResponsivePanel.test.js +2 -3
  1434. package/src/container/Container.css +3 -3
  1435. package/src/criticalBanner/CriticalCommsBanner.css +1 -1
  1436. package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +85 -0
  1437. package/src/dateInput/DateInput.css +1 -1
  1438. package/src/dateLookup/DateLookup.tsx +1 -1
  1439. package/src/decision/Decision.test.tsx +1 -2
  1440. package/src/decision/Decision.tsx +1 -2
  1441. package/src/definitionList/DefinitionList.css +2 -2
  1442. package/src/definitionList/DefinitionList.less +2 -2
  1443. package/src/drawer/Drawer.css +2 -2
  1444. package/src/drawer/Drawer.less +3 -4
  1445. package/src/flowNavigation/FlowNavigation.css +1 -1
  1446. package/src/flowNavigation/FlowNavigation.less +1 -1
  1447. package/src/flowNavigation/FlowNavigation.story.tsx +0 -3
  1448. package/src/flowNavigation/FlowNavigation.test.js +1 -1
  1449. package/src/flowNavigation/FlowNavigation.tsx +1 -2
  1450. package/src/index.ts +1 -1
  1451. package/src/inputs/Input.css +3 -3
  1452. package/src/inputs/SelectInput/Options/SelectInputOptions.css +2 -2
  1453. package/src/inputs/SelectInput/SelectInput.css +2 -2
  1454. package/src/inputs/SelectInput/SelectInput.tsx +1 -1
  1455. package/src/inputs/TextArea.css +3 -3
  1456. package/src/logo/Logo.tsx +1 -1
  1457. package/src/main.css +309 -307
  1458. package/src/modal/Modal.css +5 -5
  1459. package/src/popover/Popover.css +3 -3
  1460. package/src/popover/Popover.test.tsx +1 -2
  1461. package/src/promoCard/PromoCard.css +1 -1
  1462. package/src/prompt/ActionPrompt/ActionPrompt.css +1 -1
  1463. package/src/prompt/ActionPrompt/ActionPrompt.test.tsx +3 -3
  1464. package/src/prompt/ActionPrompt/ActionPrompt.tsx +1 -2
  1465. package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +1 -1
  1466. package/src/select/Select.test.tsx +1 -1
  1467. package/src/snackbar/Snackbar.css +2 -2
  1468. package/src/statusIcon/StatusIcon.tsx +2 -3
  1469. package/src/stepper/Stepper.css +2 -2
  1470. package/src/styles/less/accordion.css +4 -4
  1471. package/src/styles/less/button-groups.css +6 -6
  1472. package/src/styles/less/buttons.css +1 -1
  1473. package/src/styles/less/circles.css +1 -1
  1474. package/src/styles/less/column-layout.css +4 -4
  1475. package/src/styles/less/decision.css +4 -4
  1476. package/src/styles/less/dropdowns.css +10 -10
  1477. package/src/styles/less/droppable.css +8 -8
  1478. package/src/styles/less/flex.css +14 -14
  1479. package/src/styles/less/footer.css +3 -3
  1480. package/src/styles/less/forms/bootstrap-forms.css +9 -9
  1481. package/src/styles/less/forms/bootstrap-forms.less +1 -1
  1482. package/src/styles/less/grid.css +19 -19
  1483. package/src/styles/less/input-groups.css +12 -12
  1484. package/src/styles/less/list-group.css +8 -8
  1485. package/src/styles/less/modals.css +6 -6
  1486. package/src/styles/less/modals.less +4 -4
  1487. package/src/styles/less/navbar.css +62 -62
  1488. package/src/styles/less/navbar.less +2 -2
  1489. package/src/styles/less/navs.css +2 -2
  1490. package/src/styles/less/neptune.bundle.less +0 -1
  1491. package/src/styles/less/neptune.css +261 -262
  1492. package/src/styles/less/panels.css +9 -9
  1493. package/src/styles/less/popovers.css +13 -13
  1494. package/src/styles/less/select.css +1 -1
  1495. package/src/styles/less/sequences.css +6 -6
  1496. package/src/styles/less/table.css +6 -6
  1497. package/src/styles/less/table.less +1 -1
  1498. package/src/styles/less/utilities.css +4 -4
  1499. package/src/styles/less/wells.css +4 -4
  1500. package/src/styles/props/custom-media.css +11 -1
  1501. package/src/styles/variables/legacy-variables.less +47 -4
  1502. package/src/table/Table.css +1 -1
  1503. package/src/tabs/Tabs.css +2 -2
  1504. package/src/typeahead/Typeahead.css +1 -1
  1505. package/src/uploadInput/uploadItem/UploadItem.less +2 -2
  1506. package/build/types/accordion/Accordion.d.ts.map +0 -1
  1507. package/build/types/accordion/AccordionItem/AccordionItem.d.ts.map +0 -1
  1508. package/build/types/accordion/AccordionItem/index.d.ts.map +0 -1
  1509. package/build/types/accordion/index.d.ts.map +0 -1
  1510. package/build/types/actionButton/ActionButton.d.ts.map +0 -1
  1511. package/build/types/actionButton/index.d.ts.map +0 -1
  1512. package/build/types/actionOption/ActionOption.d.ts.map +0 -1
  1513. package/build/types/actionOption/index.d.ts.map +0 -1
  1514. package/build/types/alert/Alert.d.ts.map +0 -1
  1515. package/build/types/alert/index.d.ts.map +0 -1
  1516. package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts.map +0 -1
  1517. package/build/types/alert/inlineMarkdown/index.d.ts.map +0 -1
  1518. package/build/types/avatar/Avatar.d.ts.map +0 -1
  1519. package/build/types/avatar/avatarTypes.d.ts.map +0 -1
  1520. package/build/types/avatar/index.d.ts.map +0 -1
  1521. package/build/types/avatarLayout/AvatarLayout.d.ts.map +0 -1
  1522. package/build/types/avatarLayout/index.d.ts.map +0 -1
  1523. package/build/types/avatarView/AvatarView.d.ts.map +0 -1
  1524. package/build/types/avatarView/Dot.d.ts.map +0 -1
  1525. package/build/types/avatarView/index.d.ts.map +0 -1
  1526. package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +0 -1
  1527. package/build/types/avatarWrapper/index.d.ts.map +0 -1
  1528. package/build/types/badge/Badge.d.ts.map +0 -1
  1529. package/build/types/badge/BadgeAssets.d.ts.map +0 -1
  1530. package/build/types/badge/index.d.ts.map +0 -1
  1531. package/build/types/body/Body.d.ts.map +0 -1
  1532. package/build/types/body/index.d.ts.map +0 -1
  1533. package/build/types/button/Button.d.ts.map +0 -1
  1534. package/build/types/button/Button.resolver.d.ts.map +0 -1
  1535. package/build/types/button/Button.types.d.ts.map +0 -1
  1536. package/build/types/button/LegacyButton.d.ts.map +0 -1
  1537. package/build/types/button/_stories/helpers.d.ts.map +0 -1
  1538. package/build/types/button/classMap.d.ts.map +0 -1
  1539. package/build/types/button/index.d.ts.map +0 -1
  1540. package/build/types/button/legacyUtils/index.d.ts.map +0 -1
  1541. package/build/types/button/legacyUtils/legacyUtils.d.ts.map +0 -1
  1542. package/build/types/card/Card.d.ts.map +0 -1
  1543. package/build/types/card/index.d.ts.map +0 -1
  1544. package/build/types/carousel/Carousel.d.ts.map +0 -1
  1545. package/build/types/carousel/index.d.ts.map +0 -1
  1546. package/build/types/checkbox/Checkbox.d.ts.map +0 -1
  1547. package/build/types/checkbox/index.d.ts.map +0 -1
  1548. package/build/types/checkboxButton/CheckboxButton.d.ts.map +0 -1
  1549. package/build/types/checkboxButton/index.d.ts.map +0 -1
  1550. package/build/types/checkboxOption/CheckboxOption.d.ts.map +0 -1
  1551. package/build/types/checkboxOption/index.d.ts.map +0 -1
  1552. package/build/types/chevron/Chevron.d.ts.map +0 -1
  1553. package/build/types/chevron/index.d.ts.map +0 -1
  1554. package/build/types/chips/Chip.d.ts.map +0 -1
  1555. package/build/types/chips/Chips.d.ts.map +0 -1
  1556. package/build/types/chips/Chips.messages.d.ts.map +0 -1
  1557. package/build/types/chips/index.d.ts.map +0 -1
  1558. package/build/types/circularButton/CircularButton.d.ts.map +0 -1
  1559. package/build/types/circularButton/index.d.ts.map +0 -1
  1560. package/build/types/common/DOMOperations/DOMOperations.d.ts.map +0 -1
  1561. package/build/types/common/DOMOperations/index.d.ts.map +0 -1
  1562. package/build/types/common/Option/Option.d.ts.map +0 -1
  1563. package/build/types/common/Option/index.d.ts.map +0 -1
  1564. package/build/types/common/RadioButton/RadioButton.d.ts.map +0 -1
  1565. package/build/types/common/RadioButton/index.d.ts.map +0 -1
  1566. package/build/types/common/baseCard/BaseCard.d.ts.map +0 -1
  1567. package/build/types/common/baseCard/index.d.ts.map +0 -1
  1568. package/build/types/common/bottomSheet/BottomSheet.d.ts.map +0 -1
  1569. package/build/types/common/bottomSheet/index.d.ts.map +0 -1
  1570. package/build/types/common/circle/Circle.d.ts.map +0 -1
  1571. package/build/types/common/circle/index.d.ts.map +0 -1
  1572. package/build/types/common/closeButton/CloseButton.d.ts.map +0 -1
  1573. package/build/types/common/closeButton/CloseButton.messages.d.ts.map +0 -1
  1574. package/build/types/common/closeButton/index.d.ts.map +0 -1
  1575. package/build/types/common/colors.d.ts.map +0 -1
  1576. package/build/types/common/commonProps.d.ts.map +0 -1
  1577. package/build/types/common/constants.d.ts.map +0 -1
  1578. package/build/types/common/dateUtils/getDateView/getDateView.d.ts.map +0 -1
  1579. package/build/types/common/dateUtils/getDayNames/getDayNames.d.ts.map +0 -1
  1580. package/build/types/common/dateUtils/getFormatForLocale/getFormatForLocale.d.ts.map +0 -1
  1581. package/build/types/common/dateUtils/getMonthNames/getMonthNames.d.ts.map +0 -1
  1582. package/build/types/common/dateUtils/index.d.ts.map +0 -1
  1583. package/build/types/common/dateUtils/isDateValid/isDateValid.d.ts.map +0 -1
  1584. package/build/types/common/dateUtils/isMonthAndYearFormat/index.d.ts.map +0 -1
  1585. package/build/types/common/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts.map +0 -1
  1586. package/build/types/common/dateUtils/isWithinRange/isWithinRange.d.ts.map +0 -1
  1587. package/build/types/common/dateUtils/moveToWithinRange/moveToWithinRange.d.ts.map +0 -1
  1588. package/build/types/common/deviceDetection/deviceDetection.d.ts.map +0 -1
  1589. package/build/types/common/deviceDetection/index.d.ts.map +0 -1
  1590. package/build/types/common/direction.d.ts.map +0 -1
  1591. package/build/types/common/domHelpers/documentIosClick.d.ts.map +0 -1
  1592. package/build/types/common/domHelpers/index.d.ts.map +0 -1
  1593. package/build/types/common/fakeEvents.d.ts.map +0 -1
  1594. package/build/types/common/fileType.d.ts.map +0 -1
  1595. package/build/types/common/flowHeader/FlowHeader.d.ts.map +0 -1
  1596. package/build/types/common/flowHeader/index.d.ts.map +0 -1
  1597. package/build/types/common/focusBoundary/FocusBoundary.d.ts.map +0 -1
  1598. package/build/types/common/focusBoundary/index.d.ts.map +0 -1
  1599. package/build/types/common/historyNavigator/historyNavigator.d.ts.map +0 -1
  1600. package/build/types/common/historyNavigator/index.d.ts.map +0 -1
  1601. package/build/types/common/hooks/index.d.ts.map +0 -1
  1602. package/build/types/common/hooks/useConditionalListener/index.d.ts.map +0 -1
  1603. package/build/types/common/hooks/useConditionalListener/useConditionalListener.d.ts.map +0 -1
  1604. package/build/types/common/hooks/useContainerSize.d.ts.map +0 -1
  1605. package/build/types/common/hooks/useDirection/index.d.ts.map +0 -1
  1606. package/build/types/common/hooks/useDirection/useDirection.d.ts.map +0 -1
  1607. package/build/types/common/hooks/useEffectEvent.d.ts.map +0 -1
  1608. package/build/types/common/hooks/useHasIntersected/index.d.ts.map +0 -1
  1609. package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +0 -1
  1610. package/build/types/common/hooks/useLayout/index.d.ts.map +0 -1
  1611. package/build/types/common/hooks/useLayout/useLayout.d.ts.map +0 -1
  1612. package/build/types/common/hooks/useMedia.d.ts.map +0 -1
  1613. package/build/types/common/hooks/useResizeObserver.d.ts.map +0 -1
  1614. package/build/types/common/hooks/useScreenSize.d.ts +0 -3
  1615. package/build/types/common/hooks/useScreenSize.d.ts.map +0 -1
  1616. package/build/types/common/hooks/useVirtualKeyboard.d.ts.map +0 -1
  1617. package/build/types/common/index.d.ts +0 -31
  1618. package/build/types/common/index.d.ts.map +0 -1
  1619. package/build/types/common/initials.d.ts.map +0 -1
  1620. package/build/types/common/liveRegion/LiveRegion.d.ts.map +0 -1
  1621. package/build/types/common/liveRegion/index.d.ts.map +0 -1
  1622. package/build/types/common/locale/index.d.ts.map +0 -1
  1623. package/build/types/common/panel/Panel.d.ts.map +0 -1
  1624. package/build/types/common/panel/index.d.ts.map +0 -1
  1625. package/build/types/common/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts.map +0 -1
  1626. package/build/types/common/preventScroll/PreventScroll.d.ts.map +0 -1
  1627. package/build/types/common/propsValues/control.d.ts.map +0 -1
  1628. package/build/types/common/propsValues/dateMode.d.ts.map +0 -1
  1629. package/build/types/common/propsValues/layouts.d.ts.map +0 -1
  1630. package/build/types/common/propsValues/markdownNodeType.d.ts.map +0 -1
  1631. package/build/types/common/propsValues/monthFormat.d.ts.map +0 -1
  1632. package/build/types/common/propsValues/position.d.ts.map +0 -1
  1633. package/build/types/common/propsValues/profileType.d.ts.map +0 -1
  1634. package/build/types/common/propsValues/scroll.d.ts.map +0 -1
  1635. package/build/types/common/propsValues/sentiment.d.ts.map +0 -1
  1636. package/build/types/common/propsValues/size.d.ts.map +0 -1
  1637. package/build/types/common/propsValues/status.d.ts.map +0 -1
  1638. package/build/types/common/propsValues/type.d.ts.map +0 -1
  1639. package/build/types/common/propsValues/typography.d.ts.map +0 -1
  1640. package/build/types/common/propsValues/variant.d.ts.map +0 -1
  1641. package/build/types/common/propsValues/width.d.ts.map +0 -1
  1642. package/build/types/common/responsivePanel/ResponsivePanel.d.ts.map +0 -1
  1643. package/build/types/common/responsivePanel/index.d.ts.map +0 -1
  1644. package/build/types/common/textFormat/formatWithPattern/formatWithPattern.d.ts.map +0 -1
  1645. package/build/types/common/textFormat/formatWithPattern/index.d.ts.map +0 -1
  1646. package/build/types/common/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts.map +0 -1
  1647. package/build/types/common/textFormat/getCountOfSymbolsInSelection/index.d.ts.map +0 -1
  1648. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts.map +0 -1
  1649. package/build/types/common/textFormat/getCursorPositionAfterKeystroke/index.d.ts.map +0 -1
  1650. package/build/types/common/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts.map +0 -1
  1651. package/build/types/common/textFormat/getDistanceToSymbol/index.d.ts.map +0 -1
  1652. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts.map +0 -1
  1653. package/build/types/common/textFormat/getSymbolsInPatternWithPosition/index.d.ts.map +0 -1
  1654. package/build/types/common/textFormat/index.d.ts.map +0 -1
  1655. package/build/types/common/textFormat/unformatWithPattern/index.d.ts.map +0 -1
  1656. package/build/types/common/textFormat/unformatWithPattern/unformatWithPattern.d.ts.map +0 -1
  1657. package/build/types/common/theme.d.ts.map +0 -1
  1658. package/build/types/container/Container.d.ts.map +0 -1
  1659. package/build/types/container/index.d.ts.map +0 -1
  1660. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +0 -1
  1661. package/build/types/criticalBanner/index.d.ts.map +0 -1
  1662. package/build/types/dateInput/DateInput.d.ts.map +0 -1
  1663. package/build/types/dateInput/DateInput.messages.d.ts.map +0 -1
  1664. package/build/types/dateInput/index.d.ts.map +0 -1
  1665. package/build/types/dateInput/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts.map +0 -1
  1666. package/build/types/dateInput/utils/convertToLocalMidnight/index.d.ts.map +0 -1
  1667. package/build/types/dateInput/utils/index.d.ts.map +0 -1
  1668. package/build/types/dateLookup/DateLookup.d.ts.map +0 -1
  1669. package/build/types/dateLookup/DateLookup.messages.d.ts.map +0 -1
  1670. package/build/types/dateLookup/dateHeader/DateHeader.d.ts.map +0 -1
  1671. package/build/types/dateLookup/dateHeader/index.d.ts.map +0 -1
  1672. package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts.map +0 -1
  1673. package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +0 -1
  1674. package/build/types/dateLookup/dateTrigger/index.d.ts.map +0 -1
  1675. package/build/types/dateLookup/dayCalendar/DayCalendar.d.ts.map +0 -1
  1676. package/build/types/dateLookup/dayCalendar/index.d.ts.map +0 -1
  1677. package/build/types/dateLookup/dayCalendar/table/DayCalendarTable.d.ts.map +0 -1
  1678. package/build/types/dateLookup/dayCalendar/table/index.d.ts.map +0 -1
  1679. package/build/types/dateLookup/getFocusableTime/getFocusableTime.d.ts.map +0 -1
  1680. package/build/types/dateLookup/getStartOfDay/getStartOfDay.d.ts.map +0 -1
  1681. package/build/types/dateLookup/getStartOfDay/index.d.ts.map +0 -1
  1682. package/build/types/dateLookup/index.d.ts.map +0 -1
  1683. package/build/types/dateLookup/monthCalendar/MonthCalendar.d.ts.map +0 -1
  1684. package/build/types/dateLookup/monthCalendar/index.d.ts.map +0 -1
  1685. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts.map +0 -1
  1686. package/build/types/dateLookup/monthCalendar/table/index.d.ts.map +0 -1
  1687. package/build/types/dateLookup/tableLink/TableLink.d.ts.map +0 -1
  1688. package/build/types/dateLookup/tableLink/index.d.ts.map +0 -1
  1689. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts.map +0 -1
  1690. package/build/types/dateLookup/yearCalendar/index.d.ts.map +0 -1
  1691. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts.map +0 -1
  1692. package/build/types/dateLookup/yearCalendar/table/index.d.ts.map +0 -1
  1693. package/build/types/decision/Decision.d.ts.map +0 -1
  1694. package/build/types/decision/index.d.ts.map +0 -1
  1695. package/build/types/definitionList/DefinitionList.d.ts.map +0 -1
  1696. package/build/types/definitionList/index.d.ts.map +0 -1
  1697. package/build/types/dimmer/Dimmer.d.ts.map +0 -1
  1698. package/build/types/dimmer/dimmerManager/DimmerManager.d.ts.map +0 -1
  1699. package/build/types/dimmer/dimmerManager/index.d.ts.map +0 -1
  1700. package/build/types/dimmer/index.d.ts.map +0 -1
  1701. package/build/types/display/Display.d.ts.map +0 -1
  1702. package/build/types/display/index.d.ts.map +0 -1
  1703. package/build/types/divider/Divider.d.ts.map +0 -1
  1704. package/build/types/divider/index.d.ts.map +0 -1
  1705. package/build/types/drawer/Drawer.d.ts.map +0 -1
  1706. package/build/types/drawer/index.d.ts.map +0 -1
  1707. package/build/types/dropFade/DropFade.d.ts.map +0 -1
  1708. package/build/types/dropFade/index.d.ts.map +0 -1
  1709. package/build/types/emphasis/Emphasis.d.ts.map +0 -1
  1710. package/build/types/emphasis/EmphasisHtmlTransformer.d.ts.map +0 -1
  1711. package/build/types/emphasis/index.d.ts.map +0 -1
  1712. package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.d.ts.map +0 -1
  1713. package/build/types/expressiveMoneyInput/ExpressiveMoneyInput.messages.d.ts.map +0 -1
  1714. package/build/types/expressiveMoneyInput/amountInput/AmountInput.d.ts.map +0 -1
  1715. package/build/types/expressiveMoneyInput/amountInput/utils.d.ts.map +0 -1
  1716. package/build/types/expressiveMoneyInput/animatedNumber/AnimatedNumber.d.ts.map +0 -1
  1717. package/build/types/expressiveMoneyInput/chevron/Chevron.d.ts.map +0 -1
  1718. package/build/types/expressiveMoneyInput/currencySelector/CurrencySelector.d.ts.map +0 -1
  1719. package/build/types/expressiveMoneyInput/hooks/useFocus.d.ts.map +0 -1
  1720. package/build/types/expressiveMoneyInput/hooks/useInputStyle.d.ts.map +0 -1
  1721. package/build/types/expressiveMoneyInput/hooks/useSelectionRange.d.ts.map +0 -1
  1722. package/build/types/expressiveMoneyInput/index.d.ts.map +0 -1
  1723. package/build/types/field/Field.d.ts.map +0 -1
  1724. package/build/types/flowNavigation/FlowNavigation.d.ts.map +0 -1
  1725. package/build/types/flowNavigation/FlowNavigation.messages.d.ts.map +0 -1
  1726. package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts.map +0 -1
  1727. package/build/types/flowNavigation/animatedLabel/index.d.ts.map +0 -1
  1728. package/build/types/header/Header.d.ts.map +0 -1
  1729. package/build/types/header/index.d.ts.map +0 -1
  1730. package/build/types/i18n/commonMessages/Button.messages.d.ts.map +0 -1
  1731. package/build/types/i18n/index.d.ts.map +0 -1
  1732. package/build/types/iconButton/IconButton.d.ts.map +0 -1
  1733. package/build/types/iconButton/index.d.ts.map +0 -1
  1734. package/build/types/image/Image.d.ts.map +0 -1
  1735. package/build/types/image/index.d.ts.map +0 -1
  1736. package/build/types/index.d.ts +0 -214
  1737. package/build/types/index.d.ts.map +0 -1
  1738. package/build/types/info/Info.d.ts.map +0 -1
  1739. package/build/types/info/Info.messages.d.ts.map +0 -1
  1740. package/build/types/info/index.d.ts.map +0 -1
  1741. package/build/types/info/infoPresentations.d.ts.map +0 -1
  1742. package/build/types/inlineAlert/InlineAlert.d.ts.map +0 -1
  1743. package/build/types/inlineAlert/index.d.ts.map +0 -1
  1744. package/build/types/inputWithDisplayFormat/InputWithDisplayFormat.d.ts.map +0 -1
  1745. package/build/types/inputWithDisplayFormat/index.d.ts.map +0 -1
  1746. package/build/types/inputs/Input.d.ts.map +0 -1
  1747. package/build/types/inputs/InputGroup.d.ts.map +0 -1
  1748. package/build/types/inputs/SearchInput.d.ts.map +0 -1
  1749. package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +0 -1
  1750. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +0 -1
  1751. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +0 -1
  1752. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +0 -1
  1753. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +0 -1
  1754. package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +0 -1
  1755. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +0 -1
  1756. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +0 -1
  1757. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +0 -1
  1758. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +0 -1
  1759. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +0 -1
  1760. package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +0 -1
  1761. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +0 -1
  1762. package/build/types/inputs/SelectInput/Option/index.d.ts.map +0 -1
  1763. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +0 -1
  1764. package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +0 -1
  1765. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +0 -1
  1766. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +0 -1
  1767. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +0 -1
  1768. package/build/types/inputs/SelectInput/Options/index.d.ts.map +0 -1
  1769. package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +0 -1
  1770. package/build/types/inputs/SelectInput/Popover/index.d.ts.map +0 -1
  1771. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +0 -1
  1772. package/build/types/inputs/SelectInput/SelectInput.d.ts.map +0 -1
  1773. package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +0 -1
  1774. package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +0 -1
  1775. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +0 -1
  1776. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +0 -1
  1777. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +0 -1
  1778. package/build/types/inputs/SelectInput/components.d.ts.map +0 -1
  1779. package/build/types/inputs/SelectInput/index.d.ts.map +0 -1
  1780. package/build/types/inputs/TextArea.d.ts.map +0 -1
  1781. package/build/types/inputs/_common.d.ts.map +0 -1
  1782. package/build/types/inputs/contexts.d.ts.map +0 -1
  1783. package/build/types/instructionsList/InstructionsList.d.ts.map +0 -1
  1784. package/build/types/instructionsList/index.d.ts.map +0 -1
  1785. package/build/types/label/Label.d.ts.map +0 -1
  1786. package/build/types/label/Label.messages.d.ts.map +0 -1
  1787. package/build/types/label/index.d.ts.map +0 -1
  1788. package/build/types/legacylistItem/LegacyListItem.d.ts.map +0 -1
  1789. package/build/types/legacylistItem/index.d.ts.map +0 -1
  1790. package/build/types/link/Link.d.ts.map +0 -1
  1791. package/build/types/link/Link.messages.d.ts.map +0 -1
  1792. package/build/types/link/index.d.ts.map +0 -1
  1793. package/build/types/list/List.d.ts.map +0 -1
  1794. package/build/types/list/index.d.ts.map +0 -1
  1795. package/build/types/listItem/AdditionalInfo/ListItemAdditionalInfo.d.ts.map +0 -1
  1796. package/build/types/listItem/AdditionalInfo/index.d.ts.map +0 -1
  1797. package/build/types/listItem/AvatarLayout/ListItemAvatarLayout.d.ts.map +0 -1
  1798. package/build/types/listItem/AvatarLayout/index.d.ts.map +0 -1
  1799. package/build/types/listItem/AvatarView/ListItemAvatarView.d.ts.map +0 -1
  1800. package/build/types/listItem/AvatarView/index.d.ts.map +0 -1
  1801. package/build/types/listItem/Button/ListItemButton.d.ts.map +0 -1
  1802. package/build/types/listItem/Button/index.d.ts.map +0 -1
  1803. package/build/types/listItem/Checkbox/ListItemCheckbox.d.ts.map +0 -1
  1804. package/build/types/listItem/Checkbox/index.d.ts.map +0 -1
  1805. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +0 -1
  1806. package/build/types/listItem/IconButton/index.d.ts.map +0 -1
  1807. package/build/types/listItem/Image/ListItemImage.d.ts.map +0 -1
  1808. package/build/types/listItem/Image/index.d.ts.map +0 -1
  1809. package/build/types/listItem/ListItem.d.ts.map +0 -1
  1810. package/build/types/listItem/ListItemContext.d.ts.map +0 -1
  1811. package/build/types/listItem/Navigation/ListItemNavigation.d.ts.map +0 -1
  1812. package/build/types/listItem/Navigation/index.d.ts.map +0 -1
  1813. package/build/types/listItem/Prompt/ListItemPrompt.d.ts.map +0 -1
  1814. package/build/types/listItem/Prompt/index.d.ts.map +0 -1
  1815. package/build/types/listItem/Radio/ListItemRadio.d.ts.map +0 -1
  1816. package/build/types/listItem/Radio/index.d.ts.map +0 -1
  1817. package/build/types/listItem/Switch/ListItemSwitch.d.ts.map +0 -1
  1818. package/build/types/listItem/Switch/index.d.ts.map +0 -1
  1819. package/build/types/listItem/_stories/helpers.d.ts.map +0 -1
  1820. package/build/types/listItem/_stories/subcomponents.d.ts.map +0 -1
  1821. package/build/types/listItem/_stories/variants/helpers.d.ts.map +0 -1
  1822. package/build/types/listItem/constants.d.ts.map +0 -1
  1823. package/build/types/listItem/index.d.ts.map +0 -1
  1824. package/build/types/listItem/test-utils.d.ts.map +0 -1
  1825. package/build/types/listItem/useListItemControl.d.ts.map +0 -1
  1826. package/build/types/listItem/useListItemMedia.d.ts.map +0 -1
  1827. package/build/types/loader/Loader.d.ts.map +0 -1
  1828. package/build/types/loader/index.d.ts.map +0 -1
  1829. package/build/types/logo/Logo.d.ts +0 -59
  1830. package/build/types/logo/Logo.d.ts.map +0 -1
  1831. package/build/types/logo/index.d.ts.map +0 -1
  1832. package/build/types/logo/logo-assets.d.ts.map +0 -1
  1833. package/build/types/markdown/Markdown.d.ts.map +0 -1
  1834. package/build/types/markdown/index.d.ts.map +0 -1
  1835. package/build/types/mocks.d.ts.map +0 -1
  1836. package/build/types/modal/Modal.d.ts.map +0 -1
  1837. package/build/types/modal/index.d.ts.map +0 -1
  1838. package/build/types/money/Money.d.ts.map +0 -1
  1839. package/build/types/money/index.d.ts.map +0 -1
  1840. package/build/types/moneyInput/MoneyInput.d.ts.map +0 -1
  1841. package/build/types/moneyInput/MoneyInput.messages.d.ts.map +0 -1
  1842. package/build/types/moneyInput/currencyFormatting.d.ts.map +0 -1
  1843. package/build/types/moneyInput/index.d.ts.map +0 -1
  1844. package/build/types/navigationOption/NavigationOption.d.ts.map +0 -1
  1845. package/build/types/navigationOption/index.d.ts.map +0 -1
  1846. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +0 -1
  1847. package/build/types/navigationOptionsList/index.d.ts.map +0 -1
  1848. package/build/types/nudge/Nudge.d.ts.map +0 -1
  1849. package/build/types/nudge/index.d.ts.map +0 -1
  1850. package/build/types/overlayHeader/OverlayHeader.d.ts.map +0 -1
  1851. package/build/types/overlayHeader/index.d.ts.map +0 -1
  1852. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +0 -1
  1853. package/build/types/phoneNumberInput/PhoneNumberInput.messages.d.ts.map +0 -1
  1854. package/build/types/phoneNumberInput/data/countries.d.ts.map +0 -1
  1855. package/build/types/phoneNumberInput/index.d.ts.map +0 -1
  1856. package/build/types/phoneNumberInput/utils/cleanNumber/cleanNumber.d.ts.map +0 -1
  1857. package/build/types/phoneNumberInput/utils/cleanNumber/index.d.ts.map +0 -1
  1858. package/build/types/phoneNumberInput/utils/excludeCountries/excludeCountries.d.ts.map +0 -1
  1859. package/build/types/phoneNumberInput/utils/excludeCountries/index.d.ts.map +0 -1
  1860. package/build/types/phoneNumberInput/utils/explodeNumberModel/index.d.ts.map +0 -1
  1861. package/build/types/phoneNumberInput/utils/findCountryByCode/index.d.ts.map +0 -1
  1862. package/build/types/phoneNumberInput/utils/findCountryByPrefix/index.d.ts.map +0 -1
  1863. package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts.map +0 -1
  1864. package/build/types/phoneNumberInput/utils/groupCountriesByPrefix/index.d.ts.map +0 -1
  1865. package/build/types/phoneNumberInput/utils/index.d.ts.map +0 -1
  1866. package/build/types/phoneNumberInput/utils/isStringNumeric/index.d.ts.map +0 -1
  1867. package/build/types/phoneNumberInput/utils/isStringNumeric/isStringNumeric.d.ts.map +0 -1
  1868. package/build/types/phoneNumberInput/utils/isValidPhoneNumber/index.d.ts.map +0 -1
  1869. package/build/types/phoneNumberInput/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts.map +0 -1
  1870. package/build/types/phoneNumberInput/utils/longestMatchingPrefix/index.d.ts.map +0 -1
  1871. package/build/types/phoneNumberInput/utils/setDefaultPrefix/index.d.ts.map +0 -1
  1872. package/build/types/phoneNumberInput/utils/sortArrayByProperty/index.d.ts.map +0 -1
  1873. package/build/types/phoneNumberInput/utils/sortArrayByProperty/sortArrayByProperty.d.ts.map +0 -1
  1874. package/build/types/popover/Popover.d.ts.map +0 -1
  1875. package/build/types/popover/index.d.ts.map +0 -1
  1876. package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.d.ts.map +0 -1
  1877. package/build/types/primitives/PrimitiveAnchor/PrimitiveAnchor.types.d.ts.map +0 -1
  1878. package/build/types/primitives/PrimitiveAnchor/index.d.ts.map +0 -1
  1879. package/build/types/primitives/PrimitiveButton/PrimitiveButton.d.ts.map +0 -1
  1880. package/build/types/primitives/PrimitiveButton/PrimitiveButton.types.d.ts.map +0 -1
  1881. package/build/types/primitives/PrimitiveButton/index.d.ts.map +0 -1
  1882. package/build/types/primitives/index.d.ts.map +0 -1
  1883. package/build/types/primitives/types.d.ts.map +0 -1
  1884. package/build/types/processIndicator/ProcessIndicator.d.ts.map +0 -1
  1885. package/build/types/processIndicator/index.d.ts.map +0 -1
  1886. package/build/types/progress/Progress.d.ts.map +0 -1
  1887. package/build/types/progress/index.d.ts.map +0 -1
  1888. package/build/types/progressBar/ProgressBar.d.ts.map +0 -1
  1889. package/build/types/progressBar/index.d.ts.map +0 -1
  1890. package/build/types/promoCard/PromoCard.d.ts.map +0 -1
  1891. package/build/types/promoCard/PromoCardContext.d.ts.map +0 -1
  1892. package/build/types/promoCard/PromoCardGroup.d.ts.map +0 -1
  1893. package/build/types/promoCard/PromoCardIndicator.d.ts.map +0 -1
  1894. package/build/types/promoCard/index.d.ts.map +0 -1
  1895. package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts.map +0 -1
  1896. package/build/types/prompt/ActionPrompt/index.d.ts.map +0 -1
  1897. package/build/types/prompt/CriticalBanner/CriticalBanner.d.ts.map +0 -1
  1898. package/build/types/prompt/CriticalBanner/helpers.d.ts.map +0 -1
  1899. package/build/types/prompt/CriticalBanner/index.d.ts.map +0 -1
  1900. package/build/types/prompt/InfoPrompt/InfoPrompt.d.ts.map +0 -1
  1901. package/build/types/prompt/InfoPrompt/index.d.ts.map +0 -1
  1902. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +0 -1
  1903. package/build/types/prompt/InlinePrompt/index.d.ts.map +0 -1
  1904. package/build/types/prompt/PrimitivePrompt/PrimitivePrompt.d.ts.map +0 -1
  1905. package/build/types/prompt/PrimitivePrompt/index.d.ts.map +0 -1
  1906. package/build/types/prompt/common/Expander/Expander.d.ts.map +0 -1
  1907. package/build/types/prompt/common/Expander/Expander.messages.d.ts.map +0 -1
  1908. package/build/types/prompt/helpers/promptMedia.d.ts.map +0 -1
  1909. package/build/types/prompt/index.d.ts.map +0 -1
  1910. package/build/types/provider/Provider.d.ts.map +0 -1
  1911. package/build/types/provider/direction/DirectionProvider.d.ts.map +0 -1
  1912. package/build/types/provider/direction/index.d.ts.map +0 -1
  1913. package/build/types/provider/index.d.ts.map +0 -1
  1914. package/build/types/provider/language/LanguageProvider.d.ts.map +0 -1
  1915. package/build/types/provider/language/index.d.ts.map +0 -1
  1916. package/build/types/provider/overlay/OverlayIdProvider.d.ts.map +0 -1
  1917. package/build/types/radio/Radio.d.ts.map +0 -1
  1918. package/build/types/radio/index.d.ts.map +0 -1
  1919. package/build/types/radioGroup/RadioGroup.d.ts.map +0 -1
  1920. package/build/types/radioGroup/index.d.ts.map +0 -1
  1921. package/build/types/radioOption/RadioOption.d.ts.map +0 -1
  1922. package/build/types/radioOption/index.d.ts.map +0 -1
  1923. package/build/types/section/Section.d.ts.map +0 -1
  1924. package/build/types/section/index.d.ts.map +0 -1
  1925. package/build/types/segmentedControl/SegmentedControl.d.ts.map +0 -1
  1926. package/build/types/segmentedControl/index.d.ts.map +0 -1
  1927. package/build/types/select/Select.d.ts.map +0 -1
  1928. package/build/types/select/Select.messages.d.ts.map +0 -1
  1929. package/build/types/select/index.d.ts.map +0 -1
  1930. package/build/types/select/option/Option.d.ts.map +0 -1
  1931. package/build/types/select/option/index.d.ts.map +0 -1
  1932. package/build/types/select/searchBox/SearchBox.d.ts.map +0 -1
  1933. package/build/types/select/searchBox/index.d.ts.map +0 -1
  1934. package/build/types/sentimentSurface/SentimentSurface.d.ts.map +0 -1
  1935. package/build/types/sentimentSurface/SentimentSurface.types.d.ts.map +0 -1
  1936. package/build/types/sentimentSurface/index.d.ts.map +0 -1
  1937. package/build/types/slidingPanel/SlidingPanel.d.ts.map +0 -1
  1938. package/build/types/slidingPanel/index.d.ts.map +0 -1
  1939. package/build/types/snackbar/Snackbar.d.ts.map +0 -1
  1940. package/build/types/snackbar/SnackbarContext.d.ts.map +0 -1
  1941. package/build/types/snackbar/SnackbarProvider.d.ts.map +0 -1
  1942. package/build/types/snackbar/index.d.ts.map +0 -1
  1943. package/build/types/snackbar/useSnackbar.d.ts.map +0 -1
  1944. package/build/types/statusIcon/StatusIcon.d.ts.map +0 -1
  1945. package/build/types/statusIcon/StatusIcon.messages.d.ts.map +0 -1
  1946. package/build/types/statusIcon/index.d.ts.map +0 -1
  1947. package/build/types/stepper/Stepper.d.ts.map +0 -1
  1948. package/build/types/stepper/deviceDetection.d.ts.map +0 -1
  1949. package/build/types/sticky/Sticky.d.ts.map +0 -1
  1950. package/build/types/sticky/index.d.ts.map +0 -1
  1951. package/build/types/summary/Summary.d.ts.map +0 -1
  1952. package/build/types/summary/Summary.messages.d.ts.map +0 -1
  1953. package/build/types/summary/index.d.ts.map +0 -1
  1954. package/build/types/switch/Switch.d.ts.map +0 -1
  1955. package/build/types/switch/index.d.ts.map +0 -1
  1956. package/build/types/switchOption/SwitchOption.d.ts.map +0 -1
  1957. package/build/types/switchOption/index.d.ts.map +0 -1
  1958. package/build/types/table/Table.d.ts.map +0 -1
  1959. package/build/types/table/Table.messages.d.ts.map +0 -1
  1960. package/build/types/table/TableCell.d.ts.map +0 -1
  1961. package/build/types/table/TableHeader.d.ts.map +0 -1
  1962. package/build/types/table/TableRow.d.ts.map +0 -1
  1963. package/build/types/table/TableStatusText.d.ts.map +0 -1
  1964. package/build/types/table/index.d.ts.map +0 -1
  1965. package/build/types/tabs/Tab.d.ts.map +0 -1
  1966. package/build/types/tabs/TabList.d.ts.map +0 -1
  1967. package/build/types/tabs/TabPanel.d.ts.map +0 -1
  1968. package/build/types/tabs/Tabs.d.ts.map +0 -1
  1969. package/build/types/tabs/index.d.ts.map +0 -1
  1970. package/build/types/tabs/utils.d.ts.map +0 -1
  1971. package/build/types/test-utils/fake-data.d.ts.map +0 -1
  1972. package/build/types/test-utils/index.d.ts.map +0 -1
  1973. package/build/types/test-utils/jest.setup.d.ts.map +0 -1
  1974. package/build/types/test-utils/style-mock.d.ts.map +0 -1
  1975. package/build/types/test-utils/wait.d.ts.map +0 -1
  1976. package/build/types/test-utils/window-mock.d.ts.map +0 -1
  1977. package/build/types/textareaWithDisplayFormat/TextareaWithDisplayFormat.d.ts.map +0 -1
  1978. package/build/types/textareaWithDisplayFormat/index.d.ts.map +0 -1
  1979. package/build/types/tile/Tile.d.ts.map +0 -1
  1980. package/build/types/tile/index.d.ts.map +0 -1
  1981. package/build/types/title/Title.d.ts.map +0 -1
  1982. package/build/types/title/index.d.ts.map +0 -1
  1983. package/build/types/tooltip/Tooltip.d.ts.map +0 -1
  1984. package/build/types/tooltip/index.d.ts.map +0 -1
  1985. package/build/types/typeahead/Typeahead.d.ts.map +0 -1
  1986. package/build/types/typeahead/Typeahead.messages.d.ts.map +0 -1
  1987. package/build/types/typeahead/index.d.ts.map +0 -1
  1988. package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts.map +0 -1
  1989. package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts.map +0 -1
  1990. package/build/types/typeahead/util/highlight.d.ts.map +0 -1
  1991. package/build/types/upload/Upload.d.ts.map +0 -1
  1992. package/build/types/upload/Upload.messages.d.ts.map +0 -1
  1993. package/build/types/upload/index.d.ts.map +0 -1
  1994. package/build/types/upload/steps/completeStep/completeStep.d.ts.map +0 -1
  1995. package/build/types/upload/steps/completeStep/index.d.ts.map +0 -1
  1996. package/build/types/upload/steps/index.d.ts.map +0 -1
  1997. package/build/types/upload/steps/processingStep/index.d.ts.map +0 -1
  1998. package/build/types/upload/steps/processingStep/processingStep.d.ts.map +0 -1
  1999. package/build/types/upload/steps/uploadImageStep/index.d.ts.map +0 -1
  2000. package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts.map +0 -1
  2001. package/build/types/upload/utils/asyncFileRead/asyncFileRead.d.ts.map +0 -1
  2002. package/build/types/upload/utils/asyncFileRead/index.d.ts.map +0 -1
  2003. package/build/types/upload/utils/getFileType/getFileType.d.ts.map +0 -1
  2004. package/build/types/upload/utils/getFileType/index.d.ts.map +0 -1
  2005. package/build/types/upload/utils/index.d.ts.map +0 -1
  2006. package/build/types/upload/utils/isSizeValid/index.d.ts.map +0 -1
  2007. package/build/types/upload/utils/isSizeValid/isSizeValid.d.ts.map +0 -1
  2008. package/build/types/upload/utils/isTypeValid/index.d.ts.map +0 -1
  2009. package/build/types/upload/utils/isTypeValid/isTypeValid.d.ts.map +0 -1
  2010. package/build/types/upload/utils/postData/index.d.ts.map +0 -1
  2011. package/build/types/upload/utils/postData/postData.d.ts.map +0 -1
  2012. package/build/types/uploadInput/UploadInput.d.ts.map +0 -1
  2013. package/build/types/uploadInput/UploadInput.messages.d.ts.map +0 -1
  2014. package/build/types/uploadInput/index.d.ts.map +0 -1
  2015. package/build/types/uploadInput/types.d.ts.map +0 -1
  2016. package/build/types/uploadInput/uploadButton/UploadButton.d.ts.map +0 -1
  2017. package/build/types/uploadInput/uploadButton/UploadButton.messages.d.ts.map +0 -1
  2018. package/build/types/uploadInput/uploadButton/defaults.d.ts.map +0 -1
  2019. package/build/types/uploadInput/uploadButton/getAllowedFileTypes.d.ts.map +0 -1
  2020. package/build/types/uploadInput/uploadItem/UploadItem.d.ts.map +0 -1
  2021. package/build/types/uploadInput/uploadItem/UploadItem.messages.d.ts.map +0 -1
  2022. package/build/types/uploadInput/uploadItem/UploadItemLink.d.ts.map +0 -1
  2023. package/build/types/utilities/cssValueWithUnit.d.ts.map +0 -1
  2024. package/build/types/utilities/deprecatedProperty/deprecatedProperty.d.ts.map +0 -1
  2025. package/build/types/utilities/deprecatedProperty/index.d.ts.map +0 -1
  2026. package/build/types/utilities/index.d.ts.map +0 -1
  2027. package/build/types/utilities/logActionRequired.d.ts.map +0 -1
  2028. package/build/types/utils.d.ts.map +0 -1
  2029. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +0 -1
  2030. package/build/types/withDisplayFormat/index.d.ts.map +0 -1
  2031. package/build/types/withId/index.d.ts.map +0 -1
  2032. package/build/types/withId/story/source.d.ts.map +0 -1
  2033. package/build/types/withId/withId.d.ts.map +0 -1
  2034. package/build/types/withNextPortal/withNextPortal.d.ts.map +0 -1
  2035. /package/build/types/{accordion → src/accordion}/Accordion.d.ts +0 -0
  2036. /package/build/types/{accordion → src/accordion}/AccordionItem/AccordionItem.d.ts +0 -0
  2037. /package/build/types/{accordion → src/accordion}/AccordionItem/index.d.ts +0 -0
  2038. /package/build/types/{accordion → src/accordion}/index.d.ts +0 -0
  2039. /package/build/types/{actionButton → src/actionButton}/ActionButton.d.ts +0 -0
  2040. /package/build/types/{actionButton → src/actionButton}/index.d.ts +0 -0
  2041. /package/build/types/{actionOption → src/actionOption}/ActionOption.d.ts +0 -0
  2042. /package/build/types/{actionOption → src/actionOption}/index.d.ts +0 -0
  2043. /package/build/types/{alert → src/alert}/Alert.d.ts +0 -0
  2044. /package/build/types/{alert → src/alert}/index.d.ts +0 -0
  2045. /package/build/types/{alert → src/alert}/inlineMarkdown/InlineMarkdown.d.ts +0 -0
  2046. /package/build/types/{alert → src/alert}/inlineMarkdown/index.d.ts +0 -0
  2047. /package/build/types/{avatar → src/avatar}/Avatar.d.ts +0 -0
  2048. /package/build/types/{avatar → src/avatar}/avatarTypes.d.ts +0 -0
  2049. /package/build/types/{avatar → src/avatar}/index.d.ts +0 -0
  2050. /package/build/types/{avatarLayout → src/avatarLayout}/AvatarLayout.d.ts +0 -0
  2051. /package/build/types/{avatarLayout → src/avatarLayout}/index.d.ts +0 -0
  2052. /package/build/types/{avatarView → src/avatarView}/AvatarView.d.ts +0 -0
  2053. /package/build/types/{avatarView → src/avatarView}/Dot.d.ts +0 -0
  2054. /package/build/types/{avatarView → src/avatarView}/index.d.ts +0 -0
  2055. /package/build/types/{avatarWrapper → src/avatarWrapper}/AvatarWrapper.d.ts +0 -0
  2056. /package/build/types/{avatarWrapper → src/avatarWrapper}/index.d.ts +0 -0
  2057. /package/build/types/{badge → src/badge}/Badge.d.ts +0 -0
  2058. /package/build/types/{badge → src/badge}/BadgeAssets.d.ts +0 -0
  2059. /package/build/types/{badge → src/badge}/index.d.ts +0 -0
  2060. /package/build/types/{body → src/body}/Body.d.ts +0 -0
  2061. /package/build/types/{body → src/body}/index.d.ts +0 -0
  2062. /package/build/types/{button → src/button}/Button.d.ts +0 -0
  2063. /package/build/types/{button → src/button}/Button.resolver.d.ts +0 -0
  2064. /package/build/types/{button → src/button}/Button.types.d.ts +0 -0
  2065. /package/build/types/{button → src/button}/LegacyButton.d.ts +0 -0
  2066. /package/build/types/{button → src/button}/_stories/helpers.d.ts +0 -0
  2067. /package/build/types/{button → src/button}/classMap.d.ts +0 -0
  2068. /package/build/types/{button → src/button}/index.d.ts +0 -0
  2069. /package/build/types/{button → src/button}/legacyUtils/index.d.ts +0 -0
  2070. /package/build/types/{button → src/button}/legacyUtils/legacyUtils.d.ts +0 -0
  2071. /package/build/types/{card → src/card}/Card.d.ts +0 -0
  2072. /package/build/types/{card → src/card}/index.d.ts +0 -0
  2073. /package/build/types/{carousel → src/carousel}/Carousel.d.ts +0 -0
  2074. /package/build/types/{carousel → src/carousel}/index.d.ts +0 -0
  2075. /package/build/types/{checkbox → src/checkbox}/Checkbox.d.ts +0 -0
  2076. /package/build/types/{checkbox → src/checkbox}/index.d.ts +0 -0
  2077. /package/build/types/{checkboxButton → src/checkboxButton}/CheckboxButton.d.ts +0 -0
  2078. /package/build/types/{checkboxButton → src/checkboxButton}/index.d.ts +0 -0
  2079. /package/build/types/{checkboxOption → src/checkboxOption}/CheckboxOption.d.ts +0 -0
  2080. /package/build/types/{checkboxOption → src/checkboxOption}/index.d.ts +0 -0
  2081. /package/build/types/{chevron → src/chevron}/Chevron.d.ts +0 -0
  2082. /package/build/types/{chevron → src/chevron}/index.d.ts +0 -0
  2083. /package/build/types/{chips → src/chips}/Chip.d.ts +0 -0
  2084. /package/build/types/{chips → src/chips}/Chips.d.ts +0 -0
  2085. /package/build/types/{chips → src/chips}/Chips.messages.d.ts +0 -0
  2086. /package/build/types/{chips → src/chips}/index.d.ts +0 -0
  2087. /package/build/types/{circularButton → src/circularButton}/CircularButton.d.ts +0 -0
  2088. /package/build/types/{circularButton → src/circularButton}/index.d.ts +0 -0
  2089. /package/build/types/{common → src/common}/DOMOperations/DOMOperations.d.ts +0 -0
  2090. /package/build/types/{common → src/common}/DOMOperations/index.d.ts +0 -0
  2091. /package/build/types/{common → src/common}/Option/Option.d.ts +0 -0
  2092. /package/build/types/{common → src/common}/Option/index.d.ts +0 -0
  2093. /package/build/types/{common → src/common}/RadioButton/RadioButton.d.ts +0 -0
  2094. /package/build/types/{common → src/common}/RadioButton/index.d.ts +0 -0
  2095. /package/build/types/{common → src/common}/baseCard/BaseCard.d.ts +0 -0
  2096. /package/build/types/{common → src/common}/baseCard/index.d.ts +0 -0
  2097. /package/build/types/{common → src/common}/bottomSheet/BottomSheet.d.ts +0 -0
  2098. /package/build/types/{common → src/common}/bottomSheet/index.d.ts +0 -0
  2099. /package/build/types/{common → src/common}/circle/Circle.d.ts +0 -0
  2100. /package/build/types/{common → src/common}/circle/index.d.ts +0 -0
  2101. /package/build/types/{common → src/common}/closeButton/CloseButton.d.ts +0 -0
  2102. /package/build/types/{common → src/common}/closeButton/CloseButton.messages.d.ts +0 -0
  2103. /package/build/types/{common → src/common}/closeButton/index.d.ts +0 -0
  2104. /package/build/types/{common → src/common}/colors.d.ts +0 -0
  2105. /package/build/types/{common → src/common}/commonProps.d.ts +0 -0
  2106. /package/build/types/{common → src/common}/constants.d.ts +0 -0
  2107. /package/build/types/{common → src/common}/dateUtils/getDateView/getDateView.d.ts +0 -0
  2108. /package/build/types/{common → src/common}/dateUtils/getDayNames/getDayNames.d.ts +0 -0
  2109. /package/build/types/{common → src/common}/dateUtils/getFormatForLocale/getFormatForLocale.d.ts +0 -0
  2110. /package/build/types/{common → src/common}/dateUtils/getMonthNames/getMonthNames.d.ts +0 -0
  2111. /package/build/types/{common → src/common}/dateUtils/index.d.ts +0 -0
  2112. /package/build/types/{common → src/common}/dateUtils/isDateValid/isDateValid.d.ts +0 -0
  2113. /package/build/types/{common → src/common}/dateUtils/isMonthAndYearFormat/index.d.ts +0 -0
  2114. /package/build/types/{common → src/common}/dateUtils/isMonthAndYearFormat/isMonthAndYearFormat.d.ts +0 -0
  2115. /package/build/types/{common → src/common}/dateUtils/isWithinRange/isWithinRange.d.ts +0 -0
  2116. /package/build/types/{common → src/common}/dateUtils/moveToWithinRange/moveToWithinRange.d.ts +0 -0
  2117. /package/build/types/{common → src/common}/deviceDetection/deviceDetection.d.ts +0 -0
  2118. /package/build/types/{common → src/common}/deviceDetection/index.d.ts +0 -0
  2119. /package/build/types/{common → src/common}/direction.d.ts +0 -0
  2120. /package/build/types/{common → src/common}/domHelpers/documentIosClick.d.ts +0 -0
  2121. /package/build/types/{common → src/common}/domHelpers/index.d.ts +0 -0
  2122. /package/build/types/{common → src/common}/fakeEvents.d.ts +0 -0
  2123. /package/build/types/{common → src/common}/fileType.d.ts +0 -0
  2124. /package/build/types/{common → src/common}/flowHeader/FlowHeader.d.ts +0 -0
  2125. /package/build/types/{common → src/common}/flowHeader/index.d.ts +0 -0
  2126. /package/build/types/{common → src/common}/focusBoundary/FocusBoundary.d.ts +0 -0
  2127. /package/build/types/{common → src/common}/focusBoundary/index.d.ts +0 -0
  2128. /package/build/types/{common → src/common}/historyNavigator/historyNavigator.d.ts +0 -0
  2129. /package/build/types/{common → src/common}/historyNavigator/index.d.ts +0 -0
  2130. /package/build/types/{common → src/common}/hooks/index.d.ts +0 -0
  2131. /package/build/types/{common → src/common}/hooks/useConditionalListener/index.d.ts +0 -0
  2132. /package/build/types/{common → src/common}/hooks/useConditionalListener/useConditionalListener.d.ts +0 -0
  2133. /package/build/types/{common → src/common}/hooks/useContainerSize.d.ts +0 -0
  2134. /package/build/types/{common → src/common}/hooks/useDirection/index.d.ts +0 -0
  2135. /package/build/types/{common → src/common}/hooks/useDirection/useDirection.d.ts +0 -0
  2136. /package/build/types/{common → src/common}/hooks/useEffectEvent.d.ts +0 -0
  2137. /package/build/types/{common → src/common}/hooks/useHasIntersected/index.d.ts +0 -0
  2138. /package/build/types/{common → src/common}/hooks/useHasIntersected/useHasIntersected.d.ts +0 -0
  2139. /package/build/types/{common → src/common}/hooks/useLayout/index.d.ts +0 -0
  2140. /package/build/types/{common → src/common}/hooks/useLayout/useLayout.d.ts +0 -0
  2141. /package/build/types/{common → src/common}/hooks/useMedia.d.ts +0 -0
  2142. /package/build/types/{common → src/common}/hooks/useResizeObserver.d.ts +0 -0
  2143. /package/build/types/{common → src/common}/hooks/useVirtualKeyboard.d.ts +0 -0
  2144. /package/build/types/{common → src/common}/initials.d.ts +0 -0
  2145. /package/build/types/{common → src/common}/liveRegion/LiveRegion.d.ts +0 -0
  2146. /package/build/types/{common → src/common}/liveRegion/index.d.ts +0 -0
  2147. /package/build/types/{common → src/common}/locale/index.d.ts +0 -0
  2148. /package/build/types/{common → src/common}/panel/Panel.d.ts +0 -0
  2149. /package/build/types/{common → src/common}/panel/index.d.ts +0 -0
  2150. /package/build/types/{common → src/common}/polymorphicWithOverrides/PolymorphicWithOverrides.d.ts +0 -0
  2151. /package/build/types/{common → src/common}/preventScroll/PreventScroll.d.ts +0 -0
  2152. /package/build/types/{common → src/common}/propsValues/control.d.ts +0 -0
  2153. /package/build/types/{common → src/common}/propsValues/dateMode.d.ts +0 -0
  2154. /package/build/types/{common → src/common}/propsValues/layouts.d.ts +0 -0
  2155. /package/build/types/{common → src/common}/propsValues/markdownNodeType.d.ts +0 -0
  2156. /package/build/types/{common → src/common}/propsValues/monthFormat.d.ts +0 -0
  2157. /package/build/types/{common → src/common}/propsValues/position.d.ts +0 -0
  2158. /package/build/types/{common → src/common}/propsValues/profileType.d.ts +0 -0
  2159. /package/build/types/{common → src/common}/propsValues/scroll.d.ts +0 -0
  2160. /package/build/types/{common → src/common}/propsValues/sentiment.d.ts +0 -0
  2161. /package/build/types/{common → src/common}/propsValues/size.d.ts +0 -0
  2162. /package/build/types/{common → src/common}/propsValues/status.d.ts +0 -0
  2163. /package/build/types/{common → src/common}/propsValues/type.d.ts +0 -0
  2164. /package/build/types/{common → src/common}/propsValues/typography.d.ts +0 -0
  2165. /package/build/types/{common → src/common}/propsValues/variant.d.ts +0 -0
  2166. /package/build/types/{common → src/common}/propsValues/width.d.ts +0 -0
  2167. /package/build/types/{common → src/common}/responsivePanel/ResponsivePanel.d.ts +0 -0
  2168. /package/build/types/{common → src/common}/responsivePanel/index.d.ts +0 -0
  2169. /package/build/types/{common → src/common}/textFormat/formatWithPattern/formatWithPattern.d.ts +0 -0
  2170. /package/build/types/{common → src/common}/textFormat/formatWithPattern/index.d.ts +0 -0
  2171. /package/build/types/{common → src/common}/textFormat/getCountOfSymbolsInSelection/getCountOfSymbolsInSelection.d.ts +0 -0
  2172. /package/build/types/{common → src/common}/textFormat/getCountOfSymbolsInSelection/index.d.ts +0 -0
  2173. /package/build/types/{common → src/common}/textFormat/getCursorPositionAfterKeystroke/getCursorPositionAfterKeystroke.d.ts +0 -0
  2174. /package/build/types/{common → src/common}/textFormat/getCursorPositionAfterKeystroke/index.d.ts +0 -0
  2175. /package/build/types/{common → src/common}/textFormat/getDistanceToSymbol/getDistanceToSymbol.d.ts +0 -0
  2176. /package/build/types/{common → src/common}/textFormat/getDistanceToSymbol/index.d.ts +0 -0
  2177. /package/build/types/{common → src/common}/textFormat/getSymbolsInPatternWithPosition/getSymbolsInPatternWithPosition.d.ts +0 -0
  2178. /package/build/types/{common → src/common}/textFormat/getSymbolsInPatternWithPosition/index.d.ts +0 -0
  2179. /package/build/types/{common → src/common}/textFormat/index.d.ts +0 -0
  2180. /package/build/types/{common → src/common}/textFormat/unformatWithPattern/index.d.ts +0 -0
  2181. /package/build/types/{common → src/common}/textFormat/unformatWithPattern/unformatWithPattern.d.ts +0 -0
  2182. /package/build/types/{common → src/common}/theme.d.ts +0 -0
  2183. /package/build/types/{container → src/container}/Container.d.ts +0 -0
  2184. /package/build/types/{container → src/container}/index.d.ts +0 -0
  2185. /package/build/types/{criticalBanner → src/criticalBanner}/CriticalCommsBanner.d.ts +0 -0
  2186. /package/build/types/{criticalBanner → src/criticalBanner}/index.d.ts +0 -0
  2187. /package/build/types/{dateInput → src/dateInput}/DateInput.d.ts +0 -0
  2188. /package/build/types/{dateInput → src/dateInput}/DateInput.messages.d.ts +0 -0
  2189. /package/build/types/{dateInput → src/dateInput}/index.d.ts +0 -0
  2190. /package/build/types/{dateInput → src/dateInput}/utils/convertToLocalMidnight/convertToLocalMidnight.d.ts +0 -0
  2191. /package/build/types/{dateInput → src/dateInput}/utils/convertToLocalMidnight/index.d.ts +0 -0
  2192. /package/build/types/{dateInput → src/dateInput}/utils/index.d.ts +0 -0
  2193. /package/build/types/{dateLookup → src/dateLookup}/DateLookup.d.ts +0 -0
  2194. /package/build/types/{dateLookup → src/dateLookup}/DateLookup.messages.d.ts +0 -0
  2195. /package/build/types/{dateLookup → src/dateLookup}/dateHeader/DateHeader.d.ts +0 -0
  2196. /package/build/types/{dateLookup → src/dateLookup}/dateHeader/index.d.ts +0 -0
  2197. /package/build/types/{dateLookup → src/dateLookup}/dateTrigger/DateTrigger.d.ts +0 -0
  2198. /package/build/types/{dateLookup → src/dateLookup}/dateTrigger/DateTrigger.messages.d.ts +0 -0
  2199. /package/build/types/{dateLookup → src/dateLookup}/dateTrigger/index.d.ts +0 -0
  2200. /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/DayCalendar.d.ts +0 -0
  2201. /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/index.d.ts +0 -0
  2202. /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/table/DayCalendarTable.d.ts +0 -0
  2203. /package/build/types/{dateLookup → src/dateLookup}/dayCalendar/table/index.d.ts +0 -0
  2204. /package/build/types/{dateLookup → src/dateLookup}/getFocusableTime/getFocusableTime.d.ts +0 -0
  2205. /package/build/types/{dateLookup → src/dateLookup}/getStartOfDay/getStartOfDay.d.ts +0 -0
  2206. /package/build/types/{dateLookup → src/dateLookup}/getStartOfDay/index.d.ts +0 -0
  2207. /package/build/types/{dateLookup → src/dateLookup}/index.d.ts +0 -0
  2208. /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/MonthCalendar.d.ts +0 -0
  2209. /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/index.d.ts +0 -0
  2210. /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/table/MonthCalendarTable.d.ts +0 -0
  2211. /package/build/types/{dateLookup → src/dateLookup}/monthCalendar/table/index.d.ts +0 -0
  2212. /package/build/types/{dateLookup → src/dateLookup}/tableLink/TableLink.d.ts +0 -0
  2213. /package/build/types/{dateLookup → src/dateLookup}/tableLink/index.d.ts +0 -0
  2214. /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/YearCalendar.d.ts +0 -0
  2215. /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/index.d.ts +0 -0
  2216. /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/table/YearCalendarTable.d.ts +0 -0
  2217. /package/build/types/{dateLookup → src/dateLookup}/yearCalendar/table/index.d.ts +0 -0
  2218. /package/build/types/{decision → src/decision}/Decision.d.ts +0 -0
  2219. /package/build/types/{decision → src/decision}/index.d.ts +0 -0
  2220. /package/build/types/{definitionList → src/definitionList}/DefinitionList.d.ts +0 -0
  2221. /package/build/types/{definitionList → src/definitionList}/index.d.ts +0 -0
  2222. /package/build/types/{dimmer → src/dimmer}/Dimmer.d.ts +0 -0
  2223. /package/build/types/{dimmer → src/dimmer}/dimmerManager/DimmerManager.d.ts +0 -0
  2224. /package/build/types/{dimmer → src/dimmer}/dimmerManager/index.d.ts +0 -0
  2225. /package/build/types/{dimmer → src/dimmer}/index.d.ts +0 -0
  2226. /package/build/types/{display → src/display}/Display.d.ts +0 -0
  2227. /package/build/types/{display → src/display}/index.d.ts +0 -0
  2228. /package/build/types/{divider → src/divider}/Divider.d.ts +0 -0
  2229. /package/build/types/{divider → src/divider}/index.d.ts +0 -0
  2230. /package/build/types/{drawer → src/drawer}/Drawer.d.ts +0 -0
  2231. /package/build/types/{drawer → src/drawer}/index.d.ts +0 -0
  2232. /package/build/types/{dropFade → src/dropFade}/DropFade.d.ts +0 -0
  2233. /package/build/types/{dropFade → src/dropFade}/index.d.ts +0 -0
  2234. /package/build/types/{emphasis → src/emphasis}/Emphasis.d.ts +0 -0
  2235. /package/build/types/{emphasis → src/emphasis}/EmphasisHtmlTransformer.d.ts +0 -0
  2236. /package/build/types/{emphasis → src/emphasis}/index.d.ts +0 -0
  2237. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/ExpressiveMoneyInput.d.ts +0 -0
  2238. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/ExpressiveMoneyInput.messages.d.ts +0 -0
  2239. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/amountInput/AmountInput.d.ts +0 -0
  2240. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/amountInput/utils.d.ts +0 -0
  2241. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/animatedNumber/AnimatedNumber.d.ts +0 -0
  2242. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/chevron/Chevron.d.ts +0 -0
  2243. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/currencySelector/CurrencySelector.d.ts +0 -0
  2244. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/hooks/useFocus.d.ts +0 -0
  2245. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/hooks/useInputStyle.d.ts +0 -0
  2246. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/hooks/useSelectionRange.d.ts +0 -0
  2247. /package/build/types/{expressiveMoneyInput → src/expressiveMoneyInput}/index.d.ts +0 -0
  2248. /package/build/types/{field → src/field}/Field.d.ts +0 -0
  2249. /package/build/types/{flowNavigation → src/flowNavigation}/FlowNavigation.d.ts +0 -0
  2250. /package/build/types/{flowNavigation → src/flowNavigation}/FlowNavigation.messages.d.ts +0 -0
  2251. /package/build/types/{flowNavigation → src/flowNavigation}/animatedLabel/AnimatedLabel.d.ts +0 -0
  2252. /package/build/types/{flowNavigation → src/flowNavigation}/animatedLabel/index.d.ts +0 -0
  2253. /package/build/types/{header → src/header}/Header.d.ts +0 -0
  2254. /package/build/types/{header → src/header}/index.d.ts +0 -0
  2255. /package/build/types/{i18n → src/i18n}/commonMessages/Button.messages.d.ts +0 -0
  2256. /package/build/types/{i18n → src/i18n}/index.d.ts +0 -0
  2257. /package/build/types/{iconButton → src/iconButton}/IconButton.d.ts +0 -0
  2258. /package/build/types/{iconButton → src/iconButton}/index.d.ts +0 -0
  2259. /package/build/types/{image → src/image}/Image.d.ts +0 -0
  2260. /package/build/types/{image → src/image}/index.d.ts +0 -0
  2261. /package/build/types/{info → src/info}/Info.d.ts +0 -0
  2262. /package/build/types/{info → src/info}/Info.messages.d.ts +0 -0
  2263. /package/build/types/{info → src/info}/index.d.ts +0 -0
  2264. /package/build/types/{info → src/info}/infoPresentations.d.ts +0 -0
  2265. /package/build/types/{inlineAlert → src/inlineAlert}/InlineAlert.d.ts +0 -0
  2266. /package/build/types/{inlineAlert → src/inlineAlert}/index.d.ts +0 -0
  2267. /package/build/types/{inputWithDisplayFormat → src/inputWithDisplayFormat}/InputWithDisplayFormat.d.ts +0 -0
  2268. /package/build/types/{inputWithDisplayFormat → src/inputWithDisplayFormat}/index.d.ts +0 -0
  2269. /package/build/types/{inputs → src/inputs}/Input.d.ts +0 -0
  2270. /package/build/types/{inputs → src/inputs}/InputGroup.d.ts +0 -0
  2271. /package/build/types/{inputs → src/inputs}/SearchInput.d.ts +0 -0
  2272. /package/build/types/{inputs → src/inputs}/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts +0 -0
  2273. /package/build/types/{inputs → src/inputs}/SelectInput/BottomSheet/index.d.ts +0 -0
  2274. /package/build/types/{inputs → src/inputs}/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +0 -0
  2275. /package/build/types/{inputs → src/inputs}/SelectInput/ButtonInput/index.d.ts +0 -0
  2276. /package/build/types/{inputs → src/inputs}/SelectInput/ClearButton/SelectInputClearButton.d.ts +0 -0
  2277. /package/build/types/{inputs → src/inputs}/SelectInput/ClearButton/index.d.ts +0 -0
  2278. /package/build/types/{inputs → src/inputs}/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +0 -0
  2279. /package/build/types/{inputs → src/inputs}/SelectInput/DefaultRenderTrigger/index.d.ts +0 -0
  2280. /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +0 -0
  2281. /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/GroupItemView/index.d.ts +0 -0
  2282. /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/SelectInputItemView.d.ts +0 -0
  2283. /package/build/types/{inputs → src/inputs}/SelectInput/ItemView/index.d.ts +0 -0
  2284. /package/build/types/{inputs → src/inputs}/SelectInput/Option/SelectInputOption.d.ts +0 -0
  2285. /package/build/types/{inputs → src/inputs}/SelectInput/Option/index.d.ts +0 -0
  2286. /package/build/types/{inputs → src/inputs}/SelectInput/OptionContent/SelectInputOptionContent.d.ts +0 -0
  2287. /package/build/types/{inputs → src/inputs}/SelectInput/OptionContent/index.d.ts +0 -0
  2288. /package/build/types/{inputs → src/inputs}/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +0 -0
  2289. /package/build/types/{inputs → src/inputs}/SelectInput/Options/OptionsContainer/index.d.ts +0 -0
  2290. /package/build/types/{inputs → src/inputs}/SelectInput/Options/SelectInputOptions.d.ts +0 -0
  2291. /package/build/types/{inputs → src/inputs}/SelectInput/Options/index.d.ts +0 -0
  2292. /package/build/types/{inputs → src/inputs}/SelectInput/Popover/SelectInputPopover.d.ts +0 -0
  2293. /package/build/types/{inputs → src/inputs}/SelectInput/Popover/index.d.ts +0 -0
  2294. /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.contexts.d.ts +0 -0
  2295. /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.d.ts +0 -0
  2296. /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.messages.d.ts +0 -0
  2297. /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.types.d.ts +0 -0
  2298. /package/build/types/{inputs → src/inputs}/SelectInput/SelectInput.utils.d.ts +0 -0
  2299. /package/build/types/{inputs → src/inputs}/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +0 -0
  2300. /package/build/types/{inputs → src/inputs}/SelectInput/TriggerButton/index.d.ts +0 -0
  2301. /package/build/types/{inputs → src/inputs}/SelectInput/components.d.ts +0 -0
  2302. /package/build/types/{inputs → src/inputs}/SelectInput/index.d.ts +0 -0
  2303. /package/build/types/{inputs → src/inputs}/TextArea.d.ts +0 -0
  2304. /package/build/types/{inputs → src/inputs}/_common.d.ts +0 -0
  2305. /package/build/types/{inputs → src/inputs}/contexts.d.ts +0 -0
  2306. /package/build/types/{instructionsList → src/instructionsList}/InstructionsList.d.ts +0 -0
  2307. /package/build/types/{instructionsList → src/instructionsList}/index.d.ts +0 -0
  2308. /package/build/types/{label → src/label}/Label.d.ts +0 -0
  2309. /package/build/types/{label → src/label}/Label.messages.d.ts +0 -0
  2310. /package/build/types/{label → src/label}/index.d.ts +0 -0
  2311. /package/build/types/{legacylistItem → src/legacylistItem}/LegacyListItem.d.ts +0 -0
  2312. /package/build/types/{legacylistItem → src/legacylistItem}/index.d.ts +0 -0
  2313. /package/build/types/{link → src/link}/Link.d.ts +0 -0
  2314. /package/build/types/{link → src/link}/Link.messages.d.ts +0 -0
  2315. /package/build/types/{link → src/link}/index.d.ts +0 -0
  2316. /package/build/types/{list → src/list}/List.d.ts +0 -0
  2317. /package/build/types/{list → src/list}/index.d.ts +0 -0
  2318. /package/build/types/{listItem → src/listItem}/AdditionalInfo/ListItemAdditionalInfo.d.ts +0 -0
  2319. /package/build/types/{listItem → src/listItem}/AdditionalInfo/index.d.ts +0 -0
  2320. /package/build/types/{listItem → src/listItem}/AvatarLayout/ListItemAvatarLayout.d.ts +0 -0
  2321. /package/build/types/{listItem → src/listItem}/AvatarLayout/index.d.ts +0 -0
  2322. /package/build/types/{listItem → src/listItem}/AvatarView/ListItemAvatarView.d.ts +0 -0
  2323. /package/build/types/{listItem → src/listItem}/AvatarView/index.d.ts +0 -0
  2324. /package/build/types/{listItem → src/listItem}/Button/ListItemButton.d.ts +0 -0
  2325. /package/build/types/{listItem → src/listItem}/Button/index.d.ts +0 -0
  2326. /package/build/types/{listItem → src/listItem}/Checkbox/ListItemCheckbox.d.ts +0 -0
  2327. /package/build/types/{listItem → src/listItem}/Checkbox/index.d.ts +0 -0
  2328. /package/build/types/{listItem → src/listItem}/IconButton/ListItemIconButton.d.ts +0 -0
  2329. /package/build/types/{listItem → src/listItem}/IconButton/index.d.ts +0 -0
  2330. /package/build/types/{listItem → src/listItem}/Image/ListItemImage.d.ts +0 -0
  2331. /package/build/types/{listItem → src/listItem}/Image/index.d.ts +0 -0
  2332. /package/build/types/{listItem → src/listItem}/ListItem.d.ts +0 -0
  2333. /package/build/types/{listItem → src/listItem}/ListItemContext.d.ts +0 -0
  2334. /package/build/types/{listItem → src/listItem}/Navigation/ListItemNavigation.d.ts +0 -0
  2335. /package/build/types/{listItem → src/listItem}/Navigation/index.d.ts +0 -0
  2336. /package/build/types/{listItem → src/listItem}/Prompt/ListItemPrompt.d.ts +0 -0
  2337. /package/build/types/{listItem → src/listItem}/Prompt/index.d.ts +0 -0
  2338. /package/build/types/{listItem → src/listItem}/Radio/ListItemRadio.d.ts +0 -0
  2339. /package/build/types/{listItem → src/listItem}/Radio/index.d.ts +0 -0
  2340. /package/build/types/{listItem → src/listItem}/Switch/ListItemSwitch.d.ts +0 -0
  2341. /package/build/types/{listItem → src/listItem}/Switch/index.d.ts +0 -0
  2342. /package/build/types/{listItem → src/listItem}/_stories/helpers.d.ts +0 -0
  2343. /package/build/types/{listItem → src/listItem}/_stories/subcomponents.d.ts +0 -0
  2344. /package/build/types/{listItem → src/listItem}/_stories/variants/helpers.d.ts +0 -0
  2345. /package/build/types/{listItem → src/listItem}/constants.d.ts +0 -0
  2346. /package/build/types/{listItem → src/listItem}/index.d.ts +0 -0
  2347. /package/build/types/{listItem → src/listItem}/test-utils.d.ts +0 -0
  2348. /package/build/types/{listItem → src/listItem}/useListItemControl.d.ts +0 -0
  2349. /package/build/types/{listItem → src/listItem}/useListItemMedia.d.ts +0 -0
  2350. /package/build/types/{loader → src/loader}/Loader.d.ts +0 -0
  2351. /package/build/types/{loader → src/loader}/index.d.ts +0 -0
  2352. /package/build/types/{logo → src/logo}/index.d.ts +0 -0
  2353. /package/build/types/{logo → src/logo}/logo-assets.d.ts +0 -0
  2354. /package/build/types/{markdown → src/markdown}/Markdown.d.ts +0 -0
  2355. /package/build/types/{markdown → src/markdown}/index.d.ts +0 -0
  2356. /package/build/types/{mocks.d.ts → src/mocks.d.ts} +0 -0
  2357. /package/build/types/{modal → src/modal}/Modal.d.ts +0 -0
  2358. /package/build/types/{modal → src/modal}/index.d.ts +0 -0
  2359. /package/build/types/{money → src/money}/Money.d.ts +0 -0
  2360. /package/build/types/{money → src/money}/index.d.ts +0 -0
  2361. /package/build/types/{moneyInput → src/moneyInput}/MoneyInput.d.ts +0 -0
  2362. /package/build/types/{moneyInput → src/moneyInput}/MoneyInput.messages.d.ts +0 -0
  2363. /package/build/types/{moneyInput → src/moneyInput}/currencyFormatting.d.ts +0 -0
  2364. /package/build/types/{moneyInput → src/moneyInput}/index.d.ts +0 -0
  2365. /package/build/types/{navigationOption → src/navigationOption}/NavigationOption.d.ts +0 -0
  2366. /package/build/types/{navigationOption → src/navigationOption}/index.d.ts +0 -0
  2367. /package/build/types/{navigationOptionsList → src/navigationOptionsList}/NavigationOptionsList.d.ts +0 -0
  2368. /package/build/types/{navigationOptionsList → src/navigationOptionsList}/index.d.ts +0 -0
  2369. /package/build/types/{nudge → src/nudge}/Nudge.d.ts +0 -0
  2370. /package/build/types/{nudge → src/nudge}/index.d.ts +0 -0
  2371. /package/build/types/{overlayHeader → src/overlayHeader}/OverlayHeader.d.ts +0 -0
  2372. /package/build/types/{overlayHeader → src/overlayHeader}/index.d.ts +0 -0
  2373. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/PhoneNumberInput.d.ts +0 -0
  2374. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/PhoneNumberInput.messages.d.ts +0 -0
  2375. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/data/countries.d.ts +0 -0
  2376. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/index.d.ts +0 -0
  2377. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/cleanNumber/cleanNumber.d.ts +0 -0
  2378. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/cleanNumber/index.d.ts +0 -0
  2379. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/excludeCountries/excludeCountries.d.ts +0 -0
  2380. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/excludeCountries/index.d.ts +0 -0
  2381. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/explodeNumberModel/index.d.ts +0 -0
  2382. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/findCountryByCode/index.d.ts +0 -0
  2383. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/findCountryByPrefix/index.d.ts +0 -0
  2384. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/groupCountriesByPrefix/groupCountriesByPrefix.d.ts +0 -0
  2385. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/groupCountriesByPrefix/index.d.ts +0 -0
  2386. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/index.d.ts +0 -0
  2387. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isStringNumeric/index.d.ts +0 -0
  2388. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isStringNumeric/isStringNumeric.d.ts +0 -0
  2389. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isValidPhoneNumber/index.d.ts +0 -0
  2390. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/isValidPhoneNumber/isValidPhoneNumber.d.ts +0 -0
  2391. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/longestMatchingPrefix/index.d.ts +0 -0
  2392. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/setDefaultPrefix/index.d.ts +0 -0
  2393. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/sortArrayByProperty/index.d.ts +0 -0
  2394. /package/build/types/{phoneNumberInput → src/phoneNumberInput}/utils/sortArrayByProperty/sortArrayByProperty.d.ts +0 -0
  2395. /package/build/types/{popover → src/popover}/Popover.d.ts +0 -0
  2396. /package/build/types/{popover → src/popover}/index.d.ts +0 -0
  2397. /package/build/types/{primitives → src/primitives}/PrimitiveAnchor/PrimitiveAnchor.d.ts +0 -0
  2398. /package/build/types/{primitives → src/primitives}/PrimitiveAnchor/PrimitiveAnchor.types.d.ts +0 -0
  2399. /package/build/types/{primitives → src/primitives}/PrimitiveAnchor/index.d.ts +0 -0
  2400. /package/build/types/{primitives → src/primitives}/PrimitiveButton/PrimitiveButton.d.ts +0 -0
  2401. /package/build/types/{primitives → src/primitives}/PrimitiveButton/PrimitiveButton.types.d.ts +0 -0
  2402. /package/build/types/{primitives → src/primitives}/PrimitiveButton/index.d.ts +0 -0
  2403. /package/build/types/{primitives → src/primitives}/index.d.ts +0 -0
  2404. /package/build/types/{primitives → src/primitives}/types.d.ts +0 -0
  2405. /package/build/types/{processIndicator → src/processIndicator}/ProcessIndicator.d.ts +0 -0
  2406. /package/build/types/{processIndicator → src/processIndicator}/index.d.ts +0 -0
  2407. /package/build/types/{progress → src/progress}/Progress.d.ts +0 -0
  2408. /package/build/types/{progress → src/progress}/index.d.ts +0 -0
  2409. /package/build/types/{progressBar → src/progressBar}/ProgressBar.d.ts +0 -0
  2410. /package/build/types/{progressBar → src/progressBar}/index.d.ts +0 -0
  2411. /package/build/types/{promoCard → src/promoCard}/PromoCard.d.ts +0 -0
  2412. /package/build/types/{promoCard → src/promoCard}/PromoCardContext.d.ts +0 -0
  2413. /package/build/types/{promoCard → src/promoCard}/PromoCardGroup.d.ts +0 -0
  2414. /package/build/types/{promoCard → src/promoCard}/PromoCardIndicator.d.ts +0 -0
  2415. /package/build/types/{promoCard → src/promoCard}/index.d.ts +0 -0
  2416. /package/build/types/{prompt → src/prompt}/ActionPrompt/ActionPrompt.d.ts +0 -0
  2417. /package/build/types/{prompt → src/prompt}/ActionPrompt/index.d.ts +0 -0
  2418. /package/build/types/{prompt → src/prompt}/CriticalBanner/CriticalBanner.d.ts +0 -0
  2419. /package/build/types/{prompt → src/prompt}/CriticalBanner/helpers.d.ts +0 -0
  2420. /package/build/types/{prompt → src/prompt}/CriticalBanner/index.d.ts +0 -0
  2421. /package/build/types/{prompt → src/prompt}/InfoPrompt/InfoPrompt.d.ts +0 -0
  2422. /package/build/types/{prompt → src/prompt}/InfoPrompt/index.d.ts +0 -0
  2423. /package/build/types/{prompt → src/prompt}/InlinePrompt/InlinePrompt.d.ts +0 -0
  2424. /package/build/types/{prompt → src/prompt}/InlinePrompt/index.d.ts +0 -0
  2425. /package/build/types/{prompt → src/prompt}/PrimitivePrompt/PrimitivePrompt.d.ts +0 -0
  2426. /package/build/types/{prompt → src/prompt}/PrimitivePrompt/index.d.ts +0 -0
  2427. /package/build/types/{prompt → src/prompt}/common/Expander/Expander.d.ts +0 -0
  2428. /package/build/types/{prompt → src/prompt}/common/Expander/Expander.messages.d.ts +0 -0
  2429. /package/build/types/{prompt → src/prompt}/helpers/promptMedia.d.ts +0 -0
  2430. /package/build/types/{prompt → src/prompt}/index.d.ts +0 -0
  2431. /package/build/types/{provider → src/provider}/Provider.d.ts +0 -0
  2432. /package/build/types/{provider → src/provider}/direction/DirectionProvider.d.ts +0 -0
  2433. /package/build/types/{provider → src/provider}/direction/index.d.ts +0 -0
  2434. /package/build/types/{provider → src/provider}/index.d.ts +0 -0
  2435. /package/build/types/{provider → src/provider}/language/LanguageProvider.d.ts +0 -0
  2436. /package/build/types/{provider → src/provider}/language/index.d.ts +0 -0
  2437. /package/build/types/{provider → src/provider}/overlay/OverlayIdProvider.d.ts +0 -0
  2438. /package/build/types/{radio → src/radio}/Radio.d.ts +0 -0
  2439. /package/build/types/{radio → src/radio}/index.d.ts +0 -0
  2440. /package/build/types/{radioGroup → src/radioGroup}/RadioGroup.d.ts +0 -0
  2441. /package/build/types/{radioGroup → src/radioGroup}/index.d.ts +0 -0
  2442. /package/build/types/{radioOption → src/radioOption}/RadioOption.d.ts +0 -0
  2443. /package/build/types/{radioOption → src/radioOption}/index.d.ts +0 -0
  2444. /package/build/types/{section → src/section}/Section.d.ts +0 -0
  2445. /package/build/types/{section → src/section}/index.d.ts +0 -0
  2446. /package/build/types/{segmentedControl → src/segmentedControl}/SegmentedControl.d.ts +0 -0
  2447. /package/build/types/{segmentedControl → src/segmentedControl}/index.d.ts +0 -0
  2448. /package/build/types/{select → src/select}/Select.d.ts +0 -0
  2449. /package/build/types/{select → src/select}/Select.messages.d.ts +0 -0
  2450. /package/build/types/{select → src/select}/index.d.ts +0 -0
  2451. /package/build/types/{select → src/select}/option/Option.d.ts +0 -0
  2452. /package/build/types/{select → src/select}/option/index.d.ts +0 -0
  2453. /package/build/types/{select → src/select}/searchBox/SearchBox.d.ts +0 -0
  2454. /package/build/types/{select → src/select}/searchBox/index.d.ts +0 -0
  2455. /package/build/types/{sentimentSurface → src/sentimentSurface}/SentimentSurface.d.ts +0 -0
  2456. /package/build/types/{sentimentSurface → src/sentimentSurface}/SentimentSurface.types.d.ts +0 -0
  2457. /package/build/types/{sentimentSurface → src/sentimentSurface}/index.d.ts +0 -0
  2458. /package/build/types/{slidingPanel → src/slidingPanel}/SlidingPanel.d.ts +0 -0
  2459. /package/build/types/{slidingPanel → src/slidingPanel}/index.d.ts +0 -0
  2460. /package/build/types/{snackbar → src/snackbar}/Snackbar.d.ts +0 -0
  2461. /package/build/types/{snackbar → src/snackbar}/SnackbarContext.d.ts +0 -0
  2462. /package/build/types/{snackbar → src/snackbar}/SnackbarProvider.d.ts +0 -0
  2463. /package/build/types/{snackbar → src/snackbar}/index.d.ts +0 -0
  2464. /package/build/types/{snackbar → src/snackbar}/useSnackbar.d.ts +0 -0
  2465. /package/build/types/{statusIcon → src/statusIcon}/StatusIcon.d.ts +0 -0
  2466. /package/build/types/{statusIcon → src/statusIcon}/StatusIcon.messages.d.ts +0 -0
  2467. /package/build/types/{statusIcon → src/statusIcon}/index.d.ts +0 -0
  2468. /package/build/types/{stepper → src/stepper}/Stepper.d.ts +0 -0
  2469. /package/build/types/{stepper → src/stepper}/deviceDetection.d.ts +0 -0
  2470. /package/build/types/{sticky → src/sticky}/Sticky.d.ts +0 -0
  2471. /package/build/types/{sticky → src/sticky}/index.d.ts +0 -0
  2472. /package/build/types/{summary → src/summary}/Summary.d.ts +0 -0
  2473. /package/build/types/{summary → src/summary}/Summary.messages.d.ts +0 -0
  2474. /package/build/types/{summary → src/summary}/index.d.ts +0 -0
  2475. /package/build/types/{switch → src/switch}/Switch.d.ts +0 -0
  2476. /package/build/types/{switch → src/switch}/index.d.ts +0 -0
  2477. /package/build/types/{switchOption → src/switchOption}/SwitchOption.d.ts +0 -0
  2478. /package/build/types/{switchOption → src/switchOption}/index.d.ts +0 -0
  2479. /package/build/types/{table → src/table}/Table.d.ts +0 -0
  2480. /package/build/types/{table → src/table}/Table.messages.d.ts +0 -0
  2481. /package/build/types/{table → src/table}/TableCell.d.ts +0 -0
  2482. /package/build/types/{table → src/table}/TableHeader.d.ts +0 -0
  2483. /package/build/types/{table → src/table}/TableRow.d.ts +0 -0
  2484. /package/build/types/{table → src/table}/TableStatusText.d.ts +0 -0
  2485. /package/build/types/{table → src/table}/index.d.ts +0 -0
  2486. /package/build/types/{tabs → src/tabs}/Tab.d.ts +0 -0
  2487. /package/build/types/{tabs → src/tabs}/TabList.d.ts +0 -0
  2488. /package/build/types/{tabs → src/tabs}/TabPanel.d.ts +0 -0
  2489. /package/build/types/{tabs → src/tabs}/Tabs.d.ts +0 -0
  2490. /package/build/types/{tabs → src/tabs}/index.d.ts +0 -0
  2491. /package/build/types/{tabs → src/tabs}/utils.d.ts +0 -0
  2492. /package/build/types/{test-utils → src/test-utils}/fake-data.d.ts +0 -0
  2493. /package/build/types/{test-utils → src/test-utils}/index.d.ts +0 -0
  2494. /package/build/types/{test-utils → src/test-utils}/jest.setup.d.ts +0 -0
  2495. /package/build/types/{test-utils → src/test-utils}/style-mock.d.ts +0 -0
  2496. /package/build/types/{test-utils → src/test-utils}/wait.d.ts +0 -0
  2497. /package/build/types/{test-utils → src/test-utils}/window-mock.d.ts +0 -0
  2498. /package/build/types/{textareaWithDisplayFormat → src/textareaWithDisplayFormat}/TextareaWithDisplayFormat.d.ts +0 -0
  2499. /package/build/types/{textareaWithDisplayFormat → src/textareaWithDisplayFormat}/index.d.ts +0 -0
  2500. /package/build/types/{tile → src/tile}/Tile.d.ts +0 -0
  2501. /package/build/types/{tile → src/tile}/index.d.ts +0 -0
  2502. /package/build/types/{title → src/title}/Title.d.ts +0 -0
  2503. /package/build/types/{title → src/title}/index.d.ts +0 -0
  2504. /package/build/types/{tooltip → src/tooltip}/Tooltip.d.ts +0 -0
  2505. /package/build/types/{tooltip → src/tooltip}/index.d.ts +0 -0
  2506. /package/build/types/{typeahead → src/typeahead}/Typeahead.d.ts +0 -0
  2507. /package/build/types/{typeahead → src/typeahead}/Typeahead.messages.d.ts +0 -0
  2508. /package/build/types/{typeahead → src/typeahead}/index.d.ts +0 -0
  2509. /package/build/types/{typeahead → src/typeahead}/typeaheadInput/TypeaheadInput.d.ts +0 -0
  2510. /package/build/types/{typeahead → src/typeahead}/typeaheadOption/TypeaheadOption.d.ts +0 -0
  2511. /package/build/types/{typeahead → src/typeahead}/util/highlight.d.ts +0 -0
  2512. /package/build/types/{upload → src/upload}/Upload.d.ts +0 -0
  2513. /package/build/types/{upload → src/upload}/Upload.messages.d.ts +0 -0
  2514. /package/build/types/{upload → src/upload}/index.d.ts +0 -0
  2515. /package/build/types/{upload → src/upload}/steps/completeStep/completeStep.d.ts +0 -0
  2516. /package/build/types/{upload → src/upload}/steps/completeStep/index.d.ts +0 -0
  2517. /package/build/types/{upload → src/upload}/steps/index.d.ts +0 -0
  2518. /package/build/types/{upload → src/upload}/steps/processingStep/index.d.ts +0 -0
  2519. /package/build/types/{upload → src/upload}/steps/processingStep/processingStep.d.ts +0 -0
  2520. /package/build/types/{upload → src/upload}/steps/uploadImageStep/index.d.ts +0 -0
  2521. /package/build/types/{upload → src/upload}/steps/uploadImageStep/uploadImageStep.d.ts +0 -0
  2522. /package/build/types/{upload → src/upload}/utils/asyncFileRead/asyncFileRead.d.ts +0 -0
  2523. /package/build/types/{upload → src/upload}/utils/asyncFileRead/index.d.ts +0 -0
  2524. /package/build/types/{upload → src/upload}/utils/getFileType/getFileType.d.ts +0 -0
  2525. /package/build/types/{upload → src/upload}/utils/getFileType/index.d.ts +0 -0
  2526. /package/build/types/{upload → src/upload}/utils/index.d.ts +0 -0
  2527. /package/build/types/{upload → src/upload}/utils/isSizeValid/index.d.ts +0 -0
  2528. /package/build/types/{upload → src/upload}/utils/isSizeValid/isSizeValid.d.ts +0 -0
  2529. /package/build/types/{upload → src/upload}/utils/isTypeValid/index.d.ts +0 -0
  2530. /package/build/types/{upload → src/upload}/utils/isTypeValid/isTypeValid.d.ts +0 -0
  2531. /package/build/types/{upload → src/upload}/utils/postData/index.d.ts +0 -0
  2532. /package/build/types/{upload → src/upload}/utils/postData/postData.d.ts +0 -0
  2533. /package/build/types/{uploadInput → src/uploadInput}/UploadInput.d.ts +0 -0
  2534. /package/build/types/{uploadInput → src/uploadInput}/UploadInput.messages.d.ts +0 -0
  2535. /package/build/types/{uploadInput → src/uploadInput}/index.d.ts +0 -0
  2536. /package/build/types/{uploadInput → src/uploadInput}/types.d.ts +0 -0
  2537. /package/build/types/{uploadInput → src/uploadInput}/uploadButton/UploadButton.d.ts +0 -0
  2538. /package/build/types/{uploadInput → src/uploadInput}/uploadButton/UploadButton.messages.d.ts +0 -0
  2539. /package/build/types/{uploadInput → src/uploadInput}/uploadButton/defaults.d.ts +0 -0
  2540. /package/build/types/{uploadInput → src/uploadInput}/uploadButton/getAllowedFileTypes.d.ts +0 -0
  2541. /package/build/types/{uploadInput → src/uploadInput}/uploadItem/UploadItem.d.ts +0 -0
  2542. /package/build/types/{uploadInput → src/uploadInput}/uploadItem/UploadItem.messages.d.ts +0 -0
  2543. /package/build/types/{uploadInput → src/uploadInput}/uploadItem/UploadItemLink.d.ts +0 -0
  2544. /package/build/types/{utilities → src/utilities}/cssValueWithUnit.d.ts +0 -0
  2545. /package/build/types/{utilities → src/utilities}/deprecatedProperty/deprecatedProperty.d.ts +0 -0
  2546. /package/build/types/{utilities → src/utilities}/deprecatedProperty/index.d.ts +0 -0
  2547. /package/build/types/{utilities → src/utilities}/index.d.ts +0 -0
  2548. /package/build/types/{utilities → src/utilities}/logActionRequired.d.ts +0 -0
  2549. /package/build/types/{utils.d.ts → src/utils.d.ts} +0 -0
  2550. /package/build/types/{withDisplayFormat → src/withDisplayFormat}/WithDisplayFormat.d.ts +0 -0
  2551. /package/build/types/{withDisplayFormat → src/withDisplayFormat}/index.d.ts +0 -0
  2552. /package/build/types/{withId → src/withId}/index.d.ts +0 -0
  2553. /package/build/types/{withId → src/withId}/story/source.d.ts +0 -0
  2554. /package/build/types/{withId → src/withId}/withId.d.ts +0 -0
  2555. /package/build/types/{withNextPortal → src/withNextPortal}/withNextPortal.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputItemView.js","sources":["../../../../src/inputs/SelectInput/ItemView/SelectInputItemView.tsx"],"sourcesContent":["import { selectInputOptionItemIncludesNeedle } from '../SelectInput.utils';\nimport { SelectInputItem, SelectInputProps } from '../SelectInput.types';\nimport { SelectInputOption } from '../Option';\nimport { SelectInputGroupItemView } from './GroupItemView';\n\nexport interface SelectInputItemViewProps<\n T = string,\n I extends SelectInputItem<T | undefined> = SelectInputItem<T | undefined>,\n> extends Required<Pick<SelectInputProps<T>, 'renderValue'>> {\n item: I;\n needle: string | null | undefined;\n}\n\n/**\n * Component that renders different types of SelectInput items:\n * options, groups, or separators.\n */\nexport function SelectInputItemView<T = string>({\n item,\n renderValue,\n needle,\n}: SelectInputItemViewProps<T>) {\n switch (item.type) {\n case 'option': {\n if (\n item.value != null &&\n (needle == null || selectInputOptionItemIncludesNeedle(item, needle))\n ) {\n return (\n <SelectInputOption value={item.value} disabled={item.disabled}>\n {renderValue(item.value, false)}\n </SelectInputOption>\n );\n }\n break;\n }\n case 'group': {\n return <SelectInputGroupItemView item={item} renderValue={renderValue} needle={needle} />;\n }\n case 'separator': {\n if (needle == null) {\n return <hr className=\"np-select-input-separator-item\" />;\n }\n break;\n }\n }\n return null;\n}\n"],"names":["SelectInputItemView","item","renderValue","needle","type","value","selectInputOptionItemIncludesNeedle","_jsx","SelectInputOption","disabled","children","SelectInputGroupItemView","className"],"mappings":";;;;;;;AAiBM,SAAUA,mBAAmBA,CAAa;EAC9CC,IAAI;EACJC,WAAW;AACXC,EAAAA;AAAM,CACsB,EAAA;EAC5B,QAAQF,IAAI,CAACG,IAAI;AACf,IAAA,KAAK,QAAQ;AAAE,MAAA;AACb,QAAA,IACEH,IAAI,CAACI,KAAK,IAAI,IAAI,KACjBF,MAAM,IAAI,IAAI,IAAIG,qDAAmC,CAACL,IAAI,EAAEE,MAAM,CAAC,CAAC,EACrE;UACA,oBACEI,cAAA,CAACC,mCAAiB,EAAA;YAACH,KAAK,EAAEJ,IAAI,CAACI,KAAM;YAACI,QAAQ,EAAER,IAAI,CAACQ,QAAS;AAAAC,YAAAA,QAAA,EAC3DR,WAAW,CAACD,IAAI,CAACI,KAAK,EAAE,KAAK;AAAC,WACd,CAAC;AAExB,QAAA;AACA,QAAA;AACF,MAAA;AACA,IAAA,KAAK,OAAO;AAAE,MAAA;QACZ,oBAAOE,cAAA,CAACI,iDAAwB,EAAA;AAACV,UAAAA,IAAI,EAAEA,IAAK;AAACC,UAAAA,WAAW,EAAEA,WAAY;AAACC,UAAAA,MAAM,EAAEA;AAAO,SAAA,CAAG;AAC3F,MAAA;AACA,IAAA,KAAK,WAAW;AAAE,MAAA;QAChB,IAAIA,MAAM,IAAI,IAAI,EAAE;AAClB,UAAA,oBAAOI,cAAA,CAAA,IAAA,EAAA;AAAIK,YAAAA,SAAS,EAAC;AAAgC,YAAG;AAC1D,QAAA;AACA,QAAA;AACF,MAAA;AACF;AACA,EAAA,OAAO,IAAI;AACb;;;;"}
1
+ {"version":3,"file":"SelectInputItemView.js","sources":["../../../../../src/inputs/SelectInput/ItemView/SelectInputItemView.tsx"],"sourcesContent":["import { selectInputOptionItemIncludesNeedle } from '../SelectInput.utils';\nimport { SelectInputItem, SelectInputProps } from '../SelectInput.types';\nimport { SelectInputOption } from '../Option';\nimport { SelectInputGroupItemView } from './GroupItemView';\n\nexport interface SelectInputItemViewProps<\n T = string,\n I extends SelectInputItem<T | undefined> = SelectInputItem<T | undefined>,\n> extends Required<Pick<SelectInputProps<T>, 'renderValue'>> {\n item: I;\n needle: string | null | undefined;\n}\n\n/**\n * Component that renders different types of SelectInput items:\n * options, groups, or separators.\n */\nexport function SelectInputItemView<T = string>({\n item,\n renderValue,\n needle,\n}: SelectInputItemViewProps<T>) {\n switch (item.type) {\n case 'option': {\n if (\n item.value != null &&\n (needle == null || selectInputOptionItemIncludesNeedle(item, needle))\n ) {\n return (\n <SelectInputOption value={item.value} disabled={item.disabled}>\n {renderValue(item.value, false)}\n </SelectInputOption>\n );\n }\n break;\n }\n case 'group': {\n return <SelectInputGroupItemView item={item} renderValue={renderValue} needle={needle} />;\n }\n case 'separator': {\n if (needle == null) {\n return <hr className=\"np-select-input-separator-item\" />;\n }\n break;\n }\n }\n return null;\n}\n"],"names":["SelectInputItemView","item","renderValue","needle","type","value","selectInputOptionItemIncludesNeedle","_jsx","SelectInputOption","disabled","children","SelectInputGroupItemView","className"],"mappings":";;;;;;;AAiBM,SAAUA,mBAAmBA,CAAa;EAC9CC,IAAI;EACJC,WAAW;AACXC,EAAAA;AAAM,CACsB,EAAA;EAC5B,QAAQF,IAAI,CAACG,IAAI;AACf,IAAA,KAAK,QAAQ;AAAE,MAAA;AACb,QAAA,IACEH,IAAI,CAACI,KAAK,IAAI,IAAI,KACjBF,MAAM,IAAI,IAAI,IAAIG,qDAAmC,CAACL,IAAI,EAAEE,MAAM,CAAC,CAAC,EACrE;UACA,oBACEI,cAAA,CAACC,mCAAiB,EAAA;YAACH,KAAK,EAAEJ,IAAI,CAACI,KAAM;YAACI,QAAQ,EAAER,IAAI,CAACQ,QAAS;AAAAC,YAAAA,QAAA,EAC3DR,WAAW,CAACD,IAAI,CAACI,KAAK,EAAE,KAAK;AAAC,WACd,CAAC;AAExB,QAAA;AACA,QAAA;AACF,MAAA;AACA,IAAA,KAAK,OAAO;AAAE,MAAA;QACZ,oBAAOE,cAAA,CAACI,iDAAwB,EAAA;AAACV,UAAAA,IAAI,EAAEA,IAAK;AAACC,UAAAA,WAAW,EAAEA,WAAY;AAACC,UAAAA,MAAM,EAAEA;AAAO,SAAA,CAAG;AAC3F,MAAA;AACA,IAAA,KAAK,WAAW;AAAE,MAAA;QAChB,IAAIA,MAAM,IAAI,IAAI,EAAE;AAClB,UAAA,oBAAOI,cAAA,CAAA,IAAA,EAAA;AAAIK,YAAAA,SAAS,EAAC;AAAgC,YAAG;AAC1D,QAAA;AACA,QAAA;AACF,MAAA;AACF;AACA,EAAA,OAAO,IAAI;AACb;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputItemView.mjs","sources":["../../../../src/inputs/SelectInput/ItemView/SelectInputItemView.tsx"],"sourcesContent":["import { selectInputOptionItemIncludesNeedle } from '../SelectInput.utils';\nimport { SelectInputItem, SelectInputProps } from '../SelectInput.types';\nimport { SelectInputOption } from '../Option';\nimport { SelectInputGroupItemView } from './GroupItemView';\n\nexport interface SelectInputItemViewProps<\n T = string,\n I extends SelectInputItem<T | undefined> = SelectInputItem<T | undefined>,\n> extends Required<Pick<SelectInputProps<T>, 'renderValue'>> {\n item: I;\n needle: string | null | undefined;\n}\n\n/**\n * Component that renders different types of SelectInput items:\n * options, groups, or separators.\n */\nexport function SelectInputItemView<T = string>({\n item,\n renderValue,\n needle,\n}: SelectInputItemViewProps<T>) {\n switch (item.type) {\n case 'option': {\n if (\n item.value != null &&\n (needle == null || selectInputOptionItemIncludesNeedle(item, needle))\n ) {\n return (\n <SelectInputOption value={item.value} disabled={item.disabled}>\n {renderValue(item.value, false)}\n </SelectInputOption>\n );\n }\n break;\n }\n case 'group': {\n return <SelectInputGroupItemView item={item} renderValue={renderValue} needle={needle} />;\n }\n case 'separator': {\n if (needle == null) {\n return <hr className=\"np-select-input-separator-item\" />;\n }\n break;\n }\n }\n return null;\n}\n"],"names":["SelectInputItemView","item","renderValue","needle","type","value","selectInputOptionItemIncludesNeedle","_jsx","SelectInputOption","disabled","children","SelectInputGroupItemView","className"],"mappings":";;;;;AAiBM,SAAUA,mBAAmBA,CAAa;EAC9CC,IAAI;EACJC,WAAW;AACXC,EAAAA;AAAM,CACsB,EAAA;EAC5B,QAAQF,IAAI,CAACG,IAAI;AACf,IAAA,KAAK,QAAQ;AAAE,MAAA;AACb,QAAA,IACEH,IAAI,CAACI,KAAK,IAAI,IAAI,KACjBF,MAAM,IAAI,IAAI,IAAIG,mCAAmC,CAACL,IAAI,EAAEE,MAAM,CAAC,CAAC,EACrE;UACA,oBACEI,GAAA,CAACC,iBAAiB,EAAA;YAACH,KAAK,EAAEJ,IAAI,CAACI,KAAM;YAACI,QAAQ,EAAER,IAAI,CAACQ,QAAS;AAAAC,YAAAA,QAAA,EAC3DR,WAAW,CAACD,IAAI,CAACI,KAAK,EAAE,KAAK;AAAC,WACd,CAAC;AAExB,QAAA;AACA,QAAA;AACF,MAAA;AACA,IAAA,KAAK,OAAO;AAAE,MAAA;QACZ,oBAAOE,GAAA,CAACI,wBAAwB,EAAA;AAACV,UAAAA,IAAI,EAAEA,IAAK;AAACC,UAAAA,WAAW,EAAEA,WAAY;AAACC,UAAAA,MAAM,EAAEA;AAAO,SAAA,CAAG;AAC3F,MAAA;AACA,IAAA,KAAK,WAAW;AAAE,MAAA;QAChB,IAAIA,MAAM,IAAI,IAAI,EAAE;AAClB,UAAA,oBAAOI,GAAA,CAAA,IAAA,EAAA;AAAIK,YAAAA,SAAS,EAAC;AAAgC,YAAG;AAC1D,QAAA;AACA,QAAA;AACF,MAAA;AACF;AACA,EAAA,OAAO,IAAI;AACb;;;;"}
1
+ {"version":3,"file":"SelectInputItemView.mjs","sources":["../../../../../src/inputs/SelectInput/ItemView/SelectInputItemView.tsx"],"sourcesContent":["import { selectInputOptionItemIncludesNeedle } from '../SelectInput.utils';\nimport { SelectInputItem, SelectInputProps } from '../SelectInput.types';\nimport { SelectInputOption } from '../Option';\nimport { SelectInputGroupItemView } from './GroupItemView';\n\nexport interface SelectInputItemViewProps<\n T = string,\n I extends SelectInputItem<T | undefined> = SelectInputItem<T | undefined>,\n> extends Required<Pick<SelectInputProps<T>, 'renderValue'>> {\n item: I;\n needle: string | null | undefined;\n}\n\n/**\n * Component that renders different types of SelectInput items:\n * options, groups, or separators.\n */\nexport function SelectInputItemView<T = string>({\n item,\n renderValue,\n needle,\n}: SelectInputItemViewProps<T>) {\n switch (item.type) {\n case 'option': {\n if (\n item.value != null &&\n (needle == null || selectInputOptionItemIncludesNeedle(item, needle))\n ) {\n return (\n <SelectInputOption value={item.value} disabled={item.disabled}>\n {renderValue(item.value, false)}\n </SelectInputOption>\n );\n }\n break;\n }\n case 'group': {\n return <SelectInputGroupItemView item={item} renderValue={renderValue} needle={needle} />;\n }\n case 'separator': {\n if (needle == null) {\n return <hr className=\"np-select-input-separator-item\" />;\n }\n break;\n }\n }\n return null;\n}\n"],"names":["SelectInputItemView","item","renderValue","needle","type","value","selectInputOptionItemIncludesNeedle","_jsx","SelectInputOption","disabled","children","SelectInputGroupItemView","className"],"mappings":";;;;;AAiBM,SAAUA,mBAAmBA,CAAa;EAC9CC,IAAI;EACJC,WAAW;AACXC,EAAAA;AAAM,CACsB,EAAA;EAC5B,QAAQF,IAAI,CAACG,IAAI;AACf,IAAA,KAAK,QAAQ;AAAE,MAAA;AACb,QAAA,IACEH,IAAI,CAACI,KAAK,IAAI,IAAI,KACjBF,MAAM,IAAI,IAAI,IAAIG,mCAAmC,CAACL,IAAI,EAAEE,MAAM,CAAC,CAAC,EACrE;UACA,oBACEI,GAAA,CAACC,iBAAiB,EAAA;YAACH,KAAK,EAAEJ,IAAI,CAACI,KAAM;YAACI,QAAQ,EAAER,IAAI,CAACQ,QAAS;AAAAC,YAAAA,QAAA,EAC3DR,WAAW,CAACD,IAAI,CAACI,KAAK,EAAE,KAAK;AAAC,WACd,CAAC;AAExB,QAAA;AACA,QAAA;AACF,MAAA;AACA,IAAA,KAAK,OAAO;AAAE,MAAA;QACZ,oBAAOE,GAAA,CAACI,wBAAwB,EAAA;AAACV,UAAAA,IAAI,EAAEA,IAAK;AAACC,UAAAA,WAAW,EAAEA,WAAY;AAACC,UAAAA,MAAM,EAAEA;AAAO,SAAA,CAAG;AAC3F,MAAA;AACA,IAAA,KAAK,WAAW;AAAE,MAAA;QAChB,IAAIA,MAAM,IAAI,IAAI,EAAE;AAClB,UAAA,oBAAOI,GAAA,CAAA,IAAA,EAAA;AAAIK,YAAAA,SAAS,EAAC;AAAgC,YAAG;AAC1D,QAAA;AACA,QAAA;AACF,MAAA;AACF;AACA,EAAA,OAAO,IAAI;AACb;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputOption.js","sources":["../../../../src/inputs/SelectInput/Option/SelectInputOption.tsx"],"sourcesContent":["import { Check } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { useContext } from 'react';\nimport { ListboxOption } from '@headlessui/react';\nimport {\n SelectInputItemsCountContext,\n SelectInputItemPositionContext,\n} from '../SelectInput.contexts';\n\nexport interface SelectInputOptionProps<T = string> {\n value: T;\n disabled?: boolean;\n children?: React.ReactNode;\n}\n\n/**\n * A selectable option in a SelectInput dropdown.\n * Includes accessibility support and styling for selected, active, and disabled states.\n */\nexport function SelectInputOption<T = string>({\n value,\n disabled,\n children,\n}: SelectInputOptionProps<T>) {\n const itemsCount = useContext(SelectInputItemsCountContext);\n const itemPosition = useContext(SelectInputItemPositionContext);\n\n return (\n <ListboxOption\n as=\"div\"\n value={value}\n aria-setsize={itemsCount}\n aria-posinset={itemPosition}\n disabled={disabled}\n className={({ active, disabled: uiDisabled }) =>\n clsx(\n 'np-select-input-option-container np-text-body-large',\n active && 'np-select-input-option-container--active',\n uiDisabled && 'np-select-input-option-container--disabled',\n )\n }\n >\n {({ selected }) => (\n <>\n <div className=\"np-select-input-option\">{children}</div>\n <Check\n size={16}\n className={clsx(\n 'np-select-input-option-check',\n !selected && 'np-select-input-option-check--not-selected',\n )}\n />\n </>\n )}\n </ListboxOption>\n );\n}\n"],"names":["SelectInputOption","value","disabled","children","itemsCount","useContext","SelectInputItemsCountContext","itemPosition","SelectInputItemPositionContext","_jsx","ListboxOption","as","className","active","uiDisabled","clsx","selected","_jsxs","_Fragment","Check","size"],"mappings":";;;;;;;;;AAmBM,SAAUA,iBAAiBA,CAAa;EAC5CC,KAAK;EACLC,QAAQ;AACRC,EAAAA;AAAQ,CACkB,EAAA;AAC1B,EAAA,MAAMC,UAAU,GAAGC,gBAAU,CAACC,iDAA4B,CAAC;AAC3D,EAAA,MAAMC,YAAY,GAAGF,gBAAU,CAACG,mDAA8B,CAAC;EAE/D,oBACEC,cAAA,CAACC,mBAAa,EAAA;AACZC,IAAAA,EAAE,EAAC,KAAK;AACRV,IAAAA,KAAK,EAAEA,KAAM;AACb,IAAA,cAAA,EAAcG,UAAW;AACzB,IAAA,eAAA,EAAeG,YAAa;AAC5BL,IAAAA,QAAQ,EAAEA,QAAS;AACnBU,IAAAA,SAAS,EAAEA,CAAC;MAAEC,MAAM;AAAEX,MAAAA,QAAQ,EAAEY;AAAU,KAAE,KAC1CC,SAAI,CACF,qDAAqD,EACrDF,MAAM,IAAI,0CAA0C,EACpDC,UAAU,IAAI,4CAA4C,CAE7D;AAAAX,IAAAA,QAAA,EAEAA,CAAC;AAAEa,MAAAA;KAAU,kBACZC,eAAA,CAAAC,mBAAA,EAAA;AAAAf,MAAAA,QAAA,gBACEM,cAAA,CAAA,KAAA,EAAA;AAAKG,QAAAA,SAAS,EAAC,wBAAwB;AAAAT,QAAAA,QAAA,EAAEA;AAAQ,OAAM,CACvD,eAAAM,cAAA,CAACU,WAAK,EAAA;AACJC,QAAAA,IAAI,EAAE,EAAG;QACTR,SAAS,EAAEG,SAAI,CACb,8BAA8B,EAC9B,CAACC,QAAQ,IAAI,4CAA4C;AACzD,OAAA,CAEN;KAAA;AACD,GACY,CAAC;AAEpB;;;;"}
1
+ {"version":3,"file":"SelectInputOption.js","sources":["../../../../../src/inputs/SelectInput/Option/SelectInputOption.tsx"],"sourcesContent":["import { Check } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { useContext } from 'react';\nimport { ListboxOption } from '@headlessui/react';\nimport {\n SelectInputItemsCountContext,\n SelectInputItemPositionContext,\n} from '../SelectInput.contexts';\n\nexport interface SelectInputOptionProps<T = string> {\n value: T;\n disabled?: boolean;\n children?: React.ReactNode;\n}\n\n/**\n * A selectable option in a SelectInput dropdown.\n * Includes accessibility support and styling for selected, active, and disabled states.\n */\nexport function SelectInputOption<T = string>({\n value,\n disabled,\n children,\n}: SelectInputOptionProps<T>) {\n const itemsCount = useContext(SelectInputItemsCountContext);\n const itemPosition = useContext(SelectInputItemPositionContext);\n\n return (\n <ListboxOption\n as=\"div\"\n value={value}\n aria-setsize={itemsCount}\n aria-posinset={itemPosition}\n disabled={disabled}\n className={({ active, disabled: uiDisabled }) =>\n clsx(\n 'np-select-input-option-container np-text-body-large',\n active && 'np-select-input-option-container--active',\n uiDisabled && 'np-select-input-option-container--disabled',\n )\n }\n >\n {({ selected }) => (\n <>\n <div className=\"np-select-input-option\">{children}</div>\n <Check\n size={16}\n className={clsx(\n 'np-select-input-option-check',\n !selected && 'np-select-input-option-check--not-selected',\n )}\n />\n </>\n )}\n </ListboxOption>\n );\n}\n"],"names":["SelectInputOption","value","disabled","children","itemsCount","useContext","SelectInputItemsCountContext","itemPosition","SelectInputItemPositionContext","_jsx","ListboxOption","as","className","active","uiDisabled","clsx","selected","_jsxs","_Fragment","Check","size"],"mappings":";;;;;;;;;AAmBM,SAAUA,iBAAiBA,CAAa;EAC5CC,KAAK;EACLC,QAAQ;AACRC,EAAAA;AAAQ,CACkB,EAAA;AAC1B,EAAA,MAAMC,UAAU,GAAGC,gBAAU,CAACC,iDAA4B,CAAC;AAC3D,EAAA,MAAMC,YAAY,GAAGF,gBAAU,CAACG,mDAA8B,CAAC;EAE/D,oBACEC,cAAA,CAACC,mBAAa,EAAA;AACZC,IAAAA,EAAE,EAAC,KAAK;AACRV,IAAAA,KAAK,EAAEA,KAAM;AACb,IAAA,cAAA,EAAcG,UAAW;AACzB,IAAA,eAAA,EAAeG,YAAa;AAC5BL,IAAAA,QAAQ,EAAEA,QAAS;AACnBU,IAAAA,SAAS,EAAEA,CAAC;MAAEC,MAAM;AAAEX,MAAAA,QAAQ,EAAEY;AAAU,KAAE,KAC1CC,SAAI,CACF,qDAAqD,EACrDF,MAAM,IAAI,0CAA0C,EACpDC,UAAU,IAAI,4CAA4C,CAE7D;AAAAX,IAAAA,QAAA,EAEAA,CAAC;AAAEa,MAAAA;KAAU,kBACZC,eAAA,CAAAC,mBAAA,EAAA;AAAAf,MAAAA,QAAA,gBACEM,cAAA,CAAA,KAAA,EAAA;AAAKG,QAAAA,SAAS,EAAC,wBAAwB;AAAAT,QAAAA,QAAA,EAAEA;AAAQ,OAAM,CACvD,eAAAM,cAAA,CAACU,WAAK,EAAA;AACJC,QAAAA,IAAI,EAAE,EAAG;QACTR,SAAS,EAAEG,SAAI,CACb,8BAA8B,EAC9B,CAACC,QAAQ,IAAI,4CAA4C;AACzD,OAAA,CAEN;KAAA;AACD,GACY,CAAC;AAEpB;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputOption.mjs","sources":["../../../../src/inputs/SelectInput/Option/SelectInputOption.tsx"],"sourcesContent":["import { Check } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { useContext } from 'react';\nimport { ListboxOption } from '@headlessui/react';\nimport {\n SelectInputItemsCountContext,\n SelectInputItemPositionContext,\n} from '../SelectInput.contexts';\n\nexport interface SelectInputOptionProps<T = string> {\n value: T;\n disabled?: boolean;\n children?: React.ReactNode;\n}\n\n/**\n * A selectable option in a SelectInput dropdown.\n * Includes accessibility support and styling for selected, active, and disabled states.\n */\nexport function SelectInputOption<T = string>({\n value,\n disabled,\n children,\n}: SelectInputOptionProps<T>) {\n const itemsCount = useContext(SelectInputItemsCountContext);\n const itemPosition = useContext(SelectInputItemPositionContext);\n\n return (\n <ListboxOption\n as=\"div\"\n value={value}\n aria-setsize={itemsCount}\n aria-posinset={itemPosition}\n disabled={disabled}\n className={({ active, disabled: uiDisabled }) =>\n clsx(\n 'np-select-input-option-container np-text-body-large',\n active && 'np-select-input-option-container--active',\n uiDisabled && 'np-select-input-option-container--disabled',\n )\n }\n >\n {({ selected }) => (\n <>\n <div className=\"np-select-input-option\">{children}</div>\n <Check\n size={16}\n className={clsx(\n 'np-select-input-option-check',\n !selected && 'np-select-input-option-check--not-selected',\n )}\n />\n </>\n )}\n </ListboxOption>\n );\n}\n"],"names":["SelectInputOption","value","disabled","children","itemsCount","useContext","SelectInputItemsCountContext","itemPosition","SelectInputItemPositionContext","_jsx","ListboxOption","as","className","active","uiDisabled","clsx","selected","_jsxs","_Fragment","Check","size"],"mappings":";;;;;;;AAmBM,SAAUA,iBAAiBA,CAAa;EAC5CC,KAAK;EACLC,QAAQ;AACRC,EAAAA;AAAQ,CACkB,EAAA;AAC1B,EAAA,MAAMC,UAAU,GAAGC,UAAU,CAACC,4BAA4B,CAAC;AAC3D,EAAA,MAAMC,YAAY,GAAGF,UAAU,CAACG,8BAA8B,CAAC;EAE/D,oBACEC,GAAA,CAACC,aAAa,EAAA;AACZC,IAAAA,EAAE,EAAC,KAAK;AACRV,IAAAA,KAAK,EAAEA,KAAM;AACb,IAAA,cAAA,EAAcG,UAAW;AACzB,IAAA,eAAA,EAAeG,YAAa;AAC5BL,IAAAA,QAAQ,EAAEA,QAAS;AACnBU,IAAAA,SAAS,EAAEA,CAAC;MAAEC,MAAM;AAAEX,MAAAA,QAAQ,EAAEY;AAAU,KAAE,KAC1CC,IAAI,CACF,qDAAqD,EACrDF,MAAM,IAAI,0CAA0C,EACpDC,UAAU,IAAI,4CAA4C,CAE7D;AAAAX,IAAAA,QAAA,EAEAA,CAAC;AAAEa,MAAAA;KAAU,kBACZC,IAAA,CAAAC,QAAA,EAAA;AAAAf,MAAAA,QAAA,gBACEM,GAAA,CAAA,KAAA,EAAA;AAAKG,QAAAA,SAAS,EAAC,wBAAwB;AAAAT,QAAAA,QAAA,EAAEA;AAAQ,OAAM,CACvD,eAAAM,GAAA,CAACU,KAAK,EAAA;AACJC,QAAAA,IAAI,EAAE,EAAG;QACTR,SAAS,EAAEG,IAAI,CACb,8BAA8B,EAC9B,CAACC,QAAQ,IAAI,4CAA4C;AACzD,OAAA,CAEN;KAAA;AACD,GACY,CAAC;AAEpB;;;;"}
1
+ {"version":3,"file":"SelectInputOption.mjs","sources":["../../../../../src/inputs/SelectInput/Option/SelectInputOption.tsx"],"sourcesContent":["import { Check } from '@transferwise/icons';\nimport { clsx } from 'clsx';\nimport { useContext } from 'react';\nimport { ListboxOption } from '@headlessui/react';\nimport {\n SelectInputItemsCountContext,\n SelectInputItemPositionContext,\n} from '../SelectInput.contexts';\n\nexport interface SelectInputOptionProps<T = string> {\n value: T;\n disabled?: boolean;\n children?: React.ReactNode;\n}\n\n/**\n * A selectable option in a SelectInput dropdown.\n * Includes accessibility support and styling for selected, active, and disabled states.\n */\nexport function SelectInputOption<T = string>({\n value,\n disabled,\n children,\n}: SelectInputOptionProps<T>) {\n const itemsCount = useContext(SelectInputItemsCountContext);\n const itemPosition = useContext(SelectInputItemPositionContext);\n\n return (\n <ListboxOption\n as=\"div\"\n value={value}\n aria-setsize={itemsCount}\n aria-posinset={itemPosition}\n disabled={disabled}\n className={({ active, disabled: uiDisabled }) =>\n clsx(\n 'np-select-input-option-container np-text-body-large',\n active && 'np-select-input-option-container--active',\n uiDisabled && 'np-select-input-option-container--disabled',\n )\n }\n >\n {({ selected }) => (\n <>\n <div className=\"np-select-input-option\">{children}</div>\n <Check\n size={16}\n className={clsx(\n 'np-select-input-option-check',\n !selected && 'np-select-input-option-check--not-selected',\n )}\n />\n </>\n )}\n </ListboxOption>\n );\n}\n"],"names":["SelectInputOption","value","disabled","children","itemsCount","useContext","SelectInputItemsCountContext","itemPosition","SelectInputItemPositionContext","_jsx","ListboxOption","as","className","active","uiDisabled","clsx","selected","_jsxs","_Fragment","Check","size"],"mappings":";;;;;;;AAmBM,SAAUA,iBAAiBA,CAAa;EAC5CC,KAAK;EACLC,QAAQ;AACRC,EAAAA;AAAQ,CACkB,EAAA;AAC1B,EAAA,MAAMC,UAAU,GAAGC,UAAU,CAACC,4BAA4B,CAAC;AAC3D,EAAA,MAAMC,YAAY,GAAGF,UAAU,CAACG,8BAA8B,CAAC;EAE/D,oBACEC,GAAA,CAACC,aAAa,EAAA;AACZC,IAAAA,EAAE,EAAC,KAAK;AACRV,IAAAA,KAAK,EAAEA,KAAM;AACb,IAAA,cAAA,EAAcG,UAAW;AACzB,IAAA,eAAA,EAAeG,YAAa;AAC5BL,IAAAA,QAAQ,EAAEA,QAAS;AACnBU,IAAAA,SAAS,EAAEA,CAAC;MAAEC,MAAM;AAAEX,MAAAA,QAAQ,EAAEY;AAAU,KAAE,KAC1CC,IAAI,CACF,qDAAqD,EACrDF,MAAM,IAAI,0CAA0C,EACpDC,UAAU,IAAI,4CAA4C,CAE7D;AAAAX,IAAAA,QAAA,EAEAA,CAAC;AAAEa,MAAAA;KAAU,kBACZC,IAAA,CAAAC,QAAA,EAAA;AAAAf,MAAAA,QAAA,gBACEM,GAAA,CAAA,KAAA,EAAA;AAAKG,QAAAA,SAAS,EAAC,wBAAwB;AAAAT,QAAAA,QAAA,EAAEA;AAAQ,OAAM,CACvD,eAAAM,GAAA,CAACU,KAAK,EAAA;AACJC,QAAAA,IAAI,EAAE,EAAG;QACTR,SAAS,EAAEG,IAAI,CACb,8BAA8B,EAC9B,CAACC,QAAQ,IAAI,4CAA4C;AACzD,OAAA,CAEN;KAAA;AACD,GACY,CAAC;AAEpB;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputOptionContent.js","sources":["../../../../src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useContext } from 'react';\nimport { SelectInputOptionContentWithinTriggerContext } from '../SelectInput.contexts';\n\nexport interface SelectInputOptionContentProps {\n title: React.ReactNode;\n note?: string;\n description?: string;\n icon?: React.ReactNode;\n}\n\n/**\n * Component for rendering structured content within a SelectInput option.\n * Supports title, optional note, description, and icon with different styling\n * based on whether it's rendered within the trigger button or the dropdown.\n */\nexport function SelectInputOptionContent({\n title,\n note,\n description,\n icon,\n}: SelectInputOptionContentProps) {\n const withinTrigger = useContext(SelectInputOptionContentWithinTriggerContext);\n\n return (\n <div\n className={clsx(\n 'np-select-input-option-content-container',\n (note || description) && 'np-text-body-large',\n )}\n >\n {icon ? (\n <div\n className={clsx(\n 'np-select-input-option-content-icon',\n !withinTrigger && 'np-select-input-option-content-icon--not-within-trigger',\n )}\n >\n {icon}\n </div>\n ) : null}\n\n <div className=\"np-select-input-option-content-text\">\n <div\n className={clsx(\n 'np-select-input-option-content-text-line-1',\n withinTrigger && 'np-select-input-option-content-text-within-trigger',\n )}\n >\n <div className=\"d-inline\">{title}</div>\n {note ? (\n <span className=\"np-select-input-option-content-text-secondary np-text-body-default\">\n {note}\n </span>\n ) : null}\n </div>\n\n {description ? (\n <div\n className={clsx(\n 'np-select-input-option-content-text-secondary np-text-body-default',\n withinTrigger &&\n 'np-select-input-option-content-text-within-trigger np-select-input-option-description-in-trigger',\n )}\n >\n {description}\n </div>\n ) : null}\n </div>\n </div>\n );\n}\n"],"names":["SelectInputOptionContent","title","note","description","icon","withinTrigger","useContext","SelectInputOptionContentWithinTriggerContext","_jsxs","className","clsx","children","_jsx"],"mappings":";;;;;;;AAgBM,SAAUA,wBAAwBA,CAAC;EACvCC,KAAK;EACLC,IAAI;EACJC,WAAW;AACXC,EAAAA;AAAI,CAC0B,EAAA;AAC9B,EAAA,MAAMC,aAAa,GAAGC,gBAAU,CAACC,iEAA4C,CAAC;AAE9E,EAAA,oBACEC,eAAA,CAAA,KAAA,EAAA;IACEC,SAAS,EAAEC,SAAI,CACb,0CAA0C,EAC1C,CAACR,IAAI,IAAIC,WAAW,KAAK,oBAAoB,CAC7C;IAAAQ,QAAA,EAAA,CAEDP,IAAI,gBACHQ,cAAA,CAAA,KAAA,EAAA;MACEH,SAAS,EAAEC,SAAI,CACb,qCAAqC,EACrC,CAACL,aAAa,IAAI,yDAAyD,CAC3E;AAAAM,MAAAA,QAAA,EAEDP;AAAI,KACF,CAAC,GACJ,IAAI,eAERI,eAAA,CAAA,KAAA,EAAA;AAAKC,MAAAA,SAAS,EAAC,qCAAqC;AAAAE,MAAAA,QAAA,gBAClDH,eAAA,CAAA,KAAA,EAAA;QACEC,SAAS,EAAEC,SAAI,CACb,4CAA4C,EAC5CL,aAAa,IAAI,oDAAoD,CACrE;AAAAM,QAAAA,QAAA,gBAEFC,cAAA,CAAA,KAAA,EAAA;AAAKH,UAAAA,SAAS,EAAC,UAAU;AAAAE,UAAAA,QAAA,EAAEV;AAAK,SAAM,CACtC,EAACC,IAAI,gBACHU,cAAA,CAAA,MAAA,EAAA;AAAMH,UAAAA,SAAS,EAAC,oEAAoE;AAAAE,UAAAA,QAAA,EACjFT;SACG,CAAC,GACL,IAAI;AAAA,OACL,CAEL,EAACC,WAAW,gBACVS,cAAA,CAAA,KAAA,EAAA;QACEH,SAAS,EAAEC,SAAI,CACb,oEAAoE,EACpEL,aAAa,IACX,kGAAkG,CACpG;AAAAM,QAAAA,QAAA,EAEDR;OACE,CAAC,GACJ,IAAI;AAAA,KACL,CACP;AAAA,GAAK,CAAC;AAEV;;;;"}
1
+ {"version":3,"file":"SelectInputOptionContent.js","sources":["../../../../../src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useContext } from 'react';\nimport { SelectInputOptionContentWithinTriggerContext } from '../SelectInput.contexts';\n\nexport interface SelectInputOptionContentProps {\n title: React.ReactNode;\n note?: string;\n description?: string;\n icon?: React.ReactNode;\n}\n\n/**\n * Component for rendering structured content within a SelectInput option.\n * Supports title, optional note, description, and icon with different styling\n * based on whether it's rendered within the trigger button or the dropdown.\n */\nexport function SelectInputOptionContent({\n title,\n note,\n description,\n icon,\n}: SelectInputOptionContentProps) {\n const withinTrigger = useContext(SelectInputOptionContentWithinTriggerContext);\n\n return (\n <div\n className={clsx(\n 'np-select-input-option-content-container',\n (note || description) && 'np-text-body-large',\n )}\n >\n {icon ? (\n <div\n className={clsx(\n 'np-select-input-option-content-icon',\n !withinTrigger && 'np-select-input-option-content-icon--not-within-trigger',\n )}\n >\n {icon}\n </div>\n ) : null}\n\n <div className=\"np-select-input-option-content-text\">\n <div\n className={clsx(\n 'np-select-input-option-content-text-line-1',\n withinTrigger && 'np-select-input-option-content-text-within-trigger',\n )}\n >\n <div className=\"d-inline\">{title}</div>\n {note ? (\n <span className=\"np-select-input-option-content-text-secondary np-text-body-default\">\n {note}\n </span>\n ) : null}\n </div>\n\n {description ? (\n <div\n className={clsx(\n 'np-select-input-option-content-text-secondary np-text-body-default',\n withinTrigger &&\n 'np-select-input-option-content-text-within-trigger np-select-input-option-description-in-trigger',\n )}\n >\n {description}\n </div>\n ) : null}\n </div>\n </div>\n );\n}\n"],"names":["SelectInputOptionContent","title","note","description","icon","withinTrigger","useContext","SelectInputOptionContentWithinTriggerContext","_jsxs","className","clsx","children","_jsx"],"mappings":";;;;;;;AAgBM,SAAUA,wBAAwBA,CAAC;EACvCC,KAAK;EACLC,IAAI;EACJC,WAAW;AACXC,EAAAA;AAAI,CAC0B,EAAA;AAC9B,EAAA,MAAMC,aAAa,GAAGC,gBAAU,CAACC,iEAA4C,CAAC;AAE9E,EAAA,oBACEC,eAAA,CAAA,KAAA,EAAA;IACEC,SAAS,EAAEC,SAAI,CACb,0CAA0C,EAC1C,CAACR,IAAI,IAAIC,WAAW,KAAK,oBAAoB,CAC7C;IAAAQ,QAAA,EAAA,CAEDP,IAAI,gBACHQ,cAAA,CAAA,KAAA,EAAA;MACEH,SAAS,EAAEC,SAAI,CACb,qCAAqC,EACrC,CAACL,aAAa,IAAI,yDAAyD,CAC3E;AAAAM,MAAAA,QAAA,EAEDP;AAAI,KACF,CAAC,GACJ,IAAI,eAERI,eAAA,CAAA,KAAA,EAAA;AAAKC,MAAAA,SAAS,EAAC,qCAAqC;AAAAE,MAAAA,QAAA,gBAClDH,eAAA,CAAA,KAAA,EAAA;QACEC,SAAS,EAAEC,SAAI,CACb,4CAA4C,EAC5CL,aAAa,IAAI,oDAAoD,CACrE;AAAAM,QAAAA,QAAA,gBAEFC,cAAA,CAAA,KAAA,EAAA;AAAKH,UAAAA,SAAS,EAAC,UAAU;AAAAE,UAAAA,QAAA,EAAEV;AAAK,SAAM,CACtC,EAACC,IAAI,gBACHU,cAAA,CAAA,MAAA,EAAA;AAAMH,UAAAA,SAAS,EAAC,oEAAoE;AAAAE,UAAAA,QAAA,EACjFT;SACG,CAAC,GACL,IAAI;AAAA,OACL,CAEL,EAACC,WAAW,gBACVS,cAAA,CAAA,KAAA,EAAA;QACEH,SAAS,EAAEC,SAAI,CACb,oEAAoE,EACpEL,aAAa,IACX,kGAAkG,CACpG;AAAAM,QAAAA,QAAA,EAEDR;OACE,CAAC,GACJ,IAAI;AAAA,KACL,CACP;AAAA,GAAK,CAAC;AAEV;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputOptionContent.mjs","sources":["../../../../src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useContext } from 'react';\nimport { SelectInputOptionContentWithinTriggerContext } from '../SelectInput.contexts';\n\nexport interface SelectInputOptionContentProps {\n title: React.ReactNode;\n note?: string;\n description?: string;\n icon?: React.ReactNode;\n}\n\n/**\n * Component for rendering structured content within a SelectInput option.\n * Supports title, optional note, description, and icon with different styling\n * based on whether it's rendered within the trigger button or the dropdown.\n */\nexport function SelectInputOptionContent({\n title,\n note,\n description,\n icon,\n}: SelectInputOptionContentProps) {\n const withinTrigger = useContext(SelectInputOptionContentWithinTriggerContext);\n\n return (\n <div\n className={clsx(\n 'np-select-input-option-content-container',\n (note || description) && 'np-text-body-large',\n )}\n >\n {icon ? (\n <div\n className={clsx(\n 'np-select-input-option-content-icon',\n !withinTrigger && 'np-select-input-option-content-icon--not-within-trigger',\n )}\n >\n {icon}\n </div>\n ) : null}\n\n <div className=\"np-select-input-option-content-text\">\n <div\n className={clsx(\n 'np-select-input-option-content-text-line-1',\n withinTrigger && 'np-select-input-option-content-text-within-trigger',\n )}\n >\n <div className=\"d-inline\">{title}</div>\n {note ? (\n <span className=\"np-select-input-option-content-text-secondary np-text-body-default\">\n {note}\n </span>\n ) : null}\n </div>\n\n {description ? (\n <div\n className={clsx(\n 'np-select-input-option-content-text-secondary np-text-body-default',\n withinTrigger &&\n 'np-select-input-option-content-text-within-trigger np-select-input-option-description-in-trigger',\n )}\n >\n {description}\n </div>\n ) : null}\n </div>\n </div>\n );\n}\n"],"names":["SelectInputOptionContent","title","note","description","icon","withinTrigger","useContext","SelectInputOptionContentWithinTriggerContext","_jsxs","className","clsx","children","_jsx"],"mappings":";;;;;AAgBM,SAAUA,wBAAwBA,CAAC;EACvCC,KAAK;EACLC,IAAI;EACJC,WAAW;AACXC,EAAAA;AAAI,CAC0B,EAAA;AAC9B,EAAA,MAAMC,aAAa,GAAGC,UAAU,CAACC,4CAA4C,CAAC;AAE9E,EAAA,oBACEC,IAAA,CAAA,KAAA,EAAA;IACEC,SAAS,EAAEC,IAAI,CACb,0CAA0C,EAC1C,CAACR,IAAI,IAAIC,WAAW,KAAK,oBAAoB,CAC7C;IAAAQ,QAAA,EAAA,CAEDP,IAAI,gBACHQ,GAAA,CAAA,KAAA,EAAA;MACEH,SAAS,EAAEC,IAAI,CACb,qCAAqC,EACrC,CAACL,aAAa,IAAI,yDAAyD,CAC3E;AAAAM,MAAAA,QAAA,EAEDP;AAAI,KACF,CAAC,GACJ,IAAI,eAERI,IAAA,CAAA,KAAA,EAAA;AAAKC,MAAAA,SAAS,EAAC,qCAAqC;AAAAE,MAAAA,QAAA,gBAClDH,IAAA,CAAA,KAAA,EAAA;QACEC,SAAS,EAAEC,IAAI,CACb,4CAA4C,EAC5CL,aAAa,IAAI,oDAAoD,CACrE;AAAAM,QAAAA,QAAA,gBAEFC,GAAA,CAAA,KAAA,EAAA;AAAKH,UAAAA,SAAS,EAAC,UAAU;AAAAE,UAAAA,QAAA,EAAEV;AAAK,SAAM,CACtC,EAACC,IAAI,gBACHU,GAAA,CAAA,MAAA,EAAA;AAAMH,UAAAA,SAAS,EAAC,oEAAoE;AAAAE,UAAAA,QAAA,EACjFT;SACG,CAAC,GACL,IAAI;AAAA,OACL,CAEL,EAACC,WAAW,gBACVS,GAAA,CAAA,KAAA,EAAA;QACEH,SAAS,EAAEC,IAAI,CACb,oEAAoE,EACpEL,aAAa,IACX,kGAAkG,CACpG;AAAAM,QAAAA,QAAA,EAEDR;OACE,CAAC,GACJ,IAAI;AAAA,KACL,CACP;AAAA,GAAK,CAAC;AAEV;;;;"}
1
+ {"version":3,"file":"SelectInputOptionContent.mjs","sources":["../../../../../src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx"],"sourcesContent":["import { clsx } from 'clsx';\nimport { useContext } from 'react';\nimport { SelectInputOptionContentWithinTriggerContext } from '../SelectInput.contexts';\n\nexport interface SelectInputOptionContentProps {\n title: React.ReactNode;\n note?: string;\n description?: string;\n icon?: React.ReactNode;\n}\n\n/**\n * Component for rendering structured content within a SelectInput option.\n * Supports title, optional note, description, and icon with different styling\n * based on whether it's rendered within the trigger button or the dropdown.\n */\nexport function SelectInputOptionContent({\n title,\n note,\n description,\n icon,\n}: SelectInputOptionContentProps) {\n const withinTrigger = useContext(SelectInputOptionContentWithinTriggerContext);\n\n return (\n <div\n className={clsx(\n 'np-select-input-option-content-container',\n (note || description) && 'np-text-body-large',\n )}\n >\n {icon ? (\n <div\n className={clsx(\n 'np-select-input-option-content-icon',\n !withinTrigger && 'np-select-input-option-content-icon--not-within-trigger',\n )}\n >\n {icon}\n </div>\n ) : null}\n\n <div className=\"np-select-input-option-content-text\">\n <div\n className={clsx(\n 'np-select-input-option-content-text-line-1',\n withinTrigger && 'np-select-input-option-content-text-within-trigger',\n )}\n >\n <div className=\"d-inline\">{title}</div>\n {note ? (\n <span className=\"np-select-input-option-content-text-secondary np-text-body-default\">\n {note}\n </span>\n ) : null}\n </div>\n\n {description ? (\n <div\n className={clsx(\n 'np-select-input-option-content-text-secondary np-text-body-default',\n withinTrigger &&\n 'np-select-input-option-content-text-within-trigger np-select-input-option-description-in-trigger',\n )}\n >\n {description}\n </div>\n ) : null}\n </div>\n </div>\n );\n}\n"],"names":["SelectInputOptionContent","title","note","description","icon","withinTrigger","useContext","SelectInputOptionContentWithinTriggerContext","_jsxs","className","clsx","children","_jsx"],"mappings":";;;;;AAgBM,SAAUA,wBAAwBA,CAAC;EACvCC,KAAK;EACLC,IAAI;EACJC,WAAW;AACXC,EAAAA;AAAI,CAC0B,EAAA;AAC9B,EAAA,MAAMC,aAAa,GAAGC,UAAU,CAACC,4CAA4C,CAAC;AAE9E,EAAA,oBACEC,IAAA,CAAA,KAAA,EAAA;IACEC,SAAS,EAAEC,IAAI,CACb,0CAA0C,EAC1C,CAACR,IAAI,IAAIC,WAAW,KAAK,oBAAoB,CAC7C;IAAAQ,QAAA,EAAA,CAEDP,IAAI,gBACHQ,GAAA,CAAA,KAAA,EAAA;MACEH,SAAS,EAAEC,IAAI,CACb,qCAAqC,EACrC,CAACL,aAAa,IAAI,yDAAyD,CAC3E;AAAAM,MAAAA,QAAA,EAEDP;AAAI,KACF,CAAC,GACJ,IAAI,eAERI,IAAA,CAAA,KAAA,EAAA;AAAKC,MAAAA,SAAS,EAAC,qCAAqC;AAAAE,MAAAA,QAAA,gBAClDH,IAAA,CAAA,KAAA,EAAA;QACEC,SAAS,EAAEC,IAAI,CACb,4CAA4C,EAC5CL,aAAa,IAAI,oDAAoD,CACrE;AAAAM,QAAAA,QAAA,gBAEFC,GAAA,CAAA,KAAA,EAAA;AAAKH,UAAAA,SAAS,EAAC,UAAU;AAAAE,UAAAA,QAAA,EAAEV;AAAK,SAAM,CACtC,EAACC,IAAI,gBACHU,GAAA,CAAA,MAAA,EAAA;AAAMH,UAAAA,SAAS,EAAC,oEAAoE;AAAAE,UAAAA,QAAA,EACjFT;SACG,CAAC,GACL,IAAI;AAAA,OACL,CAEL,EAACC,WAAW,gBACVS,GAAA,CAAA,KAAA,EAAA;QACEH,SAAS,EAAEC,IAAI,CACb,oEAAoE,EACpEL,aAAa,IACX,kGAAkG,CACpG;AAAAM,QAAAA,QAAA,EAEDR;OACE,CAAC,GACJ,IAAI;AAAA,KACL,CACP;AAAA,GAAK,CAAC;AAEV;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputOptionsContainer.js","sources":["../../../../../src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx"],"sourcesContent":["import { forwardRef, useEffect } from 'react';\nimport { useEffectEvent } from '../../../../common/hooks/useEffectEvent';\n\nexport interface SelectInputOptionsContainerProps extends React.ComponentPropsWithRef<'div'> {\n onAriaActiveDescendantChange: (value: React.AriaAttributes['aria-activedescendant']) => void;\n}\n\n/**\n * Container component for SelectInput options.\n * Handles keyboard navigation and accessibility features.\n */\nexport const SelectInputOptionsContainer = forwardRef(function SelectInputOptionsContainer(\n {\n 'aria-orientation': ariaOrientation,\n 'aria-activedescendant': ariaActiveDescendant,\n role,\n tabIndex,\n onAriaActiveDescendantChange,\n onKeyDown,\n ...restProps\n }: SelectInputOptionsContainerProps,\n ref: React.ForwardedRef<HTMLDivElement | null>,\n) {\n const handleAriaActiveDescendantChange = useEffectEvent(onAriaActiveDescendantChange);\n useEffect(() => {\n handleAriaActiveDescendantChange(ariaActiveDescendant);\n }, [ariaActiveDescendant, handleAriaActiveDescendantChange]);\n\n return (\n <div\n ref={ref}\n role=\"none\"\n onKeyDown={(event) => {\n // Prevent confirmation close without an active item\n if (event.key === 'Enter' && ariaActiveDescendant == null) {\n return;\n }\n\n // Required to make ListBox focusable\n if (event.key === 'Tab') {\n return;\n }\n\n // Prevent absorbing Escape early\n if (event.key === 'Escape') {\n onKeyDown?.({\n ...event,\n preventDefault: () => {},\n stopPropagation: () => {},\n });\n return;\n }\n\n onKeyDown?.(event);\n }}\n {...restProps}\n />\n );\n});\n"],"names":["SelectInputOptionsContainer","forwardRef","ariaOrientation","ariaActiveDescendant","role","tabIndex","onAriaActiveDescendantChange","onKeyDown","restProps","ref","handleAriaActiveDescendantChange","useEffectEvent","useEffect","_jsx","event","key","preventDefault","stopPropagation"],"mappings":";;;;;;MAWaA,2BAA2B,gBAAGC,gBAAU,CAAC,SAASD,2BAA2BA,CACxF;AACE,EAAA,kBAAkB,EAAEE,eAAe;AACnC,EAAA,uBAAuB,EAAEC,oBAAoB;EAC7CC,IAAI;EACJC,QAAQ;EACRC,4BAA4B;EAC5BC,SAAS;EACT,GAAGC;AAAS,CACqB,EACnCC,GAA8C,EAAA;AAE9C,EAAA,MAAMC,gCAAgC,GAAGC,6BAAc,CAACL,4BAA4B,CAAC;AACrFM,EAAAA,eAAS,CAAC,MAAK;IACbF,gCAAgC,CAACP,oBAAoB,CAAC;AACxD,EAAA,CAAC,EAAE,CAACA,oBAAoB,EAAEO,gCAAgC,CAAC,CAAC;AAE5D,EAAA,oBACEG,cAAA,CAAA,KAAA,EAAA;AACEJ,IAAAA,GAAG,EAAEA,GAAI;AACTL,IAAAA,IAAI,EAAC,MAAM;IACXG,SAAS,EAAGO,KAAK,IAAI;AACnB;MACA,IAAIA,KAAK,CAACC,GAAG,KAAK,OAAO,IAAIZ,oBAAoB,IAAI,IAAI,EAAE;AACzD,QAAA;AACF,MAAA;AAEA;AACA,MAAA,IAAIW,KAAK,CAACC,GAAG,KAAK,KAAK,EAAE;AACvB,QAAA;AACF,MAAA;AAEA;AACA,MAAA,IAAID,KAAK,CAACC,GAAG,KAAK,QAAQ,EAAE;AAC1BR,QAAAA,SAAS,GAAG;AACV,UAAA,GAAGO,KAAK;AACRE,UAAAA,cAAc,EAAEA,MAAK,CAAE,CAAC;UACxBC,eAAe,EAAEA,MAAK,CAAE;AACzB,SAAA,CAAC;AACF,QAAA;AACF,MAAA;MAEAV,SAAS,GAAGO,KAAK,CAAC;IACpB,CAAE;IAAA,GACEN;AAAS,GAAC,CACd;AAEN,CAAC;;;;"}
1
+ {"version":3,"file":"SelectInputOptionsContainer.js","sources":["../../../../../../src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx"],"sourcesContent":["import { forwardRef, useEffect } from 'react';\nimport { useEffectEvent } from '../../../../common/hooks/useEffectEvent';\n\nexport interface SelectInputOptionsContainerProps extends React.ComponentPropsWithRef<'div'> {\n onAriaActiveDescendantChange: (value: React.AriaAttributes['aria-activedescendant']) => void;\n}\n\n/**\n * Container component for SelectInput options.\n * Handles keyboard navigation and accessibility features.\n */\nexport const SelectInputOptionsContainer = forwardRef(function SelectInputOptionsContainer(\n {\n 'aria-orientation': ariaOrientation,\n 'aria-activedescendant': ariaActiveDescendant,\n role,\n tabIndex,\n onAriaActiveDescendantChange,\n onKeyDown,\n ...restProps\n }: SelectInputOptionsContainerProps,\n ref: React.ForwardedRef<HTMLDivElement | null>,\n) {\n const handleAriaActiveDescendantChange = useEffectEvent(onAriaActiveDescendantChange);\n useEffect(() => {\n handleAriaActiveDescendantChange(ariaActiveDescendant);\n }, [ariaActiveDescendant, handleAriaActiveDescendantChange]);\n\n return (\n <div\n ref={ref}\n role=\"none\"\n onKeyDown={(event) => {\n // Prevent confirmation close without an active item\n if (event.key === 'Enter' && ariaActiveDescendant == null) {\n return;\n }\n\n // Required to make ListBox focusable\n if (event.key === 'Tab') {\n return;\n }\n\n // Prevent absorbing Escape early\n if (event.key === 'Escape') {\n onKeyDown?.({\n ...event,\n preventDefault: () => {},\n stopPropagation: () => {},\n });\n return;\n }\n\n onKeyDown?.(event);\n }}\n {...restProps}\n />\n );\n});\n"],"names":["SelectInputOptionsContainer","forwardRef","ariaOrientation","ariaActiveDescendant","role","tabIndex","onAriaActiveDescendantChange","onKeyDown","restProps","ref","handleAriaActiveDescendantChange","useEffectEvent","useEffect","_jsx","event","key","preventDefault","stopPropagation"],"mappings":";;;;;;MAWaA,2BAA2B,gBAAGC,gBAAU,CAAC,SAASD,2BAA2BA,CACxF;AACE,EAAA,kBAAkB,EAAEE,eAAe;AACnC,EAAA,uBAAuB,EAAEC,oBAAoB;EAC7CC,IAAI;EACJC,QAAQ;EACRC,4BAA4B;EAC5BC,SAAS;EACT,GAAGC;AAAS,CACqB,EACnCC,GAA8C,EAAA;AAE9C,EAAA,MAAMC,gCAAgC,GAAGC,6BAAc,CAACL,4BAA4B,CAAC;AACrFM,EAAAA,eAAS,CAAC,MAAK;IACbF,gCAAgC,CAACP,oBAAoB,CAAC;AACxD,EAAA,CAAC,EAAE,CAACA,oBAAoB,EAAEO,gCAAgC,CAAC,CAAC;AAE5D,EAAA,oBACEG,cAAA,CAAA,KAAA,EAAA;AACEJ,IAAAA,GAAG,EAAEA,GAAI;AACTL,IAAAA,IAAI,EAAC,MAAM;IACXG,SAAS,EAAGO,KAAK,IAAI;AACnB;MACA,IAAIA,KAAK,CAACC,GAAG,KAAK,OAAO,IAAIZ,oBAAoB,IAAI,IAAI,EAAE;AACzD,QAAA;AACF,MAAA;AAEA;AACA,MAAA,IAAIW,KAAK,CAACC,GAAG,KAAK,KAAK,EAAE;AACvB,QAAA;AACF,MAAA;AAEA;AACA,MAAA,IAAID,KAAK,CAACC,GAAG,KAAK,QAAQ,EAAE;AAC1BR,QAAAA,SAAS,GAAG;AACV,UAAA,GAAGO,KAAK;AACRE,UAAAA,cAAc,EAAEA,MAAK,CAAE,CAAC;UACxBC,eAAe,EAAEA,MAAK,CAAE;AACzB,SAAA,CAAC;AACF,QAAA;AACF,MAAA;MAEAV,SAAS,GAAGO,KAAK,CAAC;IACpB,CAAE;IAAA,GACEN;AAAS,GAAC,CACd;AAEN,CAAC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputOptionsContainer.mjs","sources":["../../../../../src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx"],"sourcesContent":["import { forwardRef, useEffect } from 'react';\nimport { useEffectEvent } from '../../../../common/hooks/useEffectEvent';\n\nexport interface SelectInputOptionsContainerProps extends React.ComponentPropsWithRef<'div'> {\n onAriaActiveDescendantChange: (value: React.AriaAttributes['aria-activedescendant']) => void;\n}\n\n/**\n * Container component for SelectInput options.\n * Handles keyboard navigation and accessibility features.\n */\nexport const SelectInputOptionsContainer = forwardRef(function SelectInputOptionsContainer(\n {\n 'aria-orientation': ariaOrientation,\n 'aria-activedescendant': ariaActiveDescendant,\n role,\n tabIndex,\n onAriaActiveDescendantChange,\n onKeyDown,\n ...restProps\n }: SelectInputOptionsContainerProps,\n ref: React.ForwardedRef<HTMLDivElement | null>,\n) {\n const handleAriaActiveDescendantChange = useEffectEvent(onAriaActiveDescendantChange);\n useEffect(() => {\n handleAriaActiveDescendantChange(ariaActiveDescendant);\n }, [ariaActiveDescendant, handleAriaActiveDescendantChange]);\n\n return (\n <div\n ref={ref}\n role=\"none\"\n onKeyDown={(event) => {\n // Prevent confirmation close without an active item\n if (event.key === 'Enter' && ariaActiveDescendant == null) {\n return;\n }\n\n // Required to make ListBox focusable\n if (event.key === 'Tab') {\n return;\n }\n\n // Prevent absorbing Escape early\n if (event.key === 'Escape') {\n onKeyDown?.({\n ...event,\n preventDefault: () => {},\n stopPropagation: () => {},\n });\n return;\n }\n\n onKeyDown?.(event);\n }}\n {...restProps}\n />\n );\n});\n"],"names":["SelectInputOptionsContainer","forwardRef","ariaOrientation","ariaActiveDescendant","role","tabIndex","onAriaActiveDescendantChange","onKeyDown","restProps","ref","handleAriaActiveDescendantChange","useEffectEvent","useEffect","_jsx","event","key","preventDefault","stopPropagation"],"mappings":";;;;MAWaA,2BAA2B,gBAAGC,UAAU,CAAC,SAASD,2BAA2BA,CACxF;AACE,EAAA,kBAAkB,EAAEE,eAAe;AACnC,EAAA,uBAAuB,EAAEC,oBAAoB;EAC7CC,IAAI;EACJC,QAAQ;EACRC,4BAA4B;EAC5BC,SAAS;EACT,GAAGC;AAAS,CACqB,EACnCC,GAA8C,EAAA;AAE9C,EAAA,MAAMC,gCAAgC,GAAGC,cAAc,CAACL,4BAA4B,CAAC;AACrFM,EAAAA,SAAS,CAAC,MAAK;IACbF,gCAAgC,CAACP,oBAAoB,CAAC;AACxD,EAAA,CAAC,EAAE,CAACA,oBAAoB,EAAEO,gCAAgC,CAAC,CAAC;AAE5D,EAAA,oBACEG,GAAA,CAAA,KAAA,EAAA;AACEJ,IAAAA,GAAG,EAAEA,GAAI;AACTL,IAAAA,IAAI,EAAC,MAAM;IACXG,SAAS,EAAGO,KAAK,IAAI;AACnB;MACA,IAAIA,KAAK,CAACC,GAAG,KAAK,OAAO,IAAIZ,oBAAoB,IAAI,IAAI,EAAE;AACzD,QAAA;AACF,MAAA;AAEA;AACA,MAAA,IAAIW,KAAK,CAACC,GAAG,KAAK,KAAK,EAAE;AACvB,QAAA;AACF,MAAA;AAEA;AACA,MAAA,IAAID,KAAK,CAACC,GAAG,KAAK,QAAQ,EAAE;AAC1BR,QAAAA,SAAS,GAAG;AACV,UAAA,GAAGO,KAAK;AACRE,UAAAA,cAAc,EAAEA,MAAK,CAAE,CAAC;UACxBC,eAAe,EAAEA,MAAK,CAAE;AACzB,SAAA,CAAC;AACF,QAAA;AACF,MAAA;MAEAV,SAAS,GAAGO,KAAK,CAAC;IACpB,CAAE;IAAA,GACEN;AAAS,GAAC,CACd;AAEN,CAAC;;;;"}
1
+ {"version":3,"file":"SelectInputOptionsContainer.mjs","sources":["../../../../../../src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx"],"sourcesContent":["import { forwardRef, useEffect } from 'react';\nimport { useEffectEvent } from '../../../../common/hooks/useEffectEvent';\n\nexport interface SelectInputOptionsContainerProps extends React.ComponentPropsWithRef<'div'> {\n onAriaActiveDescendantChange: (value: React.AriaAttributes['aria-activedescendant']) => void;\n}\n\n/**\n * Container component for SelectInput options.\n * Handles keyboard navigation and accessibility features.\n */\nexport const SelectInputOptionsContainer = forwardRef(function SelectInputOptionsContainer(\n {\n 'aria-orientation': ariaOrientation,\n 'aria-activedescendant': ariaActiveDescendant,\n role,\n tabIndex,\n onAriaActiveDescendantChange,\n onKeyDown,\n ...restProps\n }: SelectInputOptionsContainerProps,\n ref: React.ForwardedRef<HTMLDivElement | null>,\n) {\n const handleAriaActiveDescendantChange = useEffectEvent(onAriaActiveDescendantChange);\n useEffect(() => {\n handleAriaActiveDescendantChange(ariaActiveDescendant);\n }, [ariaActiveDescendant, handleAriaActiveDescendantChange]);\n\n return (\n <div\n ref={ref}\n role=\"none\"\n onKeyDown={(event) => {\n // Prevent confirmation close without an active item\n if (event.key === 'Enter' && ariaActiveDescendant == null) {\n return;\n }\n\n // Required to make ListBox focusable\n if (event.key === 'Tab') {\n return;\n }\n\n // Prevent absorbing Escape early\n if (event.key === 'Escape') {\n onKeyDown?.({\n ...event,\n preventDefault: () => {},\n stopPropagation: () => {},\n });\n return;\n }\n\n onKeyDown?.(event);\n }}\n {...restProps}\n />\n );\n});\n"],"names":["SelectInputOptionsContainer","forwardRef","ariaOrientation","ariaActiveDescendant","role","tabIndex","onAriaActiveDescendantChange","onKeyDown","restProps","ref","handleAriaActiveDescendantChange","useEffectEvent","useEffect","_jsx","event","key","preventDefault","stopPropagation"],"mappings":";;;;MAWaA,2BAA2B,gBAAGC,UAAU,CAAC,SAASD,2BAA2BA,CACxF;AACE,EAAA,kBAAkB,EAAEE,eAAe;AACnC,EAAA,uBAAuB,EAAEC,oBAAoB;EAC7CC,IAAI;EACJC,QAAQ;EACRC,4BAA4B;EAC5BC,SAAS;EACT,GAAGC;AAAS,CACqB,EACnCC,GAA8C,EAAA;AAE9C,EAAA,MAAMC,gCAAgC,GAAGC,cAAc,CAACL,4BAA4B,CAAC;AACrFM,EAAAA,SAAS,CAAC,MAAK;IACbF,gCAAgC,CAACP,oBAAoB,CAAC;AACxD,EAAA,CAAC,EAAE,CAACA,oBAAoB,EAAEO,gCAAgC,CAAC,CAAC;AAE5D,EAAA,oBACEG,GAAA,CAAA,KAAA,EAAA;AACEJ,IAAAA,GAAG,EAAEA,GAAI;AACTL,IAAAA,IAAI,EAAC,MAAM;IACXG,SAAS,EAAGO,KAAK,IAAI;AACnB;MACA,IAAIA,KAAK,CAACC,GAAG,KAAK,OAAO,IAAIZ,oBAAoB,IAAI,IAAI,EAAE;AACzD,QAAA;AACF,MAAA;AAEA;AACA,MAAA,IAAIW,KAAK,CAACC,GAAG,KAAK,KAAK,EAAE;AACvB,QAAA;AACF,MAAA;AAEA;AACA,MAAA,IAAID,KAAK,CAACC,GAAG,KAAK,QAAQ,EAAE;AAC1BR,QAAAA,SAAS,GAAG;AACV,UAAA,GAAGO,KAAK;AACRE,UAAAA,cAAc,EAAEA,MAAK,CAAE,CAAC;UACxBC,eAAe,EAAEA,MAAK,CAAE;AACzB,SAAA,CAAC;AACF,QAAA;AACF,MAAA;MAEAV,SAAS,GAAGO,KAAK,CAAC;IACpB,CAAE;IAAA,GACEN;AAAS,GAAC,CACd;AAEN,CAAC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputOptions.js","sources":["../../../../src/inputs/SelectInput/Options/SelectInputOptions.tsx"],"sourcesContent":["import { CrossCircle } from '@transferwise/icons';\nimport { ListboxOptions } from '@headlessui/react';\nimport { clsx } from 'clsx';\nimport { useEffect, useId, useMemo, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { Virtualizer, type VirtualizerHandle } from 'virtua';\n\nimport { SearchInput } from '../../SearchInput';\nimport {\n SelectInputItemsCountContext,\n SelectInputItemPositionContext,\n} from '../SelectInput.contexts';\nimport {\n dedupeSelectInputItems,\n filterSelectInputItems,\n MAX_ITEMS_WITHOUT_VIRTUALIZATION,\n searchableString,\n selectInputOptionItemIncludesNeedle,\n sortSelectInputItems,\n} from '../SelectInput.utils';\nimport { SelectInputOptionItem, SelectInputProps, SelectInputItem } from '../SelectInput.types';\nimport messages from '../SelectInput.messages';\n\nimport { SelectInputItemView } from '../ItemView';\nimport { SelectInputOptionsContainer } from './OptionsContainer';\n\n/**\n * Props for the SelectInputOptions component.\n */\nexport interface SelectInputOptionsProps<T = string> extends Pick<\n SelectInputProps<T>,\n | 'items'\n | 'renderValue'\n | 'renderFooter'\n | 'filterable'\n | 'filterPlaceholder'\n | 'id'\n | 'parentId'\n | 'compareValues'\n | 'sortFilteredOptions'\n> {\n searchInputRef: React.MutableRefObject<HTMLInputElement | null>;\n listboxRef: React.MutableRefObject<HTMLDivElement | null>;\n filterQuery: string;\n onFilterChange: (query: string) => void;\n listBoxLabel?: string;\n listBoxLabelledBy?: string;\n autocomplete?: string;\n name?: string;\n onAutocompleteSelect?: (value: T) => void;\n}\n\n/**\n * The main options container component for SelectInput.\n * Manages filtering, virtualisation, and rendering of options.\n */\nexport function SelectInputOptions<T = string>({\n id,\n parentId,\n items,\n compareValues: compareValuesProp,\n renderValue = String,\n renderFooter,\n filterable = false,\n filterPlaceholder,\n sortFilteredOptions,\n searchInputRef,\n listboxRef,\n filterQuery,\n onFilterChange,\n listBoxLabel,\n listBoxLabelledBy,\n autocomplete,\n name,\n onAutocompleteSelect,\n}: SelectInputOptionsProps<T>) {\n const intl = useIntl();\n const virtualiserHandlerRef = useRef<VirtualizerHandle>(null);\n const controllerRef = filterable ? searchInputRef : listboxRef;\n const [initialRender, setInitialRender] = useState(true);\n\n const needle = useMemo(() => {\n if (filterable) {\n return filterQuery ? searchableString(filterQuery) : null;\n }\n return undefined;\n }, [filterQuery, filterable]);\n useEffect(() => {\n if (needle) {\n // Ensure having an active option while filtering.\n // Without `requestAnimationFrame` upon which React depends for scheduling\n // updates, the active status would only show for a split second and then\n // disappear inadvertently.\n requestAnimationFrame(() => {\n if (\n controllerRef.current != null &&\n !controllerRef.current.hasAttribute('aria-activedescendant')\n ) {\n // Activate first option via synthetic key press\n controllerRef.current.dispatchEvent(\n new KeyboardEvent('keydown', { key: 'Home', bubbles: true }),\n );\n }\n });\n }\n }, [controllerRef, needle]);\n\n const compareValues = useMemo(() => {\n if (!compareValuesProp) {\n return undefined;\n }\n\n if (typeof compareValuesProp === 'function') {\n return (a: NonNullable<T>, b: NonNullable<T>) => compareValuesProp(a, b);\n }\n\n const key = compareValuesProp;\n return (a: NonNullable<T>, b: NonNullable<T>) => {\n if (typeof a === 'object' && a != null && typeof b === 'object' && b != null) {\n return (a as Record<string, unknown>)[key] === (b as Record<string, unknown>)[key];\n }\n return a === b;\n };\n }, [compareValuesProp]);\n\n const filteredItems: readonly SelectInputItem<NonNullable<T> | undefined>[] = useMemo(() => {\n if (needle == null) {\n return items;\n }\n\n const dedupedItems = dedupeSelectInputItems(items, compareValues);\n\n if (sortFilteredOptions) {\n // When sorting, filter out non-matching items completely to avoid ghost items\n const filtered = dedupedItems.map((item) => {\n if (item.type === 'option') {\n return selectInputOptionItemIncludesNeedle(item, needle)\n ? item\n : { ...item, value: undefined };\n }\n if (item.type === 'group') {\n return {\n ...item,\n options: item.options.map((option) =>\n selectInputOptionItemIncludesNeedle(option, needle)\n ? option\n : { ...option, value: undefined },\n ),\n };\n }\n return item;\n });\n\n return sortSelectInputItems(filtered, sortFilteredOptions, filterQuery);\n }\n\n return filterSelectInputItems(dedupedItems, (item) =>\n selectInputOptionItemIncludesNeedle(item, needle),\n );\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [needle, items, compareValues]);\n const resultsEmpty = needle != null && filteredItems.length === 0;\n\n const virtualized = filteredItems.length > MAX_ITEMS_WITHOUT_VIRTUALIZATION;\n\n // Items shown once shall be kept mounted until the needle changes, otherwise\n // the scroll position may jump around inadvertently. Pattern adopted from:\n // https://inokawa.github.io/virtua/?path=/story/advanced-keep-offscreen-items--append-only\n const [mountedIndexes, setMountedIndexes] = useState<number[]>([]);\n const prevNeedleRef = useRef(needle);\n\n useEffect(() => {\n const needleChanged = prevNeedleRef.current !== needle;\n prevNeedleRef.current = needle;\n\n if (needleChanged) {\n // Reset mounted indexes when search changes to avoid stale scroll positions\n setMountedIndexes([]);\n return;\n }\n\n // Ensure the 'End' key works as intended by keeping the last item mounted.\n // Skipped on needle change to prevent auto-scrolling on search.\n if (filteredItems.length > 0) {\n setMountedIndexes((prevMountedIndexes) => {\n // Create a new array with existing indexes plus the last item index\n return [...new Set([...prevMountedIndexes, filteredItems.length - 1])]; // Sorting is redundant by nature here\n });\n }\n }, [needle, filteredItems.length]);\n\n const listboxContainerRef = useRef<HTMLDivElement>(null);\n useEffect(() => {\n if (listboxContainerRef.current != null) {\n listboxContainerRef.current.style.setProperty(\n '--initial-height',\n `${listboxContainerRef.current.offsetHeight}px`,\n );\n }\n }, []);\n\n useEffect(() => {\n setInitialRender(false);\n }, []);\n\n const showStatus = resultsEmpty;\n const statusId = useId();\n const listboxId = useId();\n\n const getItemNode = (index: number) => {\n const item = filteredItems[index];\n return (\n <SelectInputItemView key={index} item={item} renderValue={renderValue} needle={needle} />\n );\n };\n\n const findMatchingItem = (autocompleteValue: string): T | null => {\n const flatOptions = items\n .flatMap((item) =>\n item.type === 'group' ? item.options : item.type === 'option' ? [item] : [],\n )\n .filter(\n (item): item is SelectInputOptionItem<NonNullable<T>> =>\n item.type === 'option' && item.value != null,\n );\n\n const exactMatch = flatOptions.find(\n (option) =>\n String(option.value) === autocompleteValue ||\n option.filterMatchers?.some((matcher) => matcher === autocompleteValue),\n );\n\n if (exactMatch) {\n return exactMatch.value;\n }\n\n const fuzzyMatch = flatOptions.find((option) =>\n option.filterMatchers?.some((matcher) =>\n matcher.toLowerCase().includes(autocompleteValue.toLowerCase()),\n ),\n );\n\n return fuzzyMatch ? fuzzyMatch.value : null;\n };\n\n return (\n <ListboxOptions\n modal\n as={SelectInputOptionsContainer}\n static\n className=\"np-select-input-options-container\"\n onAriaActiveDescendantChange={(value: React.AriaAttributes['aria-activedescendant']) => {\n if (controllerRef.current != null) {\n if (!initialRender && value != null) {\n controllerRef.current.setAttribute('aria-activedescendant', value);\n } else {\n controllerRef.current.removeAttribute('aria-activedescendant');\n }\n }\n }}\n >\n {filterable ? (\n <div className=\"np-select-input-query-container\">\n <SearchInput\n ref={searchInputRef}\n id={id}\n name={name}\n autoComplete={autocomplete}\n role=\"combobox\"\n shape=\"rectangle\"\n placeholder={filterPlaceholder}\n aria-label={filterPlaceholder}\n defaultValue={filterQuery}\n aria-autocomplete=\"list\"\n aria-expanded\n aria-controls={listboxId}\n aria-describedby={showStatus ? statusId : undefined}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => {\n // Prevent interfering with the matcher of Headless UI\n // https://mathiasbynens.be/notes/javascript-unicode#regex\n if (/^.$/u.test(event.key)) {\n event.stopPropagation();\n }\n }}\n onChange={(event) => {\n // Free up resources and ensure not to go out of bounds when the\n // resulting item count is less than before\n const inputValue = event.currentTarget.value;\n\n // Free up resources and ensure not to go out of bounds\n setMountedIndexes([]);\n onFilterChange(inputValue);\n }}\n onInput={(event) => {\n const inputValue = event.currentTarget.value;\n const inputElement = event.currentTarget;\n\n if (autocomplete && onAutocompleteSelect && inputValue) {\n setTimeout(() => {\n if (inputElement.value === inputValue && inputValue.length > 2) {\n const matchedValue = findMatchingItem(inputValue);\n if (matchedValue !== null) {\n onAutocompleteSelect(matchedValue);\n }\n }\n }, 50);\n }\n }}\n />\n </div>\n ) : null}\n\n <section\n ref={listboxContainerRef}\n tabIndex={-1}\n className={clsx(\n 'np-select-input-listbox-container',\n virtualized && 'np-select-input-listbox-container--virtualized',\n needle == null && // Groups aren't shown when filtering\n items.some((item) => item.type === 'group') &&\n 'np-select-input-listbox-container--has-group',\n )}\n data-wds-parent={parentId ?? undefined}\n >\n {resultsEmpty ? (\n <div id={statusId} className=\"np-select-input-options-status\">\n <CrossCircle size={16} className=\"np-select-input-options-status-icon\" />\n {intl.formatMessage(messages.noResultsFound)}\n </div>\n ) : null}\n\n <div\n ref={listboxRef}\n id={listboxId}\n role=\"listbox\"\n aria-orientation=\"vertical\"\n aria-label={listBoxLabel}\n aria-labelledby={listBoxLabelledBy}\n tabIndex={0}\n className=\"np-select-input-listbox\"\n >\n {!virtualized ? (\n filteredItems.map((_, index) => getItemNode(index))\n ) : (\n <Virtualizer\n ref={virtualiserHandlerRef}\n data={filteredItems}\n keepMounted={mountedIndexes}\n scrollRef={listboxRef} // `VList` doesn't expose this\n onScroll={async () => {\n if (!virtualiserHandlerRef.current) return;\n\n const startIndex = virtualiserHandlerRef.current.findItemIndex(\n virtualiserHandlerRef.current.scrollOffset,\n );\n const endIndex = virtualiserHandlerRef.current.findItemIndex(\n virtualiserHandlerRef.current.scrollOffset +\n virtualiserHandlerRef.current.viewportSize,\n );\n\n setMountedIndexes((prevMountedIndexes) => {\n // Create an array of all indexes that should be visible\n\n const visibleIndexes = [];\n for (let index = startIndex; index <= endIndex; index += 1) {\n // eslint-disable-next-line functional/immutable-data\n visibleIndexes.push(index);\n }\n\n // Combine with previous indexes and sort\n return [...new Set([...prevMountedIndexes, ...visibleIndexes])].sort(\n (a, b) => a - b,\n );\n });\n }}\n >\n {(item, index) => (\n // The position of each item can't be inferred by browsers when\n // virtualizing, as some of the items may not be in the DOM\n <SelectInputItemsCountContext.Provider value={filteredItems.length}>\n <SelectInputItemPositionContext.Provider value={index + 1}>\n {getItemNode(index)}\n </SelectInputItemPositionContext.Provider>\n </SelectInputItemsCountContext.Provider>\n )}\n </Virtualizer>\n )}\n </div>\n\n {renderFooter != null ? (\n <footer className=\"np-select-input-footer\">\n <div\n role=\"none\"\n onKeyDown={(event) => {\n // Prevent interfering with Headless UI\n if (event.key !== 'Escape') {\n event.stopPropagation();\n }\n }}\n >\n {renderFooter({\n resultsEmpty,\n queryNormalized: needle,\n })}\n </div>\n </footer>\n ) : null}\n </section>\n </ListboxOptions>\n );\n}\n"],"names":["SelectInputOptions","id","parentId","items","compareValues","compareValuesProp","renderValue","String","renderFooter","filterable","filterPlaceholder","sortFilteredOptions","searchInputRef","listboxRef","filterQuery","onFilterChange","listBoxLabel","listBoxLabelledBy","autocomplete","name","onAutocompleteSelect","intl","useIntl","virtualiserHandlerRef","useRef","controllerRef","initialRender","setInitialRender","useState","needle","useMemo","searchableString","undefined","useEffect","requestAnimationFrame","current","hasAttribute","dispatchEvent","KeyboardEvent","key","bubbles","a","b","filteredItems","dedupedItems","dedupeSelectInputItems","filtered","map","item","type","selectInputOptionItemIncludesNeedle","value","options","option","sortSelectInputItems","filterSelectInputItems","resultsEmpty","length","virtualized","MAX_ITEMS_WITHOUT_VIRTUALIZATION","mountedIndexes","setMountedIndexes","prevNeedleRef","needleChanged","prevMountedIndexes","Set","listboxContainerRef","style","setProperty","offsetHeight","showStatus","statusId","useId","listboxId","getItemNode","index","_jsx","SelectInputItemView","findMatchingItem","autocompleteValue","flatOptions","flatMap","filter","exactMatch","find","filterMatchers","some","matcher","fuzzyMatch","toLowerCase","includes","_jsxs","ListboxOptions","modal","as","SelectInputOptionsContainer","static","className","onAriaActiveDescendantChange","setAttribute","removeAttribute","children","SearchInput","ref","autoComplete","role","shape","placeholder","defaultValue","onKeyDown","event","test","stopPropagation","onChange","inputValue","currentTarget","onInput","inputElement","setTimeout","matchedValue","tabIndex","clsx","CrossCircle","size","formatMessage","messages","noResultsFound","_","Virtualizer","data","keepMounted","scrollRef","onScroll","startIndex","findItemIndex","scrollOffset","endIndex","viewportSize","visibleIndexes","push","sort","SelectInputItemsCountContext","Provider","SelectInputItemPositionContext","queryNormalized"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AAC1D;AACA+D,gBAAAA,cAAc,CAACC,IAAI,CAAChE,KAAK,CAAC;AAC5B,cAAA;AAEA;cACA,OAAO,CAAC,GAAG,IAAIV,GAAG,CAAC,CAAC,GAAGD,kBAAkB,EAAE,GAAG0E,cAAc,CAAC,CAAC,CAAC,CAACE,IAAI,CAClE,CAACnG,CAAC,EAAEC,CAAC,KAAKD,CAAC,GAAGC,CAAC,CAChB;AACH,YAAA,CAAC,CAAC;UACJ,CAAE;AAAA2D,UAAAA,QAAA,EAEDA,CAACrD,IAAI,EAAE2B,KAAK;AAAA;AACX;AACA;UACAC,cAAA,CAACiE,iDAA4B,CAACC,QAAQ,EAAA;YAAC3F,KAAK,EAAER,aAAa,CAACc,MAAO;AAAA4C,YAAAA,QAAA,eACjEzB,cAAA,CAACmE,mDAA8B,CAACD,QAAQ,EAAA;cAAC3F,KAAK,EAAEwB,KAAK,GAAG,CAAE;cAAA0B,QAAA,EACvD3B,WAAW,CAACC,KAAK;aACqB;WACJ;SAE9B;AACd,OACE,CAEL,EAACnE,YAAY,IAAI,IAAI,gBACnBoE,cAAA,CAAA,QAAA,EAAA;AAAQqB,QAAAA,SAAS,EAAC,wBAAwB;AAAAI,QAAAA,QAAA,eACxCzB,cAAA,CAAA,KAAA,EAAA;AACE6B,UAAAA,IAAI,EAAC,MAAM;UACXI,SAAS,EAAGC,KAAK,IAAI;AACnB;AACA,YAAA,IAAIA,KAAK,CAACvE,GAAG,KAAK,QAAQ,EAAE;cAC1BuE,KAAK,CAACE,eAAe,EAAE;AACzB,YAAA;UACF,CAAE;UAAAX,QAAA,EAED7F,YAAY,CAAC;YACZgD,YAAY;AACZwF,YAAAA,eAAe,EAAEnH;WAClB;SACE;OACC,CAAC,GACP,IAAI;AAAA,KACD,CACX;AAAA,GAAgB,CAAC;AAErB;;;;"}
1
+ {"version":3,"file":"SelectInputOptions.js","sources":["../../../../../src/inputs/SelectInput/Options/SelectInputOptions.tsx"],"sourcesContent":["import { CrossCircle } from '@transferwise/icons';\nimport { ListboxOptions } from '@headlessui/react';\nimport { clsx } from 'clsx';\nimport { useEffect, useId, useMemo, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { Virtualizer, type VirtualizerHandle } from 'virtua';\n\nimport { SearchInput } from '../../SearchInput';\nimport {\n SelectInputItemsCountContext,\n SelectInputItemPositionContext,\n} from '../SelectInput.contexts';\nimport {\n dedupeSelectInputItems,\n filterSelectInputItems,\n MAX_ITEMS_WITHOUT_VIRTUALIZATION,\n searchableString,\n selectInputOptionItemIncludesNeedle,\n sortSelectInputItems,\n} from '../SelectInput.utils';\nimport { SelectInputOptionItem, SelectInputProps, SelectInputItem } from '../SelectInput.types';\nimport messages from '../SelectInput.messages';\n\nimport { SelectInputItemView } from '../ItemView';\nimport { SelectInputOptionsContainer } from './OptionsContainer';\n\n/**\n * Props for the SelectInputOptions component.\n */\nexport interface SelectInputOptionsProps<T = string> extends Pick<\n SelectInputProps<T>,\n | 'items'\n | 'renderValue'\n | 'renderFooter'\n | 'filterable'\n | 'filterPlaceholder'\n | 'id'\n | 'parentId'\n | 'compareValues'\n | 'sortFilteredOptions'\n> {\n searchInputRef: React.MutableRefObject<HTMLInputElement | null>;\n listboxRef: React.MutableRefObject<HTMLDivElement | null>;\n filterQuery: string;\n onFilterChange: (query: string) => void;\n listBoxLabel?: string;\n listBoxLabelledBy?: string;\n autocomplete?: string;\n name?: string;\n onAutocompleteSelect?: (value: T) => void;\n}\n\n/**\n * The main options container component for SelectInput.\n * Manages filtering, virtualisation, and rendering of options.\n */\nexport function SelectInputOptions<T = string>({\n id,\n parentId,\n items,\n compareValues: compareValuesProp,\n renderValue = String,\n renderFooter,\n filterable = false,\n filterPlaceholder,\n sortFilteredOptions,\n searchInputRef,\n listboxRef,\n filterQuery,\n onFilterChange,\n listBoxLabel,\n listBoxLabelledBy,\n autocomplete,\n name,\n onAutocompleteSelect,\n}: SelectInputOptionsProps<T>) {\n const intl = useIntl();\n const virtualiserHandlerRef = useRef<VirtualizerHandle>(null);\n const controllerRef = filterable ? searchInputRef : listboxRef;\n const [initialRender, setInitialRender] = useState(true);\n\n const needle = useMemo(() => {\n if (filterable) {\n return filterQuery ? searchableString(filterQuery) : null;\n }\n return undefined;\n }, [filterQuery, filterable]);\n useEffect(() => {\n if (needle) {\n // Ensure having an active option while filtering.\n // Without `requestAnimationFrame` upon which React depends for scheduling\n // updates, the active status would only show for a split second and then\n // disappear inadvertently.\n requestAnimationFrame(() => {\n if (\n controllerRef.current != null &&\n !controllerRef.current.hasAttribute('aria-activedescendant')\n ) {\n // Activate first option via synthetic key press\n controllerRef.current.dispatchEvent(\n new KeyboardEvent('keydown', { key: 'Home', bubbles: true }),\n );\n }\n });\n }\n }, [controllerRef, needle]);\n\n const compareValues = useMemo(() => {\n if (!compareValuesProp) {\n return undefined;\n }\n\n if (typeof compareValuesProp === 'function') {\n return (a: NonNullable<T>, b: NonNullable<T>) => compareValuesProp(a, b);\n }\n\n const key = compareValuesProp;\n return (a: NonNullable<T>, b: NonNullable<T>) => {\n if (typeof a === 'object' && a != null && typeof b === 'object' && b != null) {\n return (a as Record<string, unknown>)[key] === (b as Record<string, unknown>)[key];\n }\n return a === b;\n };\n }, [compareValuesProp]);\n\n const filteredItems: readonly SelectInputItem<NonNullable<T> | undefined>[] = useMemo(() => {\n if (needle == null) {\n return items;\n }\n\n const dedupedItems = dedupeSelectInputItems(items, compareValues);\n\n if (sortFilteredOptions) {\n // When sorting, filter out non-matching items completely to avoid ghost items\n const filtered = dedupedItems.map((item) => {\n if (item.type === 'option') {\n return selectInputOptionItemIncludesNeedle(item, needle)\n ? item\n : { ...item, value: undefined };\n }\n if (item.type === 'group') {\n return {\n ...item,\n options: item.options.map((option) =>\n selectInputOptionItemIncludesNeedle(option, needle)\n ? option\n : { ...option, value: undefined },\n ),\n };\n }\n return item;\n });\n\n return sortSelectInputItems(filtered, sortFilteredOptions, filterQuery);\n }\n\n return filterSelectInputItems(dedupedItems, (item) =>\n selectInputOptionItemIncludesNeedle(item, needle),\n );\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [needle, items, compareValues]);\n const resultsEmpty = needle != null && filteredItems.length === 0;\n\n const virtualized = filteredItems.length > MAX_ITEMS_WITHOUT_VIRTUALIZATION;\n\n // Items shown once shall be kept mounted until the needle changes, otherwise\n // the scroll position may jump around inadvertently. Pattern adopted from:\n // https://inokawa.github.io/virtua/?path=/story/advanced-keep-offscreen-items--append-only\n const [mountedIndexes, setMountedIndexes] = useState<number[]>([]);\n const prevNeedleRef = useRef(needle);\n\n useEffect(() => {\n const needleChanged = prevNeedleRef.current !== needle;\n prevNeedleRef.current = needle;\n\n if (needleChanged) {\n // Reset mounted indexes when search changes to avoid stale scroll positions\n setMountedIndexes([]);\n return;\n }\n\n // Ensure the 'End' key works as intended by keeping the last item mounted.\n // Skipped on needle change to prevent auto-scrolling on search.\n if (filteredItems.length > 0) {\n setMountedIndexes((prevMountedIndexes) => {\n // Create a new array with existing indexes plus the last item index\n return [...new Set([...prevMountedIndexes, filteredItems.length - 1])]; // Sorting is redundant by nature here\n });\n }\n }, [needle, filteredItems.length]);\n\n const listboxContainerRef = useRef<HTMLDivElement>(null);\n useEffect(() => {\n if (listboxContainerRef.current != null) {\n listboxContainerRef.current.style.setProperty(\n '--initial-height',\n `${listboxContainerRef.current.offsetHeight}px`,\n );\n }\n }, []);\n\n useEffect(() => {\n setInitialRender(false);\n }, []);\n\n const showStatus = resultsEmpty;\n const statusId = useId();\n const listboxId = useId();\n\n const getItemNode = (index: number) => {\n const item = filteredItems[index];\n return (\n <SelectInputItemView key={index} item={item} renderValue={renderValue} needle={needle} />\n );\n };\n\n const findMatchingItem = (autocompleteValue: string): T | null => {\n const flatOptions = items\n .flatMap((item) =>\n item.type === 'group' ? item.options : item.type === 'option' ? [item] : [],\n )\n .filter(\n (item): item is SelectInputOptionItem<NonNullable<T>> =>\n item.type === 'option' && item.value != null,\n );\n\n const exactMatch = flatOptions.find(\n (option) =>\n String(option.value) === autocompleteValue ||\n option.filterMatchers?.some((matcher) => matcher === autocompleteValue),\n );\n\n if (exactMatch) {\n return exactMatch.value;\n }\n\n const fuzzyMatch = flatOptions.find((option) =>\n option.filterMatchers?.some((matcher) =>\n matcher.toLowerCase().includes(autocompleteValue.toLowerCase()),\n ),\n );\n\n return fuzzyMatch ? fuzzyMatch.value : null;\n };\n\n return (\n <ListboxOptions\n modal\n as={SelectInputOptionsContainer}\n static\n className=\"np-select-input-options-container\"\n onAriaActiveDescendantChange={(value: React.AriaAttributes['aria-activedescendant']) => {\n if (controllerRef.current != null) {\n if (!initialRender && value != null) {\n controllerRef.current.setAttribute('aria-activedescendant', value);\n } else {\n controllerRef.current.removeAttribute('aria-activedescendant');\n }\n }\n }}\n >\n {filterable ? (\n <div className=\"np-select-input-query-container\">\n <SearchInput\n ref={searchInputRef}\n id={id}\n name={name}\n autoComplete={autocomplete}\n role=\"combobox\"\n shape=\"rectangle\"\n placeholder={filterPlaceholder}\n aria-label={filterPlaceholder}\n defaultValue={filterQuery}\n aria-autocomplete=\"list\"\n aria-expanded\n aria-controls={listboxId}\n aria-describedby={showStatus ? statusId : undefined}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => {\n // Prevent interfering with the matcher of Headless UI\n // https://mathiasbynens.be/notes/javascript-unicode#regex\n if (/^.$/u.test(event.key)) {\n event.stopPropagation();\n }\n }}\n onChange={(event) => {\n // Free up resources and ensure not to go out of bounds when the\n // resulting item count is less than before\n const inputValue = event.currentTarget.value;\n\n // Free up resources and ensure not to go out of bounds\n setMountedIndexes([]);\n onFilterChange(inputValue);\n }}\n onInput={(event) => {\n const inputValue = event.currentTarget.value;\n const inputElement = event.currentTarget;\n\n if (autocomplete && onAutocompleteSelect && inputValue) {\n setTimeout(() => {\n if (inputElement.value === inputValue && inputValue.length > 2) {\n const matchedValue = findMatchingItem(inputValue);\n if (matchedValue !== null) {\n onAutocompleteSelect(matchedValue);\n }\n }\n }, 50);\n }\n }}\n />\n </div>\n ) : null}\n\n <section\n ref={listboxContainerRef}\n tabIndex={-1}\n className={clsx(\n 'np-select-input-listbox-container',\n virtualized && 'np-select-input-listbox-container--virtualized',\n needle == null && // Groups aren't shown when filtering\n items.some((item) => item.type === 'group') &&\n 'np-select-input-listbox-container--has-group',\n )}\n data-wds-parent={parentId ?? undefined}\n >\n {resultsEmpty ? (\n <div id={statusId} className=\"np-select-input-options-status\">\n <CrossCircle size={16} className=\"np-select-input-options-status-icon\" />\n {intl.formatMessage(messages.noResultsFound)}\n </div>\n ) : null}\n\n <div\n ref={listboxRef}\n id={listboxId}\n role=\"listbox\"\n aria-orientation=\"vertical\"\n aria-label={listBoxLabel}\n aria-labelledby={listBoxLabelledBy}\n tabIndex={0}\n className=\"np-select-input-listbox\"\n >\n {!virtualized ? (\n filteredItems.map((_, index) => getItemNode(index))\n ) : (\n <Virtualizer\n ref={virtualiserHandlerRef}\n data={filteredItems}\n keepMounted={mountedIndexes}\n scrollRef={listboxRef} // `VList` doesn't expose this\n onScroll={async () => {\n if (!virtualiserHandlerRef.current) return;\n\n const startIndex = virtualiserHandlerRef.current.findItemIndex(\n virtualiserHandlerRef.current.scrollOffset,\n );\n const endIndex = virtualiserHandlerRef.current.findItemIndex(\n virtualiserHandlerRef.current.scrollOffset +\n virtualiserHandlerRef.current.viewportSize,\n );\n\n setMountedIndexes((prevMountedIndexes) => {\n // Create an array of all indexes that should be visible\n\n const visibleIndexes = [];\n for (let index = startIndex; index <= endIndex; index += 1) {\n // eslint-disable-next-line functional/immutable-data\n visibleIndexes.push(index);\n }\n\n // Combine with previous indexes and sort\n return [...new Set([...prevMountedIndexes, ...visibleIndexes])].sort(\n (a, b) => a - b,\n );\n });\n }}\n >\n {(item, index) => (\n // The position of each item can't be inferred by browsers when\n // virtualizing, as some of the items may not be in the DOM\n <SelectInputItemsCountContext.Provider value={filteredItems.length}>\n <SelectInputItemPositionContext.Provider value={index + 1}>\n {getItemNode(index)}\n </SelectInputItemPositionContext.Provider>\n </SelectInputItemsCountContext.Provider>\n )}\n </Virtualizer>\n )}\n </div>\n\n {renderFooter != null ? (\n <footer className=\"np-select-input-footer\">\n <div\n role=\"none\"\n onKeyDown={(event) => {\n // Prevent interfering with Headless UI\n if (event.key !== 'Escape') {\n event.stopPropagation();\n }\n }}\n >\n {renderFooter({\n resultsEmpty,\n queryNormalized: needle,\n })}\n </div>\n </footer>\n ) : null}\n </section>\n </ListboxOptions>\n );\n}\n"],"names":["SelectInputOptions","id","parentId","items","compareValues","compareValuesProp","renderValue","String","renderFooter","filterable","filterPlaceholder","sortFilteredOptions","searchInputRef","listboxRef","filterQuery","onFilterChange","listBoxLabel","listBoxLabelledBy","autocomplete","name","onAutocompleteSelect","intl","useIntl","virtualiserHandlerRef","useRef","controllerRef","initialRender","setInitialRender","useState","needle","useMemo","searchableString","undefined","useEffect","requestAnimationFrame","current","hasAttribute","dispatchEvent","KeyboardEvent","key","bubbles","a","b","filteredItems","dedupedItems","dedupeSelectInputItems","filtered","map","item","type","selectInputOptionItemIncludesNeedle","value","options","option","sortSelectInputItems","filterSelectInputItems","resultsEmpty","length","virtualized","MAX_ITEMS_WITHOUT_VIRTUALIZATION","mountedIndexes","setMountedIndexes","prevNeedleRef","needleChanged","prevMountedIndexes","Set","listboxContainerRef","style","setProperty","offsetHeight","showStatus","statusId","useId","listboxId","getItemNode","index","_jsx","SelectInputItemView","findMatchingItem","autocompleteValue","flatOptions","flatMap","filter","exactMatch","find","filterMatchers","some","matcher","fuzzyMatch","toLowerCase","includes","_jsxs","ListboxOptions","modal","as","SelectInputOptionsContainer","static","className","onAriaActiveDescendantChange","setAttribute","removeAttribute","children","SearchInput","ref","autoComplete","role","shape","placeholder","defaultValue","onKeyDown","event","test","stopPropagation","onChange","inputValue","currentTarget","onInput","inputElement","setTimeout","matchedValue","tabIndex","clsx","CrossCircle","size","formatMessage","messages","noResultsFound","_","Virtualizer","data","keepMounted","scrollRef","onScroll","startIndex","findItemIndex","scrollOffset","endIndex","viewportSize","visibleIndexes","push","sort","SelectInputItemsCountContext","Provider","SelectInputItemPositionContext","queryNormalized"],"mappings":";;;;;;;;;;;;;;;;;AAwDM,SAAUA,kBAAkBA,CAAa;EAC7CC,EAAE;EACFC,QAAQ;EACRC,KAAK;AACLC,EAAAA,aAAa,EAAEC,iBAAiB;AAChCC,EAAAA,WAAW,GAAGC,MAAM;EACpBC,YAAY;AACZC,EAAAA,UAAU,GAAG,KAAK;EAClBC,iBAAiB;EACjBC,mBAAmB;EACnBC,cAAc;EACdC,UAAU;EACVC,WAAW;EACXC,cAAc;EACdC,YAAY;EACZC,iBAAiB;EACjBC,YAAY;EACZC,IAAI;AACJC,EAAAA;AAAoB,CACO,EAAA;AAC3B,EAAA,MAAMC,IAAI,GAAGC,iBAAO,EAAE;AACtB,EAAA,MAAMC,qBAAqB,GAAGC,YAAM,CAAoB,IAAI,CAAC;AAC7D,EAAA,MAAMC,aAAa,GAAGhB,UAAU,GAAGG,cAAc,GAAGC,UAAU;EAC9D,MAAM,CAACa,aAAa,EAAEC,gBAAgB,CAAC,GAAGC,cAAQ,CAAC,IAAI,CAAC;AAExD,EAAA,MAAMC,MAAM,GAAGC,aAAO,CAAC,MAAK;AAC1B,IAAA,IAAIrB,UAAU,EAAE;AACd,MAAA,OAAOK,WAAW,GAAGiB,kCAAgB,CAACjB,WAAW,CAAC,GAAG,IAAI;AAC3D,IAAA;AACA,IAAA,OAAOkB,SAAS;AAClB,EAAA,CAAC,EAAE,CAAClB,WAAW,EAAEL,UAAU,CAAC,CAAC;AAC7BwB,EAAAA,eAAS,CAAC,MAAK;AACb,IAAA,IAAIJ,MAAM,EAAE;AACV;AACA;AACA;AACA;AACAK,MAAAA,qBAAqB,CAAC,MAAK;AACzB,QAAA,IACET,aAAa,CAACU,OAAO,IAAI,IAAI,IAC7B,CAACV,aAAa,CAACU,OAAO,CAACC,YAAY,CAAC,uBAAuB,CAAC,EAC5D;AACA;UACAX,aAAa,CAACU,OAAO,CAACE,aAAa,CACjC,IAAIC,aAAa,CAAC,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electInput/Options/SelectInputOptions.tsx"],"sourcesContent":["import { CrossCircle } from '@transferwise/icons';\nimport { ListboxOptions } from '@headlessui/react';\nimport { clsx } from 'clsx';\nimport { useEffect, useId, useMemo, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { Virtualizer, type VirtualizerHandle } from 'virtua';\n\nimport { SearchInput } from '../../SearchInput';\nimport {\n SelectInputItemsCountContext,\n SelectInputItemPositionContext,\n} from '../SelectInput.contexts';\nimport {\n dedupeSelectInputItems,\n filterSelectInputItems,\n MAX_ITEMS_WITHOUT_VIRTUALIZATION,\n searchableString,\n selectInputOptionItemIncludesNeedle,\n sortSelectInputItems,\n} from '../SelectInput.utils';\nimport { SelectInputOptionItem, SelectInputProps, SelectInputItem } from '../SelectInput.types';\nimport messages from '../SelectInput.messages';\n\nimport { SelectInputItemView } from '../ItemView';\nimport { SelectInputOptionsContainer } from './OptionsContainer';\n\n/**\n * Props for the SelectInputOptions component.\n */\nexport interface SelectInputOptionsProps<T = string> extends Pick<\n SelectInputProps<T>,\n | 'items'\n | 'renderValue'\n | 'renderFooter'\n | 'filterable'\n | 'filterPlaceholder'\n | 'id'\n | 'parentId'\n | 'compareValues'\n | 'sortFilteredOptions'\n> {\n searchInputRef: React.MutableRefObject<HTMLInputElement | null>;\n listboxRef: React.MutableRefObject<HTMLDivElement | null>;\n filterQuery: string;\n onFilterChange: (query: string) => void;\n listBoxLabel?: string;\n listBoxLabelledBy?: string;\n autocomplete?: string;\n name?: string;\n onAutocompleteSelect?: (value: T) => void;\n}\n\n/**\n * The main options container component for SelectInput.\n * Manages filtering, virtualisation, and rendering of options.\n */\nexport function SelectInputOptions<T = string>({\n id,\n parentId,\n items,\n compareValues: compareValuesProp,\n renderValue = String,\n renderFooter,\n filterable = false,\n filterPlaceholder,\n sortFilteredOptions,\n searchInputRef,\n listboxRef,\n filterQuery,\n onFilterChange,\n listBoxLabel,\n listBoxLabelledBy,\n autocomplete,\n name,\n onAutocompleteSelect,\n}: SelectInputOptionsProps<T>) {\n const intl = useIntl();\n const virtualiserHandlerRef = useRef<VirtualizerHandle>(null);\n const controllerRef = filterable ? searchInputRef : listboxRef;\n const [initialRender, setInitialRender] = useState(true);\n\n const needle = useMemo(() => {\n if (filterable) {\n return filterQuery ? searchableString(filterQuery) : null;\n }\n return undefined;\n }, [filterQuery, filterable]);\n useEffect(() => {\n if (needle) {\n // Ensure having an active option while filtering.\n // Without `requestAnimationFrame` upon which React depends for scheduling\n // updates, the active status would only show for a split second and then\n // disappear inadvertently.\n requestAnimationFrame(() => {\n if (\n controllerRef.current != null &&\n !controllerRef.current.hasAttribute('aria-activedescendant')\n ) {\n // Activate first option via synthetic key press\n controllerRef.current.dispatchEvent(\n new KeyboardEvent('keydown', { key: 'Home', bubbles: true }),\n );\n }\n });\n }\n }, [controllerRef, needle]);\n\n const compareValues = useMemo(() => {\n if (!compareValuesProp) {\n return undefined;\n }\n\n if (typeof compareValuesProp === 'function') {\n return (a: NonNullable<T>, b: NonNullable<T>) => compareValuesProp(a, b);\n }\n\n const key = compareValuesProp;\n return (a: NonNullable<T>, b: NonNullable<T>) => {\n if (typeof a === 'object' && a != null && typeof b === 'object' && b != null) {\n return (a as Record<string, unknown>)[key] === (b as Record<string, unknown>)[key];\n }\n return a === b;\n };\n }, [compareValuesProp]);\n\n const filteredItems: readonly SelectInputItem<NonNullable<T> | undefined>[] = useMemo(() => {\n if (needle == null) {\n return items;\n }\n\n const dedupedItems = dedupeSelectInputItems(items, compareValues);\n\n if (sortFilteredOptions) {\n // When sorting, filter out non-matching items completely to avoid ghost items\n const filtered = dedupedItems.map((item) => {\n if (item.type === 'option') {\n return selectInputOptionItemIncludesNeedle(item, needle)\n ? item\n : { ...item, value: undefined };\n }\n if (item.type === 'group') {\n return {\n ...item,\n options: item.options.map((option) =>\n selectInputOptionItemIncludesNeedle(option, needle)\n ? option\n : { ...option, value: undefined },\n ),\n };\n }\n return item;\n });\n\n return sortSelectInputItems(filtered, sortFilteredOptions, filterQuery);\n }\n\n return filterSelectInputItems(dedupedItems, (item) =>\n selectInputOptionItemIncludesNeedle(item, needle),\n );\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [needle, items, compareValues]);\n const resultsEmpty = needle != null && filteredItems.length === 0;\n\n const virtualized = filteredItems.length > MAX_ITEMS_WITHOUT_VIRTUALIZATION;\n\n // Items shown once shall be kept mounted until the needle changes, otherwise\n // the scroll position may jump around inadvertently. Pattern adopted from:\n // https://inokawa.github.io/virtua/?path=/story/advanced-keep-offscreen-items--append-only\n const [mountedIndexes, setMountedIndexes] = useState<number[]>([]);\n const prevNeedleRef = useRef(needle);\n\n useEffect(() => {\n const needleChanged = prevNeedleRef.current !== needle;\n prevNeedleRef.current = needle;\n\n if (needleChanged) {\n // Reset mounted indexes when search changes to avoid stale scroll positions\n setMountedIndexes([]);\n return;\n }\n\n // Ensure the 'End' key works as intended by keeping the last item mounted.\n // Skipped on needle change to prevent auto-scrolling on search.\n if (filteredItems.length > 0) {\n setMountedIndexes((prevMountedIndexes) => {\n // Create a new array with existing indexes plus the last item index\n return [...new Set([...prevMountedIndexes, filteredItems.length - 1])]; // Sorting is redundant by nature here\n });\n }\n }, [needle, filteredItems.length]);\n\n const listboxContainerRef = useRef<HTMLDivElement>(null);\n useEffect(() => {\n if (listboxContainerRef.current != null) {\n listboxContainerRef.current.style.setProperty(\n '--initial-height',\n `${listboxContainerRef.current.offsetHeight}px`,\n );\n }\n }, []);\n\n useEffect(() => {\n setInitialRender(false);\n }, []);\n\n const showStatus = resultsEmpty;\n const statusId = useId();\n const listboxId = useId();\n\n const getItemNode = (index: number) => {\n const item = filteredItems[index];\n return (\n <SelectInputItemView key={index} item={item} renderValue={renderValue} needle={needle} />\n );\n };\n\n const findMatchingItem = (autocompleteValue: string): T | null => {\n const flatOptions = items\n .flatMap((item) =>\n item.type === 'group' ? item.options : item.type === 'option' ? [item] : [],\n )\n .filter(\n (item): item is SelectInputOptionItem<NonNullable<T>> =>\n item.type === 'option' && item.value != null,\n );\n\n const exactMatch = flatOptions.find(\n (option) =>\n String(option.value) === autocompleteValue ||\n option.filterMatchers?.some((matcher) => matcher === autocompleteValue),\n );\n\n if (exactMatch) {\n return exactMatch.value;\n }\n\n const fuzzyMatch = flatOptions.find((option) =>\n option.filterMatchers?.some((matcher) =>\n matcher.toLowerCase().includes(autocompleteValue.toLowerCase()),\n ),\n );\n\n return fuzzyMatch ? fuzzyMatch.value : null;\n };\n\n return (\n <ListboxOptions\n modal\n as={SelectInputOptionsContainer}\n static\n className=\"np-select-input-options-container\"\n onAriaActiveDescendantChange={(value: React.AriaAttributes['aria-activedescendant']) => {\n if (controllerRef.current != null) {\n if (!initialRender && value != null) {\n controllerRef.current.setAttribute('aria-activedescendant', value);\n } else {\n controllerRef.current.removeAttribute('aria-activedescendant');\n }\n }\n }}\n >\n {filterable ? (\n <div className=\"np-select-input-query-container\">\n <SearchInput\n ref={searchInputRef}\n id={id}\n name={name}\n autoComplete={autocomplete}\n role=\"combobox\"\n shape=\"rectangle\"\n placeholder={filterPlaceholder}\n aria-label={filterPlaceholder}\n defaultValue={filterQuery}\n aria-autocomplete=\"list\"\n aria-expanded\n aria-controls={listboxId}\n aria-describedby={showStatus ? statusId : undefined}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => {\n // Prevent interfering with the matcher of Headless UI\n // https://mathiasbynens.be/notes/javascript-unicode#regex\n if (/^.$/u.test(event.key)) {\n event.stopPropagation();\n }\n }}\n onChange={(event) => {\n // Free up resources and ensure not to go out of bounds when the\n // resulting item count is less than before\n const inputValue = event.currentTarget.value;\n\n // Free up resources and ensure not to go out of bounds\n setMountedIndexes([]);\n onFilterChange(inputValue);\n }}\n onInput={(event) => {\n const inputValue = event.currentTarget.value;\n const inputElement = event.currentTarget;\n\n if (autocomplete && onAutocompleteSelect && inputValue) {\n setTimeout(() => {\n if (inputElement.value === inputValue && inputValue.length > 2) {\n const matchedValue = findMatchingItem(inputValue);\n if (matchedValue !== null) {\n onAutocompleteSelect(matchedValue);\n }\n }\n }, 50);\n }\n }}\n />\n </div>\n ) : null}\n\n <section\n ref={listboxContainerRef}\n tabIndex={-1}\n className={clsx(\n 'np-select-input-listbox-container',\n virtualized && 'np-select-input-listbox-container--virtualized',\n needle == null && // Groups aren't shown when filtering\n items.some((item) => item.type === 'group') &&\n 'np-select-input-listbox-container--has-group',\n )}\n data-wds-parent={parentId ?? undefined}\n >\n {resultsEmpty ? (\n <div id={statusId} className=\"np-select-input-options-status\">\n <CrossCircle size={16} className=\"np-select-input-options-status-icon\" />\n {intl.formatMessage(messages.noResultsFound)}\n </div>\n ) : null}\n\n <div\n ref={listboxRef}\n id={listboxId}\n role=\"listbox\"\n aria-orientation=\"vertical\"\n aria-label={listBoxLabel}\n aria-labelledby={listBoxLabelledBy}\n tabIndex={0}\n className=\"np-select-input-listbox\"\n >\n {!virtualized ? (\n filteredItems.map((_, index) => getItemNode(index))\n ) : (\n <Virtualizer\n ref={virtualiserHandlerRef}\n data={filteredItems}\n keepMounted={mountedIndexes}\n scrollRef={listboxRef} // `VList` doesn't expose this\n onScroll={async () => {\n if (!virtualiserHandlerRef.current) return;\n\n const startIndex = virtualiserHandlerRef.current.findItemIndex(\n virtualiserHandlerRef.current.scrollOffset,\n );\n const endIndex = virtualiserHandlerRef.current.findItemIndex(\n virtualiserHandlerRef.current.scrollOffset +\n virtualiserHandlerRef.current.viewportSize,\n );\n\n setMountedIndexes((prevMountedIndexes) => {\n // Create an array of all indexes that should be visible\n\n const visibleIndexes = [];\n for (let index = startIndex; index <= endIndex; index += 1) {\n // eslint-disable-next-line functional/immutable-data\n visibleIndexes.push(index);\n }\n\n // Combine with previous indexes and sort\n return [...new Set([...prevMountedIndexes, ...visibleIndexes])].sort(\n (a, b) => a - b,\n );\n });\n }}\n >\n {(item, index) => (\n // The position of each item can't be inferred by browsers when\n // virtualizing, as some of the items may not be in the DOM\n <SelectInputItemsCountContext.Provider value={filteredItems.length}>\n <SelectInputItemPositionContext.Provider value={index + 1}>\n {getItemNode(index)}\n </SelectInputItemPositionContext.Provider>\n </SelectInputItemsCountContext.Provider>\n )}\n </Virtualizer>\n )}\n </div>\n\n {renderFooter != null ? (\n <footer className=\"np-select-input-footer\">\n <div\n role=\"none\"\n onKeyDown={(event) => {\n // Prevent interfering with Headless UI\n if (event.key !== 'Escape') {\n event.stopPropagation();\n }\n }}\n >\n {renderFooter({\n resultsEmpty,\n queryNormalized: needle,\n })}\n </div>\n </footer>\n ) : null}\n </section>\n </ListboxOptions>\n );\n}\n"],"names":["SelectInputOptions","id","parentId","items","compareValues","compareValuesProp","renderValue","String","renderFooter","filterable","filterPlaceholder","sortFilteredOptions","searchInputRef","listboxRef","filterQuery","onFilterChange","listBoxLabel","listBoxLabelledBy","autocomplete","name","onAutocompleteSelect","intl","useIntl","virtualiserHandlerRef","useRef","controllerRef","initialRender","setInitialRender","useState","needle","useMemo","searchableString","undefined","useEffect","requestAnimationFrame","current","hasAttribute","dispatchEvent","KeyboardEvent","key","bubbles","a","b","filteredItems","dedupedItems","dedupeSelectInputItems","filtered","map","item","type","selectInputOptionItemIncludesNeedle","value","options","option","sortSelectInputItems","filterSelectInputItems","resultsEmpty","length","virtualized","MAX_ITEMS_WITHOUT_VIRTUALIZATION","mountedIndexes","setMountedIndexes","prevNeedleRef","needleChanged","prevMountedIndexes","Set","listboxContainerRef","style","setProperty","offsetHeight","showStatus","statusId","useId","listboxId","getItemNode","index","_jsx","SelectInputItemView","findMatchingItem","autocompleteValue","flatOptions","flatMap","filter","exactMatch","find","filterMatchers","some","matcher","fuzzyMatch","toLowerCase","includes","_jsxs","ListboxOptions","modal","as","SelectInputOptionsContainer","static","className","onAriaActiveDescendantChange","setAttribute","removeAttribute","children","SearchInput","ref","autoComplete","role","shape","placeholder","defaultValue","onKeyDown","event","test","stopPropagation","onChange","inputValue","currentTarget","onInput","inputElement","setTimeout","matchedValue","tabIndex","clsx","CrossCircle","size","formatMessage","messages","noResultsFound","_","Virtualizer","data","keepMounted","scrollRef","onScroll","startIndex","findItemIndex","scrollOffset","endIndex","viewportSize","visibleIndexes","push","sort","SelectInputItemsCountContext","Provider","SelectInputItemPositionContext","queryNormalized"],"mappings":";;;;;;;;;;;;;;;AAwDM,SAAUA,kBAAkBA,CAAa;EAC7CC,EAAE;EACFC,QAAQ;EACRC,KAAK;AACLC,EAAAA,aAAa,EAAEC,iBAAiB;AAChCC,EAAAA,WAAW,GAAGC,MAAM;EACpBC,YAAY;AACZC,EAAAA,UAAU,GAAG,KAAK;EAClBC,iBAAiB;EACjBC,mBAAmB;EACnBC,cAAc;EACdC,UAAU;EACVC,WAAW;EACXC,cAAc;EACdC,YAAY;EACZC,iBAAiB;EACjBC,YAAY;EACZC,IAAI;AACJC,EAAAA;AAAoB,CACO,EAAA;AAC3B,EAAA,MAAMC,IAAI,GAAGC,OAAO,EAAE;AACtB,EAAA,MAAMC,qBAAqB,GAAGC,MAAM,CAAoB,IAAI,CAAC;AAC7D,EAAA,MAAMC,aAAa,GAAGhB,UAAU,GAAGG,cAAc,GAAGC,UAAU;EAC9D,MAAM,CAACa,aAAa,EAAEC,gBAAgB,CAAC,GAAGC,QAAQ,CAAC,IAAI,CAAC;AAExD,EAAA,MAAMC,MAAM,GAAGC,OAAO,CAAC,MAAK;AAC1B,IAAA,IAAIrB,UAAU,EAAE;AACd,MAAA,OAAOK,WAAW,GAAGiB,gBAAgB,CAACjB,WAAW,CAAC,GAAG,IAAI;AAC3D,IAAA;AACA,IAAA,OAAOkB,SAAS;AAClB,EAAA,CAAC,EAAE,CAAClB,WAAW,EAAEL,UAAU,CAAC,CAAC;AAC7BwB,EAAAA,SAAS,CAAC,MAAK;AACb,IAAA,IAAIJ,MAAM,EAAE;AACV;AACA;AACA;AACA;AACAK,MAAAA,qBAAqB,CAAC,MAAK;AACzB,QAAA,IACET,aAAa,CAACU,OAAO,IAAI,IAAI,IAC7B,CAACV,aAAa,CAACU,OAAO,CAACC,YAAY,CAAC,uBAAuB,CAAC,EAC5D;AACA;UACAX,a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"SelectInputOptions.mjs","sources":["../../../../../src/inputs/SelectInput/Options/SelectInputOptions.tsx"],"sourcesContent":["import { CrossCircle } from '@transferwise/icons';\nimport { ListboxOptions } from '@headlessui/react';\nimport { clsx } from 'clsx';\nimport { useEffect, useId, useMemo, useRef, useState } from 'react';\nimport { useIntl } from 'react-intl';\nimport { Virtualizer, type VirtualizerHandle } from 'virtua';\n\nimport { SearchInput } from '../../SearchInput';\nimport {\n SelectInputItemsCountContext,\n SelectInputItemPositionContext,\n} from '../SelectInput.contexts';\nimport {\n dedupeSelectInputItems,\n filterSelectInputItems,\n MAX_ITEMS_WITHOUT_VIRTUALIZATION,\n searchableString,\n selectInputOptionItemIncludesNeedle,\n sortSelectInputItems,\n} from '../SelectInput.utils';\nimport { SelectInputOptionItem, SelectInputProps, SelectInputItem } from '../SelectInput.types';\nimport messages from '../SelectInput.messages';\n\nimport { SelectInputItemView } from '../ItemView';\nimport { SelectInputOptionsContainer } from './OptionsContainer';\n\n/**\n * Props for the SelectInputOptions component.\n */\nexport interface SelectInputOptionsProps<T = string> extends Pick<\n SelectInputProps<T>,\n | 'items'\n | 'renderValue'\n | 'renderFooter'\n | 'filterable'\n | 'filterPlaceholder'\n | 'id'\n | 'parentId'\n | 'compareValues'\n | 'sortFilteredOptions'\n> {\n searchInputRef: React.MutableRefObject<HTMLInputElement | null>;\n listboxRef: React.MutableRefObject<HTMLDivElement | null>;\n filterQuery: string;\n onFilterChange: (query: string) => void;\n listBoxLabel?: string;\n listBoxLabelledBy?: string;\n autocomplete?: string;\n name?: string;\n onAutocompleteSelect?: (value: T) => void;\n}\n\n/**\n * The main options container component for SelectInput.\n * Manages filtering, virtualisation, and rendering of options.\n */\nexport function SelectInputOptions<T = string>({\n id,\n parentId,\n items,\n compareValues: compareValuesProp,\n renderValue = String,\n renderFooter,\n filterable = false,\n filterPlaceholder,\n sortFilteredOptions,\n searchInputRef,\n listboxRef,\n filterQuery,\n onFilterChange,\n listBoxLabel,\n listBoxLabelledBy,\n autocomplete,\n name,\n onAutocompleteSelect,\n}: SelectInputOptionsProps<T>) {\n const intl = useIntl();\n const virtualiserHandlerRef = useRef<VirtualizerHandle>(null);\n const controllerRef = filterable ? searchInputRef : listboxRef;\n const [initialRender, setInitialRender] = useState(true);\n\n const needle = useMemo(() => {\n if (filterable) {\n return filterQuery ? searchableString(filterQuery) : null;\n }\n return undefined;\n }, [filterQuery, filterable]);\n useEffect(() => {\n if (needle) {\n // Ensure having an active option while filtering.\n // Without `requestAnimationFrame` upon which React depends for scheduling\n // updates, the active status would only show for a split second and then\n // disappear inadvertently.\n requestAnimationFrame(() => {\n if (\n controllerRef.current != null &&\n !controllerRef.current.hasAttribute('aria-activedescendant')\n ) {\n // Activate first option via synthetic key press\n controllerRef.current.dispatchEvent(\n new KeyboardEvent('keydown', { key: 'Home', bubbles: true }),\n );\n }\n });\n }\n }, [controllerRef, needle]);\n\n const compareValues = useMemo(() => {\n if (!compareValuesProp) {\n return undefined;\n }\n\n if (typeof compareValuesProp === 'function') {\n return (a: NonNullable<T>, b: NonNullable<T>) => compareValuesProp(a, b);\n }\n\n const key = compareValuesProp;\n return (a: NonNullable<T>, b: NonNullable<T>) => {\n if (typeof a === 'object' && a != null && typeof b === 'object' && b != null) {\n return (a as Record<string, unknown>)[key] === (b as Record<string, unknown>)[key];\n }\n return a === b;\n };\n }, [compareValuesProp]);\n\n const filteredItems: readonly SelectInputItem<NonNullable<T> | undefined>[] = useMemo(() => {\n if (needle == null) {\n return items;\n }\n\n const dedupedItems = dedupeSelectInputItems(items, compareValues);\n\n if (sortFilteredOptions) {\n // When sorting, filter out non-matching items completely to avoid ghost items\n const filtered = dedupedItems.map((item) => {\n if (item.type === 'option') {\n return selectInputOptionItemIncludesNeedle(item, needle)\n ? item\n : { ...item, value: undefined };\n }\n if (item.type === 'group') {\n return {\n ...item,\n options: item.options.map((option) =>\n selectInputOptionItemIncludesNeedle(option, needle)\n ? option\n : { ...option, value: undefined },\n ),\n };\n }\n return item;\n });\n\n return sortSelectInputItems(filtered, sortFilteredOptions, filterQuery);\n }\n\n return filterSelectInputItems(dedupedItems, (item) =>\n selectInputOptionItemIncludesNeedle(item, needle),\n );\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [needle, items, compareValues]);\n const resultsEmpty = needle != null && filteredItems.length === 0;\n\n const virtualized = filteredItems.length > MAX_ITEMS_WITHOUT_VIRTUALIZATION;\n\n // Items shown once shall be kept mounted until the needle changes, otherwise\n // the scroll position may jump around inadvertently. Pattern adopted from:\n // https://inokawa.github.io/virtua/?path=/story/advanced-keep-offscreen-items--append-only\n const [mountedIndexes, setMountedIndexes] = useState<number[]>([]);\n const prevNeedleRef = useRef(needle);\n\n useEffect(() => {\n const needleChanged = prevNeedleRef.current !== needle;\n prevNeedleRef.current = needle;\n\n if (needleChanged) {\n // Reset mounted indexes when search changes to avoid stale scroll positions\n setMountedIndexes([]);\n return;\n }\n\n // Ensure the 'End' key works as intended by keeping the last item mounted.\n // Skipped on needle change to prevent auto-scrolling on search.\n if (filteredItems.length > 0) {\n setMountedIndexes((prevMountedIndexes) => {\n // Create a new array with existing indexes plus the last item index\n return [...new Set([...prevMountedIndexes, filteredItems.length - 1])]; // Sorting is redundant by nature here\n });\n }\n }, [needle, filteredItems.length]);\n\n const listboxContainerRef = useRef<HTMLDivElement>(null);\n useEffect(() => {\n if (listboxContainerRef.current != null) {\n listboxContainerRef.current.style.setProperty(\n '--initial-height',\n `${listboxContainerRef.current.offsetHeight}px`,\n );\n }\n }, []);\n\n useEffect(() => {\n setInitialRender(false);\n }, []);\n\n const showStatus = resultsEmpty;\n const statusId = useId();\n const listboxId = useId();\n\n const getItemNode = (index: number) => {\n const item = filteredItems[index];\n return (\n <SelectInputItemView key={index} item={item} renderValue={renderValue} needle={needle} />\n );\n };\n\n const findMatchingItem = (autocompleteValue: string): T | null => {\n const flatOptions = items\n .flatMap((item) =>\n item.type === 'group' ? item.options : item.type === 'option' ? [item] : [],\n )\n .filter(\n (item): item is SelectInputOptionItem<NonNullable<T>> =>\n item.type === 'option' && item.value != null,\n );\n\n const exactMatch = flatOptions.find(\n (option) =>\n String(option.value) === autocompleteValue ||\n option.filterMatchers?.some((matcher) => matcher === autocompleteValue),\n );\n\n if (exactMatch) {\n return exactMatch.value;\n }\n\n const fuzzyMatch = flatOptions.find((option) =>\n option.filterMatchers?.some((matcher) =>\n matcher.toLowerCase().includes(autocompleteValue.toLowerCase()),\n ),\n );\n\n return fuzzyMatch ? fuzzyMatch.value : null;\n };\n\n return (\n <ListboxOptions\n modal\n as={SelectInputOptionsContainer}\n static\n className=\"np-select-input-options-container\"\n onAriaActiveDescendantChange={(value: React.AriaAttributes['aria-activedescendant']) => {\n if (controllerRef.current != null) {\n if (!initialRender && value != null) {\n controllerRef.current.setAttribute('aria-activedescendant', value);\n } else {\n controllerRef.current.removeAttribute('aria-activedescendant');\n }\n }\n }}\n >\n {filterable ? (\n <div className=\"np-select-input-query-container\">\n <SearchInput\n ref={searchInputRef}\n id={id}\n name={name}\n autoComplete={autocomplete}\n role=\"combobox\"\n shape=\"rectangle\"\n placeholder={filterPlaceholder}\n aria-label={filterPlaceholder}\n defaultValue={filterQuery}\n aria-autocomplete=\"list\"\n aria-expanded\n aria-controls={listboxId}\n aria-describedby={showStatus ? statusId : undefined}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => {\n // Prevent interfering with the matcher of Headless UI\n // https://mathiasbynens.be/notes/javascript-unicode#regex\n if (/^.$/u.test(event.key)) {\n event.stopPropagation();\n }\n }}\n onChange={(event) => {\n // Free up resources and ensure not to go out of bounds when the\n // resulting item count is less than before\n const inputValue = event.currentTarget.value;\n\n // Free up resources and ensure not to go out of bounds\n setMountedIndexes([]);\n onFilterChange(inputValue);\n }}\n onInput={(event) => {\n const inputValue = event.currentTarget.value;\n const inputElement = event.currentTarget;\n\n if (autocomplete && onAutocompleteSelect && inputValue) {\n setTimeout(() => {\n if (inputElement.value === inputValue && inputValue.length > 2) {\n const matchedValue = findMatchingItem(inputValue);\n if (matchedValue !== null) {\n onAutocompleteSelect(matchedValue);\n }\n }\n }, 50);\n }\n }}\n />\n </div>\n ) : null}\n\n <section\n ref={listboxContainerRef}\n tabIndex={-1}\n className={clsx(\n 'np-select-input-listbox-container',\n virtualized && 'np-select-input-listbox-container--virtualized',\n needle == null && // Groups aren't shown when filtering\n items.some((item) => item.type === 'group') &&\n 'np-select-input-listbox-container--has-group',\n )}\n data-wds-parent={parentId ?? undefined}\n >\n {resultsEmpty ? (\n <div id={statusId} className=\"np-select-input-options-status\">\n <CrossCircle size={16} className=\"np-select-input-options-status-icon\" />\n {intl.formatMessage(messages.noResultsFound)}\n </div>\n ) : null}\n\n <div\n ref={listboxRef}\n id={listboxId}\n role=\"listbox\"\n aria-orientation=\"vertical\"\n aria-label={listBoxLabel}\n aria-labelledby={listBoxLabelledBy}\n tabIndex={0}\n className=\"np-select-input-listbox\"\n >\n {!virtualized ? (\n filteredItems.map((_, index) => getItemNode(index))\n ) : (\n <Virtualizer\n ref={virtualiserHandlerRef}\n data={filteredItems}\n keepMounted={mountedIndexes}\n scrollRef={listboxRef} // `VList` doesn't expose this\n onScroll={async () => {\n if (!virtualiserHandlerRef.current) return;\n\n const startIndex = virtualiserHandlerRef.current.findItemIndex(\n virtualiserHandlerRef.current.scrollOffset,\n );\n const endIndex = virtualiserHandlerRef.current.findItemIndex(\n virtualiserHandlerRef.current.scrollOffset +\n virtualiserHandlerRef.current.viewportSize,\n );\n\n setMountedIndexes((prevMountedIndexes) => {\n // Create an array of all indexes that should be visible\n\n const visibleIndexes = [];\n for (let index = startIndex; index <= endIndex; index += 1) {\n // eslint-disable-next-line functional/immutable-data\n visibleIndexes.push(index);\n }\n\n // Combine with previous indexes and sort\n return [...new Set([...prevMountedIndexes, ...visibleIndexes])].sort(\n (a, b) => a - b,\n );\n });\n }}\n >\n {(item, index) => (\n // The position of each item can't be inferred by browsers when\n // virtualizing, as some of the items may not be in the DOM\n <SelectInputItemsCountContext.Provider value={filteredItems.length}>\n <SelectInputItemPositionContext.Provider value={index + 1}>\n {getItemNode(index)}\n </SelectInputItemPositionContext.Provider>\n </SelectInputItemsCountContext.Provider>\n )}\n </Virtualizer>\n )}\n </div>\n\n {renderFooter != null ? (\n <footer className=\"np-select-input-footer\">\n <div\n role=\"none\"\n onKeyDown={(event) => {\n // Prevent interfering with Headless UI\n if (event.key !== 'Escape') {\n event.stopPropagation();\n }\n }}\n >\n {renderFooter({\n resultsEmpty,\n queryNormalized: needle,\n })}\n </div>\n </footer>\n ) : null}\n </section>\n </ListboxOptions>\n );\n}\n"],"names":["SelectInputOptions","id","parentId","items","compareValues","compareValuesProp","renderValue","String","renderFooter","filterable","filterPlaceholder","sortFilteredOptions","searchInputRef","listboxRef","filterQuery","onFilterChange","listBoxLabel","listBoxLabelledBy","autocomplete","name","onAutocompleteSelect","intl","useIntl","virtualiserHandlerRef","useRef","controllerRef","initialRender","setInitialRender","useState","needle","useMemo","searchableString","undefined","useEffect","requestAnimationFrame","current","hasAttribute","dispatchEvent","KeyboardEvent","key","bubbles","a","b","filteredItems","dedupedItems","dedupeSelectInputItems","filtered","map","item","type","selectInputOptionItemIncludesNeedle","value","options","option","sortSelectInputItems","filterSelectInputItems","resultsEmpty","length","virtualized","MAX_ITEMS_WITHOUT_VIRTUALIZATION","mountedIndexes","setMountedIndexes","prevNeedleRef","needleChanged","prevMountedIndexes","Set","listboxContainerRef","style","setProperty","offsetHeight","showStatus","statusId","useId","listboxId","getItemNode","index","_jsx","SelectInputItemView","findMatchingItem","autocompleteValue","flatOptions","flatMap","filter","exactMatch","find","filterMatchers","some","matcher","fuzzyMatch","toLowerCase","includes","_jsxs","ListboxOptions","modal","as","SelectInputOptionsContainer","static","className","onAriaActiveDescendantChange","setAttribute","removeAttribute","children","SearchInput","ref","autoComplete","role","shape","placeholder","defaultValue","onKeyDown","event","test","stopPropagation","onChange","inputValue","currentTarget","onInput","inputElement","setTimeout","matchedValue","tabIndex","clsx","CrossCircle","size","formatMessage","messages","noResultsFound","_","Virtualizer","data","keepMounted","scrollRef","onScroll","startIndex","findItemIndex","scrollOffset","endIndex","viewportSize","visibleIndexes","push","sort","SelectInputItemsCountContext","Provider","SelectInputItemPositionContext","queryNormalized"],"mappings":";;;;;;;;;;;;;;;AAwDM,SAAUA,kBAAkBA,CAAa;EAC7CC,EAAE;EACFC,QAAQ;EACRC,KAAK;AACLC,EAAAA,aAAa,EAAEC,iBAAiB;AAChCC,EAAAA,WAAW,GAAGC,MAAM;EACpBC,YAAY;AACZC,EAAAA,UAAU,GAAG,KAAK;EAClBC,iBAAiB;EACjBC,mBAAmB;EACnBC,cAAc;EACdC,UAAU;EACVC,WAAW;EACXC,cAAc;EACdC,YAAY;EACZC,iBAAiB;EACjBC,YAAY;EACZC,IAAI;AACJC,EAAAA;AAAoB,CACO,EAAA;AAC3B,EAAA,MAAMC,IAAI,GAAGC,OAAO,EAAE;AACtB,EAAA,MAAMC,qBAAqB,GAAGC,MAAM,CAAoB,IAAI,CAAC;AAC7D,EAAA,MAAMC,aAAa,GAAGhB,UAAU,GAAGG,cAAc,GAAGC,UAAU;EAC9D,MAAM,CAACa,aAAa,EAAEC,gBAAgB,CAAC,GAAGC,QAAQ,CAAC,IAAI,CAAC;AAExD,EAAA,MAAMC,MAAM,GAAGC,OAAO,CAAC,MAAK;AAC1B,IAAA,IAAIrB,UAAU,EAAE;AACd,MAAA,OAAOK,WAAW,GAAGiB,gBAAgB,CAACjB,WAAW,CAAC,GAAG,IAAI;AAC3D,IAAA;AACA,IAAA,OAAOkB,SAAS;AAClB,EAAA,CAAC,EAAE,CAAClB,WAAW,EAAEL,UAAU,CAAC,CAAC;AAC7BwB,EAAAA,SAAS,CAAC,MAAK;AACb,IAAA,IAAIJ,MAAM,EAAE;AACV;AACA;AACA;AACA;AACAK,MAAAA,qBAAqB,CAAC,MAAK;AACzB,QAAA,IACET,aAAa,CAACU,OAAO,IAAI,IAAI,IAC7B,CAACV,aAAa,CAACU,OAAO,CAACC,YAAY,CAA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,CAAC;AAErB;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputPopover.js","sources":["../../../../src/inputs/SelectInput/Popover/SelectInputPopover.tsx"],"sourcesContent":["import {\n autoUpdate,\n flip,\n FloatingFocusManager,\n FloatingPortal,\n offset,\n type Placement,\n shift,\n size as floatingSize,\n useDismiss,\n useFloating,\n useInteractions,\n useRole,\n} from '@floating-ui/react';\nimport { Transition } from '@headlessui/react';\nimport { FocusScope } from '@react-aria/focus';\nimport { ThemeProvider, useTheme } from '@wise/components-theming';\nimport { clsx } from 'clsx';\nimport { useState } from 'react';\n\nimport { PreventScroll } from '../../../common/preventScroll/PreventScroll';\n\nexport interface SelectInputPopoverProps {\n placement?: Placement;\n open: boolean;\n renderTrigger: (args: {\n ref: React.RefCallback<Element>;\n getInteractionProps: (customEventHandlers?: React.HTMLProps<Element>) => {\n [key: string]: unknown;\n };\n }) => React.ReactNode;\n title?: string;\n size?: 'md' | 'lg';\n padding?: 'none' | 'md';\n children?: React.ReactNode;\n onClose?: () => void;\n onCloseEnd?: () => void;\n}\n\nconst FLOATING_PADDING = 16;\n\nexport function SelectInputPopover({\n placement,\n open,\n renderTrigger,\n title,\n size = 'md',\n padding = 'md',\n children,\n onClose,\n onCloseEnd,\n}: SelectInputPopoverProps) {\n const { refs, floatingStyles, context } = useFloating<Element>({\n strategy: 'fixed',\n placement,\n middleware: [\n offset(8),\n flip({ padding: FLOATING_PADDING, crossAxis: false }),\n shift(),\n floatingSize({\n padding: FLOATING_PADDING,\n apply: ({ elements, rects, availableHeight }) => {\n elements.floating.style.setProperty('--max-height', `${availableHeight}px`);\n elements.floating.style.setProperty('--width', `${rects.reference.width}px`);\n },\n }),\n ],\n whileElementsMounted: autoUpdate,\n open,\n onOpenChange: (value) => {\n if (!value) {\n onClose?.();\n }\n },\n });\n\n const dismiss = useDismiss(context);\n const role = useRole(context);\n const { getReferenceProps, getFloatingProps } = useInteractions([role, dismiss]);\n\n const [floatingKey, setFloatingKey] = useState(0);\n\n const { theme, screenMode } = useTheme();\n\n return (\n <>\n {open ? <PreventScroll /> : null}\n {renderTrigger({\n ref: refs.setReference,\n getInteractionProps: getReferenceProps,\n })}\n\n <FloatingPortal>\n <ThemeProvider theme=\"personal\" screenMode={theme === 'personal' ? screenMode : 'light'}>\n <Transition\n as=\"div\"\n show={open}\n leave=\"transition-opacity\"\n leaveTo=\"opacity-0\"\n beforeEnter={() => {\n setFloatingKey((prev) => prev + 1);\n }}\n afterLeave={onCloseEnd}\n >\n <FocusScope>\n <FloatingFocusManager context={context}>\n <div\n key={floatingKey} // Force inner state invalidation on open\n ref={refs.setFloating}\n className={clsx('np-popover-v2-container', {\n 'np-popover-v2-container--size-md': size === 'md',\n 'np-popover-v2-container--size-lg': size === 'lg',\n })}\n style={floatingStyles}\n {...getFloatingProps()}\n >\n <div\n className={clsx('np-popover-v2', title && 'np-popover-v2--has-title', {\n 'np-popover-v2--padding-md': padding === 'md',\n })}\n >\n {title ? (\n <h2 className=\"np-popover-v2-title np-text-title-body\">{title}</h2>\n ) : null}\n <div className=\"np-popover-v2-content np-text-body-default\">{children}</div>\n </div>\n </div>\n </FloatingFocusManager>\n </FocusScope>\n </Transition>\n </ThemeProvider>\n </FloatingPortal>\n </>\n );\n}\n"],"names":["FLOATING_PADDING","SelectInputPopover","placement","open","renderTrigger","title","size","padding","children","onClose","onCloseEnd","refs","floatingStyles","context","useFloating","strategy","middleware","offset","flip","crossAxis","shift","floatingSize","apply","elements","rects","availableHeight","floating","style","setProperty","reference","width","whileElementsMounted","autoUpdate","onOpenChange","value","dismiss","useDismiss","role","useRole","getReferenceProps","getFloatingProps","useInteractions","floatingKey","setFloatingKey","useState","theme","screenMode","useTheme","_jsxs","_Fragment","_jsx","PreventScroll","ref","setReference","getInteractionProps","FloatingPortal","ThemeProvider","Transition","as","show","leave","leaveTo","beforeEnter","prev","afterLeave","FocusScope","FloatingFocusManager","setFloating","className","clsx"],"mappings":";;;;;;;;;;;AAuCA,MAAMA,gBAA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,CAACwD,WAAY;AACtBC,gBAAAA,SAAS,EAAEC,SAAI,CAAC,yBAAyB,EAAE;kBACzC,kCAAkC,EAAE/D,IAAI,KAAK,IAAI;kBACjD,kCAAkC,EAAEA,IAAI,KAAK;AAC9C,iBAAA,CAAE;AACHqB,gBAAAA,KAAK,EAAEf,cAAe;gBAAA,GAClB4B,gBAAgB,EAAE;AAAAhC,gBAAAA,QAAA,eAEtBwC,eAAA,CAAA,KAAA,EAAA;kBACEoB,SAAS,EAAEC,SAAI,CAAC,eAAe,EAAEhE,KAAK,IAAI,0BAA0B,EAAE;oBACpE,2BAA2B,EAAEE,OAAO,KAAK;AAC1C,mBAAA,CAAE;kBAAAC,QAAA,EAAA,CAEFH,KAAK,gBACJ6C,cAAA,CAAA,IAAA,EAAA;AAAIkB,oBAAAA,SAAS,EAAC,wCAAwC;AAAA5D,oBAAAA,QAAA,EAAEH;AAAK,mBAAK,CAAC,GACjE,IAAI,eACR6C,cAAA,CAAA,KAAA,EAAA;AAAKkB,oBAAAA,SAAS,EAAC,4CAA4C;AAAA5D,oBAAAA,QAAA,EAAEA;AAAQ,mBAAM,CAC7E;iBAAK;AACP,eAAA,EAnBOkC,WAmBF;aACe;WACZ;SACF;OACC;AACjB,KAAgB,CAClB;AAAA,GAAA,CAAG;AAEP;;;;"}
1
+ {"version":3,"file":"SelectInputPopover.js","sources":["../../../../../src/inputs/SelectInput/Popover/SelectInputPopover.tsx"],"sourcesContent":["import {\n autoUpdate,\n flip,\n FloatingFocusManager,\n FloatingPortal,\n offset,\n type Placement,\n shift,\n size as floatingSize,\n useDismiss,\n useFloating,\n useInteractions,\n useRole,\n} from '@floating-ui/react';\nimport { Transition } from '@headlessui/react';\nimport { FocusScope } from '@react-aria/focus';\nimport { ThemeProvider, useTheme } from '@wise/components-theming';\nimport { clsx } from 'clsx';\nimport { useState } from 'react';\n\nimport { PreventScroll } from '../../../common/preventScroll/PreventScroll';\n\nexport interface SelectInputPopoverProps {\n placement?: Placement;\n open: boolean;\n renderTrigger: (args: {\n ref: React.RefCallback<Element>;\n getInteractionProps: (customEventHandlers?: React.HTMLProps<Element>) => {\n [key: string]: unknown;\n };\n }) => React.ReactNode;\n title?: string;\n size?: 'md' | 'lg';\n padding?: 'none' | 'md';\n children?: React.ReactNode;\n onClose?: () => void;\n onCloseEnd?: () => void;\n}\n\nconst FLOATING_PADDING = 16;\n\nexport function SelectInputPopover({\n placement,\n open,\n renderTrigger,\n title,\n size = 'md',\n padding = 'md',\n children,\n onClose,\n onCloseEnd,\n}: SelectInputPopoverProps) {\n const { refs, floatingStyles, context } = useFloating<Element>({\n strategy: 'fixed',\n placement,\n middleware: [\n offset(8),\n flip({ padding: FLOATING_PADDING, crossAxis: false }),\n shift(),\n floatingSize({\n padding: FLOATING_PADDING,\n apply: ({ elements, rects, availableHeight }) => {\n elements.floating.style.setProperty('--max-height', `${availableHeight}px`);\n elements.floating.style.setProperty('--width', `${rects.reference.width}px`);\n },\n }),\n ],\n whileElementsMounted: autoUpdate,\n open,\n onOpenChange: (value) => {\n if (!value) {\n onClose?.();\n }\n },\n });\n\n const dismiss = useDismiss(context);\n const role = useRole(context);\n const { getReferenceProps, getFloatingProps } = useInteractions([role, dismiss]);\n\n const [floatingKey, setFloatingKey] = useState(0);\n\n const { theme, screenMode } = useTheme();\n\n return (\n <>\n {open ? <PreventScroll /> : null}\n {renderTrigger({\n ref: refs.setReference,\n getInteractionProps: getReferenceProps,\n })}\n\n <FloatingPortal>\n <ThemeProvider theme=\"personal\" screenMode={theme === 'personal' ? screenMode : 'light'}>\n <Transition\n as=\"div\"\n show={open}\n leave=\"transition-opacity\"\n leaveTo=\"opacity-0\"\n beforeEnter={() => {\n setFloatingKey((prev) => prev + 1);\n }}\n afterLeave={onCloseEnd}\n >\n <FocusScope>\n <FloatingFocusManager context={context}>\n <div\n key={floatingKey} // Force inner state invalidation on open\n ref={refs.setFloating}\n className={clsx('np-popover-v2-container', {\n 'np-popover-v2-container--size-md': size === 'md',\n 'np-popover-v2-container--size-lg': size === 'lg',\n })}\n style={floatingStyles}\n {...getFloatingProps()}\n >\n <div\n className={clsx('np-popover-v2', title && 'np-popover-v2--has-title', {\n 'np-popover-v2--padding-md': padding === 'md',\n })}\n >\n {title ? (\n <h2 className=\"np-popover-v2-title np-text-title-body\">{title}</h2>\n ) : null}\n <div className=\"np-popover-v2-content np-text-body-default\">{children}</div>\n </div>\n </div>\n </FloatingFocusManager>\n </FocusScope>\n </Transition>\n </ThemeProvider>\n </FloatingPortal>\n </>\n );\n}\n"],"names":["FLOATING_PADDING","SelectInputPopover","placement","open","renderTrigger","title","size","padding","children","onClose","onCloseEnd","refs","floatingStyles","context","useFloating","strategy","middleware","offset","flip","crossAxis","shift","floatingSize","apply","elements","rects","availableHeight","floating","style","setProperty","reference","width","whileElementsMounted","autoUpdate","onOpenChange","value","dismiss","useDismiss","role","useRole","getReferenceProps","getFloatingProps","useInteractions","floatingKey","setFloatingKey","useState","theme","screenMode","useTheme","_jsxs","_Fragment","_jsx","PreventScroll","ref","setReference","getInteractionProps","FloatingPortal","ThemeProvider","Transition","as","show","leave","leaveTo","beforeEnter","prev","afterLeave","FocusScope","FloatingFocusManager","setFloating","className","clsx"],"mappings":";;;;;;;;;;;AAuCA,MAAMA,gBAAgB,GAAG,EAAE;AAErB,SAAUC,kBAAkBA,CAAC;EACjCC,SAAS;EACTC,IAAI;EACJC,aAAa;EACbC,KAAK;AACLC,EAAAA,IAAI,GAAG,IAAI;AACXC,EAAAA,OAAO,GAAG,IAAI;EACdC,QAAQ;EACRC,OAAO;AACPC,EAAAA;AAAU,CACc,EAAA;EACxB,MAAM;IAAEC,IAAI;IAAEC,cAAc;AAAEC,IAAAA;GAAS,GAAGC,iBAAW,CAAU;AAC7DC,IAAAA,QAAQ,EAAE,OAAO;IACjBb,SAAS;IACTc,UAAU,EAAE,CACVC,YAAM,CAAC,CAAC,CAAC,EACTC,UAAI,CAAC;AAAEX,MAAAA,OAAO,EAAEP,gBAAgB;AAAEmB,MAA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BACJ6C,cAAA,CAAA,IAAA,EAAA;AAAIkB,oBAAAA,SAAS,EAAC,wCAAwC;AAAA5D,oBAAAA,QAAA,EAAEH;AAAK,mBAAK,CAAC,GACjE,IAAI,eACR6C,cAAA,CAAA,KAAA,EAAA;AAAKkB,oBAAAA,SAAS,EAAC,4CAA4C;AAAA5D,oBAAAA,QAAA,EAAEA;AAAQ,mBAAM,CAC7E;iBAAK;AACP,eAAA,EAnBOkC,WAmBF;aACe;WACZ;SACF;OACC;AACjB,KAAgB,CAClB;AAAA,GAAA,CAAG;AAEP;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInputPopover.mjs","sources":["../../../../src/inputs/SelectInput/Popover/SelectInputPopover.tsx"],"sourcesContent":["import {\n autoUpdate,\n flip,\n FloatingFocusManager,\n FloatingPortal,\n offset,\n type Placement,\n shift,\n size as floatingSize,\n useDismiss,\n useFloating,\n useInteractions,\n useRole,\n} from '@floating-ui/react';\nimport { Transition } from '@headlessui/react';\nimport { FocusScope } from '@react-aria/focus';\nimport { ThemeProvider, useTheme } from '@wise/components-theming';\nimport { clsx } from 'clsx';\nimport { useState } from 'react';\n\nimport { PreventScroll } from '../../../common/preventScroll/PreventScroll';\n\nexport interface SelectInputPopoverProps {\n placement?: Placement;\n open: boolean;\n renderTrigger: (args: {\n ref: React.RefCallback<Element>;\n getInteractionProps: (customEventHandlers?: React.HTMLProps<Element>) => {\n [key: string]: unknown;\n };\n }) => React.ReactNode;\n title?: string;\n size?: 'md' | 'lg';\n padding?: 'none' | 'md';\n children?: React.ReactNode;\n onClose?: () => void;\n onCloseEnd?: () => void;\n}\n\nconst FLOATING_PADDING = 16;\n\nexport function SelectInputPopover({\n placement,\n open,\n renderTrigger,\n title,\n size = 'md',\n padding = 'md',\n children,\n onClose,\n onCloseEnd,\n}: SelectInputPopoverProps) {\n const { refs, floatingStyles, context } = useFloating<Element>({\n strategy: 'fixed',\n placement,\n middleware: [\n offset(8),\n flip({ padding: FLOATING_PADDING, crossAxis: false }),\n shift(),\n floatingSize({\n padding: FLOATING_PADDING,\n apply: ({ elements, rects, availableHeight }) => {\n elements.floating.style.setProperty('--max-height', `${availableHeight}px`);\n elements.floating.style.setProperty('--width', `${rects.reference.width}px`);\n },\n }),\n ],\n whileElementsMounted: autoUpdate,\n open,\n onOpenChange: (value) => {\n if (!value) {\n onClose?.();\n }\n },\n });\n\n const dismiss = useDismiss(context);\n const role = useRole(context);\n const { getReferenceProps, getFloatingProps } = useInteractions([role, dismiss]);\n\n const [floatingKey, setFloatingKey] = useState(0);\n\n const { theme, screenMode } = useTheme();\n\n return (\n <>\n {open ? <PreventScroll /> : null}\n {renderTrigger({\n ref: refs.setReference,\n getInteractionProps: getReferenceProps,\n })}\n\n <FloatingPortal>\n <ThemeProvider theme=\"personal\" screenMode={theme === 'personal' ? screenMode : 'light'}>\n <Transition\n as=\"div\"\n show={open}\n leave=\"transition-opacity\"\n leaveTo=\"opacity-0\"\n beforeEnter={() => {\n setFloatingKey((prev) => prev + 1);\n }}\n afterLeave={onCloseEnd}\n >\n <FocusScope>\n <FloatingFocusManager context={context}>\n <div\n key={floatingKey} // Force inner state invalidation on open\n ref={refs.setFloating}\n className={clsx('np-popover-v2-container', {\n 'np-popover-v2-container--size-md': size === 'md',\n 'np-popover-v2-container--size-lg': size === 'lg',\n })}\n style={floatingStyles}\n {...getFloatingProps()}\n >\n <div\n className={clsx('np-popover-v2', title && 'np-popover-v2--has-title', {\n 'np-popover-v2--padding-md': padding === 'md',\n })}\n >\n {title ? (\n <h2 className=\"np-popover-v2-title np-text-title-body\">{title}</h2>\n ) : null}\n <div className=\"np-popover-v2-content np-text-body-default\">{children}</div>\n </div>\n </div>\n </FloatingFocusManager>\n </FocusScope>\n </Transition>\n </ThemeProvider>\n </FloatingPortal>\n </>\n );\n}\n"],"names":["FLOATING_PADDING","SelectInputPopover","placement","open","renderTrigger","title","size","padding","children","onClose","onCloseEnd","refs","floatingStyles","context","useFloating","strategy","middleware","offset","flip","crossAxis","shift","floatingSize","apply","elements","rects","availableHeight","floating","style","setProperty","reference","width","whileElementsMounted","autoUpdate","onOpenChange","value","dismiss","useDismiss","role","useRole","getReferenceProps","getFloatingProps","useInteractions","floatingKey","setFloatingKey","useState","theme","screenMode","useTheme","_jsxs","_Fragment","_jsx","PreventScroll","ref","setReference","getInteractionProps","FloatingPortal","ThemeProvider","Transition","as","show","leave","leaveTo","beforeEnter","prev","afterLeave","FocusScope","FloatingFocusManager","setFloating","className","clsx"],"mappings":";;;;;;;;;AAuCA,MAAMA,gBAAgB,GAAG,EAAE;AAErB,SAAUC,kBAAkBA,CAAC;EACjCC,SAAS;EACTC,IAAI;EACJC,aAAa;EACbC,KAAK;AACLC,QAAAA,MAAI,GAAG,IAAI;AACXC,EAAAA,OAAO,GAAG,IAAI;EACdC,QAAQ;EACRC,OAAO;AACPC,EAAAA;AAAU,CACc,EAAA;EACxB,MAAM;IAAEC,IAAI;IAAEC,cAAc;AAAEC,IAAAA;GAAS,GAAGC,WAAW,CAAU;AAC7DC,IAAAA,QAAQ,EAAE,OAAO;IACjBb,SAAS;IACTc,UAAU,EAAE,CACVC,MAAM,CAAC,CAAC,CAAC,EACTC,IAAI,CAAC;AAAEX,MAAAA,OAAO,EAAEP,gBAAgB;AAAEmB,MAAAA,SAAS,EAAE;AAAK,KAAE,CAAC,EACrDC,KAAK,EAAE,EACPC,IAAY,CAAC;AACXd,MAAAA,OAAO,EAAEP,gBAAgB;AACzBsB,MAAAA,KAAK,EAAEA,CAAC;QAAEC,QAAQ;QAAEC,KAAK;AAAEC,QAAAA;AAAe,OAAE,KAAI;AAC9CF,QAAAA,QAAQ,CAACG,QAAQ,CAACC,KAAK,CAACC,WAAW,CAAC,cAAc,EAAE,CAAA,EAAGH,eAAe,CAAA,EAAA,CAAI,CAAC;AAC3EF,QAAAA,QAAQ,CAACG,QAAQ,CAACC,KAAK,CAACC,WAAW,CAAC,SAAS,EAAE,CAAA,EAAGJ,KAAK,CAACK,SAAS,CAACC,KAA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,YAAAA,cAAc,CAAEoB,IAAI,IAAKA,IAAI,GAAG,CAAC,CAAC;UACpC,CAAE;AACFC,UAAAA,UAAU,EAAEtD,UAAW;UAAAF,QAAA,eAEvB0C,GAAA,CAACe,UAAU,EAAA;YAAAzD,QAAA,eACT0C,GAAA,CAACgB,oBAAoB,EAAA;AAACrD,cAAAA,OAAO,EAAEA,OAAQ;AAAAL,cAAAA,QAAA,eACrC0C,GAAA,CAAA,KAAA,EAAA;AACoB;gBAClBE,GAAG,EAAEzC,IAAI,CAACwD,WAAY;AACtBC,gBAAAA,SAAS,EAAEC,IAAI,CAAC,yBAAyB,EAAE;kBACzC,kCAAkC,EAAE/D,MAAI,KAAK,IAAI;kBACjD,kCAAkC,EAAEA,MAAI,KAAK;AAC9C,iBAAA,CAAE;AACHqB,gBAAAA,KAAK,EAAEf,cAAe;gBAAA,GAClB4B,gBAAgB,EAAE;AAAAhC,gBAAAA,QAAA,eAEtBwC,IAAA,CAAA,KAAA,EAAA;kBACEoB,SAAS,EAAEC,IAAI,CAAC,eAAe,EAAEhE,KAAK,IAAI,0BAA0B,EAAE;oBACpE,2BAA2B,EAAEE,OAAO,KAAK;AAC1C,mBAAA,CAAE;kBAAAC,QAAA,EAAA,CAEFH,KAAK,gBACJ6C,GAAA,CAAA,IAAA,EAAA;AAAIkB,oBAAAA,SAAS,EAAC,wCAAwC;AAAA5D,oBAAAA,QAAA,EAAEH;AAAK,mBAAK,CAAC,GACjE,IAAI,eACR6C,GAAA,CAAA,KAAA,EAAA;AAAKkB,oBAAAA,SAAS,EAAC,4CAA4C;AAAA5D,oBAAAA,QAAA,EAAEA;AAAQ,mBAAM,CAC7E;iBAAK;AACP,eAAA,EAnBOkC,WAmBF;aACe;WACZ;SACF;OACC;AACjB,KAAgB,CAClB;AAAA,GAAA,CAAG;AAEP;;;;"}
1
+ {"version":3,"file":"SelectInputPopover.mjs","sources":["../../../../../src/inputs/SelectInput/Popover/SelectInputPopover.tsx"],"sourcesContent":["import {\n autoUpdate,\n flip,\n FloatingFocusManager,\n FloatingPortal,\n offset,\n type Placement,\n shift,\n size as floatingSize,\n useDismiss,\n useFloating,\n useInteractions,\n useRole,\n} from '@floating-ui/react';\nimport { Transition } from '@headlessui/react';\nimport { FocusScope } from '@react-aria/focus';\nimport { ThemeProvider, useTheme } from '@wise/components-theming';\nimport { clsx } from 'clsx';\nimport { useState } from 'react';\n\nimport { PreventScroll } from '../../../common/preventScroll/PreventScroll';\n\nexport interface SelectInputPopoverProps {\n placement?: Placement;\n open: boolean;\n renderTrigger: (args: {\n ref: React.RefCallback<Element>;\n getInteractionProps: (customEventHandlers?: React.HTMLProps<Element>) => {\n [key: string]: unknown;\n };\n }) => React.ReactNode;\n title?: string;\n size?: 'md' | 'lg';\n padding?: 'none' | 'md';\n children?: React.ReactNode;\n onClose?: () => void;\n onCloseEnd?: () => void;\n}\n\nconst FLOATING_PADDING = 16;\n\nexport function SelectInputPopover({\n placement,\n open,\n renderTrigger,\n title,\n size = 'md',\n padding = 'md',\n children,\n onClose,\n onCloseEnd,\n}: SelectInputPopoverProps) {\n const { refs, floatingStyles, context } = useFloating<Element>({\n strategy: 'fixed',\n placement,\n middleware: [\n offset(8),\n flip({ padding: FLOATING_PADDING, crossAxis: false }),\n shift(),\n floatingSize({\n padding: FLOATING_PADDING,\n apply: ({ elements, rects, availableHeight }) => {\n elements.floating.style.setProperty('--max-height', `${availableHeight}px`);\n elements.floating.style.setProperty('--width', `${rects.reference.width}px`);\n },\n }),\n ],\n whileElementsMounted: autoUpdate,\n open,\n onOpenChange: (value) => {\n if (!value) {\n onClose?.();\n }\n },\n });\n\n const dismiss = useDismiss(context);\n const role = useRole(context);\n const { getReferenceProps, getFloatingProps } = useInteractions([role, dismiss]);\n\n const [floatingKey, setFloatingKey] = useState(0);\n\n const { theme, screenMode } = useTheme();\n\n return (\n <>\n {open ? <PreventScroll /> : null}\n {renderTrigger({\n ref: refs.setReference,\n getInteractionProps: getReferenceProps,\n })}\n\n <FloatingPortal>\n <ThemeProvider theme=\"personal\" screenMode={theme === 'personal' ? screenMode : 'light'}>\n <Transition\n as=\"div\"\n show={open}\n leave=\"transition-opacity\"\n leaveTo=\"opacity-0\"\n beforeEnter={() => {\n setFloatingKey((prev) => prev + 1);\n }}\n afterLeave={onCloseEnd}\n >\n <FocusScope>\n <FloatingFocusManager context={context}>\n <div\n key={floatingKey} // Force inner state invalidation on open\n ref={refs.setFloating}\n className={clsx('np-popover-v2-container', {\n 'np-popover-v2-container--size-md': size === 'md',\n 'np-popover-v2-container--size-lg': size === 'lg',\n })}\n style={floatingStyles}\n {...getFloatingProps()}\n >\n <div\n className={clsx('np-popover-v2', title && 'np-popover-v2--has-title', {\n 'np-popover-v2--padding-md': padding === 'md',\n })}\n >\n {title ? (\n <h2 className=\"np-popover-v2-title np-text-title-body\">{title}</h2>\n ) : null}\n <div className=\"np-popover-v2-content np-text-body-default\">{children}</div>\n </div>\n </div>\n </FloatingFocusManager>\n </FocusScope>\n </Transition>\n </ThemeProvider>\n </FloatingPortal>\n </>\n );\n}\n"],"names":["FLOATING_PADDING","SelectInputPopover","placement","open","renderTrigger","title","size","padding","children","onClose","onCloseEnd","refs","floatingStyles","context","useFloating","strategy","middleware","offset","flip","crossAxis","shift","floatingSize","apply","elements","rects","availableHeight","floating","style","setProperty","reference","width","whileElementsMounted","autoUpdate","onOpenChange","value","dismiss","useDismiss","role","useRole","getReferenceProps","getFloatingProps","useInteractions","floatingKey","setFloatingKey","useState","theme","screenMode","useTheme","_jsxs","_Fragment","_jsx","PreventScroll","ref","setReference","getInteractionProps","FloatingPortal","ThemeProvider","Transition","as","show","leave","leaveTo","beforeEnter","prev","afterLeave","FocusScope","FloatingFocusManager","setFloating","className","clsx"],"mappings":";;;;;;;;;AAuCA,MAAMA,gBAAgB,GAAG,EAAE;AAErB,SAAUC,kBAAkBA,CAAC;EACjCC,SAAS;EACTC,IAAI;EACJC,aAAa;EACbC,KAAK;AACLC,QAAAA,MAAI,GAAG,IAAI;AACXC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AK;AAC9C,iBAAA,CAAE;AACHqB,gBAAAA,KAAK,EAAEf,cAAe;gBAAA,GAClB4B,gBAAgB,EAAE;AAAAhC,gBAAAA,QAAA,eAEtBwC,IAAA,CAAA,KAAA,EAAA;kBACEoB,SAAS,EAAEC,IAAI,CAAC,eAAe,EAAEhE,KAAK,IAAI,0BAA0B,EAAE;oBACpE,2BAA2B,EAAEE,OAAO,KAAK;AAC1C,mBAAA,CAAE;kBAAAC,QAAA,EAAA,CAEFH,KAAK,gBACJ6C,GAAA,CAAA,IAAA,EAAA;AAAIkB,oBAAAA,SAAS,EAAC,wCAAwC;AAAA5D,oBAAAA,QAAA,EAAEH;AAAK,mBAAK,CAAC,GACjE,IAAI,eACR6C,GAAA,CAAA,KAAA,EAAA;AAAKkB,oBAAAA,SAAS,EAAC,4CAA4C;AAAA5D,oBAAAA,QAAA,EAAEA;AAAQ,mBAAM,CAC7E;iBAAK;AACP,eAAA,EAnBOkC,WAmBF;aACe;WACZ;SACF;OACC;AACjB,KAAgB,CAClB;AAAA,GAAA,CAAG;AAEP;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.contexts.js","sources":["../../../src/inputs/SelectInput/SelectInput.contexts.tsx"],"sourcesContent":["import React, { createContext } from 'react';\n\n/**\n * Context for passing props to the SelectInputTriggerButton component.\n */\nexport interface SelectInputTriggerButtonPropsContextValue {\n ref?: React.ForwardedRef<HTMLButtonElement | null>;\n id?: string;\n onClick?: (event: React.MouseEvent) => void;\n onKeyDown?: (event: React.KeyboardEvent) => void;\n size?: 'sm' | 'md' | 'lg';\n [key: string]: unknown;\n}\n\n/**\n * Context for passing props to the SelectInputTriggerButton component.\n */\nexport const SelectInputTriggerButtonPropsContext =\n createContext<SelectInputTriggerButtonPropsContextValue>({});\n\n/**\n * Context for providing the total count of items in a SelectInput.\n * Used for ARIA accessibility to inform screen readers about the total number of options.\n */\nexport const SelectInputItemsCountContext = createContext<number | undefined>(undefined);\n\n/**\n * Context for providing the current item position in a SelectInput.\n * Used for ARIA accessibility to inform screen readers about the position of the option.\n */\nexport const SelectInputItemPositionContext = createContext<number | undefined>(undefined);\n\n/**\n * Context indicating whether an option's content is rendered within the trigger button.\n * When true, certain styling adjustments are applied to make the content fit better in the trigger.\n */\nexport const SelectInputOptionContentWithinTriggerContext = createContext(false);\n\n// Re-export types from the original contexts module for backward compatibility\nexport type { WithInputAttributesProps } from '../contexts';\n"],"names":["SelectInputTriggerButtonPropsContext","createContext","SelectInputItemsCountContext","undefined","SelectInputItemPositionContext","SelectInputOptionContentWithinTriggerContext"],"mappings":";;;;AAcA;;AAEG;MACUA,oCAAoC,gBAC/CC,mBAAa,CAA4C,EAAE;AAE7D;;;AAGG;MACUC,4BAA4B,gBAAGD,mBAAa,CAAqBE,SAAS;AAEvF;;;AAGG;MACUC,8BAA8B,gBAAGH,mBAAa,CAAqBE,SAAS;AAEzF;;;AAGG;MACUE,4CAA4C,gBAAGJ,mBAAa,CAAC,KAAK;;;;;;;"}
1
+ {"version":3,"file":"SelectInput.contexts.js","sources":["../../../../src/inputs/SelectInput/SelectInput.contexts.tsx"],"sourcesContent":["import React, { createContext } from 'react';\n\n/**\n * Context for passing props to the SelectInputTriggerButton component.\n */\nexport interface SelectInputTriggerButtonPropsContextValue {\n ref?: React.ForwardedRef<HTMLButtonElement | null>;\n id?: string;\n onClick?: (event: React.MouseEvent) => void;\n onKeyDown?: (event: React.KeyboardEvent) => void;\n size?: 'sm' | 'md' | 'lg';\n [key: string]: unknown;\n}\n\n/**\n * Context for passing props to the SelectInputTriggerButton component.\n */\nexport const SelectInputTriggerButtonPropsContext =\n createContext<SelectInputTriggerButtonPropsContextValue>({});\n\n/**\n * Context for providing the total count of items in a SelectInput.\n * Used for ARIA accessibility to inform screen readers about the total number of options.\n */\nexport const SelectInputItemsCountContext = createContext<number | undefined>(undefined);\n\n/**\n * Context for providing the current item position in a SelectInput.\n * Used for ARIA accessibility to inform screen readers about the position of the option.\n */\nexport const SelectInputItemPositionContext = createContext<number | undefined>(undefined);\n\n/**\n * Context indicating whether an option's content is rendered within the trigger button.\n * When true, certain styling adjustments are applied to make the content fit better in the trigger.\n */\nexport const SelectInputOptionContentWithinTriggerContext = createContext(false);\n\n// Re-export types from the original contexts module for backward compatibility\nexport type { WithInputAttributesProps } from '../contexts';\n"],"names":["SelectInputTriggerButtonPropsContext","createContext","SelectInputItemsCountContext","undefined","SelectInputItemPositionContext","SelectInputOptionContentWithinTriggerContext"],"mappings":";;;;AAcA;;AAEG;MACUA,oCAAoC,gBAC/CC,mBAAa,CAA4C,EAAE;AAE7D;;;AAGG;MACUC,4BAA4B,gBAAGD,mBAAa,CAAqBE,SAAS;AAEvF;;;AAGG;MACUC,8BAA8B,gBAAGH,mBAAa,CAAqBE,SAAS;AAEzF;;;AAGG;MACUE,4CAA4C,gBAAGJ,mBAAa,CAAC,KAAK;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectInput.contexts.mjs","sources":["../../../src/inputs/SelectInput/SelectInput.contexts.tsx"],"sourcesContent":["import React, { createContext } from 'react';\n\n/**\n * Context for passing props to the SelectInputTriggerButton component.\n */\nexport interface SelectInputTriggerButtonPropsContextValue {\n ref?: React.ForwardedRef<HTMLButtonElement | null>;\n id?: string;\n onClick?: (event: React.MouseEvent) => void;\n onKeyDown?: (event: React.KeyboardEvent) => void;\n size?: 'sm' | 'md' | 'lg';\n [key: string]: unknown;\n}\n\n/**\n * Context for passing props to the SelectInputTriggerButton component.\n */\nexport const SelectInputTriggerButtonPropsContext =\n createContext<SelectInputTriggerButtonPropsContextValue>({});\n\n/**\n * Context for providing the total count of items in a SelectInput.\n * Used for ARIA accessibility to inform screen readers about the total number of options.\n */\nexport const SelectInputItemsCountContext = createContext<number | undefined>(undefined);\n\n/**\n * Context for providing the current item position in a SelectInput.\n * Used for ARIA accessibility to inform screen readers about the position of the option.\n */\nexport const SelectInputItemPositionContext = createContext<number | undefined>(undefined);\n\n/**\n * Context indicating whether an option's content is rendered within the trigger button.\n * When true, certain styling adjustments are applied to make the content fit better in the trigger.\n */\nexport const SelectInputOptionContentWithinTriggerContext = createContext(false);\n\n// Re-export types from the original contexts module for backward compatibility\nexport type { WithInputAttributesProps } from '../contexts';\n"],"names":["SelectInputTriggerButtonPropsContext","createContext","SelectInputItemsCountContext","undefined","SelectInputItemPositionContext","SelectInputOptionContentWithinTriggerContext"],"mappings":";;AAcA;;AAEG;MACUA,oCAAoC,gBAC/CC,aAAa,CAA4C,EAAE;AAE7D;;;AAGG;MACUC,4BAA4B,gBAAGD,aAAa,CAAqBE,SAAS;AAEvF;;;AAGG;MACUC,8BAA8B,gBAAGH,aAAa,CAAqBE,SAAS;AAEzF;;;AAGG;MACUE,4CAA4C,gBAAGJ,aAAa,CAAC,KAAK;;;;"}
1
+ {"version":3,"file":"SelectInput.contexts.mjs","sources":["../../../../src/inputs/SelectInput/SelectInput.contexts.tsx"],"sourcesContent":["import React, { createContext } from 'react';\n\n/**\n * Context for passing props to the SelectInputTriggerButton component.\n */\nexport interface SelectInputTriggerButtonPropsContextValue {\n ref?: React.ForwardedRef<HTMLButtonElement | null>;\n id?: string;\n onClick?: (event: React.MouseEvent) => void;\n onKeyDown?: (event: React.KeyboardEvent) => void;\n size?: 'sm' | 'md' | 'lg';\n [key: string]: unknown;\n}\n\n/**\n * Context for passing props to the SelectInputTriggerButton component.\n */\nexport const SelectInputTriggerButtonPropsContext =\n createContext<SelectInputTriggerButtonPropsContextValue>({});\n\n/**\n * Context for providing the total count of items in a SelectInput.\n * Used for ARIA accessibility to inform screen readers about the total number of options.\n */\nexport const SelectInputItemsCountContext = createContext<number | undefined>(undefined);\n\n/**\n * Context for providing the current item position in a SelectInput.\n * Used for ARIA accessibility to inform screen readers about the position of the option.\n */\nexport const SelectInputItemPositionContext = createContext<number | undefined>(undefined);\n\n/**\n * Context indicating whether an option's content is rendered within the trigger button.\n * When true, certain styling adjustments are applied to make the content fit better in the trigger.\n */\nexport const SelectInputOptionContentWithinTriggerContext = createContext(false);\n\n// Re-export types from the original contexts module for backward compatibility\nexport type { WithInputAttributesProps } from '../contexts';\n"],"names":["SelectInputTriggerButtonPropsContext","createContext","SelectInputItemsCountContext","undefined","SelectInputItemPositionContext","SelectInputOptionContentWithinTriggerContext"],"mappings":";;AAcA;;AAEG;MACUA,oCAAoC,gBAC/CC,aAAa,CAA4C,EAAE;AAE7D;;;AAGG;MACUC,4BAA4B,gBAAGD,aAAa,CAAqBE,SAAS;AAEvF;;;AAGG;MACUC,8BAA8B,gBAAGH,aAAa,CAAqBE,SAAS;AAEzF;;;AAGG;MACUE,4CAA4C,gBAAGJ,aAAa,CAAC,KAAK;;;;"}
@@ -3,8 +3,8 @@
3
3
  var mergeProps = require('merge-props');
4
4
  var React = require('react');
5
5
  var react = require('@headlessui/react');
6
- var neptuneTokens = require('@transferwise/neptune-tokens');
7
6
  var useScreenSize = require('../../common/hooks/useScreenSize.js');
7
+ var breakpoint = require('../../common/propsValues/breakpoint.js');
8
8
  var useEffectEvent = require('../../common/hooks/useEffectEvent.js');
9
9
  var contexts = require('../contexts.js');
10
10
  var SelectInputBottomSheet = require('./BottomSheet/SelectInputBottomSheet.js');
@@ -83,7 +83,7 @@ function SelectInput({
83
83
  }
84
84
  });
85
85
  const internalTriggerRef = React.useRef(null);
86
- const screenSm = useScreenSize.useScreenSize(neptuneTokens.Breakpoint.SMALL);
86
+ const screenSm = useScreenSize.useScreenSize(breakpoint.Breakpoint.SMALL);
87
87
  const OptionsOverlay = screenSm ? SelectInputPopover.SelectInputPopover : SelectInputBottomSheet.SelectInputBottomSheet;
88
88
  const searchInputRef = React.useRef(null);
89
89
  const listboxRef = React.useRef(null);