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

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 (480) 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/dateInput/DateInput.js +5 -12
  38. package/build/dateInput/DateInput.js.map +1 -1
  39. package/build/dateInput/DateInput.mjs +4 -11
  40. package/build/dateInput/DateInput.mjs.map +1 -1
  41. package/build/dimmer/Dimmer.js.map +1 -1
  42. package/build/dimmer/Dimmer.mjs.map +1 -1
  43. package/build/drawer/Drawer.js.map +1 -1
  44. package/build/drawer/Drawer.mjs.map +1 -1
  45. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +8 -16
  46. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
  47. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +6 -14
  48. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
  49. package/build/field/Field.js.map +1 -1
  50. package/build/field/Field.mjs.map +1 -1
  51. package/build/flowNavigation/FlowNavigation.js.map +1 -1
  52. package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
  53. package/build/header/Header.js.map +1 -1
  54. package/build/header/Header.mjs.map +1 -1
  55. package/build/iconButton/IconButton.js.map +1 -1
  56. package/build/iconButton/IconButton.mjs.map +1 -1
  57. package/build/index.js +7 -14
  58. package/build/index.js.map +1 -1
  59. package/build/index.mjs +3 -10
  60. package/build/index.mjs.map +1 -1
  61. package/build/inputs/SelectInput.js +890 -0
  62. package/build/inputs/SelectInput.js.map +1 -0
  63. package/build/inputs/SelectInput.messages.js.map +1 -0
  64. package/build/inputs/SelectInput.messages.mjs.map +1 -0
  65. package/build/inputs/SelectInput.mjs +881 -0
  66. package/build/inputs/SelectInput.mjs.map +1 -0
  67. package/build/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.js → _BottomSheet.js} +7 -7
  68. package/build/inputs/_BottomSheet.js.map +1 -0
  69. package/build/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.mjs → _BottomSheet.mjs} +7 -7
  70. package/build/inputs/_BottomSheet.mjs.map +1 -0
  71. package/build/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.js → _ButtonInput.js} +5 -5
  72. package/build/inputs/_ButtonInput.js.map +1 -0
  73. package/build/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.mjs → _ButtonInput.mjs} +5 -5
  74. package/build/inputs/_ButtonInput.mjs.map +1 -0
  75. package/build/inputs/{SelectInput/Popover/SelectInputPopover.js → _Popover.js} +7 -7
  76. package/build/inputs/_Popover.js.map +1 -0
  77. package/build/inputs/{SelectInput/Popover/SelectInputPopover.mjs → _Popover.mjs} +7 -7
  78. package/build/inputs/_Popover.mjs.map +1 -0
  79. package/build/legacylistItem/LegacyListItem.js.map +1 -1
  80. package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
  81. package/build/list/List.js.map +1 -1
  82. package/build/list/List.mjs.map +1 -1
  83. package/build/listItem/Button/ListItemButton.js.map +1 -1
  84. package/build/listItem/Button/ListItemButton.mjs.map +1 -1
  85. package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
  86. package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
  87. package/build/listItem/Image/ListItemImage.js.map +1 -1
  88. package/build/listItem/Image/ListItemImage.mjs.map +1 -1
  89. package/build/listItem/ListItem.js.map +1 -1
  90. package/build/listItem/ListItem.mjs.map +1 -1
  91. package/build/loader/Loader.js.map +1 -1
  92. package/build/loader/Loader.mjs.map +1 -1
  93. package/build/logo/Logo.js.map +1 -1
  94. package/build/logo/Logo.mjs.map +1 -1
  95. package/build/main.css +126 -126
  96. package/build/modal/Modal.js.map +1 -1
  97. package/build/modal/Modal.mjs.map +1 -1
  98. package/build/moneyInput/MoneyInput.js +2 -9
  99. package/build/moneyInput/MoneyInput.js.map +1 -1
  100. package/build/moneyInput/MoneyInput.mjs +1 -8
  101. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  102. package/build/navigationOption/NavigationOption.js.map +1 -1
  103. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  104. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  105. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  106. package/build/nudge/Nudge.js.map +1 -1
  107. package/build/nudge/Nudge.mjs.map +1 -1
  108. package/build/phoneNumberInput/PhoneNumberInput.js +3 -10
  109. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  110. package/build/phoneNumberInput/PhoneNumberInput.mjs +2 -9
  111. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  112. package/build/popover/Popover.js.map +1 -1
  113. package/build/popover/Popover.mjs.map +1 -1
  114. package/build/processIndicator/ProcessIndicator.js.map +1 -1
  115. package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
  116. package/build/prompt/ActionPrompt/ActionPrompt.js.map +1 -1
  117. package/build/prompt/ActionPrompt/ActionPrompt.mjs.map +1 -1
  118. package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
  119. package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
  120. package/build/radioOption/RadioOption.js.map +1 -1
  121. package/build/radioOption/RadioOption.mjs.map +1 -1
  122. package/build/select/Select.js.map +1 -1
  123. package/build/select/Select.mjs.map +1 -1
  124. package/build/statusIcon/StatusIcon.js.map +1 -1
  125. package/build/statusIcon/StatusIcon.mjs.map +1 -1
  126. package/build/styles/main.css +126 -126
  127. package/build/styles/sentimentSurface/SentimentSurface.css +36 -36
  128. package/build/summary/Summary.js +1 -1
  129. package/build/summary/Summary.js.map +1 -1
  130. package/build/summary/Summary.mjs +1 -1
  131. package/build/summary/Summary.mjs.map +1 -1
  132. package/build/switchOption/SwitchOption.js +1 -1
  133. package/build/switchOption/SwitchOption.js.map +1 -1
  134. package/build/switchOption/SwitchOption.mjs +1 -1
  135. package/build/switchOption/SwitchOption.mjs.map +1 -1
  136. package/build/tabs/Tabs.js.map +1 -1
  137. package/build/tabs/Tabs.mjs.map +1 -1
  138. package/build/typeahead/Typeahead.js.map +1 -1
  139. package/build/typeahead/Typeahead.mjs.map +1 -1
  140. package/build/types/accordion/Accordion.d.ts +8 -2
  141. package/build/types/accordion/Accordion.d.ts.map +1 -1
  142. package/build/types/actionButton/ActionButton.d.ts +6 -4
  143. package/build/types/actionButton/ActionButton.d.ts.map +1 -1
  144. package/build/types/actionOption/ActionOption.d.ts +1 -1
  145. package/build/types/alert/Alert.d.ts +5 -2
  146. package/build/types/alert/Alert.d.ts.map +1 -1
  147. package/build/types/avatar/Avatar.d.ts +4 -0
  148. package/build/types/avatar/Avatar.d.ts.map +1 -1
  149. package/build/types/avatarLayout/AvatarLayout.d.ts +5 -1
  150. package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -1
  151. package/build/types/badge/Badge.d.ts +2 -0
  152. package/build/types/badge/Badge.d.ts.map +1 -1
  153. package/build/types/body/Body.d.ts +2 -6
  154. package/build/types/body/Body.d.ts.map +1 -1
  155. package/build/types/button/Button.types.d.ts +4 -1
  156. package/build/types/button/Button.types.d.ts.map +1 -1
  157. package/build/types/button/LegacyButton.d.ts +4 -4
  158. package/build/types/card/Card.d.ts +1 -0
  159. package/build/types/card/Card.d.ts.map +1 -1
  160. package/build/types/checkboxButton/CheckboxButton.d.ts +2 -0
  161. package/build/types/checkboxButton/CheckboxButton.d.ts.map +1 -1
  162. package/build/types/checkboxOption/CheckboxOption.d.ts +1 -1
  163. package/build/types/circularButton/CircularButton.d.ts +1 -1
  164. package/build/types/circularButton/CircularButton.d.ts.map +1 -1
  165. package/build/types/common/propsValues/type.d.ts +1 -1
  166. package/build/types/common/propsValues/typography.d.ts +2 -2
  167. package/build/types/dateInput/DateInput.d.ts +5 -0
  168. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  169. package/build/types/dimmer/Dimmer.d.ts +6 -0
  170. package/build/types/dimmer/Dimmer.d.ts.map +1 -1
  171. package/build/types/drawer/Drawer.d.ts +8 -2
  172. package/build/types/drawer/Drawer.d.ts.map +1 -1
  173. package/build/types/field/Field.d.ts +5 -2
  174. package/build/types/field/Field.d.ts.map +1 -1
  175. package/build/types/flowNavigation/FlowNavigation.d.ts +3 -0
  176. package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -1
  177. package/build/types/header/Header.d.ts +5 -1
  178. package/build/types/header/Header.d.ts.map +1 -1
  179. package/build/types/iconButton/IconButton.d.ts +6 -0
  180. package/build/types/iconButton/IconButton.d.ts.map +1 -1
  181. package/build/types/inputs/{SelectInput/SelectInput.types.d.ts → SelectInput.d.ts} +38 -12
  182. package/build/types/inputs/SelectInput.d.ts.map +1 -0
  183. package/build/types/inputs/SelectInput.messages.d.ts.map +1 -0
  184. package/build/types/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.d.ts → _BottomSheet.d.ts} +3 -3
  185. package/build/types/inputs/_BottomSheet.d.ts.map +1 -0
  186. package/build/types/inputs/_ButtonInput.d.ts +5 -0
  187. package/build/types/inputs/_ButtonInput.d.ts.map +1 -0
  188. package/build/types/inputs/{SelectInput/Popover/SelectInputPopover.d.ts → _Popover.d.ts} +3 -3
  189. package/build/types/inputs/_Popover.d.ts.map +1 -0
  190. package/build/types/legacylistItem/LegacyListItem.d.ts +1 -1
  191. package/build/types/list/List.d.ts +1 -0
  192. package/build/types/list/List.d.ts.map +1 -1
  193. package/build/types/listItem/Button/ListItemButton.d.ts +4 -0
  194. package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -1
  195. package/build/types/listItem/IconButton/ListItemIconButton.d.ts +3 -1
  196. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -1
  197. package/build/types/listItem/Image/ListItemImage.d.ts +2 -0
  198. package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -1
  199. package/build/types/listItem/ListItem.d.ts +3 -0
  200. package/build/types/listItem/ListItem.d.ts.map +1 -1
  201. package/build/types/loader/Loader.d.ts +5 -1
  202. package/build/types/loader/Loader.d.ts.map +1 -1
  203. package/build/types/logo/Logo.d.ts +4 -1
  204. package/build/types/logo/Logo.d.ts.map +1 -1
  205. package/build/types/modal/Modal.d.ts +6 -0
  206. package/build/types/modal/Modal.d.ts.map +1 -1
  207. package/build/types/navigationOption/NavigationOption.d.ts +1 -1
  208. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +1 -1
  209. package/build/types/nudge/Nudge.d.ts +1 -1
  210. package/build/types/nudge/Nudge.d.ts.map +1 -1
  211. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts +7 -1
  212. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
  213. package/build/types/popover/Popover.d.ts +1 -0
  214. package/build/types/popover/Popover.d.ts.map +1 -1
  215. package/build/types/processIndicator/ProcessIndicator.d.ts +2 -0
  216. package/build/types/processIndicator/ProcessIndicator.d.ts.map +1 -1
  217. package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts +8 -1
  218. package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts.map +1 -1
  219. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts +1 -0
  220. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -1
  221. package/build/types/radioOption/RadioOption.d.ts +1 -1
  222. package/build/types/select/Select.d.ts +4 -0
  223. package/build/types/select/Select.d.ts.map +1 -1
  224. package/build/types/statusIcon/StatusIcon.d.ts +3 -1
  225. package/build/types/statusIcon/StatusIcon.d.ts.map +1 -1
  226. package/build/types/summary/Summary.d.ts +7 -4
  227. package/build/types/summary/Summary.d.ts.map +1 -1
  228. package/build/types/switchOption/SwitchOption.d.ts +1 -1
  229. package/build/types/tabs/Tabs.d.ts +2 -0
  230. package/build/types/tabs/Tabs.d.ts.map +1 -1
  231. package/build/types/typeahead/Typeahead.d.ts +14 -1
  232. package/build/types/typeahead/Typeahead.d.ts.map +1 -1
  233. package/build/types/upload/Upload.d.ts +6 -0
  234. package/build/types/upload/Upload.d.ts.map +1 -1
  235. package/build/types/uploadInput/UploadInput.d.ts +10 -1
  236. package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
  237. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +3 -0
  238. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -1
  239. package/build/upload/Upload.js.map +1 -1
  240. package/build/upload/Upload.mjs.map +1 -1
  241. package/build/uploadInput/UploadInput.js.map +1 -1
  242. package/build/uploadInput/UploadInput.mjs.map +1 -1
  243. package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
  244. package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
  245. package/package.json +1 -1
  246. package/src/accordion/Accordion.tsx +8 -2
  247. package/src/actionButton/ActionButton.tsx +4 -3
  248. package/src/actionOption/ActionOption.tsx +1 -1
  249. package/src/alert/Alert.tsx +5 -2
  250. package/src/avatar/Avatar.tsx +4 -0
  251. package/src/avatarLayout/AvatarLayout.tsx +5 -1
  252. package/src/badge/Badge.tsx +2 -0
  253. package/src/body/Body.tsx +2 -6
  254. package/src/button/Button.types.ts +4 -1
  255. package/src/button/LegacyButton.tsx +4 -4
  256. package/src/card/Card.tsx +1 -0
  257. package/src/checkboxButton/CheckboxButton.tsx +1 -0
  258. package/src/checkboxOption/CheckboxOption.tsx +1 -1
  259. package/src/circularButton/CircularButton.tsx +1 -2
  260. package/src/common/propsValues/type.ts +1 -1
  261. package/src/common/propsValues/typography.ts +2 -2
  262. package/src/dateInput/DateInput.tsx +5 -0
  263. package/src/dimmer/Dimmer.tsx +6 -0
  264. package/src/drawer/Drawer.tsx +8 -2
  265. package/src/field/Field.tsx +5 -2
  266. package/src/flowNavigation/FlowNavigation.tsx +3 -0
  267. package/src/header/Header.tsx +5 -1
  268. package/src/iconButton/IconButton.tsx +3 -0
  269. package/src/inputs/{SelectInput/_stories/SelectInput.docs.mdx → SelectInput.docs.mdx} +1 -0
  270. package/src/inputs/SelectInput.less +219 -0
  271. package/src/inputs/{SelectInput/_stories/SelectInput.story.tsx → SelectInput.story.tsx} +8 -11
  272. package/src/inputs/{SelectInput/_stories/SelectInput.test.story.tsx → SelectInput.test.story.tsx} +10 -5
  273. package/src/inputs/{SelectInput/SelectInput.test.tsx → SelectInput.test.tsx} +11 -9
  274. package/src/inputs/SelectInput.tsx +1269 -0
  275. package/src/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.tsx → _BottomSheet.tsx} +7 -7
  276. package/src/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.tsx → _ButtonInput.tsx} +5 -5
  277. package/src/inputs/{SelectInput/Popover/SelectInputPopover.tsx → _Popover.tsx} +7 -7
  278. package/src/legacylistItem/LegacyListItem.tsx +1 -1
  279. package/src/list/List.tsx +1 -0
  280. package/src/listItem/Button/ListItemButton.tsx +2 -0
  281. package/src/listItem/IconButton/ListItemIconButton.tsx +3 -1
  282. package/src/listItem/Image/ListItemImage.tsx +2 -0
  283. package/src/listItem/ListItem.tsx +2 -0
  284. package/src/loader/Loader.tsx +6 -2
  285. package/src/logo/Logo.tsx +4 -1
  286. package/src/main.css +126 -126
  287. package/src/main.less +1 -1
  288. package/src/modal/Modal.tsx +6 -0
  289. package/src/navigationOption/NavigationOption.tsx +1 -1
  290. package/src/navigationOptionsList/NavigationOptionsList.tsx +1 -1
  291. package/src/nudge/Nudge.tsx +1 -1
  292. package/src/phoneNumberInput/PhoneNumberInput.tsx +7 -1
  293. package/src/popover/Popover.tsx +1 -0
  294. package/src/processIndicator/ProcessIndicator.tsx +2 -0
  295. package/src/prompt/ActionPrompt/ActionPrompt.tsx +8 -1
  296. package/src/prompt/InlinePrompt/InlinePrompt.tsx +1 -0
  297. package/src/radioOption/RadioOption.tsx +1 -1
  298. package/src/select/Select.tsx +4 -0
  299. package/src/sentimentSurface/SentimentSurface.css +36 -36
  300. package/src/sentimentSurface/SentimentSurface.less +12 -12
  301. package/src/statusIcon/StatusIcon.tsx +3 -1
  302. package/src/summary/Summary.tsx +7 -4
  303. package/src/switchOption/SwitchOption.tsx +1 -1
  304. package/src/tabs/Tabs.tsx +2 -0
  305. package/src/typeahead/Typeahead.tsx +14 -2
  306. package/src/upload/Upload.tsx +6 -0
  307. package/src/uploadInput/UploadInput.tsx +12 -4
  308. package/src/withDisplayFormat/WithDisplayFormat.tsx +3 -0
  309. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +0 -1
  310. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +0 -1
  311. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +0 -1
  312. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +0 -1
  313. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js +0 -27
  314. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +0 -1
  315. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +0 -25
  316. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +0 -1
  317. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js +0 -59
  318. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +0 -1
  319. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs +0 -56
  320. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +0 -1
  321. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js +0 -50
  322. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +0 -1
  323. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs +0 -48
  324. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +0 -1
  325. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js +0 -47
  326. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +0 -1
  327. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs +0 -45
  328. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +0 -1
  329. package/build/inputs/SelectInput/Option/SelectInputOption.js +0 -42
  330. package/build/inputs/SelectInput/Option/SelectInputOption.js.map +0 -1
  331. package/build/inputs/SelectInput/Option/SelectInputOption.mjs +0 -40
  332. package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +0 -1
  333. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js +0 -40
  334. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +0 -1
  335. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +0 -38
  336. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +0 -1
  337. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js +0 -48
  338. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +0 -1
  339. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs +0 -46
  340. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +0 -1
  341. package/build/inputs/SelectInput/Options/SelectInputOptions.js +0 -300
  342. package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +0 -1
  343. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs +0 -298
  344. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +0 -1
  345. package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +0 -1
  346. package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +0 -1
  347. package/build/inputs/SelectInput/SelectInput.contexts.js +0 -29
  348. package/build/inputs/SelectInput/SelectInput.contexts.js.map +0 -1
  349. package/build/inputs/SelectInput/SelectInput.contexts.mjs +0 -24
  350. package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +0 -1
  351. package/build/inputs/SelectInput/SelectInput.js +0 -222
  352. package/build/inputs/SelectInput/SelectInput.js.map +0 -1
  353. package/build/inputs/SelectInput/SelectInput.messages.js.map +0 -1
  354. package/build/inputs/SelectInput/SelectInput.messages.mjs.map +0 -1
  355. package/build/inputs/SelectInput/SelectInput.mjs +0 -216
  356. package/build/inputs/SelectInput/SelectInput.mjs.map +0 -1
  357. package/build/inputs/SelectInput/SelectInput.utils.js +0 -164
  358. package/build/inputs/SelectInput/SelectInput.utils.js.map +0 -1
  359. package/build/inputs/SelectInput/SelectInput.utils.mjs +0 -154
  360. package/build/inputs/SelectInput/SelectInput.utils.mjs.map +0 -1
  361. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js +0 -42
  362. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +0 -1
  363. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs +0 -36
  364. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +0 -1
  365. package/build/styles/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
  366. package/build/styles/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -16
  367. package/build/styles/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
  368. package/build/styles/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
  369. package/build/styles/inputs/SelectInput/Option/SelectInputOption.css +0 -33
  370. package/build/styles/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
  371. package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
  372. package/build/styles/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
  373. package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +0 -1
  374. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts +0 -3
  375. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +0 -1
  376. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +0 -5
  377. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +0 -1
  378. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts +0 -3
  379. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +0 -1
  380. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts +0 -7
  381. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +0 -1
  382. package/build/types/inputs/SelectInput/ClearButton/index.d.ts +0 -3
  383. package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +0 -1
  384. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +0 -16
  385. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +0 -1
  386. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts +0 -2
  387. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +0 -1
  388. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +0 -9
  389. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +0 -1
  390. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts +0 -3
  391. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +0 -1
  392. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts +0 -11
  393. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +0 -1
  394. package/build/types/inputs/SelectInput/ItemView/index.d.ts +0 -4
  395. package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +0 -1
  396. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts +0 -11
  397. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +0 -1
  398. package/build/types/inputs/SelectInput/Option/index.d.ts +0 -3
  399. package/build/types/inputs/SelectInput/Option/index.d.ts.map +0 -1
  400. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +0 -13
  401. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +0 -1
  402. package/build/types/inputs/SelectInput/OptionContent/index.d.ts +0 -3
  403. package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +0 -1
  404. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +0 -9
  405. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +0 -1
  406. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts +0 -3
  407. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +0 -1
  408. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts +0 -21
  409. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +0 -1
  410. package/build/types/inputs/SelectInput/Options/index.d.ts +0 -4
  411. package/build/types/inputs/SelectInput/Options/index.d.ts.map +0 -1
  412. package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +0 -1
  413. package/build/types/inputs/SelectInput/Popover/index.d.ts +0 -3
  414. package/build/types/inputs/SelectInput/Popover/index.d.ts.map +0 -1
  415. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts +0 -33
  416. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +0 -1
  417. package/build/types/inputs/SelectInput/SelectInput.d.ts +0 -10
  418. package/build/types/inputs/SelectInput/SelectInput.d.ts.map +0 -1
  419. package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +0 -1
  420. package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +0 -1
  421. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts +0 -61
  422. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +0 -1
  423. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +0 -12
  424. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +0 -1
  425. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts +0 -3
  426. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +0 -1
  427. package/build/types/inputs/SelectInput/components.d.ts +0 -10
  428. package/build/types/inputs/SelectInput/components.d.ts.map +0 -1
  429. package/build/types/inputs/SelectInput/index.d.ts +0 -12
  430. package/build/types/inputs/SelectInput/index.d.ts.map +0 -1
  431. package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
  432. package/src/inputs/SelectInput/BottomSheet/index.ts +0 -2
  433. package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -16
  434. package/src/inputs/SelectInput/ButtonInput/index.ts +0 -2
  435. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
  436. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.less +0 -40
  437. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +0 -29
  438. package/src/inputs/SelectInput/ClearButton/index.ts +0 -2
  439. package/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx +0 -74
  440. package/src/inputs/SelectInput/DefaultRenderTrigger/index.ts +0 -5
  441. package/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx +0 -61
  442. package/src/inputs/SelectInput/ItemView/GroupItemView/index.ts +0 -2
  443. package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
  444. package/src/inputs/SelectInput/ItemView/SelectInputItemView.less +0 -17
  445. package/src/inputs/SelectInput/ItemView/SelectInputItemView.tsx +0 -48
  446. package/src/inputs/SelectInput/ItemView/index.ts +0 -3
  447. package/src/inputs/SelectInput/Option/SelectInputOption.css +0 -33
  448. package/src/inputs/SelectInput/Option/SelectInputOption.less +0 -32
  449. package/src/inputs/SelectInput/Option/SelectInputOption.tsx +0 -57
  450. package/src/inputs/SelectInput/Option/index.ts +0 -2
  451. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
  452. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.less +0 -38
  453. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +0 -72
  454. package/src/inputs/SelectInput/OptionContent/index.ts +0 -2
  455. package/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx +0 -59
  456. package/src/inputs/SelectInput/Options/OptionsContainer/index.ts +0 -2
  457. package/src/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
  458. package/src/inputs/SelectInput/Options/SelectInputOptions.less +0 -77
  459. package/src/inputs/SelectInput/Options/SelectInputOptions.tsx +0 -411
  460. package/src/inputs/SelectInput/Options/index.ts +0 -3
  461. package/src/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
  462. package/src/inputs/SelectInput/Popover/index.ts +0 -2
  463. package/src/inputs/SelectInput/SelectInput.contexts.tsx +0 -40
  464. package/src/inputs/SelectInput/SelectInput.less +0 -22
  465. package/src/inputs/SelectInput/SelectInput.tsx +0 -257
  466. package/src/inputs/SelectInput/SelectInput.types.ts +0 -113
  467. package/src/inputs/SelectInput/SelectInput.utils.ts +0 -206
  468. package/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +0 -36
  469. package/src/inputs/SelectInput/TriggerButton/index.ts +0 -5
  470. package/src/inputs/SelectInput/components.ts +0 -10
  471. package/src/inputs/SelectInput/index.ts +0 -14
  472. package/build/inputs/{SelectInput/SelectInput.messages.js → SelectInput.messages.js} +0 -0
  473. package/build/inputs/{SelectInput/SelectInput.messages.mjs → SelectInput.messages.mjs} +0 -0
  474. package/build/styles/inputs/{SelectInput/SelectInput.css → SelectInput.css} +90 -90
  475. package/build/types/inputs/{SelectInput/SelectInput.messages.d.ts → SelectInput.messages.d.ts} +0 -0
  476. package/src/inputs/{SelectInput/SelectInput.css → SelectInput.css} +90 -90
  477. /package/src/inputs/{SelectInput/SelectInput.messages.ts → SelectInput.messages.ts} +0 -0
  478. /package/src/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.less → _BottomSheet.less} +0 -0
  479. /package/src/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.less → _ButtonInput.less} +0 -0
  480. /package/src/inputs/{SelectInput/Popover/SelectInputPopover.less → _Popover.less} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectInputOptionContent.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EACvC,KAAK,EACL,IAAI,EACJ,WAAW,EACX,IAAI,GACL,EAAE,6BAA6B,+BAkD/B"}
@@ -1,3 +0,0 @@
1
- export { SelectInputOptionContent } from './SelectInputOptionContent';
2
- export type { SelectInputOptionContentProps } from './SelectInputOptionContent';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/OptionContent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC"}
@@ -1,9 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- export { SelectInputOptionsContainer } from './SelectInputOptionsContainer';
2
- export type { SelectInputOptionsContainerProps } from './SelectInputOptionsContainer';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,21 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,4 +0,0 @@
1
- export { SelectInputOptions } from './SelectInputOptions';
2
- export type { SelectInputOptionsProps } from './SelectInputOptions';
3
- export * from './OptionsContainer';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- export { SelectInputPopover } from './SelectInputPopover';
2
- export type { SelectInputPopoverProps } from './SelectInputPopover';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,33 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectInput.messages.d.ts","sourceRoot":"","sources":["../../../../src/inputs/SelectInput/SelectInput.messages.ts"],"names":[],"mappings":";;;;;;;AAEA,wBAMG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SelectInput.types.d.ts","sourceRoot":"","sources":["../../../../src/inputs/SelectInput/SelectInput.types.ts"],"names":[],"mappings":"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"}
@@ -1,61 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- export { SelectInputTriggerButton } from './SelectInputTriggerButton';
2
- export type { SelectInputTriggerButtonElementType, SelectInputTriggerButtonProps, } from './SelectInputTriggerButton';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,10 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,12 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,96 +0,0 @@
1
- .np-bottom-sheet-v2-container {
2
- position: relative;
3
- z-index: 1060;
4
- }
5
- .np-bottom-sheet-v2-backdrop {
6
- position: fixed;
7
- inset: 0px;
8
- background-color: #37517e;
9
- background-color: var(--color-content-primary);
10
- opacity: 0.4;
11
- transition-property: opacity;
12
- transition-timing-function: ease-out;
13
- transition-duration: 300ms;
14
- }
15
- .np-bottom-sheet-v2-backdrop--closed {
16
- opacity: 0;
17
- }
18
- .np-bottom-sheet-v2 {
19
- position: fixed;
20
- inset: 0px;
21
- bottom: env(keyboard-inset-height, 0px);
22
- margin-left: 8px;
23
- margin-left: var(--size-8);
24
- margin-right: 8px;
25
- margin-right: var(--size-8);
26
- margin-top: 64px;
27
- margin-top: var(--size-64);
28
- display: flex;
29
- flex-direction: column;
30
- justify-content: flex-end;
31
- }
32
- .np-bottom-sheet-v2-content {
33
- display: flex;
34
- flex-direction: column;
35
- overflow: auto;
36
- border-top-left-radius: 32px;
37
- /* TODO: Tokenize */
38
- border-top-right-radius: 32px;
39
- /* TODO: Tokenize */
40
- background-color: #ffffff;
41
- background-color: var(--color-background-elevated);
42
- box-shadow: 0 0 40px rgba(69, 71, 69, 0.2);
43
- }
44
- .np-bottom-sheet-v2-content:focus {
45
- outline: none;
46
- }
47
- @media (prefers-reduced-motion: no-preference) {
48
- .np-bottom-sheet-v2-content {
49
- transition-property: transform;
50
- transition-timing-function: ease-out;
51
- transition-duration: 300ms;
52
- }
53
- .np-bottom-sheet-v2-content--closed {
54
- transform: translateY(100%);
55
- }
56
- }
57
- @media (prefers-reduced-motion: reduce) {
58
- .np-bottom-sheet-v2-content {
59
- transition-property: opacity;
60
- transition-timing-function: ease-out;
61
- transition-duration: 300ms;
62
- }
63
- .np-bottom-sheet-v2-content--closed {
64
- opacity: 0;
65
- }
66
- }
67
- .np-bottom-sheet-v2-header {
68
- align-self: flex-end;
69
- padding: 16px;
70
- padding: var(--size-16);
71
- }
72
- .np-bottom-sheet-v2-content-inner {
73
- display: grid;
74
- grid-template-rows: minmax(0, 1fr);
75
- grid-row-gap: 8px;
76
- grid-row-gap: var(--size-8);
77
- row-gap: 8px;
78
- row-gap: var(--size-8);
79
- overflow: auto;
80
- }
81
- .np-bottom-sheet-v2-content-inner--has-title {
82
- grid-template-rows: auto minmax(0, 1fr);
83
- }
84
- .np-bottom-sheet-v2-content-inner--padding-md {
85
- padding: 16px;
86
- padding: var(--size-16);
87
- padding-top: 0px;
88
- }
89
- .np-bottom-sheet-v2-title {
90
- color: #37517e;
91
- color: var(--color-content-primary);
92
- }
93
- .np-bottom-sheet-v2-body {
94
- color: #5d7079;
95
- color: var(--color-content-secondary);
96
- }
@@ -1,2 +0,0 @@
1
- export { SelectInputBottomSheet } from './SelectInputBottomSheet';
2
- export type { SelectInputBottomSheetProps } from './SelectInputBottomSheet';
@@ -1,16 +0,0 @@
1
- .np-button-input {
2
- display: inline-grid;
3
- grid-auto-columns: minmax(0, 1fr);
4
- align-content: center;
5
- border-radius: 10px;
6
- border-radius: var(--size-10);
7
- text-align: start;
8
- }
9
- .np-button-input:has(.np-select-input-option-description-in-trigger) {
10
- height: auto !important;
11
- align-content: start;
12
- padding-top: 12px !important;
13
- padding-top: var(--size-12) !important;
14
- padding-bottom: 12px !important;
15
- padding-bottom: var(--size-12) !important;
16
- }
@@ -1,2 +0,0 @@
1
- export { SelectInputButtonInput } from './SelectInputButtonInput';
2
- export type { SelectInputButtonInputProps } from './SelectInputButtonInput';
@@ -1,46 +0,0 @@
1
- .np-select-input-addon-container {
2
- pointer-events: none;
3
- margin-inline-start: 4px;
4
- margin-inline-start: var(--size-4);
5
- display: inline-flex;
6
- align-items: center;
7
- }
8
- .np-select-input-addon-container > :not([hidden]) ~ :not([hidden]) {
9
- margin-inline-start: 4px;
10
- margin-inline-start: var(--size-4);
11
- }
12
- .np-select-input-addon {
13
- border-width: 0;
14
- background: none;
15
- display: inline-flex;
16
- height: 24px;
17
- height: var(--size-24);
18
- width: 24px;
19
- width: var(--size-24);
20
- align-items: center;
21
- justify-content: center;
22
- border-radius: 0.125rem /* 2px */;
23
- /* TODO: Tokenize */
24
- }
25
- .np-select-input-addon--interactive {
26
- pointer-events: auto;
27
- color: #c9cbce;
28
- color: var(--color-interactive-secondary);
29
- }
30
- .np-select-input-addon--interactive:hover {
31
- color: #b5b7ba;
32
- color: var(--color-interactive-secondary-hover);
33
- }
34
- .np-select-input-addon--interactive:focus {
35
- outline: none;
36
- }
37
- .np-select-input-addon--interactive:focus-visible {
38
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
39
- outline-offset: var(--ring-outline-offset);
40
- }
41
- .np-select-input-addon-separator {
42
- height: 24px;
43
- height: var(--size-24);
44
- border-inline-start: 1px solid rgba(0,0,0,0.10196);
45
- border-inline-start: 1px solid var(--color-border-neutral);
46
- }
@@ -1,40 +0,0 @@
1
- @import (reference) "../../../../node_modules/@transferwise/neptune-css/src/less/ring.less";
2
-
3
- .np-select-input-addon-container {
4
- pointer-events: none;
5
- margin-inline-start: var(--size-4);
6
- display: inline-flex;
7
- align-items: center;
8
-
9
- & > :not([hidden]) ~ :not([hidden]) {
10
- margin-inline-start: var(--size-4);
11
- }
12
- }
13
-
14
- .np-select-input-addon {
15
- border-width: 0;
16
- background: none;
17
-
18
- display: inline-flex;
19
- height: var(--size-24);
20
- width: var(--size-24);
21
- align-items: center;
22
- justify-content: center;
23
- border-radius: 0.125rem /* 2px */; /* TODO: Tokenize */
24
-
25
- &--interactive {
26
- pointer-events: auto;
27
- color: var(--color-interactive-secondary);
28
-
29
- &:hover {
30
- color: var(--color-interactive-secondary-hover);
31
- }
32
-
33
- .focus-ring();
34
- }
35
- }
36
-
37
- .np-select-input-addon-separator {
38
- height: var(--size-24);
39
- border-inline-start: 1px solid var(--color-border-neutral);
40
- }
@@ -1,29 +0,0 @@
1
- import { Cross } from '@transferwise/icons';
2
- import { clsx } from 'clsx';
3
- import { useIntl } from 'react-intl';
4
- import dateTriggerMessages from '../../../dateLookup/dateTrigger/DateTrigger.messages';
5
-
6
- export interface SelectInputClearButtonProps extends Pick<
7
- React.ComponentPropsWithoutRef<'button'>,
8
- 'className' | 'onClick'
9
- > {}
10
-
11
- /**
12
- * A button component used to clear the selected value in a SelectInput.
13
- */
14
- export function SelectInputClearButton({ className, onClick }: SelectInputClearButtonProps) {
15
- const intl = useIntl();
16
-
17
- return (
18
- <button
19
- type="button"
20
- aria-label={intl.formatMessage(dateTriggerMessages.ariaLabel)}
21
- className={clsx(className, 'np-select-input-addon np-select-input-addon--interactive')}
22
- onClick={onClick}
23
- >
24
- <Cross size={16} />
25
- </button>
26
- );
27
- }
28
-
29
- // Type is already exported above
@@ -1,2 +0,0 @@
1
- export { SelectInputClearButton } from './SelectInputClearButton';
2
- export type { SelectInputClearButtonProps } from './SelectInputClearButton';
@@ -1,74 +0,0 @@
1
- import { ChevronDown } from '@transferwise/icons';
2
- import { clsx } from 'clsx';
3
- import React from 'react';
4
-
5
- import { InputGroup } from "../../InputGroup";
6
- import { SelectInputClearButton } from '../ClearButton';
7
- import { SelectInputTriggerButton } from '../TriggerButton';
8
- import { SelectInputProps } from '../SelectInput.types';
9
- import { SelectInputButtonInput } from '../ButtonInput';
10
-
11
- export interface SelectInputDefaultRenderTriggerProps {
12
- content: React.ReactNode;
13
- placeholderShown: boolean;
14
- clear: (() => void) | undefined;
15
- disabled: boolean;
16
- size: 'sm' | 'md' | 'lg';
17
- className: string | undefined;
18
- }
19
-
20
- /**
21
- * Default render function for the SelectInput trigger.
22
- * Displays the selected value or placeholder with clear button and dropdown indicator.
23
- */
24
- export function SelectInputDefaultRenderTrigger({
25
- content,
26
- placeholderShown,
27
- clear,
28
- disabled,
29
- size,
30
- className,
31
- }: SelectInputDefaultRenderTriggerProps) {
32
- return (
33
- <InputGroup
34
- addonEnd={{
35
- content: (
36
- <span className={clsx('np-select-input-addon-container', disabled && 'disabled')}>
37
- {clear != null && !placeholderShown ? (
38
- <>
39
- <SelectInputClearButton
40
- onClick={(event) => {
41
- event.preventDefault();
42
- clear();
43
- }}
44
- />
45
- <span className="np-select-input-addon-separator" />
46
- </>
47
- ) : null}
48
- <span className="np-select-input-addon">
49
- <ChevronDown size={16} />
50
- </span>
51
- </span>
52
- ),
53
- initialContentWidth: 24 + 4,
54
- padding: 'sm',
55
- }}
56
- disabled={disabled}
57
- className={className}
58
- >
59
- <SelectInputTriggerButton as={SelectInputButtonInput} size={size}>
60
- <span
61
- className={clsx(
62
- 'np-select-input-content',
63
- placeholderShown && 'np-select-input-placeholder',
64
- )}
65
- >
66
- {content}
67
- </span>
68
- </SelectInputTriggerButton>
69
- </InputGroup>
70
- );
71
- }
72
-
73
- export const DefaultRenderTrigger =
74
- SelectInputDefaultRenderTrigger satisfies SelectInputProps['renderTrigger'];
@@ -1,5 +0,0 @@
1
- export {
2
- SelectInputDefaultRenderTrigger,
3
- DefaultRenderTrigger,
4
- type SelectInputDefaultRenderTriggerProps,
5
- } from './SelectInputDefaultRenderTrigger';