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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) 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 +14 -7
  10. package/build/index.js.map +1 -1
  11. package/build/index.mjs +10 -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 +27 -0
  22. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -0
  23. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +25 -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 +90 -90
  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 +90 -90
  93. package/build/types/inputs/{_BottomSheet.d.ts → SelectInput/BottomSheet/SelectInputBottomSheet.d.ts} +3 -3
  94. package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -0
  95. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts +3 -0
  96. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +1 -0
  97. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +5 -0
  98. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +1 -0
  99. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts +3 -0
  100. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +1 -0
  101. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts +7 -0
  102. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +1 -0
  103. package/build/types/inputs/SelectInput/ClearButton/index.d.ts +3 -0
  104. package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +1 -0
  105. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +16 -0
  106. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +1 -0
  107. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts +2 -0
  108. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +1 -0
  109. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +9 -0
  110. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +1 -0
  111. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts +3 -0
  112. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +1 -0
  113. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts +11 -0
  114. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +1 -0
  115. package/build/types/inputs/SelectInput/ItemView/index.d.ts +4 -0
  116. package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +1 -0
  117. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts +11 -0
  118. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +1 -0
  119. package/build/types/inputs/SelectInput/Option/index.d.ts +3 -0
  120. package/build/types/inputs/SelectInput/Option/index.d.ts.map +1 -0
  121. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +13 -0
  122. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -0
  123. package/build/types/inputs/SelectInput/OptionContent/index.d.ts +3 -0
  124. package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +1 -0
  125. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +9 -0
  126. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +1 -0
  127. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts +3 -0
  128. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +1 -0
  129. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts +21 -0
  130. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +1 -0
  131. package/build/types/inputs/SelectInput/Options/index.d.ts +4 -0
  132. package/build/types/inputs/SelectInput/Options/index.d.ts.map +1 -0
  133. package/build/types/inputs/{_Popover.d.ts → SelectInput/Popover/SelectInputPopover.d.ts} +3 -3
  134. package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -0
  135. package/build/types/inputs/SelectInput/Popover/index.d.ts +3 -0
  136. package/build/types/inputs/SelectInput/Popover/index.d.ts.map +1 -0
  137. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts +33 -0
  138. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +1 -0
  139. package/build/types/inputs/SelectInput/SelectInput.d.ts +10 -0
  140. package/build/types/inputs/SelectInput/SelectInput.d.ts.map +1 -0
  141. package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +1 -0
  142. package/build/types/inputs/{SelectInput.d.ts → SelectInput/SelectInput.types.d.ts} +12 -38
  143. package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +1 -0
  144. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts +61 -0
  145. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +1 -0
  146. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +12 -0
  147. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -0
  148. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts +3 -0
  149. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +1 -0
  150. package/build/types/inputs/SelectInput/components.d.ts +10 -0
  151. package/build/types/inputs/SelectInput/components.d.ts.map +1 -0
  152. package/build/types/inputs/SelectInput/index.d.ts +12 -0
  153. package/build/types/inputs/SelectInput/index.d.ts.map +1 -0
  154. package/package.json +1 -1
  155. package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
  156. package/src/inputs/{_BottomSheet.tsx → SelectInput/BottomSheet/SelectInputBottomSheet.tsx} +7 -7
  157. package/src/inputs/SelectInput/BottomSheet/index.ts +2 -0
  158. package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
  159. package/src/inputs/{_ButtonInput.tsx → SelectInput/ButtonInput/SelectInputButtonInput.tsx} +5 -5
  160. package/src/inputs/SelectInput/ButtonInput/index.ts +2 -0
  161. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
  162. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.less +40 -0
  163. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +29 -0
  164. package/src/inputs/SelectInput/ClearButton/index.ts +2 -0
  165. package/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx +74 -0
  166. package/src/inputs/SelectInput/DefaultRenderTrigger/index.ts +5 -0
  167. package/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx +61 -0
  168. package/src/inputs/SelectInput/ItemView/GroupItemView/index.ts +2 -0
  169. package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
  170. package/src/inputs/SelectInput/ItemView/SelectInputItemView.less +17 -0
  171. package/src/inputs/SelectInput/ItemView/SelectInputItemView.tsx +48 -0
  172. package/src/inputs/SelectInput/ItemView/index.ts +3 -0
  173. package/src/inputs/SelectInput/Option/SelectInputOption.css +33 -0
  174. package/src/inputs/SelectInput/Option/SelectInputOption.less +32 -0
  175. package/src/inputs/SelectInput/Option/SelectInputOption.tsx +57 -0
  176. package/src/inputs/SelectInput/Option/index.ts +2 -0
  177. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
  178. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.less +38 -0
  179. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +72 -0
  180. package/src/inputs/SelectInput/OptionContent/index.ts +2 -0
  181. package/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx +59 -0
  182. package/src/inputs/SelectInput/Options/OptionsContainer/index.ts +2 -0
  183. package/src/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
  184. package/src/inputs/SelectInput/Options/SelectInputOptions.less +77 -0
  185. package/src/inputs/SelectInput/Options/SelectInputOptions.tsx +411 -0
  186. package/src/inputs/SelectInput/Options/index.ts +3 -0
  187. package/src/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
  188. package/src/inputs/{_Popover.tsx → SelectInput/Popover/SelectInputPopover.tsx} +7 -7
  189. package/src/inputs/SelectInput/Popover/index.ts +2 -0
  190. package/src/inputs/SelectInput/SelectInput.contexts.tsx +40 -0
  191. package/src/inputs/SelectInput/SelectInput.less +22 -0
  192. package/src/inputs/{SelectInput.test.tsx → SelectInput/SelectInput.test.tsx} +9 -11
  193. package/src/inputs/SelectInput/SelectInput.tsx +257 -0
  194. package/src/inputs/SelectInput/SelectInput.types.ts +113 -0
  195. package/src/inputs/SelectInput/SelectInput.utils.ts +206 -0
  196. package/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +36 -0
  197. package/src/inputs/SelectInput/TriggerButton/index.ts +5 -0
  198. package/src/inputs/{SelectInput.docs.mdx → SelectInput/_stories/SelectInput.docs.mdx} +0 -1
  199. package/src/inputs/{SelectInput.story.tsx → SelectInput/_stories/SelectInput.story.tsx} +11 -8
  200. package/src/inputs/{SelectInput.test.story.tsx → SelectInput/_stories/SelectInput.test.story.tsx} +5 -10
  201. package/src/inputs/SelectInput/components.ts +10 -0
  202. package/src/inputs/SelectInput/index.ts +14 -0
  203. package/src/main.css +90 -90
  204. package/src/main.less +1 -1
  205. package/build/inputs/SelectInput.js +0 -890
  206. package/build/inputs/SelectInput.js.map +0 -1
  207. package/build/inputs/SelectInput.messages.js.map +0 -1
  208. package/build/inputs/SelectInput.messages.mjs.map +0 -1
  209. package/build/inputs/SelectInput.mjs +0 -881
  210. package/build/inputs/SelectInput.mjs.map +0 -1
  211. package/build/inputs/_BottomSheet.js.map +0 -1
  212. package/build/inputs/_BottomSheet.mjs.map +0 -1
  213. package/build/inputs/_ButtonInput.js.map +0 -1
  214. package/build/inputs/_ButtonInput.mjs.map +0 -1
  215. package/build/inputs/_Popover.js.map +0 -1
  216. package/build/inputs/_Popover.mjs.map +0 -1
  217. package/build/types/inputs/SelectInput.d.ts.map +0 -1
  218. package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
  219. package/build/types/inputs/_BottomSheet.d.ts.map +0 -1
  220. package/build/types/inputs/_ButtonInput.d.ts +0 -5
  221. package/build/types/inputs/_ButtonInput.d.ts.map +0 -1
  222. package/build/types/inputs/_Popover.d.ts.map +0 -1
  223. package/src/inputs/SelectInput.less +0 -219
  224. package/src/inputs/SelectInput.tsx +0 -1269
  225. package/build/inputs/{SelectInput.messages.js → SelectInput/SelectInput.messages.js} +0 -0
  226. package/build/inputs/{SelectInput.messages.mjs → SelectInput/SelectInput.messages.mjs} +0 -0
  227. package/build/styles/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
  228. package/build/types/inputs/{SelectInput.messages.d.ts → SelectInput/SelectInput.messages.d.ts} +0 -0
  229. package/src/inputs/{_BottomSheet.less → SelectInput/BottomSheet/SelectInputBottomSheet.less} +0 -0
  230. package/src/inputs/{_ButtonInput.less → SelectInput/ButtonInput/SelectInputButtonInput.less} +0 -0
  231. package/src/inputs/{_Popover.less → SelectInput/Popover/SelectInputPopover.less} +0 -0
  232. package/src/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
  233. /package/src/inputs/{SelectInput.messages.ts → SelectInput/SelectInput.messages.ts} +0 -0
@@ -0,0 +1,37 @@
1
+ .np-select-input-option-content-container {
2
+ display: flex;
3
+ align-items: center;
4
+ -moz-column-gap: 8px;
5
+ column-gap: 8px;
6
+ -moz-column-gap: var(--size-8);
7
+ column-gap: var(--size-8);
8
+ color: #37517e;
9
+ color: var(--color-content-primary);
10
+ }
11
+ .np-select-input-option-content-icon {
12
+ display: flex;
13
+ }
14
+ .np-select-input-option-content-icon--not-within-trigger {
15
+ align-self: flex-start;
16
+ }
17
+ .np-select-input-option-content-text {
18
+ display: flex;
19
+ flex: 1;
20
+ flex-direction: column;
21
+ overflow: hidden;
22
+ }
23
+ .np-select-input-option-content-text-secondary {
24
+ color: #5d7079;
25
+ color: var(--color-content-secondary);
26
+ }
27
+ .np-select-input-option-content-text-within-trigger {
28
+ overflow: hidden;
29
+ text-overflow: ellipsis;
30
+ white-space: nowrap;
31
+ }
32
+ .np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
33
+ margin-right: 8px;
34
+ margin-right: var(--size-8);
35
+ margin-left: 8px;
36
+ margin-left: var(--size-8);
37
+ }
@@ -0,0 +1,81 @@
1
+ .np-select-input-options-container {
2
+ display: flex;
3
+ height: 100%;
4
+ flex-direction: column;
5
+ }
6
+ .np-select-input-options-container:focus {
7
+ outline: none;
8
+ }
9
+ @media (min-width: 576px) {
10
+ .np-select-input-options-container {
11
+ max-height: 28rem /* 448px */;
12
+ }
13
+ }
14
+ .np-select-input-options-status {
15
+ display: flex;
16
+ align-items: center;
17
+ -moz-column-gap: 8px;
18
+ column-gap: 8px;
19
+ -moz-column-gap: var(--size-8);
20
+ column-gap: var(--size-8);
21
+ padding: 8px 24px 0px;
22
+ padding: var(--size-8) var(--size-24) 0px;
23
+ }
24
+ .np-select-input-options-status-icon {
25
+ padding: 0 4px;
26
+ padding: 0 var(--size-4);
27
+ color: #768e9c;
28
+ color: var(--color-content-tertiary);
29
+ }
30
+ .np-select-input-query-container {
31
+ display: flex;
32
+ flex-direction: column;
33
+ padding: 8px;
34
+ padding: var(--size-8);
35
+ }
36
+ .np-select-input-listbox-container {
37
+ position: relative;
38
+ height: var(--initial-height);
39
+ scroll-padding-top: 8px;
40
+ scroll-padding-top: var(--size-8);
41
+ scroll-padding-bottom: 8px;
42
+ scroll-padding-bottom: var(--size-8);
43
+ overflow-y: auto;
44
+ }
45
+ @media (min-width: 576px) {
46
+ .np-select-input-listbox-container {
47
+ height: auto;
48
+ }
49
+ }
50
+ .np-select-input-listbox-container--virtualized {
51
+ /* The wrapping element shrinks this as needed */
52
+ height: 100vh;
53
+ }
54
+ .np-select-input-listbox-container--has-group {
55
+ scroll-padding-top: 32px;
56
+ scroll-padding-top: var(--size-32);
57
+ }
58
+ .np-select-input-listbox {
59
+ border-radius: 10px;
60
+ border-radius: var(--radius-small);
61
+ padding: 8px;
62
+ padding: var(--size-8);
63
+ --ring-outline-offset: calc(-1 * var(--ring-outline-width));
64
+ }
65
+ .np-select-input-listbox:focus {
66
+ outline: none;
67
+ }
68
+ .np-select-input-listbox:focus-visible {
69
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
70
+ outline-offset: var(--ring-outline-offset);
71
+ }
72
+ .np-select-input-listbox-container--virtualized .np-select-input-listbox {
73
+ /* Adopted from `VList` in virtua: https://github.com/inokawa/virtua/blob/7f6ed5b37df6b480d4ff350f3960067c5b3519d2/src/react/VList.tsx#L113-L116 */
74
+ overflow-y: auto;
75
+ contain: strict;
76
+ height: 100%;
77
+ }
78
+ .np-select-input-footer {
79
+ padding: 4px 24px 16px;
80
+ padding: var(--size-4) var(--size-24) var(--size-16);
81
+ }
@@ -0,0 +1,46 @@
1
+ .np-popover-v2-container {
2
+ z-index: 1060;
3
+ display: flex;
4
+ max-height: var(--max-height);
5
+ width: var(--width);
6
+ flex-direction: column;
7
+ overflow: hidden;
8
+ border-radius: 10px;
9
+ border-radius: var(--radius-small);
10
+ background-color: #ffffff;
11
+ background-color: var(--color-background-elevated);
12
+ box-shadow: 0 0 40px rgba(69, 71, 69, 0.2);
13
+ }
14
+ .np-popover-v2-container--size-md {
15
+ min-width: 20rem;
16
+ }
17
+ .np-popover-v2-container--size-lg {
18
+ min-width: 24rem;
19
+ }
20
+ .np-popover-v2-container:focus {
21
+ outline: none;
22
+ }
23
+ .np-popover-v2 {
24
+ display: grid;
25
+ grid-row-gap: 8px;
26
+ grid-row-gap: var(--size-8);
27
+ row-gap: 8px;
28
+ row-gap: var(--size-8);
29
+ overflow-y: auto;
30
+ grid-template-rows: minmax(0, 1fr);
31
+ }
32
+ .np-popover-v2--has-title {
33
+ grid-template-rows: auto minmax(0, 1fr);
34
+ }
35
+ .np-popover-v2--padding-md {
36
+ padding: 16px;
37
+ padding: var(--size-16);
38
+ }
39
+ .np-popover-v2-title {
40
+ color: #37517e;
41
+ color: var(--color-content-primary);
42
+ }
43
+ .np-popover-v2-content {
44
+ color: #5d7079;
45
+ color: var(--color-content-secondary);
46
+ }
@@ -4002,14 +4002,91 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
4002
4002
  color: #5d7079;
4003
4003
  color: var(--color-content-secondary);
4004
4004
  }
4005
- .np-select-input-content {
4005
+ .np-select-input-option-container {
4006
+ display: flex;
4007
+ cursor: default;
4008
+ -webkit-user-select: none;
4009
+ -moz-user-select: none;
4010
+ user-select: none;
4011
+ align-items: center;
4012
+ -moz-column-gap: 8px;
4013
+ column-gap: 8px;
4014
+ -moz-column-gap: var(--size-8);
4015
+ column-gap: var(--size-8);
4016
+ border-radius: 10px;
4017
+ border-radius: var(--radius-small);
4018
+ padding: 12px 16px;
4019
+ padding: var(--size-12) var(--size-16);
4020
+ color: var(--color-interactive-primary);
4021
+ }
4022
+ .np-select-input-option-container:focus {
4023
+ outline: none;
4024
+ }
4025
+ .np-select-input-option-container--active {
4026
+ box-shadow: inset 0 0 0 1px #c9cbce;
4027
+ box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
4028
+ }
4029
+ .np-select-input-option-container--disabled {
4030
+ opacity: 0.45;
4031
+ }
4032
+ .np-select-input-option-check--not-selected {
4033
+ visibility: hidden;
4034
+ }
4035
+ .np-select-input-option {
4036
+ flex: 1;
4037
+ }
4038
+ .np-select-input-option-content-container {
4039
+ display: flex;
4040
+ align-items: center;
4041
+ -moz-column-gap: 8px;
4042
+ column-gap: 8px;
4043
+ -moz-column-gap: var(--size-8);
4044
+ column-gap: var(--size-8);
4045
+ color: #37517e;
4046
+ color: var(--color-content-primary);
4047
+ }
4048
+ .np-select-input-option-content-icon {
4049
+ display: flex;
4050
+ }
4051
+ .np-select-input-option-content-icon--not-within-trigger {
4052
+ align-self: flex-start;
4053
+ }
4054
+ .np-select-input-option-content-text {
4055
+ display: flex;
4056
+ flex: 1;
4057
+ flex-direction: column;
4058
+ overflow: hidden;
4059
+ }
4060
+ .np-select-input-option-content-text-secondary {
4061
+ color: #5d7079;
4062
+ color: var(--color-content-secondary);
4063
+ }
4064
+ .np-select-input-option-content-text-within-trigger {
4006
4065
  overflow: hidden;
4007
4066
  text-overflow: ellipsis;
4008
4067
  white-space: nowrap;
4009
4068
  }
4010
- .np-select-input-placeholder {
4011
- color: #768e9c;
4012
- color: var(--color-content-tertiary);
4069
+ .np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
4070
+ margin-right: 8px;
4071
+ margin-right: var(--size-8);
4072
+ margin-left: 8px;
4073
+ margin-left: var(--size-8);
4074
+ }
4075
+ .np-select-input-group-item--without-needle:first-child {
4076
+ margin-top: calc(-1 * 8px);
4077
+ margin-top: calc(-1 * var(--size-8));
4078
+ }
4079
+ .np-select-input-group-item-header {
4080
+ position: sticky;
4081
+ top: 0px;
4082
+ z-index: 10;
4083
+ background-color: #ffffff;
4084
+ background-color: var(--color-background-elevated);
4085
+ }
4086
+ .np-select-input-separator-item {
4087
+ margin: 8px;
4088
+ margin: var(--size-8);
4089
+ border-top-width: 1px;
4013
4090
  }
4014
4091
  .np-select-input-options-container {
4015
4092
  display: flex;
@@ -4088,92 +4165,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
4088
4165
  contain: strict;
4089
4166
  height: 100%;
4090
4167
  }
4091
- .np-select-input-separator-item {
4092
- margin: 8px;
4093
- margin: var(--size-8);
4094
- border-top-width: 1px;
4095
- }
4096
- .np-select-input-group-item--without-needle:first-child {
4097
- margin-top: calc(-1 * 8px);
4098
- margin-top: calc(-1 * var(--size-8));
4099
- }
4100
- .np-select-input-group-item-header {
4101
- position: sticky;
4102
- top: 0px;
4103
- z-index: 10;
4104
- background-color: #ffffff;
4105
- background-color: var(--color-background-elevated);
4106
- }
4107
- .np-select-input-option-container {
4108
- display: flex;
4109
- cursor: default;
4110
- -webkit-user-select: none;
4111
- -moz-user-select: none;
4112
- user-select: none;
4113
- align-items: center;
4114
- -moz-column-gap: 8px;
4115
- column-gap: 8px;
4116
- -moz-column-gap: var(--size-8);
4117
- column-gap: var(--size-8);
4118
- border-radius: 10px;
4119
- border-radius: var(--radius-small);
4120
- padding: 12px 16px;
4121
- padding: var(--size-12) var(--size-16);
4122
- color: var(--color-interactive-primary);
4123
- }
4124
- .np-select-input-option-container:focus {
4125
- outline: none;
4126
- }
4127
- .np-select-input-option-container--active {
4128
- box-shadow: inset 0 0 0 1px #c9cbce;
4129
- box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
4130
- }
4131
- .np-select-input-option-container--disabled {
4132
- opacity: 0.45;
4133
- }
4134
- .np-select-input-option-check--not-selected {
4135
- visibility: hidden;
4136
- }
4137
- .np-select-input-option {
4138
- flex: 1;
4139
- }
4140
- .np-select-input-option-content-container {
4141
- display: flex;
4142
- align-items: center;
4143
- -moz-column-gap: 8px;
4144
- column-gap: 8px;
4145
- -moz-column-gap: var(--size-8);
4146
- column-gap: var(--size-8);
4147
- color: #37517e;
4148
- color: var(--color-content-primary);
4149
- }
4150
- .np-select-input-option-content-icon {
4151
- display: flex;
4152
- }
4153
- .np-select-input-option-content-icon--not-within-trigger {
4154
- align-self: flex-start;
4155
- }
4156
- .np-select-input-option-content-text {
4157
- display: flex;
4158
- flex: 1;
4159
- flex-direction: column;
4160
- overflow: hidden;
4161
- }
4162
- .np-select-input-option-content-text-secondary {
4163
- color: #5d7079;
4164
- color: var(--color-content-secondary);
4165
- }
4166
- .np-select-input-option-content-text-within-trigger {
4167
- overflow: hidden;
4168
- text-overflow: ellipsis;
4169
- white-space: nowrap;
4170
- }
4171
- .np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
4172
- margin-right: 8px;
4173
- margin-right: var(--size-8);
4174
- margin-left: 8px;
4175
- margin-left: var(--size-8);
4176
- }
4177
4168
  .np-select-input-footer {
4178
4169
  padding: 4px 24px 16px;
4179
4170
  padding: var(--size-4) var(--size-24) var(--size-16);
@@ -4224,6 +4215,15 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
4224
4215
  border-inline-start: 1px solid rgba(0,0,0,0.10196);
4225
4216
  border-inline-start: 1px solid var(--color-border-neutral);
4226
4217
  }
4218
+ .np-select-input-content {
4219
+ overflow: hidden;
4220
+ text-overflow: ellipsis;
4221
+ white-space: nowrap;
4222
+ }
4223
+ .np-select-input-placeholder {
4224
+ color: #768e9c;
4225
+ color: var(--color-content-tertiary);
4226
+ }
4227
4227
  .np-text-area {
4228
4228
  min-height: 72px;
4229
4229
  min-height: var(--size-72);
@@ -1,4 +1,4 @@
1
- export interface BottomSheetProps {
1
+ export interface SelectInputBottomSheetProps {
2
2
  open: boolean;
3
3
  renderTrigger?: (args: {
4
4
  ref: React.RefCallback<Element>;
@@ -13,5 +13,5 @@ export interface BottomSheetProps {
13
13
  onClose?: () => void;
14
14
  onCloseEnd?: () => void;
15
15
  }
16
- export declare function BottomSheet({ open, renderTrigger, title, initialFocusRef, padding, children, onClose, onCloseEnd, }: BottomSheetProps): import("react").JSX.Element;
17
- //# sourceMappingURL=_BottomSheet.d.ts.map
16
+ export declare function SelectInputBottomSheet({ open, renderTrigger, title, initialFocusRef, padding, children, onClose, onCloseEnd, }: SelectInputBottomSheetProps): import("react").JSX.Element;
17
+ //# sourceMappingURL=SelectInputBottomSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputBottomSheet.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx"],"names":[],"mappings":"AAmBA,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE;QACrB,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,eAAe,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC7D,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;AAED,wBAAgB,sBAAsB,CAAC,EACrC,IAAI,EACJ,aAAa,EACb,KAAK,EACL,eAAe,EACf,OAAc,EACd,QAAQ,EACR,OAAO,EACP,UAAU,GACX,EAAE,2BAA2B,+BA4F7B"}
@@ -0,0 +1,3 @@
1
+ export { SelectInputBottomSheet } from './SelectInputBottomSheet';
2
+ export type { SelectInputBottomSheetProps } from './SelectInputBottomSheet';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/BottomSheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface SelectInputButtonInputProps extends React.ComponentPropsWithRef<'button'> {
2
+ size?: 'sm' | 'md' | 'lg';
3
+ }
4
+ export declare const SelectInputButtonInput: import("react").ForwardRefExoticComponent<Omit<SelectInputButtonInputProps, "ref"> & import("react").RefAttributes<HTMLButtonElement | null>>;
5
+ //# sourceMappingURL=SelectInputButtonInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInputButtonInput.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,2BAA4B,SAAQ,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC;IACxF,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,sBAAsB,+IAejC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { SelectInputButtonInput } from './SelectInputButtonInput';
2
+ export type { SelectInputButtonInputProps } from './SelectInputButtonInput';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/inputs/SelectInput/ButtonInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC"}
@@ -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"}