@transferwise/components 0.0.0-experimental-7be6e59 → 0.0.0-experimental-5f9d7b4

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 (239) hide show
  1. package/build/dateInput/DateInput.js +12 -5
  2. package/build/dateInput/DateInput.js.map +1 -1
  3. package/build/dateInput/DateInput.mjs +11 -4
  4. package/build/dateInput/DateInput.mjs.map +1 -1
  5. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +16 -8
  6. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
  7. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +14 -6
  8. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
  9. package/build/index.js +12 -7
  10. package/build/index.js.map +1 -1
  11. package/build/index.mjs +9 -3
  12. package/build/index.mjs.map +1 -1
  13. package/build/inputs/{_BottomSheet.js → SelectInput/BottomSheet/SelectInputBottomSheet.js} +7 -7
  14. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -0
  15. package/build/inputs/{_BottomSheet.mjs → SelectInput/BottomSheet/SelectInputBottomSheet.mjs} +7 -7
  16. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -0
  17. package/build/inputs/{_ButtonInput.js → SelectInput/ButtonInput/SelectInputButtonInput.js} +5 -5
  18. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +1 -0
  19. package/build/inputs/{_ButtonInput.mjs → SelectInput/ButtonInput/SelectInputButtonInput.mjs} +5 -5
  20. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +1 -0
  21. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js +26 -0
  22. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -0
  23. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +24 -0
  24. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +1 -0
  25. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js +59 -0
  26. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +1 -0
  27. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs +56 -0
  28. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +1 -0
  29. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js +50 -0
  30. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +1 -0
  31. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs +48 -0
  32. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +1 -0
  33. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js +47 -0
  34. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +1 -0
  35. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs +45 -0
  36. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +1 -0
  37. package/build/inputs/SelectInput/Option/SelectInputOption.js +42 -0
  38. package/build/inputs/SelectInput/Option/SelectInputOption.js.map +1 -0
  39. package/build/inputs/SelectInput/Option/SelectInputOption.mjs +40 -0
  40. package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -0
  41. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js +40 -0
  42. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -0
  43. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +38 -0
  44. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -0
  45. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js +48 -0
  46. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +1 -0
  47. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs +46 -0
  48. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +1 -0
  49. package/build/inputs/SelectInput/Options/SelectInputOptions.js +300 -0
  50. package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +1 -0
  51. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs +298 -0
  52. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +1 -0
  53. package/build/inputs/{_Popover.js → SelectInput/Popover/SelectInputPopover.js} +7 -7
  54. package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -0
  55. package/build/inputs/{_Popover.mjs → SelectInput/Popover/SelectInputPopover.mjs} +7 -7
  56. package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -0
  57. package/build/inputs/SelectInput/SelectInput.contexts.js +29 -0
  58. package/build/inputs/SelectInput/SelectInput.contexts.js.map +1 -0
  59. package/build/inputs/SelectInput/SelectInput.contexts.mjs +24 -0
  60. package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +1 -0
  61. package/build/inputs/SelectInput/SelectInput.js +222 -0
  62. package/build/inputs/SelectInput/SelectInput.js.map +1 -0
  63. package/build/inputs/SelectInput/SelectInput.messages.js.map +1 -0
  64. package/build/inputs/SelectInput/SelectInput.messages.mjs.map +1 -0
  65. package/build/inputs/SelectInput/SelectInput.mjs +216 -0
  66. package/build/inputs/SelectInput/SelectInput.mjs.map +1 -0
  67. package/build/inputs/SelectInput/SelectInput.utils.js +164 -0
  68. package/build/inputs/SelectInput/SelectInput.utils.js.map +1 -0
  69. package/build/inputs/SelectInput/SelectInput.utils.mjs +154 -0
  70. package/build/inputs/SelectInput/SelectInput.utils.mjs.map +1 -0
  71. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js +42 -0
  72. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +1 -0
  73. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs +36 -0
  74. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +1 -0
  75. package/build/main.css +126 -126
  76. package/build/moneyInput/MoneyInput.js +9 -2
  77. package/build/moneyInput/MoneyInput.js.map +1 -1
  78. package/build/moneyInput/MoneyInput.mjs +8 -1
  79. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  80. package/build/phoneNumberInput/PhoneNumberInput.js +10 -3
  81. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  82. package/build/phoneNumberInput/PhoneNumberInput.mjs +9 -2
  83. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  84. package/build/styles/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
  85. package/build/styles/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
  86. package/build/styles/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
  87. package/build/styles/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
  88. package/build/styles/inputs/SelectInput/Option/SelectInputOption.css +33 -0
  89. package/build/styles/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
  90. package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
  91. package/build/styles/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
  92. package/build/styles/main.css +126 -126
  93. package/build/styles/sentimentSurface/SentimentSurface.css +36 -36
  94. package/build/types/index.d.ts +1 -1
  95. package/build/types/index.d.ts.map +1 -1
  96. package/build/types/inputs/{_BottomSheet.d.ts → SelectInput/BottomSheet/SelectInputBottomSheet.d.ts} +3 -3
  97. package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -0
  98. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts +3 -0
  99. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +1 -0
  100. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +5 -0
  101. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +1 -0
  102. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts +3 -0
  103. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +1 -0
  104. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts +7 -0
  105. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +1 -0
  106. package/build/types/inputs/SelectInput/ClearButton/index.d.ts +3 -0
  107. package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +1 -0
  108. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +16 -0
  109. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +1 -0
  110. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts +2 -0
  111. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +1 -0
  112. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +9 -0
  113. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +1 -0
  114. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts +3 -0
  115. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +1 -0
  116. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts +11 -0
  117. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +1 -0
  118. package/build/types/inputs/SelectInput/ItemView/index.d.ts +4 -0
  119. package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +1 -0
  120. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts +11 -0
  121. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +1 -0
  122. package/build/types/inputs/SelectInput/Option/index.d.ts +3 -0
  123. package/build/types/inputs/SelectInput/Option/index.d.ts.map +1 -0
  124. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +13 -0
  125. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -0
  126. package/build/types/inputs/SelectInput/OptionContent/index.d.ts +3 -0
  127. package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +1 -0
  128. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +9 -0
  129. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +1 -0
  130. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts +3 -0
  131. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +1 -0
  132. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts +21 -0
  133. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +1 -0
  134. package/build/types/inputs/SelectInput/Options/index.d.ts +4 -0
  135. package/build/types/inputs/SelectInput/Options/index.d.ts.map +1 -0
  136. package/build/types/inputs/{_Popover.d.ts → SelectInput/Popover/SelectInputPopover.d.ts} +3 -3
  137. package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -0
  138. package/build/types/inputs/SelectInput/Popover/index.d.ts +3 -0
  139. package/build/types/inputs/SelectInput/Popover/index.d.ts.map +1 -0
  140. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts +33 -0
  141. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +1 -0
  142. package/build/types/inputs/SelectInput/SelectInput.d.ts +10 -0
  143. package/build/types/inputs/SelectInput/SelectInput.d.ts.map +1 -0
  144. package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +1 -0
  145. package/build/types/inputs/{SelectInput.d.ts → SelectInput/SelectInput.types.d.ts} +12 -38
  146. package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +1 -0
  147. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts +60 -0
  148. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +1 -0
  149. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +12 -0
  150. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -0
  151. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts +3 -0
  152. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +1 -0
  153. package/build/types/inputs/SelectInput/components.d.ts +10 -0
  154. package/build/types/inputs/SelectInput/components.d.ts.map +1 -0
  155. package/build/types/inputs/SelectInput/index.d.ts +10 -0
  156. package/build/types/inputs/SelectInput/index.d.ts.map +1 -0
  157. package/package.json +1 -1
  158. package/src/index.ts +0 -1
  159. package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
  160. package/src/inputs/{_BottomSheet.tsx → SelectInput/BottomSheet/SelectInputBottomSheet.tsx} +7 -7
  161. package/src/inputs/SelectInput/BottomSheet/index.ts +2 -0
  162. package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
  163. package/src/inputs/{_ButtonInput.tsx → SelectInput/ButtonInput/SelectInputButtonInput.tsx} +5 -5
  164. package/src/inputs/SelectInput/ButtonInput/index.ts +2 -0
  165. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
  166. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.less +39 -0
  167. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +27 -0
  168. package/src/inputs/SelectInput/ClearButton/index.ts +2 -0
  169. package/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx +74 -0
  170. package/src/inputs/SelectInput/DefaultRenderTrigger/index.ts +5 -0
  171. package/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx +61 -0
  172. package/src/inputs/SelectInput/ItemView/GroupItemView/index.ts +2 -0
  173. package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
  174. package/src/inputs/SelectInput/ItemView/SelectInputItemView.less +17 -0
  175. package/src/inputs/SelectInput/ItemView/SelectInputItemView.tsx +48 -0
  176. package/src/inputs/SelectInput/ItemView/index.ts +3 -0
  177. package/src/inputs/SelectInput/Option/SelectInputOption.css +33 -0
  178. package/src/inputs/SelectInput/Option/SelectInputOption.less +32 -0
  179. package/src/inputs/SelectInput/Option/SelectInputOption.tsx +57 -0
  180. package/src/inputs/SelectInput/Option/index.ts +2 -0
  181. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
  182. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.less +38 -0
  183. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +72 -0
  184. package/src/inputs/SelectInput/OptionContent/index.ts +2 -0
  185. package/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx +59 -0
  186. package/src/inputs/SelectInput/Options/OptionsContainer/index.ts +2 -0
  187. package/src/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
  188. package/src/inputs/SelectInput/Options/SelectInputOptions.less +77 -0
  189. package/src/inputs/SelectInput/Options/SelectInputOptions.tsx +411 -0
  190. package/src/inputs/SelectInput/Options/index.ts +3 -0
  191. package/src/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
  192. package/src/inputs/{_Popover.tsx → SelectInput/Popover/SelectInputPopover.tsx} +7 -7
  193. package/src/inputs/SelectInput/Popover/index.ts +2 -0
  194. package/src/inputs/SelectInput/SelectInput.contexts.tsx +40 -0
  195. package/src/inputs/SelectInput/SelectInput.less +22 -0
  196. package/src/inputs/{SelectInput.test.tsx → SelectInput/SelectInput.test.tsx} +9 -11
  197. package/src/inputs/SelectInput/SelectInput.tsx +257 -0
  198. package/src/inputs/SelectInput/SelectInput.types.ts +113 -0
  199. package/src/inputs/SelectInput/SelectInput.utils.ts +205 -0
  200. package/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +36 -0
  201. package/src/inputs/SelectInput/TriggerButton/index.ts +5 -0
  202. package/src/inputs/{SelectInput.docs.mdx → SelectInput/_stories/SelectInput.docs.mdx} +0 -1
  203. package/src/inputs/{SelectInput.story.tsx → SelectInput/_stories/SelectInput.story.tsx} +11 -8
  204. package/src/inputs/{SelectInput.test.story.tsx → SelectInput/_stories/SelectInput.test.story.tsx} +6 -10
  205. package/src/inputs/SelectInput/components.ts +10 -0
  206. package/src/inputs/SelectInput/index.ts +12 -0
  207. package/src/main.css +126 -126
  208. package/src/main.less +1 -1
  209. package/src/sentimentSurface/SentimentSurface.css +36 -36
  210. package/src/sentimentSurface/SentimentSurface.less +12 -12
  211. package/build/inputs/SelectInput.js +0 -890
  212. package/build/inputs/SelectInput.js.map +0 -1
  213. package/build/inputs/SelectInput.messages.js.map +0 -1
  214. package/build/inputs/SelectInput.messages.mjs.map +0 -1
  215. package/build/inputs/SelectInput.mjs +0 -881
  216. package/build/inputs/SelectInput.mjs.map +0 -1
  217. package/build/inputs/_BottomSheet.js.map +0 -1
  218. package/build/inputs/_BottomSheet.mjs.map +0 -1
  219. package/build/inputs/_ButtonInput.js.map +0 -1
  220. package/build/inputs/_ButtonInput.mjs.map +0 -1
  221. package/build/inputs/_Popover.js.map +0 -1
  222. package/build/inputs/_Popover.mjs.map +0 -1
  223. package/build/types/inputs/SelectInput.d.ts.map +0 -1
  224. package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
  225. package/build/types/inputs/_BottomSheet.d.ts.map +0 -1
  226. package/build/types/inputs/_ButtonInput.d.ts +0 -5
  227. package/build/types/inputs/_ButtonInput.d.ts.map +0 -1
  228. package/build/types/inputs/_Popover.d.ts.map +0 -1
  229. package/src/inputs/SelectInput.less +0 -219
  230. package/src/inputs/SelectInput.tsx +0 -1269
  231. package/build/inputs/{SelectInput.messages.js → SelectInput/SelectInput.messages.js} +0 -0
  232. package/build/inputs/{SelectInput.messages.mjs → SelectInput/SelectInput.messages.mjs} +0 -0
  233. package/build/styles/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
  234. package/build/types/inputs/{SelectInput.messages.d.ts → SelectInput/SelectInput.messages.d.ts} +0 -0
  235. package/src/inputs/{_BottomSheet.less → SelectInput/BottomSheet/SelectInputBottomSheet.less} +0 -0
  236. package/src/inputs/{_ButtonInput.less → SelectInput/ButtonInput/SelectInputButtonInput.less} +0 -0
  237. package/src/inputs/{_Popover.less → SelectInput/Popover/SelectInputPopover.less} +0 -0
  238. package/src/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
  239. /package/src/inputs/{SelectInput.messages.ts → SelectInput/SelectInput.messages.ts} +0 -0
@@ -0,0 +1,7 @@
1
+ export interface SelectInputClearButtonProps extends Pick<React.ComponentPropsWithoutRef<'button'>, 'className' | 'onClick'> {
2
+ }
3
+ /**
4
+ * A button component used to clear the selected value in a SelectInput.
5
+ */
6
+ export declare function SelectInputClearButton({ className, onClick }: SelectInputClearButtonProps): import("react").JSX.Element;
7
+ //# sourceMappingURL=SelectInputClearButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputClearButton.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,2BAA4B,SAAQ,IAAI,CACvD,KAAK,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EACxC,WAAW,GAAG,SAAS,CACxB;CAAG;AAEJ;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,2BAA2B,+BAazF"}
@@ -0,0 +1,3 @@
1
+ export { SelectInputClearButton } from './SelectInputClearButton';
2
+ export type { SelectInputClearButtonProps } from './SelectInputClearButton';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/ClearButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ export interface SelectInputDefaultRenderTriggerProps {
3
+ content: React.ReactNode;
4
+ placeholderShown: boolean;
5
+ clear: (() => void) | undefined;
6
+ disabled: boolean;
7
+ size: 'sm' | 'md' | 'lg';
8
+ className: string | undefined;
9
+ }
10
+ /**
11
+ * Default render function for the SelectInput trigger.
12
+ * Displays the selected value or placeholder with clear button and dropdown indicator.
13
+ */
14
+ export declare function SelectInputDefaultRenderTrigger({ content, placeholderShown, clear, disabled, size, className, }: SelectInputDefaultRenderTriggerProps): React.JSX.Element;
15
+ export declare const DefaultRenderTrigger: typeof SelectInputDefaultRenderTrigger;
16
+ //# sourceMappingURL=SelectInputDefaultRenderTrigger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputDefaultRenderTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,MAAM,WAAW,oCAAoC;IACnD,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,KAAK,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AAED;;;GAGG;AACH,wBAAgB,+BAA+B,CAAC,EAC9C,OAAO,EACP,gBAAgB,EAChB,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,SAAS,GACV,EAAE,oCAAoC,qBAwCtC;AAED,eAAO,MAAM,oBAAoB,wCAC4C,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { SelectInputDefaultRenderTrigger, DefaultRenderTrigger, type SelectInputDefaultRenderTriggerProps, } from './SelectInputDefaultRenderTrigger';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/DefaultRenderTrigger/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,oBAAoB,EACpB,KAAK,oCAAoC,GAC1C,MAAM,mCAAmC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { SelectInputGroupItem } from '../../SelectInput.types';
2
+ import { SelectInputItemViewProps } from '..';
3
+ export interface SelectInputGroupItemViewProps<T = string> extends SelectInputItemViewProps<T, SelectInputGroupItem<T | undefined>> {
4
+ }
5
+ /**
6
+ * Component that renders a group of SelectInput options with a header.
7
+ */
8
+ export declare function SelectInputGroupItemView<T = string>({ item, renderValue, needle, }: SelectInputGroupItemViewProps<T>): import("react").JSX.Element;
9
+ //# sourceMappingURL=SelectInputGroupItemView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputGroupItemView.d.ts","sourceRoot":"","sources":["../../../../../../src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAuB,wBAAwB,EAAE,MAAM,IAAI,CAAC;AAEnE,MAAM,WAAW,6BAA6B,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,wBAAwB,CACzF,CAAC,EACD,oBAAoB,CAAC,CAAC,GAAG,SAAS,CAAC,CACpC;CAAG;AAEJ;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,GAAG,MAAM,EAAE,EACnD,IAAI,EACJ,WAAW,EACX,MAAM,GACP,EAAE,6BAA6B,CAAC,CAAC,CAAC,+BAyClC"}
@@ -0,0 +1,3 @@
1
+ export { SelectInputGroupItemView } from './SelectInputGroupItemView';
2
+ export type { SelectInputGroupItemViewProps } from './SelectInputGroupItemView';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/inputs/SelectInput/ItemView/GroupItemView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,YAAY,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { SelectInputItem, SelectInputProps } from '../SelectInput.types';
2
+ export interface SelectInputItemViewProps<T = string, I extends SelectInputItem<T | undefined> = SelectInputItem<T | undefined>> extends Required<Pick<SelectInputProps<T>, 'renderValue'>> {
3
+ item: I;
4
+ needle: string | null | undefined;
5
+ }
6
+ /**
7
+ * Component that renders different types of SelectInput items:
8
+ * options, groups, or separators.
9
+ */
10
+ export declare function SelectInputItemView<T = string>({ item, renderValue, needle, }: SelectInputItemViewProps<T>): import("react").JSX.Element | null;
11
+ //# sourceMappingURL=SelectInputItemView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputItemView.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/ItemView/SelectInputItemView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAIzE,MAAM,WAAW,wBAAwB,CACvC,CAAC,GAAG,MAAM,EACV,CAAC,SAAS,eAAe,CAAC,CAAC,GAAG,SAAS,CAAC,GAAG,eAAe,CAAC,CAAC,GAAG,SAAS,CAAC,CACzE,SAAQ,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,CAAC;IAC1D,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnC;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,GAAG,MAAM,EAAE,EAC9C,IAAI,EACJ,WAAW,EACX,MAAM,GACP,EAAE,wBAAwB,CAAC,CAAC,CAAC,sCA0B7B"}
@@ -0,0 +1,4 @@
1
+ export { SelectInputItemView } from './SelectInputItemView';
2
+ export type { SelectInputItemViewProps } from './SelectInputItemView';
3
+ export * from './GroupItemView';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/ItemView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,YAAY,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACtE,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,11 @@
1
+ export interface SelectInputOptionProps<T = string> {
2
+ value: T;
3
+ disabled?: boolean;
4
+ children?: React.ReactNode;
5
+ }
6
+ /**
7
+ * A selectable option in a SelectInput dropdown.
8
+ * Includes accessibility support and styling for selected, active, and disabled states.
9
+ */
10
+ export declare function SelectInputOption<T = string>({ value, disabled, children, }: SelectInputOptionProps<T>): import("react").JSX.Element;
11
+ //# sourceMappingURL=SelectInputOption.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputOption.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/Option/SelectInputOption.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,sBAAsB,CAAC,CAAC,GAAG,MAAM;IAChD,KAAK,EAAE,CAAC,CAAC;IACT,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,CAAC,GAAG,MAAM,EAAE,EAC5C,KAAK,EACL,QAAQ,EACR,QAAQ,GACT,EAAE,sBAAsB,CAAC,CAAC,CAAC,+BAiC3B"}
@@ -0,0 +1,3 @@
1
+ export { SelectInputOption } from './SelectInputOption';
2
+ export type { SelectInputOptionProps } from './SelectInputOption';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/Option/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,13 @@
1
+ export interface SelectInputOptionContentProps {
2
+ title: React.ReactNode;
3
+ note?: string;
4
+ description?: string;
5
+ icon?: React.ReactNode;
6
+ }
7
+ /**
8
+ * Component for rendering structured content within a SelectInput option.
9
+ * Supports title, optional note, description, and icon with different styling
10
+ * based on whether it's rendered within the trigger button or the dropdown.
11
+ */
12
+ export declare function SelectInputOptionContent({ title, note, description, icon, }: SelectInputOptionContentProps): import("react").JSX.Element;
13
+ //# sourceMappingURL=SelectInputOptionContent.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
1
+ export { SelectInputOptionContent } from './SelectInputOptionContent';
2
+ export type { SelectInputOptionContentProps } from './SelectInputOptionContent';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -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":"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"}
@@ -0,0 +1,60 @@
1
+ import { SelectInputItem, SelectInputOptionItem } from './SelectInput.types';
2
+ export declare const MAX_ITEMS_WITHOUT_VIRTUALIZATION = 50;
3
+ /**
4
+ * Converts a string to a normalized, searchable format by:
5
+ * - Trimming whitespace
6
+ * - Normalizing whitespace (convert multiple spaces to single space)
7
+ * - Converting to NFD normalization form to handle diacritics
8
+ * - Removing combining diacritical marks
9
+ * - Converting to lowercase
10
+ */
11
+ export declare function searchableString(value: string): string;
12
+ /**
13
+ * Extracts searchable strings from a value.
14
+ * - If the value is a string, returns a normalized version.
15
+ * - If the value is an object, extracts all string values and normalizes them.
16
+ * - Otherwise returns an empty array.
17
+ */
18
+ export declare function inferSearchableStrings(value: unknown): string[];
19
+ /**
20
+ * Sets the value of a duplicate option item to undefined, effectively hiding it when rendered.
21
+ */
22
+ export declare function dedupeSelectInputOptionItem<T>(item: SelectInputOptionItem<T>, existingValues: Set<T>, compareValues?: (a: T, b: T) => boolean): SelectInputOptionItem<T | undefined>;
23
+ /**
24
+ * Sets the `value` of duplicate option items to `undefined`, hiding them when
25
+ * rendered. Indexes are kept intact within groups to preserve the active item
26
+ * between filter changes when possible.
27
+ */
28
+ export declare function dedupeSelectInputItems<T>(items: readonly SelectInputItem<T>[], compareValues?: (a: T, b: T) => boolean): SelectInputItem<T | undefined>[];
29
+ /**
30
+ * Checks if a SelectInputOptionItem matches the search needle.
31
+ */
32
+ export declare function selectInputOptionItemIncludesNeedle<T>(item: SelectInputOptionItem<T>, needle: string): boolean;
33
+ /**
34
+ * Filters SelectInputItems based on the provided predicate function.
35
+ * For group items, it checks if any of their options match the predicate.
36
+ */
37
+ export declare function filterSelectInputItems<T>(items: readonly SelectInputItem<T>[], predicate: (item: SelectInputOptionItem<T>) => boolean): SelectInputItem<T>[];
38
+ /**
39
+ * Flattens and sorts filtered options using the provided comparator.
40
+ * Extracts all options from groups, filters out undefined values (deduplicated items),
41
+ * sorts them, and returns as a flat list of option items.
42
+ */
43
+ 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>>[];
44
+ /**
45
+ * A prebuilt sort function for `sortFilteredOptions` that sorts options by relevance to the search query.
46
+ * Prioritizes: exact matches > starts with > contains > alphabetical.
47
+ *
48
+ * @param getLabel - Function to extract the label string from the option value. Defaults to using `title` property.
49
+ *
50
+ * @example
51
+ * ```tsx
52
+ * <SelectInput
53
+ * filterable
54
+ * sortFilteredOptions={sortByRelevance((value) => value.name)}
55
+ * // ...
56
+ * />
57
+ * ```
58
+ */
59
+ export declare function sortByRelevance<T>(getLabel?: (value: T) => string): (a: SelectInputOptionItem<T>, b: SelectInputOptionItem<T>, searchQuery: string) => number;
60
+ //# 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,eAAO,MAAM,gCAAgC,KAAK,CAAC;AAEnD;;;;;;;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,10 @@
1
+ export * from './SelectInput';
2
+ export * from './SelectInput.types';
3
+ export * from './ClearButton';
4
+ export * from './Option';
5
+ export * from './OptionContent';
6
+ export * from './TriggerButton';
7
+ export * from './DefaultRenderTrigger';
8
+ export * from './ItemView';
9
+ export * from './Options';
10
+ //# 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;AAGpC,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "0.0.0-experimental-7be6e59",
3
+ "version": "0.0.0-experimental-5f9d7b4",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/src/index.ts CHANGED
@@ -182,7 +182,6 @@ export {
182
182
  SelectInput,
183
183
  SelectInputOptionContent,
184
184
  SelectInputTriggerButton,
185
- sortByRelevance,
186
185
  } from './inputs/SelectInput';
187
186
  export { TextArea } from './inputs/TextArea';
188
187
  export { default as InstructionsList } from './instructionsList';