@transferwise/components 0.0.0-experimental-a9ab536 → 0.0.0-experimental-74c86e4

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 +5 -12
  2. package/build/dateInput/DateInput.js.map +1 -1
  3. package/build/dateInput/DateInput.mjs +4 -11
  4. package/build/dateInput/DateInput.mjs.map +1 -1
  5. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +8 -16
  6. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
  7. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +6 -14
  8. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
  9. package/build/index.js +7 -14
  10. package/build/index.js.map +1 -1
  11. package/build/index.mjs +3 -10
  12. package/build/index.mjs.map +1 -1
  13. package/build/inputs/SelectInput.js +890 -0
  14. package/build/inputs/SelectInput.js.map +1 -0
  15. package/build/inputs/SelectInput.messages.js.map +1 -0
  16. package/build/inputs/SelectInput.messages.mjs.map +1 -0
  17. package/build/inputs/SelectInput.mjs +881 -0
  18. package/build/inputs/SelectInput.mjs.map +1 -0
  19. package/build/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.js → _BottomSheet.js} +7 -7
  20. package/build/inputs/_BottomSheet.js.map +1 -0
  21. package/build/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.mjs → _BottomSheet.mjs} +7 -7
  22. package/build/inputs/_BottomSheet.mjs.map +1 -0
  23. package/build/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.js → _ButtonInput.js} +5 -5
  24. package/build/inputs/_ButtonInput.js.map +1 -0
  25. package/build/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.mjs → _ButtonInput.mjs} +5 -5
  26. package/build/inputs/_ButtonInput.mjs.map +1 -0
  27. package/build/inputs/{SelectInput/Popover/SelectInputPopover.js → _Popover.js} +4 -4
  28. package/build/inputs/_Popover.js.map +1 -0
  29. package/build/inputs/{SelectInput/Popover/SelectInputPopover.mjs → _Popover.mjs} +4 -4
  30. package/build/inputs/_Popover.mjs.map +1 -0
  31. package/build/main.css +90 -90
  32. package/build/moneyInput/MoneyInput.js +2 -9
  33. package/build/moneyInput/MoneyInput.js.map +1 -1
  34. package/build/moneyInput/MoneyInput.mjs +1 -8
  35. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  36. package/build/phoneNumberInput/PhoneNumberInput.js +3 -10
  37. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  38. package/build/phoneNumberInput/PhoneNumberInput.mjs +2 -9
  39. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  40. package/build/styles/main.css +90 -90
  41. package/build/types/inputs/{SelectInput/SelectInput.types.d.ts → SelectInput.d.ts} +38 -12
  42. package/build/types/inputs/SelectInput.d.ts.map +1 -0
  43. package/build/types/inputs/SelectInput.messages.d.ts.map +1 -0
  44. package/build/types/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.d.ts → _BottomSheet.d.ts} +3 -3
  45. package/build/types/inputs/_BottomSheet.d.ts.map +1 -0
  46. package/build/types/inputs/_ButtonInput.d.ts +5 -0
  47. package/build/types/inputs/_ButtonInput.d.ts.map +1 -0
  48. package/build/types/inputs/{SelectInput/Popover/SelectInputPopover.d.ts → _Popover.d.ts} +3 -3
  49. package/build/types/inputs/_Popover.d.ts.map +1 -0
  50. package/package.json +1 -1
  51. package/src/inputs/{SelectInput/_stories/SelectInput.docs.mdx → SelectInput.docs.mdx} +1 -0
  52. package/src/inputs/SelectInput.less +219 -0
  53. package/src/inputs/{SelectInput/_stories/SelectInput.story.tsx → SelectInput.story.tsx} +8 -11
  54. package/src/inputs/{SelectInput/_stories/SelectInput.test.story.tsx → SelectInput.test.story.tsx} +10 -5
  55. package/src/inputs/{SelectInput/SelectInput.test.tsx → SelectInput.test.tsx} +11 -9
  56. package/src/inputs/SelectInput.tsx +1269 -0
  57. package/src/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.tsx → _BottomSheet.tsx} +7 -7
  58. package/src/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.tsx → _ButtonInput.tsx} +5 -5
  59. package/src/inputs/{SelectInput/Popover/SelectInputPopover.tsx → _Popover.tsx} +4 -4
  60. package/src/main.css +90 -90
  61. package/src/main.less +1 -1
  62. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +0 -1
  63. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +0 -1
  64. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +0 -1
  65. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +0 -1
  66. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js +0 -27
  67. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +0 -1
  68. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +0 -25
  69. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +0 -1
  70. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js +0 -59
  71. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +0 -1
  72. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs +0 -56
  73. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +0 -1
  74. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js +0 -50
  75. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +0 -1
  76. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs +0 -48
  77. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +0 -1
  78. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js +0 -47
  79. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +0 -1
  80. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs +0 -45
  81. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +0 -1
  82. package/build/inputs/SelectInput/Option/SelectInputOption.js +0 -42
  83. package/build/inputs/SelectInput/Option/SelectInputOption.js.map +0 -1
  84. package/build/inputs/SelectInput/Option/SelectInputOption.mjs +0 -40
  85. package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +0 -1
  86. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js +0 -40
  87. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +0 -1
  88. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +0 -38
  89. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +0 -1
  90. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js +0 -48
  91. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +0 -1
  92. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs +0 -46
  93. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +0 -1
  94. package/build/inputs/SelectInput/Options/SelectInputOptions.js +0 -300
  95. package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +0 -1
  96. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs +0 -298
  97. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +0 -1
  98. package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +0 -1
  99. package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +0 -1
  100. package/build/inputs/SelectInput/SelectInput.contexts.js +0 -29
  101. package/build/inputs/SelectInput/SelectInput.contexts.js.map +0 -1
  102. package/build/inputs/SelectInput/SelectInput.contexts.mjs +0 -24
  103. package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +0 -1
  104. package/build/inputs/SelectInput/SelectInput.js +0 -222
  105. package/build/inputs/SelectInput/SelectInput.js.map +0 -1
  106. package/build/inputs/SelectInput/SelectInput.messages.js.map +0 -1
  107. package/build/inputs/SelectInput/SelectInput.messages.mjs.map +0 -1
  108. package/build/inputs/SelectInput/SelectInput.mjs +0 -216
  109. package/build/inputs/SelectInput/SelectInput.mjs.map +0 -1
  110. package/build/inputs/SelectInput/SelectInput.utils.js +0 -164
  111. package/build/inputs/SelectInput/SelectInput.utils.js.map +0 -1
  112. package/build/inputs/SelectInput/SelectInput.utils.mjs +0 -154
  113. package/build/inputs/SelectInput/SelectInput.utils.mjs.map +0 -1
  114. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js +0 -43
  115. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +0 -1
  116. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs +0 -37
  117. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +0 -1
  118. package/build/styles/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
  119. package/build/styles/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -16
  120. package/build/styles/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
  121. package/build/styles/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
  122. package/build/styles/inputs/SelectInput/Option/SelectInputOption.css +0 -33
  123. package/build/styles/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
  124. package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
  125. package/build/styles/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
  126. package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +0 -1
  127. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts +0 -3
  128. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +0 -1
  129. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +0 -5
  130. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +0 -1
  131. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts +0 -3
  132. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +0 -1
  133. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts +0 -7
  134. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +0 -1
  135. package/build/types/inputs/SelectInput/ClearButton/index.d.ts +0 -3
  136. package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +0 -1
  137. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +0 -16
  138. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +0 -1
  139. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts +0 -2
  140. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +0 -1
  141. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +0 -12
  142. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +0 -1
  143. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts +0 -3
  144. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +0 -1
  145. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts +0 -14
  146. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +0 -1
  147. package/build/types/inputs/SelectInput/ItemView/index.d.ts +0 -4
  148. package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +0 -1
  149. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts +0 -14
  150. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +0 -1
  151. package/build/types/inputs/SelectInput/Option/index.d.ts +0 -3
  152. package/build/types/inputs/SelectInput/Option/index.d.ts.map +0 -1
  153. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +0 -16
  154. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +0 -1
  155. package/build/types/inputs/SelectInput/OptionContent/index.d.ts +0 -3
  156. package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +0 -1
  157. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +0 -12
  158. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +0 -1
  159. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts +0 -3
  160. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +0 -1
  161. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts +0 -21
  162. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +0 -1
  163. package/build/types/inputs/SelectInput/Options/index.d.ts +0 -4
  164. package/build/types/inputs/SelectInput/Options/index.d.ts.map +0 -1
  165. package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +0 -1
  166. package/build/types/inputs/SelectInput/Popover/index.d.ts +0 -3
  167. package/build/types/inputs/SelectInput/Popover/index.d.ts.map +0 -1
  168. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts +0 -33
  169. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +0 -1
  170. package/build/types/inputs/SelectInput/SelectInput.d.ts +0 -10
  171. package/build/types/inputs/SelectInput/SelectInput.d.ts.map +0 -1
  172. package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +0 -1
  173. package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +0 -1
  174. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts +0 -61
  175. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +0 -1
  176. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +0 -18
  177. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +0 -1
  178. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts +0 -3
  179. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +0 -1
  180. package/build/types/inputs/SelectInput/components.d.ts +0 -10
  181. package/build/types/inputs/SelectInput/components.d.ts.map +0 -1
  182. package/build/types/inputs/SelectInput/index.d.ts +0 -12
  183. package/build/types/inputs/SelectInput/index.d.ts.map +0 -1
  184. package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +0 -96
  185. package/src/inputs/SelectInput/BottomSheet/index.ts +0 -2
  186. package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +0 -16
  187. package/src/inputs/SelectInput/ButtonInput/index.ts +0 -2
  188. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +0 -46
  189. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.less +0 -40
  190. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +0 -29
  191. package/src/inputs/SelectInput/ClearButton/index.ts +0 -2
  192. package/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx +0 -74
  193. package/src/inputs/SelectInput/DefaultRenderTrigger/index.ts +0 -5
  194. package/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx +0 -64
  195. package/src/inputs/SelectInput/ItemView/GroupItemView/index.ts +0 -2
  196. package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +0 -16
  197. package/src/inputs/SelectInput/ItemView/SelectInputItemView.less +0 -17
  198. package/src/inputs/SelectInput/ItemView/SelectInputItemView.tsx +0 -51
  199. package/src/inputs/SelectInput/ItemView/index.ts +0 -3
  200. package/src/inputs/SelectInput/Option/SelectInputOption.css +0 -33
  201. package/src/inputs/SelectInput/Option/SelectInputOption.less +0 -32
  202. package/src/inputs/SelectInput/Option/SelectInputOption.tsx +0 -60
  203. package/src/inputs/SelectInput/Option/index.ts +0 -2
  204. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +0 -37
  205. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.less +0 -38
  206. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +0 -75
  207. package/src/inputs/SelectInput/OptionContent/index.ts +0 -2
  208. package/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx +0 -62
  209. package/src/inputs/SelectInput/Options/OptionsContainer/index.ts +0 -2
  210. package/src/inputs/SelectInput/Options/SelectInputOptions.css +0 -81
  211. package/src/inputs/SelectInput/Options/SelectInputOptions.less +0 -77
  212. package/src/inputs/SelectInput/Options/SelectInputOptions.tsx +0 -418
  213. package/src/inputs/SelectInput/Options/index.ts +0 -3
  214. package/src/inputs/SelectInput/Popover/SelectInputPopover.css +0 -46
  215. package/src/inputs/SelectInput/Popover/index.ts +0 -2
  216. package/src/inputs/SelectInput/SelectInput.contexts.tsx +0 -40
  217. package/src/inputs/SelectInput/SelectInput.less +0 -22
  218. package/src/inputs/SelectInput/SelectInput.tsx +0 -258
  219. package/src/inputs/SelectInput/SelectInput.types.ts +0 -113
  220. package/src/inputs/SelectInput/SelectInput.utils.ts +0 -206
  221. package/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +0 -44
  222. package/src/inputs/SelectInput/TriggerButton/index.ts +0 -5
  223. package/src/inputs/SelectInput/components.ts +0 -10
  224. package/src/inputs/SelectInput/index.ts +0 -14
  225. package/build/inputs/{SelectInput/SelectInput.messages.js → SelectInput.messages.js} +0 -0
  226. package/build/inputs/{SelectInput/SelectInput.messages.mjs → SelectInput.messages.mjs} +0 -0
  227. package/{src/inputs/SelectInput → build/styles/inputs}/SelectInput.css +90 -90
  228. package/build/types/inputs/{SelectInput/SelectInput.messages.d.ts → SelectInput.messages.d.ts} +0 -0
  229. package/{build/styles/inputs/SelectInput → src/inputs}/SelectInput.css +90 -90
  230. /package/src/inputs/{SelectInput/SelectInput.messages.ts → SelectInput.messages.ts} +0 -0
  231. /package/src/inputs/{SelectInput/BottomSheet/SelectInputBottomSheet.less → _BottomSheet.less} +0 -0
  232. /package/src/inputs/{SelectInput/ButtonInput/SelectInputButtonInput.less → _ButtonInput.less} +0 -0
  233. /package/src/inputs/{SelectInput/Popover/SelectInputPopover.less → _Popover.less} +0 -0
@@ -156,91 +156,14 @@
156
156
  color: #5d7079;
157
157
  color: var(--color-content-secondary);
158
158
  }
159
- .np-select-input-option-container {
160
- display: flex;
161
- cursor: default;
162
- -webkit-user-select: none;
163
- -moz-user-select: none;
164
- user-select: none;
165
- align-items: center;
166
- -moz-column-gap: 8px;
167
- column-gap: 8px;
168
- -moz-column-gap: var(--size-8);
169
- column-gap: var(--size-8);
170
- border-radius: 10px;
171
- border-radius: var(--radius-small);
172
- padding: 12px 16px;
173
- padding: var(--size-12) var(--size-16);
174
- color: var(--color-interactive-primary);
175
- }
176
- .np-select-input-option-container:focus {
177
- outline: none;
178
- }
179
- .np-select-input-option-container--active {
180
- box-shadow: inset 0 0 0 1px #c9cbce;
181
- box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
182
- }
183
- .np-select-input-option-container--disabled {
184
- opacity: 0.45;
185
- }
186
- .np-select-input-option-check--not-selected {
187
- visibility: hidden;
188
- }
189
- .np-select-input-option {
190
- flex: 1;
191
- }
192
- .np-select-input-option-content-container {
193
- display: flex;
194
- align-items: center;
195
- -moz-column-gap: 8px;
196
- column-gap: 8px;
197
- -moz-column-gap: var(--size-8);
198
- column-gap: var(--size-8);
199
- color: #37517e;
200
- color: var(--color-content-primary);
201
- }
202
- .np-select-input-option-content-icon {
203
- display: flex;
204
- }
205
- .np-select-input-option-content-icon--not-within-trigger {
206
- align-self: flex-start;
207
- }
208
- .np-select-input-option-content-text {
209
- display: flex;
210
- flex: 1;
211
- flex-direction: column;
212
- overflow: hidden;
213
- }
214
- .np-select-input-option-content-text-secondary {
215
- color: #5d7079;
216
- color: var(--color-content-secondary);
217
- }
218
- .np-select-input-option-content-text-within-trigger {
159
+ .np-select-input-content {
219
160
  overflow: hidden;
220
161
  text-overflow: ellipsis;
221
162
  white-space: nowrap;
222
163
  }
223
- .np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
224
- margin-right: 8px;
225
- margin-right: var(--size-8);
226
- margin-left: 8px;
227
- margin-left: var(--size-8);
228
- }
229
- .np-select-input-group-item--without-needle:first-child {
230
- margin-top: calc(-1 * 8px);
231
- margin-top: calc(-1 * var(--size-8));
232
- }
233
- .np-select-input-group-item-header {
234
- position: sticky;
235
- top: 0px;
236
- z-index: 10;
237
- background-color: #ffffff;
238
- background-color: var(--color-background-elevated);
239
- }
240
- .np-select-input-separator-item {
241
- margin: 8px;
242
- margin: var(--size-8);
243
- border-top-width: 1px;
164
+ .np-select-input-placeholder {
165
+ color: #768e9c;
166
+ color: var(--color-content-tertiary);
244
167
  }
245
168
  .np-select-input-options-container {
246
169
  display: flex;
@@ -319,6 +242,92 @@
319
242
  contain: strict;
320
243
  height: 100%;
321
244
  }
245
+ .np-select-input-separator-item {
246
+ margin: 8px;
247
+ margin: var(--size-8);
248
+ border-top-width: 1px;
249
+ }
250
+ .np-select-input-group-item--without-needle:first-child {
251
+ margin-top: calc(-1 * 8px);
252
+ margin-top: calc(-1 * var(--size-8));
253
+ }
254
+ .np-select-input-group-item-header {
255
+ position: sticky;
256
+ top: 0px;
257
+ z-index: 10;
258
+ background-color: #ffffff;
259
+ background-color: var(--color-background-elevated);
260
+ }
261
+ .np-select-input-option-container {
262
+ display: flex;
263
+ cursor: default;
264
+ -webkit-user-select: none;
265
+ -moz-user-select: none;
266
+ user-select: none;
267
+ align-items: center;
268
+ -moz-column-gap: 8px;
269
+ column-gap: 8px;
270
+ -moz-column-gap: var(--size-8);
271
+ column-gap: var(--size-8);
272
+ border-radius: 10px;
273
+ border-radius: var(--radius-small);
274
+ padding: 12px 16px;
275
+ padding: var(--size-12) var(--size-16);
276
+ color: var(--color-interactive-primary);
277
+ }
278
+ .np-select-input-option-container:focus {
279
+ outline: none;
280
+ }
281
+ .np-select-input-option-container--active {
282
+ box-shadow: inset 0 0 0 1px #c9cbce;
283
+ box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
284
+ }
285
+ .np-select-input-option-container--disabled {
286
+ opacity: 0.45;
287
+ }
288
+ .np-select-input-option-check--not-selected {
289
+ visibility: hidden;
290
+ }
291
+ .np-select-input-option {
292
+ flex: 1;
293
+ }
294
+ .np-select-input-option-content-container {
295
+ display: flex;
296
+ align-items: center;
297
+ -moz-column-gap: 8px;
298
+ column-gap: 8px;
299
+ -moz-column-gap: var(--size-8);
300
+ column-gap: var(--size-8);
301
+ color: #37517e;
302
+ color: var(--color-content-primary);
303
+ }
304
+ .np-select-input-option-content-icon {
305
+ display: flex;
306
+ }
307
+ .np-select-input-option-content-icon--not-within-trigger {
308
+ align-self: flex-start;
309
+ }
310
+ .np-select-input-option-content-text {
311
+ display: flex;
312
+ flex: 1;
313
+ flex-direction: column;
314
+ overflow: hidden;
315
+ }
316
+ .np-select-input-option-content-text-secondary {
317
+ color: #5d7079;
318
+ color: var(--color-content-secondary);
319
+ }
320
+ .np-select-input-option-content-text-within-trigger {
321
+ overflow: hidden;
322
+ text-overflow: ellipsis;
323
+ white-space: nowrap;
324
+ }
325
+ .np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
326
+ margin-right: 8px;
327
+ margin-right: var(--size-8);
328
+ margin-left: 8px;
329
+ margin-left: var(--size-8);
330
+ }
322
331
  .np-select-input-footer {
323
332
  padding: 4px 24px 16px;
324
333
  padding: var(--size-4) var(--size-24) var(--size-16);
@@ -369,12 +378,3 @@
369
378
  border-inline-start: 1px solid rgba(0,0,0,0.10196);
370
379
  border-inline-start: 1px solid var(--color-border-neutral);
371
380
  }
372
- .np-select-input-content {
373
- overflow: hidden;
374
- text-overflow: ellipsis;
375
- white-space: nowrap;
376
- }
377
- .np-select-input-placeholder {
378
- color: #768e9c;
379
- color: var(--color-content-tertiary);
380
- }
@@ -156,91 +156,14 @@
156
156
  color: #5d7079;
157
157
  color: var(--color-content-secondary);
158
158
  }
159
- .np-select-input-option-container {
160
- display: flex;
161
- cursor: default;
162
- -webkit-user-select: none;
163
- -moz-user-select: none;
164
- user-select: none;
165
- align-items: center;
166
- -moz-column-gap: 8px;
167
- column-gap: 8px;
168
- -moz-column-gap: var(--size-8);
169
- column-gap: var(--size-8);
170
- border-radius: 10px;
171
- border-radius: var(--radius-small);
172
- padding: 12px 16px;
173
- padding: var(--size-12) var(--size-16);
174
- color: var(--color-interactive-primary);
175
- }
176
- .np-select-input-option-container:focus {
177
- outline: none;
178
- }
179
- .np-select-input-option-container--active {
180
- box-shadow: inset 0 0 0 1px #c9cbce;
181
- box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
182
- }
183
- .np-select-input-option-container--disabled {
184
- opacity: 0.45;
185
- }
186
- .np-select-input-option-check--not-selected {
187
- visibility: hidden;
188
- }
189
- .np-select-input-option {
190
- flex: 1;
191
- }
192
- .np-select-input-option-content-container {
193
- display: flex;
194
- align-items: center;
195
- -moz-column-gap: 8px;
196
- column-gap: 8px;
197
- -moz-column-gap: var(--size-8);
198
- column-gap: var(--size-8);
199
- color: #37517e;
200
- color: var(--color-content-primary);
201
- }
202
- .np-select-input-option-content-icon {
203
- display: flex;
204
- }
205
- .np-select-input-option-content-icon--not-within-trigger {
206
- align-self: flex-start;
207
- }
208
- .np-select-input-option-content-text {
209
- display: flex;
210
- flex: 1;
211
- flex-direction: column;
212
- overflow: hidden;
213
- }
214
- .np-select-input-option-content-text-secondary {
215
- color: #5d7079;
216
- color: var(--color-content-secondary);
217
- }
218
- .np-select-input-option-content-text-within-trigger {
159
+ .np-select-input-content {
219
160
  overflow: hidden;
220
161
  text-overflow: ellipsis;
221
162
  white-space: nowrap;
222
163
  }
223
- .np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
224
- margin-right: 8px;
225
- margin-right: var(--size-8);
226
- margin-left: 8px;
227
- margin-left: var(--size-8);
228
- }
229
- .np-select-input-group-item--without-needle:first-child {
230
- margin-top: calc(-1 * 8px);
231
- margin-top: calc(-1 * var(--size-8));
232
- }
233
- .np-select-input-group-item-header {
234
- position: sticky;
235
- top: 0px;
236
- z-index: 10;
237
- background-color: #ffffff;
238
- background-color: var(--color-background-elevated);
239
- }
240
- .np-select-input-separator-item {
241
- margin: 8px;
242
- margin: var(--size-8);
243
- border-top-width: 1px;
164
+ .np-select-input-placeholder {
165
+ color: #768e9c;
166
+ color: var(--color-content-tertiary);
244
167
  }
245
168
  .np-select-input-options-container {
246
169
  display: flex;
@@ -319,6 +242,92 @@
319
242
  contain: strict;
320
243
  height: 100%;
321
244
  }
245
+ .np-select-input-separator-item {
246
+ margin: 8px;
247
+ margin: var(--size-8);
248
+ border-top-width: 1px;
249
+ }
250
+ .np-select-input-group-item--without-needle:first-child {
251
+ margin-top: calc(-1 * 8px);
252
+ margin-top: calc(-1 * var(--size-8));
253
+ }
254
+ .np-select-input-group-item-header {
255
+ position: sticky;
256
+ top: 0px;
257
+ z-index: 10;
258
+ background-color: #ffffff;
259
+ background-color: var(--color-background-elevated);
260
+ }
261
+ .np-select-input-option-container {
262
+ display: flex;
263
+ cursor: default;
264
+ -webkit-user-select: none;
265
+ -moz-user-select: none;
266
+ user-select: none;
267
+ align-items: center;
268
+ -moz-column-gap: 8px;
269
+ column-gap: 8px;
270
+ -moz-column-gap: var(--size-8);
271
+ column-gap: var(--size-8);
272
+ border-radius: 10px;
273
+ border-radius: var(--radius-small);
274
+ padding: 12px 16px;
275
+ padding: var(--size-12) var(--size-16);
276
+ color: var(--color-interactive-primary);
277
+ }
278
+ .np-select-input-option-container:focus {
279
+ outline: none;
280
+ }
281
+ .np-select-input-option-container--active {
282
+ box-shadow: inset 0 0 0 1px #c9cbce;
283
+ box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
284
+ }
285
+ .np-select-input-option-container--disabled {
286
+ opacity: 0.45;
287
+ }
288
+ .np-select-input-option-check--not-selected {
289
+ visibility: hidden;
290
+ }
291
+ .np-select-input-option {
292
+ flex: 1;
293
+ }
294
+ .np-select-input-option-content-container {
295
+ display: flex;
296
+ align-items: center;
297
+ -moz-column-gap: 8px;
298
+ column-gap: 8px;
299
+ -moz-column-gap: var(--size-8);
300
+ column-gap: var(--size-8);
301
+ color: #37517e;
302
+ color: var(--color-content-primary);
303
+ }
304
+ .np-select-input-option-content-icon {
305
+ display: flex;
306
+ }
307
+ .np-select-input-option-content-icon--not-within-trigger {
308
+ align-self: flex-start;
309
+ }
310
+ .np-select-input-option-content-text {
311
+ display: flex;
312
+ flex: 1;
313
+ flex-direction: column;
314
+ overflow: hidden;
315
+ }
316
+ .np-select-input-option-content-text-secondary {
317
+ color: #5d7079;
318
+ color: var(--color-content-secondary);
319
+ }
320
+ .np-select-input-option-content-text-within-trigger {
321
+ overflow: hidden;
322
+ text-overflow: ellipsis;
323
+ white-space: nowrap;
324
+ }
325
+ .np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
326
+ margin-right: 8px;
327
+ margin-right: var(--size-8);
328
+ margin-left: 8px;
329
+ margin-left: var(--size-8);
330
+ }
322
331
  .np-select-input-footer {
323
332
  padding: 4px 24px 16px;
324
333
  padding: var(--size-4) var(--size-24) var(--size-16);
@@ -369,12 +378,3 @@
369
378
  border-inline-start: 1px solid rgba(0,0,0,0.10196);
370
379
  border-inline-start: 1px solid var(--color-border-neutral);
371
380
  }
372
- .np-select-input-content {
373
- overflow: hidden;
374
- text-overflow: ellipsis;
375
- white-space: nowrap;
376
- }
377
- .np-select-input-placeholder {
378
- color: #768e9c;
379
- color: var(--color-content-tertiary);
380
- }