@transferwise/components 0.0.0-experimental-a18466a → 0.0.0-experimental-d6b038b

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 (496) hide show
  1. package/build/accordion/Accordion.js.map +1 -1
  2. package/build/accordion/Accordion.mjs.map +1 -1
  3. package/build/actionButton/ActionButton.js.map +1 -1
  4. package/build/actionButton/ActionButton.mjs.map +1 -1
  5. package/build/actionOption/ActionOption.js.map +1 -1
  6. package/build/actionOption/ActionOption.mjs.map +1 -1
  7. package/build/alert/Alert.js +1 -1
  8. package/build/alert/Alert.js.map +1 -1
  9. package/build/alert/Alert.mjs +1 -1
  10. package/build/alert/Alert.mjs.map +1 -1
  11. package/build/avatar/Avatar.js.map +1 -1
  12. package/build/avatar/Avatar.mjs.map +1 -1
  13. package/build/avatarLayout/AvatarLayout.js.map +1 -1
  14. package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
  15. package/build/badge/Badge.js.map +1 -1
  16. package/build/badge/Badge.mjs.map +1 -1
  17. package/build/body/Body.js.map +1 -1
  18. package/build/body/Body.mjs.map +1 -1
  19. package/build/button/LegacyButton.js.map +1 -1
  20. package/build/button/LegacyButton.mjs.map +1 -1
  21. package/build/card/Card.js.map +1 -1
  22. package/build/card/Card.mjs.map +1 -1
  23. package/build/checkboxButton/CheckboxButton.js.map +1 -1
  24. package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
  25. package/build/checkboxOption/CheckboxOption.js.map +1 -1
  26. package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
  27. package/build/circularButton/CircularButton.js.map +1 -1
  28. package/build/circularButton/CircularButton.mjs.map +1 -1
  29. package/build/common/propsValues/type.js +1 -1
  30. package/build/common/propsValues/type.js.map +1 -1
  31. package/build/common/propsValues/type.mjs +1 -1
  32. package/build/common/propsValues/type.mjs.map +1 -1
  33. package/build/common/propsValues/typography.js +1 -1
  34. package/build/common/propsValues/typography.js.map +1 -1
  35. package/build/common/propsValues/typography.mjs +1 -1
  36. package/build/common/propsValues/typography.mjs.map +1 -1
  37. package/build/criticalBanner/CriticalCommsBanner.js +68 -3
  38. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  39. package/build/criticalBanner/CriticalCommsBanner.mjs +69 -4
  40. package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
  41. package/build/dateInput/DateInput.js +12 -5
  42. package/build/dateInput/DateInput.js.map +1 -1
  43. package/build/dateInput/DateInput.mjs +11 -4
  44. package/build/dateInput/DateInput.mjs.map +1 -1
  45. package/build/dimmer/Dimmer.js.map +1 -1
  46. package/build/dimmer/Dimmer.mjs.map +1 -1
  47. package/build/drawer/Drawer.js.map +1 -1
  48. package/build/drawer/Drawer.mjs.map +1 -1
  49. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +16 -8
  50. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
  51. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +14 -6
  52. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
  53. package/build/field/Field.js.map +1 -1
  54. package/build/field/Field.mjs.map +1 -1
  55. package/build/flowNavigation/FlowNavigation.js.map +1 -1
  56. package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
  57. package/build/header/Header.js.map +1 -1
  58. package/build/header/Header.mjs.map +1 -1
  59. package/build/iconButton/IconButton.js.map +1 -1
  60. package/build/iconButton/IconButton.mjs.map +1 -1
  61. package/build/index.js +14 -7
  62. package/build/index.js.map +1 -1
  63. package/build/index.mjs +10 -3
  64. package/build/index.mjs.map +1 -1
  65. package/build/inputs/{_BottomSheet.js → SelectInput/BottomSheet/SelectInputBottomSheet.js} +7 -7
  66. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -0
  67. package/build/inputs/{_BottomSheet.mjs → SelectInput/BottomSheet/SelectInputBottomSheet.mjs} +7 -7
  68. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -0
  69. package/build/inputs/{_ButtonInput.js → SelectInput/ButtonInput/SelectInputButtonInput.js} +5 -5
  70. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +1 -0
  71. package/build/inputs/{_ButtonInput.mjs → SelectInput/ButtonInput/SelectInputButtonInput.mjs} +5 -5
  72. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +1 -0
  73. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js +27 -0
  74. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -0
  75. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +25 -0
  76. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +1 -0
  77. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js +59 -0
  78. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +1 -0
  79. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs +56 -0
  80. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +1 -0
  81. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js +50 -0
  82. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +1 -0
  83. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs +48 -0
  84. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +1 -0
  85. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js +47 -0
  86. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +1 -0
  87. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs +45 -0
  88. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +1 -0
  89. package/build/inputs/SelectInput/Option/SelectInputOption.js +42 -0
  90. package/build/inputs/SelectInput/Option/SelectInputOption.js.map +1 -0
  91. package/build/inputs/SelectInput/Option/SelectInputOption.mjs +40 -0
  92. package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -0
  93. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js +40 -0
  94. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -0
  95. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +38 -0
  96. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -0
  97. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js +48 -0
  98. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +1 -0
  99. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs +46 -0
  100. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +1 -0
  101. package/build/inputs/SelectInput/Options/SelectInputOptions.js +300 -0
  102. package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +1 -0
  103. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs +298 -0
  104. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +1 -0
  105. package/build/inputs/{_Popover.js → SelectInput/Popover/SelectInputPopover.js} +7 -7
  106. package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -0
  107. package/build/inputs/{_Popover.mjs → SelectInput/Popover/SelectInputPopover.mjs} +7 -7
  108. package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -0
  109. package/build/inputs/SelectInput/SelectInput.contexts.js +29 -0
  110. package/build/inputs/SelectInput/SelectInput.contexts.js.map +1 -0
  111. package/build/inputs/SelectInput/SelectInput.contexts.mjs +24 -0
  112. package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +1 -0
  113. package/build/inputs/SelectInput/SelectInput.js +222 -0
  114. package/build/inputs/SelectInput/SelectInput.js.map +1 -0
  115. package/build/inputs/SelectInput/SelectInput.messages.js.map +1 -0
  116. package/build/inputs/SelectInput/SelectInput.messages.mjs.map +1 -0
  117. package/build/inputs/SelectInput/SelectInput.mjs +216 -0
  118. package/build/inputs/SelectInput/SelectInput.mjs.map +1 -0
  119. package/build/inputs/SelectInput/SelectInput.utils.js +164 -0
  120. package/build/inputs/SelectInput/SelectInput.utils.js.map +1 -0
  121. package/build/inputs/SelectInput/SelectInput.utils.mjs +154 -0
  122. package/build/inputs/SelectInput/SelectInput.utils.mjs.map +1 -0
  123. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js +42 -0
  124. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +1 -0
  125. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs +36 -0
  126. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +1 -0
  127. package/build/legacylistItem/LegacyListItem.js.map +1 -1
  128. package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
  129. package/build/list/List.js.map +1 -1
  130. package/build/list/List.mjs.map +1 -1
  131. package/build/listItem/Button/ListItemButton.js.map +1 -1
  132. package/build/listItem/Button/ListItemButton.mjs.map +1 -1
  133. package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
  134. package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
  135. package/build/listItem/Image/ListItemImage.js.map +1 -1
  136. package/build/listItem/Image/ListItemImage.mjs.map +1 -1
  137. package/build/listItem/ListItem.js.map +1 -1
  138. package/build/listItem/ListItem.mjs.map +1 -1
  139. package/build/loader/Loader.js.map +1 -1
  140. package/build/loader/Loader.mjs.map +1 -1
  141. package/build/logo/Logo.js.map +1 -1
  142. package/build/logo/Logo.mjs.map +1 -1
  143. package/build/main.css +123 -105
  144. package/build/modal/Modal.js.map +1 -1
  145. package/build/modal/Modal.mjs.map +1 -1
  146. package/build/moneyInput/MoneyInput.js +9 -2
  147. package/build/moneyInput/MoneyInput.js.map +1 -1
  148. package/build/moneyInput/MoneyInput.mjs +8 -1
  149. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  150. package/build/navigationOption/NavigationOption.js.map +1 -1
  151. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  152. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  153. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  154. package/build/nudge/Nudge.js.map +1 -1
  155. package/build/nudge/Nudge.mjs.map +1 -1
  156. package/build/phoneNumberInput/PhoneNumberInput.js +10 -3
  157. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  158. package/build/phoneNumberInput/PhoneNumberInput.mjs +9 -2
  159. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  160. package/build/popover/Popover.js.map +1 -1
  161. package/build/popover/Popover.mjs.map +1 -1
  162. package/build/processIndicator/ProcessIndicator.js.map +1 -1
  163. package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
  164. package/build/prompt/ActionPrompt/ActionPrompt.js.map +1 -1
  165. package/build/prompt/ActionPrompt/ActionPrompt.mjs.map +1 -1
  166. package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
  167. package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
  168. package/build/radioOption/RadioOption.js.map +1 -1
  169. package/build/radioOption/RadioOption.mjs.map +1 -1
  170. package/build/select/Select.js.map +1 -1
  171. package/build/select/Select.mjs.map +1 -1
  172. package/build/statusIcon/StatusIcon.js.map +1 -1
  173. package/build/statusIcon/StatusIcon.mjs.map +1 -1
  174. package/build/styles/criticalBanner/CriticalCommsBanner.css +33 -15
  175. package/build/styles/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
  176. package/build/styles/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
  177. package/build/styles/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
  178. package/build/styles/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
  179. package/build/styles/inputs/SelectInput/Option/SelectInputOption.css +33 -0
  180. package/build/styles/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
  181. package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
  182. package/build/styles/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
  183. package/build/styles/main.css +123 -105
  184. package/build/summary/Summary.js +1 -1
  185. package/build/summary/Summary.js.map +1 -1
  186. package/build/summary/Summary.mjs +1 -1
  187. package/build/summary/Summary.mjs.map +1 -1
  188. package/build/switchOption/SwitchOption.js +1 -1
  189. package/build/switchOption/SwitchOption.js.map +1 -1
  190. package/build/switchOption/SwitchOption.mjs +1 -1
  191. package/build/switchOption/SwitchOption.mjs.map +1 -1
  192. package/build/tabs/Tabs.js.map +1 -1
  193. package/build/tabs/Tabs.mjs.map +1 -1
  194. package/build/typeahead/Typeahead.js.map +1 -1
  195. package/build/typeahead/Typeahead.mjs.map +1 -1
  196. package/build/types/accordion/Accordion.d.ts +2 -8
  197. package/build/types/accordion/Accordion.d.ts.map +1 -1
  198. package/build/types/actionButton/ActionButton.d.ts +4 -6
  199. package/build/types/actionButton/ActionButton.d.ts.map +1 -1
  200. package/build/types/actionOption/ActionOption.d.ts +1 -1
  201. package/build/types/alert/Alert.d.ts +2 -5
  202. package/build/types/alert/Alert.d.ts.map +1 -1
  203. package/build/types/avatar/Avatar.d.ts +0 -4
  204. package/build/types/avatar/Avatar.d.ts.map +1 -1
  205. package/build/types/avatarLayout/AvatarLayout.d.ts +1 -5
  206. package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -1
  207. package/build/types/badge/Badge.d.ts +0 -2
  208. package/build/types/badge/Badge.d.ts.map +1 -1
  209. package/build/types/body/Body.d.ts +6 -2
  210. package/build/types/body/Body.d.ts.map +1 -1
  211. package/build/types/button/Button.types.d.ts +1 -4
  212. package/build/types/button/Button.types.d.ts.map +1 -1
  213. package/build/types/button/LegacyButton.d.ts +4 -4
  214. package/build/types/card/Card.d.ts +0 -1
  215. package/build/types/card/Card.d.ts.map +1 -1
  216. package/build/types/checkboxButton/CheckboxButton.d.ts +0 -2
  217. package/build/types/checkboxButton/CheckboxButton.d.ts.map +1 -1
  218. package/build/types/checkboxOption/CheckboxOption.d.ts +1 -1
  219. package/build/types/circularButton/CircularButton.d.ts +1 -1
  220. package/build/types/circularButton/CircularButton.d.ts.map +1 -1
  221. package/build/types/common/propsValues/type.d.ts +1 -1
  222. package/build/types/common/propsValues/typography.d.ts +2 -2
  223. package/build/types/criticalBanner/CriticalCommsBanner.d.ts +4 -1
  224. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
  225. package/build/types/criticalBanner/index.d.ts +1 -0
  226. package/build/types/criticalBanner/index.d.ts.map +1 -1
  227. package/build/types/dateInput/DateInput.d.ts +0 -5
  228. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  229. package/build/types/dimmer/Dimmer.d.ts +0 -6
  230. package/build/types/dimmer/Dimmer.d.ts.map +1 -1
  231. package/build/types/drawer/Drawer.d.ts +2 -8
  232. package/build/types/drawer/Drawer.d.ts.map +1 -1
  233. package/build/types/field/Field.d.ts +2 -5
  234. package/build/types/field/Field.d.ts.map +1 -1
  235. package/build/types/flowNavigation/FlowNavigation.d.ts +0 -3
  236. package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -1
  237. package/build/types/header/Header.d.ts +1 -5
  238. package/build/types/header/Header.d.ts.map +1 -1
  239. package/build/types/iconButton/IconButton.d.ts +0 -6
  240. package/build/types/iconButton/IconButton.d.ts.map +1 -1
  241. package/build/types/index.d.ts +1 -0
  242. package/build/types/index.d.ts.map +1 -1
  243. package/build/types/inputs/{_BottomSheet.d.ts → SelectInput/BottomSheet/SelectInputBottomSheet.d.ts} +3 -3
  244. package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -0
  245. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts +3 -0
  246. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +1 -0
  247. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +5 -0
  248. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +1 -0
  249. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts +3 -0
  250. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +1 -0
  251. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts +7 -0
  252. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +1 -0
  253. package/build/types/inputs/SelectInput/ClearButton/index.d.ts +3 -0
  254. package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +1 -0
  255. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +16 -0
  256. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +1 -0
  257. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts +2 -0
  258. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +1 -0
  259. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +9 -0
  260. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +1 -0
  261. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts +3 -0
  262. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +1 -0
  263. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts +11 -0
  264. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +1 -0
  265. package/build/types/inputs/SelectInput/ItemView/index.d.ts +4 -0
  266. package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +1 -0
  267. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts +11 -0
  268. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +1 -0
  269. package/build/types/inputs/SelectInput/Option/index.d.ts +3 -0
  270. package/build/types/inputs/SelectInput/Option/index.d.ts.map +1 -0
  271. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +13 -0
  272. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -0
  273. package/build/types/inputs/SelectInput/OptionContent/index.d.ts +3 -0
  274. package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +1 -0
  275. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +9 -0
  276. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +1 -0
  277. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts +3 -0
  278. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +1 -0
  279. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts +21 -0
  280. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +1 -0
  281. package/build/types/inputs/SelectInput/Options/index.d.ts +4 -0
  282. package/build/types/inputs/SelectInput/Options/index.d.ts.map +1 -0
  283. package/build/types/inputs/{_Popover.d.ts → SelectInput/Popover/SelectInputPopover.d.ts} +3 -3
  284. package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -0
  285. package/build/types/inputs/SelectInput/Popover/index.d.ts +3 -0
  286. package/build/types/inputs/SelectInput/Popover/index.d.ts.map +1 -0
  287. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts +33 -0
  288. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +1 -0
  289. package/build/types/inputs/SelectInput/SelectInput.d.ts +10 -0
  290. package/build/types/inputs/SelectInput/SelectInput.d.ts.map +1 -0
  291. package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +1 -0
  292. package/build/types/inputs/{SelectInput.d.ts → SelectInput/SelectInput.types.d.ts} +12 -38
  293. package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +1 -0
  294. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts +61 -0
  295. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +1 -0
  296. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +12 -0
  297. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -0
  298. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts +3 -0
  299. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +1 -0
  300. package/build/types/inputs/SelectInput/components.d.ts +10 -0
  301. package/build/types/inputs/SelectInput/components.d.ts.map +1 -0
  302. package/build/types/inputs/SelectInput/index.d.ts +12 -0
  303. package/build/types/inputs/SelectInput/index.d.ts.map +1 -0
  304. package/build/types/legacylistItem/LegacyListItem.d.ts +1 -1
  305. package/build/types/list/List.d.ts +0 -1
  306. package/build/types/list/List.d.ts.map +1 -1
  307. package/build/types/listItem/Button/ListItemButton.d.ts +0 -4
  308. package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -1
  309. package/build/types/listItem/IconButton/ListItemIconButton.d.ts +1 -3
  310. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -1
  311. package/build/types/listItem/Image/ListItemImage.d.ts +0 -2
  312. package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -1
  313. package/build/types/listItem/ListItem.d.ts +0 -3
  314. package/build/types/listItem/ListItem.d.ts.map +1 -1
  315. package/build/types/loader/Loader.d.ts +1 -5
  316. package/build/types/loader/Loader.d.ts.map +1 -1
  317. package/build/types/logo/Logo.d.ts +1 -4
  318. package/build/types/logo/Logo.d.ts.map +1 -1
  319. package/build/types/modal/Modal.d.ts +0 -6
  320. package/build/types/modal/Modal.d.ts.map +1 -1
  321. package/build/types/navigationOption/NavigationOption.d.ts +1 -1
  322. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +1 -1
  323. package/build/types/nudge/Nudge.d.ts +1 -1
  324. package/build/types/nudge/Nudge.d.ts.map +1 -1
  325. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts +1 -7
  326. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
  327. package/build/types/popover/Popover.d.ts +0 -1
  328. package/build/types/popover/Popover.d.ts.map +1 -1
  329. package/build/types/processIndicator/ProcessIndicator.d.ts +0 -2
  330. package/build/types/processIndicator/ProcessIndicator.d.ts.map +1 -1
  331. package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts +1 -8
  332. package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts.map +1 -1
  333. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts +0 -1
  334. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -1
  335. package/build/types/radioOption/RadioOption.d.ts +1 -1
  336. package/build/types/select/Select.d.ts +0 -4
  337. package/build/types/select/Select.d.ts.map +1 -1
  338. package/build/types/statusIcon/StatusIcon.d.ts +1 -3
  339. package/build/types/statusIcon/StatusIcon.d.ts.map +1 -1
  340. package/build/types/summary/Summary.d.ts +4 -7
  341. package/build/types/summary/Summary.d.ts.map +1 -1
  342. package/build/types/switchOption/SwitchOption.d.ts +1 -1
  343. package/build/types/tabs/Tabs.d.ts +0 -2
  344. package/build/types/tabs/Tabs.d.ts.map +1 -1
  345. package/build/types/typeahead/Typeahead.d.ts +1 -14
  346. package/build/types/typeahead/Typeahead.d.ts.map +1 -1
  347. package/build/types/upload/Upload.d.ts +0 -6
  348. package/build/types/upload/Upload.d.ts.map +1 -1
  349. package/build/types/uploadInput/UploadInput.d.ts +1 -10
  350. package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
  351. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +0 -3
  352. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -1
  353. package/build/upload/Upload.js.map +1 -1
  354. package/build/upload/Upload.mjs.map +1 -1
  355. package/build/uploadInput/UploadInput.js.map +1 -1
  356. package/build/uploadInput/UploadInput.mjs.map +1 -1
  357. package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
  358. package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
  359. package/package.json +1 -1
  360. package/src/accordion/Accordion.tsx +2 -8
  361. package/src/actionButton/ActionButton.tsx +3 -4
  362. package/src/actionOption/ActionOption.tsx +1 -1
  363. package/src/alert/Alert.tsx +2 -5
  364. package/src/avatar/Avatar.tsx +0 -4
  365. package/src/avatarLayout/AvatarLayout.tsx +1 -5
  366. package/src/badge/Badge.tsx +0 -2
  367. package/src/body/Body.tsx +6 -2
  368. package/src/button/Button.types.ts +1 -4
  369. package/src/button/LegacyButton.tsx +4 -4
  370. package/src/card/Card.tsx +0 -1
  371. package/src/checkboxButton/CheckboxButton.tsx +0 -1
  372. package/src/checkboxOption/CheckboxOption.tsx +1 -1
  373. package/src/circularButton/CircularButton.tsx +2 -1
  374. package/src/common/propsValues/type.ts +1 -1
  375. package/src/common/propsValues/typography.ts +2 -2
  376. package/src/criticalBanner/CriticalCommsBanner.css +33 -15
  377. package/src/criticalBanner/CriticalCommsBanner.less +46 -36
  378. package/src/criticalBanner/CriticalCommsBanner.story.tsx +9 -15
  379. package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +70 -0
  380. package/src/criticalBanner/CriticalCommsBanner.test.tsx +66 -0
  381. package/src/criticalBanner/CriticalCommsBanner.tsx +54 -5
  382. package/src/criticalBanner/index.ts +1 -0
  383. package/src/dateInput/DateInput.tsx +0 -5
  384. package/src/dimmer/Dimmer.tsx +0 -6
  385. package/src/drawer/Drawer.tsx +2 -8
  386. package/src/field/Field.tsx +2 -5
  387. package/src/flowNavigation/FlowNavigation.tsx +0 -3
  388. package/src/header/Header.tsx +1 -5
  389. package/src/iconButton/IconButton.tsx +0 -3
  390. package/src/index.ts +1 -0
  391. package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
  392. package/src/inputs/{_BottomSheet.tsx → SelectInput/BottomSheet/SelectInputBottomSheet.tsx} +7 -7
  393. package/src/inputs/SelectInput/BottomSheet/index.ts +2 -0
  394. package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
  395. package/src/inputs/{_ButtonInput.tsx → SelectInput/ButtonInput/SelectInputButtonInput.tsx} +5 -5
  396. package/src/inputs/SelectInput/ButtonInput/index.ts +2 -0
  397. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
  398. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.less +40 -0
  399. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +29 -0
  400. package/src/inputs/SelectInput/ClearButton/index.ts +2 -0
  401. package/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx +74 -0
  402. package/src/inputs/SelectInput/DefaultRenderTrigger/index.ts +5 -0
  403. package/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx +61 -0
  404. package/src/inputs/SelectInput/ItemView/GroupItemView/index.ts +2 -0
  405. package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
  406. package/src/inputs/SelectInput/ItemView/SelectInputItemView.less +17 -0
  407. package/src/inputs/SelectInput/ItemView/SelectInputItemView.tsx +48 -0
  408. package/src/inputs/SelectInput/ItemView/index.ts +3 -0
  409. package/src/inputs/SelectInput/Option/SelectInputOption.css +33 -0
  410. package/src/inputs/SelectInput/Option/SelectInputOption.less +32 -0
  411. package/src/inputs/SelectInput/Option/SelectInputOption.tsx +57 -0
  412. package/src/inputs/SelectInput/Option/index.ts +2 -0
  413. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
  414. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.less +38 -0
  415. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +72 -0
  416. package/src/inputs/SelectInput/OptionContent/index.ts +2 -0
  417. package/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx +59 -0
  418. package/src/inputs/SelectInput/Options/OptionsContainer/index.ts +2 -0
  419. package/src/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
  420. package/src/inputs/SelectInput/Options/SelectInputOptions.less +77 -0
  421. package/src/inputs/SelectInput/Options/SelectInputOptions.tsx +411 -0
  422. package/src/inputs/SelectInput/Options/index.ts +3 -0
  423. package/src/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
  424. package/src/inputs/{_Popover.tsx → SelectInput/Popover/SelectInputPopover.tsx} +7 -7
  425. package/src/inputs/SelectInput/Popover/index.ts +2 -0
  426. package/src/inputs/SelectInput/SelectInput.contexts.tsx +40 -0
  427. package/src/inputs/SelectInput/SelectInput.less +22 -0
  428. package/src/inputs/{SelectInput.test.tsx → SelectInput/SelectInput.test.tsx} +9 -11
  429. package/src/inputs/SelectInput/SelectInput.tsx +257 -0
  430. package/src/inputs/SelectInput/SelectInput.types.ts +113 -0
  431. package/src/inputs/SelectInput/SelectInput.utils.ts +206 -0
  432. package/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +36 -0
  433. package/src/inputs/SelectInput/TriggerButton/index.ts +5 -0
  434. package/src/inputs/{SelectInput.docs.mdx → SelectInput/_stories/SelectInput.docs.mdx} +0 -1
  435. package/src/inputs/{SelectInput.story.tsx → SelectInput/_stories/SelectInput.story.tsx} +11 -8
  436. package/src/inputs/{SelectInput.test.story.tsx → SelectInput/_stories/SelectInput.test.story.tsx} +5 -10
  437. package/src/inputs/SelectInput/components.ts +10 -0
  438. package/src/inputs/SelectInput/index.ts +14 -0
  439. package/src/legacylistItem/LegacyListItem.tsx +1 -1
  440. package/src/list/List.tsx +0 -1
  441. package/src/listItem/Button/ListItemButton.tsx +0 -2
  442. package/src/listItem/IconButton/ListItemIconButton.tsx +1 -3
  443. package/src/listItem/Image/ListItemImage.tsx +0 -2
  444. package/src/listItem/ListItem.tsx +0 -2
  445. package/src/loader/Loader.tsx +2 -6
  446. package/src/logo/Logo.tsx +1 -4
  447. package/src/main.css +123 -105
  448. package/src/main.less +1 -1
  449. package/src/modal/Modal.tsx +0 -6
  450. package/src/navigationOption/NavigationOption.tsx +1 -1
  451. package/src/navigationOptionsList/NavigationOptionsList.tsx +1 -1
  452. package/src/nudge/Nudge.tsx +1 -1
  453. package/src/phoneNumberInput/PhoneNumberInput.tsx +1 -7
  454. package/src/popover/Popover.tsx +0 -1
  455. package/src/processIndicator/ProcessIndicator.tsx +0 -2
  456. package/src/prompt/ActionPrompt/ActionPrompt.tsx +1 -8
  457. package/src/prompt/InlinePrompt/InlinePrompt.tsx +0 -1
  458. package/src/radioOption/RadioOption.tsx +1 -1
  459. package/src/select/Select.tsx +0 -4
  460. package/src/statusIcon/StatusIcon.tsx +1 -3
  461. package/src/summary/Summary.tsx +4 -7
  462. package/src/switchOption/SwitchOption.tsx +1 -1
  463. package/src/tabs/Tabs.tsx +0 -2
  464. package/src/typeahead/Typeahead.tsx +2 -14
  465. package/src/upload/Upload.tsx +0 -6
  466. package/src/uploadInput/UploadInput.tsx +4 -12
  467. package/src/withDisplayFormat/WithDisplayFormat.tsx +0 -3
  468. package/build/inputs/SelectInput.js +0 -890
  469. package/build/inputs/SelectInput.js.map +0 -1
  470. package/build/inputs/SelectInput.messages.js.map +0 -1
  471. package/build/inputs/SelectInput.messages.mjs.map +0 -1
  472. package/build/inputs/SelectInput.mjs +0 -881
  473. package/build/inputs/SelectInput.mjs.map +0 -1
  474. package/build/inputs/_BottomSheet.js.map +0 -1
  475. package/build/inputs/_BottomSheet.mjs.map +0 -1
  476. package/build/inputs/_ButtonInput.js.map +0 -1
  477. package/build/inputs/_ButtonInput.mjs.map +0 -1
  478. package/build/inputs/_Popover.js.map +0 -1
  479. package/build/inputs/_Popover.mjs.map +0 -1
  480. package/build/types/inputs/SelectInput.d.ts.map +0 -1
  481. package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
  482. package/build/types/inputs/_BottomSheet.d.ts.map +0 -1
  483. package/build/types/inputs/_ButtonInput.d.ts +0 -5
  484. package/build/types/inputs/_ButtonInput.d.ts.map +0 -1
  485. package/build/types/inputs/_Popover.d.ts.map +0 -1
  486. package/src/inputs/SelectInput.less +0 -219
  487. package/src/inputs/SelectInput.tsx +0 -1269
  488. package/build/inputs/{SelectInput.messages.js → SelectInput/SelectInput.messages.js} +0 -0
  489. package/build/inputs/{SelectInput.messages.mjs → SelectInput/SelectInput.messages.mjs} +0 -0
  490. package/build/styles/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
  491. package/build/types/inputs/{SelectInput.messages.d.ts → SelectInput/SelectInput.messages.d.ts} +0 -0
  492. package/src/inputs/{_BottomSheet.less → SelectInput/BottomSheet/SelectInputBottomSheet.less} +0 -0
  493. package/src/inputs/{_ButtonInput.less → SelectInput/ButtonInput/SelectInputButtonInput.less} +0 -0
  494. package/src/inputs/{_Popover.less → SelectInput/Popover/SelectInputPopover.less} +0 -0
  495. package/src/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
  496. /package/src/inputs/{SelectInput.messages.ts → SelectInput/SelectInput.messages.ts} +0 -0
@@ -0,0 +1,9 @@
1
+ export interface SelectInputOptionsContainerProps extends React.ComponentPropsWithRef<'div'> {
2
+ onAriaActiveDescendantChange: (value: React.AriaAttributes['aria-activedescendant']) => void;
3
+ }
4
+ /**
5
+ * Container component for SelectInput options.
6
+ * Handles keyboard navigation and accessibility features.
7
+ */
8
+ export declare const SelectInputOptionsContainer: import("react").ForwardRefExoticComponent<Omit<SelectInputOptionsContainerProps, "ref"> & import("react").RefAttributes<HTMLDivElement | null>>;
9
+ //# sourceMappingURL=SelectInputOptionsContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputOptionsContainer.d.ts","sourceRoot":"","sources":["../../../../../../src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,gCAAiC,SAAQ,KAAK,CAAC,qBAAqB,CAAC,KAAK,CAAC;IAC1F,4BAA4B,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,uBAAuB,CAAC,KAAK,IAAI,CAAC;CAC9F;AAED;;;GAGG;AACH,eAAO,MAAM,2BAA2B,iJA+CtC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { SelectInputOptionsContainer } from './SelectInputOptionsContainer';
2
+ export type { SelectInputOptionsContainerProps } from './SelectInputOptionsContainer';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/inputs/SelectInput/Options/OptionsContainer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,YAAY,EAAE,gCAAgC,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { SelectInputProps } from '../SelectInput.types';
2
+ /**
3
+ * Props for the SelectInputOptions component.
4
+ */
5
+ export interface SelectInputOptionsProps<T = string> extends Pick<SelectInputProps<T>, 'items' | 'renderValue' | 'renderFooter' | 'filterable' | 'filterPlaceholder' | 'id' | 'parentId' | 'compareValues' | 'sortFilteredOptions'> {
6
+ searchInputRef: React.MutableRefObject<HTMLInputElement | null>;
7
+ listboxRef: React.MutableRefObject<HTMLDivElement | null>;
8
+ filterQuery: string;
9
+ onFilterChange: (query: string) => void;
10
+ listBoxLabel?: string;
11
+ listBoxLabelledBy?: string;
12
+ autocomplete?: string;
13
+ name?: string;
14
+ onAutocompleteSelect?: (value: T) => void;
15
+ }
16
+ /**
17
+ * The main options container component for SelectInput.
18
+ * Manages filtering, virtualisation, and rendering of options.
19
+ */
20
+ export declare function SelectInputOptions<T = string>({ id, parentId, items, compareValues: compareValuesProp, renderValue, renderFooter, filterable, filterPlaceholder, sortFilteredOptions, searchInputRef, listboxRef, filterQuery, onFilterChange, listBoxLabel, listBoxLabelledBy, autocomplete, name, onAutocompleteSelect, }: SelectInputOptionsProps<T>): import("react").JSX.Element;
21
+ //# sourceMappingURL=SelectInputOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputOptions.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/Options/SelectInputOptions.tsx"],"names":[],"mappings":"AAoBA,OAAO,EAAyB,gBAAgB,EAAmB,MAAM,sBAAsB,CAAC;AAMhG;;GAEG;AACH,MAAM,WAAW,uBAAuB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,IAAI,CAC/D,gBAAgB,CAAC,CAAC,CAAC,EACjB,OAAO,GACP,aAAa,GACb,cAAc,GACd,YAAY,GACZ,mBAAmB,GACnB,IAAI,GACJ,UAAU,GACV,eAAe,GACf,qBAAqB,CACxB;IACC,cAAc,EAAE,KAAK,CAAC,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAChE,UAAU,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CAC3C;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,GAAG,MAAM,EAAE,EAC7C,EAAE,EACF,QAAQ,EACR,KAAK,EACL,aAAa,EAAE,iBAAiB,EAChC,WAAoB,EACpB,YAAY,EACZ,UAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,WAAW,EACX,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,IAAI,EACJ,oBAAoB,GACrB,EAAE,uBAAuB,CAAC,CAAC,CAAC,+BA+U5B"}
@@ -0,0 +1,4 @@
1
+ export { SelectInputOptions } from './SelectInputOptions';
2
+ export type { SelectInputOptionsProps } from './SelectInputOptions';
3
+ export * from './OptionsContainer';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/Options/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AACpE,cAAc,oBAAoB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type Placement } from '@floating-ui/react';
2
- export interface PopoverProps {
2
+ export interface SelectInputPopoverProps {
3
3
  placement?: Placement;
4
4
  open: boolean;
5
5
  renderTrigger: (args: {
@@ -15,5 +15,5 @@ export interface PopoverProps {
15
15
  onClose?: () => void;
16
16
  onCloseEnd?: () => void;
17
17
  }
18
- export declare function Popover({ placement, open, renderTrigger, title, size, padding, children, onClose, onCloseEnd, }: PopoverProps): import("react").JSX.Element;
19
- //# sourceMappingURL=_Popover.d.ts.map
18
+ export declare function SelectInputPopover({ placement, open, renderTrigger, title, size, padding, children, onClose, onCloseEnd, }: SelectInputPopoverProps): import("react").JSX.Element;
19
+ //# sourceMappingURL=SelectInputPopover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputPopover.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/Popover/SelectInputPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EAOf,MAAM,oBAAoB,CAAC;AAS5B,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,CAAC,IAAI,EAAE;QACpB,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAChC,mBAAmB,EAAE,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK;YACvE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC;KACH,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB;AAID,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,IAAI,EACJ,aAAa,EACb,KAAK,EACL,IAAW,EACX,OAAc,EACd,QAAQ,EACR,OAAO,EACP,UAAU,GACX,EAAE,uBAAuB,+BAmFzB"}
@@ -0,0 +1,3 @@
1
+ export { SelectInputPopover } from './SelectInputPopover';
2
+ export type { SelectInputPopoverProps } from './SelectInputPopover';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/Popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ /**
3
+ * Context for passing props to the SelectInputTriggerButton component.
4
+ */
5
+ export interface SelectInputTriggerButtonPropsContextValue {
6
+ ref?: React.ForwardedRef<HTMLButtonElement | null>;
7
+ id?: string;
8
+ onClick?: (event: React.MouseEvent) => void;
9
+ onKeyDown?: (event: React.KeyboardEvent) => void;
10
+ size?: 'sm' | 'md' | 'lg';
11
+ [key: string]: unknown;
12
+ }
13
+ /**
14
+ * Context for passing props to the SelectInputTriggerButton component.
15
+ */
16
+ export declare const SelectInputTriggerButtonPropsContext: React.Context<SelectInputTriggerButtonPropsContextValue>;
17
+ /**
18
+ * Context for providing the total count of items in a SelectInput.
19
+ * Used for ARIA accessibility to inform screen readers about the total number of options.
20
+ */
21
+ export declare const SelectInputItemsCountContext: React.Context<number | undefined>;
22
+ /**
23
+ * Context for providing the current item position in a SelectInput.
24
+ * Used for ARIA accessibility to inform screen readers about the position of the option.
25
+ */
26
+ export declare const SelectInputItemPositionContext: React.Context<number | undefined>;
27
+ /**
28
+ * Context indicating whether an option's content is rendered within the trigger button.
29
+ * When true, certain styling adjustments are applied to make the content fit better in the trigger.
30
+ */
31
+ export declare const SelectInputOptionContentWithinTriggerContext: React.Context<boolean>;
32
+ export type { WithInputAttributesProps } from '../contexts';
33
+ //# sourceMappingURL=SelectInput.contexts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInput.contexts.d.ts","sourceRoot":"","sources":["../../../../src/inputs/SelectInput/SelectInput.contexts.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,yCAAyC;IACxD,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACnD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,KAAK,IAAI,CAAC;IAC5C,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,KAAK,IAAI,CAAC;IACjD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,oCAAoC,0DACa,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,4BAA4B,mCAA+C,CAAC;AAEzF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,mCAA+C,CAAC;AAE3F;;;GAGG;AACH,eAAO,MAAM,4CAA4C,wBAAuB,CAAC;AAGjF,YAAY,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { SelectInputProps } from './SelectInput.types';
2
+ /**
3
+ * SelectInput component allows users to select an option from a dropdown list.
4
+ * Supports filtering, multiple selection, and customization.
5
+ */
6
+ export declare function SelectInput<T = string, M extends boolean = false>({ id: idProp, parentId, name, multiple, placeholder, autocomplete, items, defaultValue, value: controlledValue, compareValues, renderValue, renderFooter, renderTrigger, filterable, filterPlaceholder, sortFilteredOptions, disabled, size, className, UNSAFE_triggerButtonProps, triggerRef: externalTriggerRef, onFilterChange, onChange, onOpen, onClose, onClear, }: SelectInputProps<T, M>): import("react").JSX.Element;
7
+ export declare namespace SelectInput {
8
+ var sortByRelevance: typeof import("./SelectInput.utils").sortByRelevance;
9
+ }
10
+ //# sourceMappingURL=SelectInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../../src/inputs/SelectInput/SelectInput.tsx"],"names":[],"mappings":"AAkBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAIvD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,CAAC,GAAG,MAAM,EAAE,CAAC,SAAS,OAAO,GAAG,KAAK,EAAE,EACjE,EAAE,EAAE,MAAM,EACV,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,KAAK,EACL,YAAY,EACZ,KAAK,EAAE,eAAe,EACtB,aAAa,EACb,WAAoB,EACpB,YAAY,EACZ,aAAoC,EACpC,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,QAAQ,EACR,IAAW,EACX,SAAS,EACT,yBAAyB,EACzB,UAAU,EAAE,kBAAkB,EAC9B,cAAqB,EACrB,QAAQ,EACR,MAAM,EACN,OAAO,EACP,OAAO,GACR,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,+BAwMxB;yBAnOe,WAAW"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInput.messages.d.ts","sourceRoot":"","sources":["../../../../src/inputs/SelectInput/SelectInput.messages.ts"],"names":[],"mappings":";;;;;;;AAEA,wBAMG"}
@@ -1,7 +1,6 @@
1
- import { ReactNode } from 'react';
2
- import { Merge } from '../utils';
3
- import { WithInputAttributesProps } from './contexts';
4
- import { ButtonProps } from '../button/Button.types';
1
+ import React, { ReactNode } from 'react';
2
+ import { ButtonProps } from '../../button/Button.types';
3
+ import { WithInputAttributesProps } from './SelectInput.contexts';
5
4
  export interface SelectInputOptionItem<T = string> {
6
5
  type: 'option';
7
6
  value: T;
@@ -21,22 +20,6 @@ export interface SelectInputSeparatorItem {
21
20
  type: 'separator';
22
21
  }
23
22
  export type SelectInputItem<T = string> = SelectInputOptionItem<T> | SelectInputGroupItem<T> | SelectInputSeparatorItem;
24
- /**
25
- * A prebuilt sort function for `sortFilteredOptions` that sorts options by relevance to the search query.
26
- * Prioritizes: exact matches > starts with > contains > alphabetical.
27
- *
28
- * @param getLabel - Function to extract the label string from the option value. Defaults to using `title` property.
29
- *
30
- * @example
31
- * ```tsx
32
- * <SelectInput
33
- * filterable
34
- * sortFilteredOptions={sortByRelevance((value) => value.name)}
35
- * // ...
36
- * />
37
- * ```
38
- */
39
- export declare function sortByRelevance<T>(getLabel?: (value: T) => string): (a: SelectInputOptionItem<T>, b: SelectInputOptionItem<T>, searchQuery: string) => number;
40
23
  export interface SelectInputProps<T = string, M extends boolean = false> {
41
24
  id?: string;
42
25
  /**
@@ -103,21 +86,12 @@ export interface SelectInputProps<T = string, M extends boolean = false> {
103
86
  onClose?: () => void;
104
87
  onClear?: () => void;
105
88
  }
106
- export declare function SelectInput<T = string, M extends boolean = false>({ id: idProp, parentId, name, multiple, placeholder, autocomplete, items, defaultValue, value: controlledValue, compareValues, renderValue, renderFooter, renderTrigger, filterable, filterPlaceholder, sortFilteredOptions, disabled, size, className, UNSAFE_triggerButtonProps, triggerRef: externalTriggerRef, onFilterChange, onChange, onOpen, onClose, onClear, }: SelectInputProps<T, M>): import("react").JSX.Element;
107
- export declare namespace SelectInput {
108
- var sortByRelevance: typeof import("./SelectInput").sortByRelevance;
109
- }
110
- type SelectInputTriggerButtonElementType = 'button' | React.ComponentType;
111
- export type SelectInputTriggerButtonProps<T extends SelectInputTriggerButtonElementType = 'button'> = Merge<React.ComponentPropsWithoutRef<T>, {
112
- as?: T;
113
- }>;
114
- export declare function SelectInputTriggerButton<T extends SelectInputTriggerButtonElementType = 'button'>({ as, ...restProps }: SelectInputTriggerButtonProps<T>): import("react").JSX.Element;
115
- export interface SelectInputOptionContentProps {
116
- title: React.ReactNode;
117
- note?: string;
118
- description?: string;
119
- icon?: React.ReactNode;
120
- }
121
- export declare function SelectInputOptionContent({ title, note, description, icon, }: SelectInputOptionContentProps): import("react").JSX.Element;
122
- export {};
123
- //# sourceMappingURL=SelectInput.d.ts.map
89
+ export type { SelectInputTriggerButtonElementType, SelectInputTriggerButtonProps, } from './TriggerButton';
90
+ export type { SelectInputClearButtonProps } from './ClearButton';
91
+ export type { SelectInputOptionContentProps } from './OptionContent';
92
+ export type { SelectInputOptionProps } from './Option';
93
+ export type { SelectInputItemViewProps } from './ItemView';
94
+ export type { SelectInputGroupItemViewProps } from './ItemView/GroupItemView';
95
+ export type { SelectInputOptionsProps } from './Options';
96
+ export type { SelectInputOptionsContainerProps } from './Options/OptionsContainer';
97
+ //# sourceMappingURL=SelectInput.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInput.types.d.ts","sourceRoot":"","sources":["../../../../src/inputs/SelectInput/SelectInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;A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AC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yBAAyB,CAAC,EAAE,wBAAwB,CAAC,iBAAiB,CAAC,GAAG;QACxE,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,gDAAgD;IAChD,UAAU,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IAC9D,cAAc,CAAC,EAAE,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,KAAK,IAAI,CAAC;IACnF,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,SAAS,IAAI,GAAG,CAAC,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACrD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,YAAY,EACV,mCAAmC,EACnC,6BAA6B,GAC9B,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,2BAA2B,EAAE,MAAM,eAAe,CAAC;AACjE,YAAY,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAC;AACrE,YAAY,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AACvD,YAAY,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAC3D,YAAY,EAAE,6BAA6B,EAAE,MAAM,0BAA0B,CAAC;AAC9E,YAAY,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AACzD,YAAY,EAAE,gCAAgC,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { SelectInputItem, SelectInputOptionItem } from './SelectInput.types';
2
+ declare const MAX_ITEMS_WITHOUT_VIRTUALIZATION = 50;
3
+ export { MAX_ITEMS_WITHOUT_VIRTUALIZATION };
4
+ /**
5
+ * Converts a string to a normalized, searchable format by:
6
+ * - Trimming whitespace
7
+ * - Normalizing whitespace (convert multiple spaces to single space)
8
+ * - Converting to NFD normalization form to handle diacritics
9
+ * - Removing combining diacritical marks
10
+ * - Converting to lowercase
11
+ */
12
+ export declare function searchableString(value: string): string;
13
+ /**
14
+ * Extracts searchable strings from a value.
15
+ * - If the value is a string, returns a normalized version.
16
+ * - If the value is an object, extracts all string values and normalizes them.
17
+ * - Otherwise returns an empty array.
18
+ */
19
+ export declare function inferSearchableStrings(value: unknown): string[];
20
+ /**
21
+ * Sets the value of a duplicate option item to undefined, effectively hiding it when rendered.
22
+ */
23
+ export declare function dedupeSelectInputOptionItem<T>(item: SelectInputOptionItem<T>, existingValues: Set<T>, compareValues?: (a: T, b: T) => boolean): SelectInputOptionItem<T | undefined>;
24
+ /**
25
+ * Sets the `value` of duplicate option items to `undefined`, hiding them when
26
+ * rendered. Indexes are kept intact within groups to preserve the active item
27
+ * between filter changes when possible.
28
+ */
29
+ export declare function dedupeSelectInputItems<T>(items: readonly SelectInputItem<T>[], compareValues?: (a: T, b: T) => boolean): SelectInputItem<T | undefined>[];
30
+ /**
31
+ * Checks if a SelectInputOptionItem matches the search needle.
32
+ */
33
+ export declare function selectInputOptionItemIncludesNeedle<T>(item: SelectInputOptionItem<T>, needle: string): boolean;
34
+ /**
35
+ * Filters SelectInputItems based on the provided predicate function.
36
+ * For group items, it checks if any of their options match the predicate.
37
+ */
38
+ export declare function filterSelectInputItems<T>(items: readonly SelectInputItem<T>[], predicate: (item: SelectInputOptionItem<T>) => boolean): SelectInputItem<T>[];
39
+ /**
40
+ * Flattens and sorts filtered options using the provided comparator.
41
+ * Extracts all options from groups, filters out undefined values (deduplicated items),
42
+ * sorts them, and returns as a flat list of option items.
43
+ */
44
+ export declare function sortSelectInputItems<T>(items: readonly SelectInputItem<T | undefined>[], compareFn: (a: SelectInputOptionItem<NonNullable<T>>, b: SelectInputOptionItem<NonNullable<T>>, searchQuery: string) => number, searchQuery: string): SelectInputItem<NonNullable<T>>[];
45
+ /**
46
+ * A prebuilt sort function for `sortFilteredOptions` that sorts options by relevance to the search query.
47
+ * Prioritizes: exact matches > starts with > contains > alphabetical.
48
+ *
49
+ * @param getLabel - Function to extract the label string from the option value. Defaults to using `title` property.
50
+ *
51
+ * @example
52
+ * ```tsx
53
+ * <SelectInput
54
+ * filterable
55
+ * sortFilteredOptions={sortByRelevance((value) => value.name)}
56
+ * // ...
57
+ * />
58
+ * ```
59
+ */
60
+ export declare function sortByRelevance<T>(getLabel?: (value: T) => string): (a: SelectInputOptionItem<T>, b: SelectInputOptionItem<T>, searchQuery: string) => number;
61
+ //# sourceMappingURL=SelectInput.utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInput.utils.d.ts","sourceRoot":"","sources":["../../../../src/inputs/SelectInput/SelectInput.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAE7E,QAAA,MAAM,gCAAgC,KAAK,CAAC;AAC5C,OAAO,EAAE,gCAAgC,EAAE,CAAC;AAE5C;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,UAW7C;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,YAYpD;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,EAC3C,IAAI,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAC9B,cAAc,EAAE,GAAG,CAAC,CAAC,CAAC,EACtB,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,GACtC,qBAAqB,CAAC,CAAC,GAAG,SAAS,CAAC,CAUtC;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,EACtC,KAAK,EAAE,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,EACpC,aAAa,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,OAAO,GACtC,eAAe,CAAC,CAAC,GAAG,SAAS,CAAC,EAAE,CAoBlC;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,CAAC,EACnD,IAAI,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAC9B,MAAM,EAAE,MAAM,WAKf;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,EACtC,KAAK,EAAE,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,EACpC,SAAS,EAAE,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAC,CAAC,KAAK,OAAO,wBAcvD;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,EACpC,KAAK,EAAE,SAAS,eAAe,CAAC,CAAC,GAAG,SAAS,CAAC,EAAE,EAChD,SAAS,EAAE,CACT,CAAC,EAAE,qBAAqB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACxC,CAAC,EAAE,qBAAqB,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACxC,WAAW,EAAE,MAAM,KAChB,MAAM,EACX,WAAW,EAAE,MAAM,GAClB,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,CAiBnC;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAC/B,QAAQ,GAAE,CAAC,KAAK,EAAE,CAAC,KAAK,MAAsD,GAC7E,CAAC,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,MAAM,KAAK,MAAM,CA2B3F"}
@@ -0,0 +1,12 @@
1
+ import { Merge } from '../../../utils';
2
+ export type SelectInputTriggerButtonElementType = 'button' | React.ComponentType;
3
+ export type SelectInputTriggerButtonProps<T extends SelectInputTriggerButtonElementType = 'button'> = Merge<React.ComponentPropsWithoutRef<T>, {
4
+ as?: T;
5
+ }>;
6
+ /**
7
+ * The trigger button component for SelectInput.
8
+ * Uses Headless UI's ListboxButton with polymorphic support to allow
9
+ * rendering as different element types.
10
+ */
11
+ export declare function SelectInputTriggerButton<T extends SelectInputTriggerButtonElementType = 'button'>({ as, ...restProps }: SelectInputTriggerButtonProps<T>): import("react").JSX.Element;
12
+ //# sourceMappingURL=SelectInputTriggerButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputTriggerButton.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,MAAM,MAAM,mCAAmC,GAAG,QAAQ,GAAG,KAAK,CAAC,aAAa,CAAC;AAEjF,MAAM,MAAM,6BAA6B,CACvC,CAAC,SAAS,mCAAmC,GAAG,QAAQ,IACtD,KAAK,CAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE;IAAE,EAAE,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC;AAEzD;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,SAAS,mCAAmC,GAAG,QAAQ,EAAE,EACjG,EAAkB,EAClB,GAAG,SAAS,EACb,EAAE,6BAA6B,CAAC,CAAC,CAAC,+BAclC"}
@@ -0,0 +1,3 @@
1
+ export { SelectInputTriggerButton } from './SelectInputTriggerButton';
2
+ export type { SelectInputTriggerButtonElementType, SelectInputTriggerButtonProps, } from './SelectInputTriggerButton';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/TriggerButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EACV,mCAAmC,EACnC,6BAA6B,GAC9B,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,10 @@
1
+ export * from './ClearButton';
2
+ export * from './Option';
3
+ export * from './OptionContent';
4
+ export * from './TriggerButton';
5
+ export * from './ItemView';
6
+ export * from './Options';
7
+ export * from './BottomSheet';
8
+ export * from './Popover';
9
+ export * from './ButtonInput';
10
+ //# sourceMappingURL=components.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/inputs/SelectInput/components.ts"],"names":[],"mappings":"AACA,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,12 @@
1
+ export * from './SelectInput';
2
+ export * from './SelectInput.types';
3
+ export * from './SelectInput.utils';
4
+ export * from './SelectInput.contexts';
5
+ export * from './ClearButton';
6
+ export * from './Option';
7
+ export * from './OptionContent';
8
+ export * from './TriggerButton';
9
+ export * from './DefaultRenderTrigger';
10
+ export * from './ItemView';
11
+ export * from './Options';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/inputs/SelectInput/index.ts"],"names":[],"mappings":"AACA,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AAGvC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC"}
@@ -9,7 +9,7 @@ export type LegacyListItemProps = {
9
9
  as?: ElementType;
10
10
  };
11
11
  /**
12
- * @deprecated Use `<ListItem />` instead.
12
+ * @deprecated Please use `<ListItem />` instead.
13
13
  * @deprecatedSince 46.104.0
14
14
  * @see [Source](../listItem/ListItem.tsx)
15
15
  * @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  export interface ListProps {
3
- /** @default 'ul' */
4
3
  as?: 'ul' | 'ol' | 'div';
5
4
  className?: string;
6
5
  children?: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/list/List.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,SAAS;IACxB,oBAAoB;IACpB,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,CAAC,GAAG,EAAE,QAAQ,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAChE;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,EAAE,EAAE,OAAc,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,qBAElF"}
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../src/list/List.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,SAAS;IACxB,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,CAAC,GAAG,EAAE,QAAQ,MAAM,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAChE;AAED,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,EAAE,EAAE,OAAc,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,qBAElF"}
@@ -5,8 +5,6 @@ export type ListItemButtonProps = Omit<NewButtonProps, 'v2' | 'size' | 'disabled
5
5
  */
6
6
  partiallyInteractive?: boolean;
7
7
  addonStart?: ButtonAddonIcon;
8
- /** @default 'secondary-neutral' */
9
- priority?: NewButtonProps['priority'];
10
8
  };
11
9
  /**
12
10
  * This component allows for rendering a Button control. It's a thin wrapper around the
@@ -21,7 +19,5 @@ export declare const Button: import("react").ForwardRefExoticComponent<Omit<NewB
21
19
  */
22
20
  partiallyInteractive?: boolean;
23
21
  addonStart?: ButtonAddonIcon;
24
- /** @default 'secondary-neutral' */
25
- priority?: NewButtonProps["priority"];
26
22
  } & import("react").RefAttributes<HTMLButtonElement>>;
27
23
  //# sourceMappingURL=ListItemButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ListItemButton.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Button/ListItemButton.tsx"],"names":[],"mappings":"AAEA,OAAmB,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAIrF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,cAAc,EACd,IAAI,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CACpD,GAAG;IACF;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,mCAAmC;IACnC,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACvC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;IAhBjB;;OAEG;2BACoB,OAAO;iBACjB,eAAe;IAC5B,mCAAmC;eACxB,cAAc,CAAC,UAAU,CAAC;qDAyCtC,CAAC"}
1
+ {"version":3,"file":"ListItemButton.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Button/ListItemButton.tsx"],"names":[],"mappings":"AAEA,OAAmB,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAIrF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,cAAc,EACd,IAAI,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,YAAY,CACpD,GAAG;IACF;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;IAdjB;;OAEG;2BACoB,OAAO;iBACjB,eAAe;qDAyC7B,CAAC"}
@@ -1,10 +1,8 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type IconButtonProps } from '../../iconButton';
3
- export type ListItemIconButtonProps = Pick<IconButtonProps, 'type' | 'onClick' | 'href' | 'target' | 'aria-label'> & {
3
+ export type ListItemIconButtonProps = Pick<IconButtonProps, 'priority' | 'type' | 'onClick' | 'href' | 'target' | 'aria-label'> & {
4
4
  children: ReactNode;
5
5
  partiallyInteractive?: boolean;
6
- /** @default 'minimal' */
7
- priority?: IconButtonProps['priority'];
8
6
  };
9
7
  /**
10
8
  * This component allows for rendering a IconButton control. It's a thin wrapper around the
@@ -1 +1 @@
1
- {"version":3,"file":"ListItemIconButton.d.ts","sourceRoot":"","sources":["../../../../src/listItem/IconButton/ListItemIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAuB,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIxE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,eAAe,EACf,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,CACtD,GAAG;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,yBAAyB;IACzB,QAAQ,CAAC,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;CACxC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;sDAIpB,uBAAuB;;CA6CzB,CAAC"}
1
+ {"version":3,"file":"ListItemIconButton.d.ts","sourceRoot":"","sources":["../../../../src/listItem/IconButton/ListItemIconButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAuB,EAAE,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIxE,MAAM,MAAM,uBAAuB,GAAG,IAAI,CACxC,eAAe,EACf,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,QAAQ,GAAG,YAAY,CACnE,GAAG;IACF,QAAQ,EAAE,SAAS,CAAC;IACpB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;sDAIpB,uBAAuB;;CA6CzB,CAAC"}
@@ -3,12 +3,10 @@ import { ListItemMediaSize } from '../ListItemContext';
3
3
  export type ListItemImageProps = Omit<ImageProps, 'stretch' | 'shrink' | 'id' | 'alt' | 'role'> & {
4
4
  /**
5
5
  * The size of square container for the image, matching available avatar sizes.
6
- * @default 48
7
6
  */
8
7
  size?: ListItemMediaSize;
9
8
  /**
10
9
  * When unset, it will force `role="presentation"` on the image. Otherwise, the image will use its implicit img role.
11
- * @default ''
12
10
  */
13
11
  alt?: string;
14
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ListItemImage.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Image/ListItemImage.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC,GAAG;IAChG;;;OAGG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK;yCAAkD,kBAAkB;;CAoBrF,CAAC"}
1
+ {"version":3,"file":"ListItemImage.d.ts","sourceRoot":"","sources":["../../../../src/listItem/Image/ListItemImage.tsx"],"names":[],"mappings":"AAAA,OAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,QAAQ,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAC,GAAG;IAChG;;OAEG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK;yCAAkD,kBAAkB;;CAoBrF,CAAC"}
@@ -8,7 +8,6 @@ import { type ListItemSwitchProps } from './Switch';
8
8
  export type ListItemTypes = 'non-interactive' | 'navigation' | 'radio' | 'checkbox' | 'switch' | 'button' | 'icon-button';
9
9
  export type ListItemControlProps = ListItemNavigationProps | ListItemCheckboxProps | ListItemButtonProps | ListItemIconButtonProps | ListItemRadioProps | ListItemSwitchProps;
10
10
  export type ListItemProps = {
11
- /** @default 'li' */
12
11
  as?: 'li' | 'div';
13
12
  /**
14
13
  * Swaps vertical hierarchy of title and subtitle and their corresponding right values.
@@ -52,7 +51,6 @@ export type ListItemProps = {
52
51
  * `<ListItem.Navigation />`, <br/>
53
52
  * `<ListItem.Radio />`, or
54
53
  * `<ListItem.Switch />`
55
- * @default null
56
54
  */
57
55
  control?: ReactNode;
58
56
  /**
@@ -108,7 +106,6 @@ export declare const ListItem: {
108
106
  Button: import("react").ForwardRefExoticComponent<Omit<import("..").ButtonProps, "disabled" | "size" | "block" | "v2" | "addonStart"> & {
109
107
  partiallyInteractive?: boolean;
110
108
  addonStart?: import("../button").ButtonAddonIcon;
111
- priority?: import("..").ButtonProps["priority"];
112
109
  } & import("react").RefAttributes<HTMLButtonElement>>;
113
110
  Switch: {
114
111
  (props: ListItemSwitchProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../src/listItem/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAIf,OAAO,EAAc,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AACxE,OAAO,EAAY,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EAAc,KAAK,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAExE,OAAO,EAAU,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC5D,OAAO,EAAS,KAAK,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACzD,OAAO,EAAU,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAY5D,MAAM,MAAM,aAAa,GACrB,iBAAiB,GACjB,YAAY,GACZ,OAAO,GACP,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,aAAa,CAAC;AAElB,MAAM,MAAM,oBAAoB,GAC5B,uBAAuB,GACvB,qBAAqB,GACrB,mBAAmB,GACnB,uBAAuB,GACvB,kBAAkB,GAClB,mBAAmB,CAAC;AAExB,MAAM,MAAM,aAAa,GAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsOf,CAAC;AA6GF,eAAe,QAAQ,CAAC"}
@@ -3,15 +3,11 @@ type DeprecatedSize = SizeExtraSmall | SizeLarge | SizeExtraLarge;
3
3
  type SizeType = SizeSmall | SizeMedium;
4
4
  export type LoaderProps = {
5
5
  /**
6
- * @deprecated Use `size` instead.
7
- * @default false
6
+ * @deprecated use `size` instead
8
7
  */
9
8
  small?: boolean;
10
- /** @default 'md' */
11
9
  size?: SizeType | DeprecatedSize;
12
- /** @default false */
13
10
  displayInstantly?: boolean;
14
- /** @default {} */
15
11
  classNames?: Record<string, string>;
16
12
  'data-testid'?: string;
17
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/loader/Loader.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAQ,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGnG,KAAK,cAAc,GAAG,cAAc,GAAG,SAAS,GAAG,cAAc,CAAC;AAElE,KAAK,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AAEvC,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oBAAoB;IACpB,IAAI,CAAC,EAAE,QAAQ,GAAG,cAAc,CAAC;IACjC,qBAAqB;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,kBAAkB;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;;;;;;;;GASG;AACH,QAAA,MAAM,MAAM,GAAI,6DAMb,WAAW,gCA2Cb,CAAC;AAgBF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/loader/Loader.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAQ,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGnG,KAAK,cAAc,GAAG,cAAc,GAAG,SAAS,GAAG,cAAc,CAAC;AAElE,KAAK,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;AAEvC,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,QAAQ,GAAG,cAAc,CAAC;IACjC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF;;;;;;;;;GASG;AACH,QAAA,MAAM,MAAM,GAAI,6DAMb,WAAW,gCA2Cb,CAAC;AAgBF,eAAe,MAAM,CAAC"}
@@ -8,10 +8,7 @@ export interface LogoProps {
8
8
  className?: string;
9
9
  /** If true, will use dark colours for dark on light theme */
10
10
  inverse?: boolean;
11
- /**
12
- * What type of logo to display
13
- * @default 'WISE'
14
- */
11
+ /** What type of logo to display */
15
12
  type?: `${LogoType}`;
16
13
  }
17
14
  export default function Logo({ className, inverse, type }: LogoProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../src/logo/Logo.tsx"],"names":[],"mappings":"AA0BA,oBAAY,QAAQ;IAClB,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;CAChC;AAED,MAAM,WAAW,SAAS;IACxB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC;CACtB;AAQD,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAa,EAAE,EAAE,SAAS,+BAW5E"}
1
+ {"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../../src/logo/Logo.tsx"],"names":[],"mappings":"AA0BA,oBAAY,QAAQ;IAClB,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;CAChC;AAED,MAAM,WAAW,SAAS;IACxB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mCAAmC;IACnC,IAAI,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC;CACtB;AAQD,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAa,EAAE,EAAE,SAAS,+BAW5E"}
@@ -1,21 +1,15 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { PositionTop, PositionCenter, CommonProps, SizeSmall, SizeMedium, SizeLarge, SizeExtraLarge, ScrollContent, ScrollViewport } from '../common';
3
3
  export type ModalProps = CommonProps & {
4
- /** @default null */
5
4
  title?: ReactNode;
6
5
  body: ReactNode;
7
- /** @default null */
8
6
  footer?: ReactNode;
9
- /** @default 'md' */
10
7
  size?: SizeSmall | SizeMedium | SizeLarge | SizeExtraLarge;
11
8
  onClose: () => void;
12
9
  onUnmount?: () => void;
13
10
  open: boolean;
14
- /** @default 'viewport' */
15
11
  scroll?: ScrollContent | ScrollViewport;
16
- /** @default 'center' */
17
12
  position?: PositionTop | PositionCenter;
18
- /** @default false */
19
13
  disableDimmerClickToClose?: boolean;
20
14
  };
21
15
  declare const Modal: ({ title, body, footer, onClose, onUnmount, className, open, size, scroll, position, disableDimmerClickToClose, ...otherProps }: ModalProps) => import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/modal/Modal.tsx"],"names":[],"mappings":"AACA,OAA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;IACnB,IAAI,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,cAAc,CAAC;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,aAAa,GAAG,cAAc,CAAC;IACxC,QAAQ,CAAC,EAAE,WAAW,GAAG,cAAc,CAAC;IACxC,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,KAAK,GAAI,gIAaZ,UAAU,gCAgHZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { OptionProps, ReferenceType } from '../common/Option/Option';
2
2
  export type NavigationOptionProps = OptionProps;
3
3
  /**
4
- * @deprecated Use `<ListItem />` instead.
4
+ * @deprecated Please use `<ListItem />` instead.
5
5
  * @deprecatedSince 46.104.0
6
6
  * @see [Source](../listItem/ListItem.tsx)
7
7
  * @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)
@@ -3,7 +3,7 @@ export interface NavigationOptionListProps {
3
3
  children: React.ReactNode;
4
4
  }
5
5
  /**
6
- * @deprecated Use `<List />` and `<ListItem />` instead.
6
+ * @deprecated Please use `<List />` and `<ListItem />` instead.
7
7
  * @deprecatedSince 46.104.0
8
8
  * @see [List source](../list/List.tsx)
9
9
  * @see [ListItem source](../listItem/ListItem.tsx)
@@ -4,7 +4,7 @@ import type { AlertAction } from '../alert';
4
4
  export declare const STORAGE_NAME = "dismissedNudges";
5
5
  type MediaNameType = `${Assets.GLOBE}` | `${Assets.LOCK}` | `${Assets.WALLET}` | `${Assets.GEAR}` | `${Assets.INVITE_LETTER}` | `${Assets.PERSONAL_CARD}` | `${Assets.BUSINESS_CARD}` | `${Assets.HEART}` | `${Assets.MULTI_CURRENCY}` | `${Assets.SHOPPING_BAG}` | `${Assets.FLOWER}` | `${Assets.GIFT_BOX}` | `${Assets.BACKPACK}`;
6
6
  type BaseProps = {
7
- /** @deprecated Use `mediaName` property instead. */
7
+ /** @deprecated use `mediaName` property instead */
8
8
  media?: ReactNode;
9
9
  /** Media name */
10
10
  mediaName?: MediaNameType;
@@ -1 +1 @@
1
- {"version":3,"file":"Nudge.d.ts","sourceRoot":"","sources":["../../../src/nudge/Nudge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAA0B,MAAM,WAAW,CAAC;AAEzE,OAAO,EAAE,SAAS,EAAuB,UAAU,EAAE,MAAM,OAAO,CAAC;AAKnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAO5C,eAAO,MAAM,YAAY,oBAAoB,CAAC;AAkB9C,KAAK,aAAa,GACd,GAAG,MAAM,CAAC,KAAK,EAAE,GACjB,GAAG,MAAM,CAAC,IAAI,EAAE,GAChB,GAAG,MAAM,CAAC,MAAM,EAAE,GAClB,GAAG,MAAM,CAAC,IAAI,EAAE,GAChB,GAAG,MAAM,CAAC,aAAa,EAAE,GACzB,GAAG,MAAM,CAAC,aAAa,EAAE,GACzB,GAAG,MAAM,CAAC,aAAa,EAAE,GACzB,GAAG,MAAM,CAAC,KAAK,EAAE,GACjB,GAAG,MAAM,CAAC,cAAc,EAAE,GAC1B,GAAG,MAAM,CAAC,YAAY,EAAE,GACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAClB,GAAG,MAAM,CAAC,QAAQ,EAAE,GACpB,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;AAEzB,KAAK,SAAS,GAAG;IACf,oDAAoD;IACpD,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kBAAkB;IAClB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,UAAU,CA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