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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (496) hide show
  1. package/build/accordion/Accordion.js.map +1 -1
  2. package/build/accordion/Accordion.mjs.map +1 -1
  3. package/build/actionButton/ActionButton.js.map +1 -1
  4. package/build/actionButton/ActionButton.mjs.map +1 -1
  5. package/build/actionOption/ActionOption.js.map +1 -1
  6. package/build/actionOption/ActionOption.mjs.map +1 -1
  7. package/build/alert/Alert.js +1 -1
  8. package/build/alert/Alert.js.map +1 -1
  9. package/build/alert/Alert.mjs +1 -1
  10. package/build/alert/Alert.mjs.map +1 -1
  11. package/build/avatar/Avatar.js.map +1 -1
  12. package/build/avatar/Avatar.mjs.map +1 -1
  13. package/build/avatarLayout/AvatarLayout.js.map +1 -1
  14. package/build/avatarLayout/AvatarLayout.mjs.map +1 -1
  15. package/build/badge/Badge.js.map +1 -1
  16. package/build/badge/Badge.mjs.map +1 -1
  17. package/build/body/Body.js.map +1 -1
  18. package/build/body/Body.mjs.map +1 -1
  19. package/build/button/LegacyButton.js.map +1 -1
  20. package/build/button/LegacyButton.mjs.map +1 -1
  21. package/build/card/Card.js.map +1 -1
  22. package/build/card/Card.mjs.map +1 -1
  23. package/build/checkboxButton/CheckboxButton.js.map +1 -1
  24. package/build/checkboxButton/CheckboxButton.mjs.map +1 -1
  25. package/build/checkboxOption/CheckboxOption.js.map +1 -1
  26. package/build/checkboxOption/CheckboxOption.mjs.map +1 -1
  27. package/build/circularButton/CircularButton.js.map +1 -1
  28. package/build/circularButton/CircularButton.mjs.map +1 -1
  29. package/build/common/propsValues/type.js +1 -1
  30. package/build/common/propsValues/type.js.map +1 -1
  31. package/build/common/propsValues/type.mjs +1 -1
  32. package/build/common/propsValues/type.mjs.map +1 -1
  33. package/build/common/propsValues/typography.js +1 -1
  34. package/build/common/propsValues/typography.js.map +1 -1
  35. package/build/common/propsValues/typography.mjs +1 -1
  36. package/build/common/propsValues/typography.mjs.map +1 -1
  37. package/build/criticalBanner/CriticalCommsBanner.js +68 -3
  38. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  39. package/build/criticalBanner/CriticalCommsBanner.mjs +69 -4
  40. package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
  41. package/build/dateInput/DateInput.js +12 -5
  42. package/build/dateInput/DateInput.js.map +1 -1
  43. package/build/dateInput/DateInput.mjs +11 -4
  44. package/build/dateInput/DateInput.mjs.map +1 -1
  45. package/build/dimmer/Dimmer.js.map +1 -1
  46. package/build/dimmer/Dimmer.mjs.map +1 -1
  47. package/build/drawer/Drawer.js.map +1 -1
  48. package/build/drawer/Drawer.mjs.map +1 -1
  49. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js +16 -8
  50. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.js.map +1 -1
  51. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs +14 -6
  52. package/build/expressiveMoneyInput/currencySelector/CurrencySelector.mjs.map +1 -1
  53. package/build/field/Field.js.map +1 -1
  54. package/build/field/Field.mjs.map +1 -1
  55. package/build/flowNavigation/FlowNavigation.js.map +1 -1
  56. package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
  57. package/build/header/Header.js.map +1 -1
  58. package/build/header/Header.mjs.map +1 -1
  59. package/build/iconButton/IconButton.js.map +1 -1
  60. package/build/iconButton/IconButton.mjs.map +1 -1
  61. package/build/index.js +14 -7
  62. package/build/index.js.map +1 -1
  63. package/build/index.mjs +10 -3
  64. package/build/index.mjs.map +1 -1
  65. package/build/inputs/{_BottomSheet.js → SelectInput/BottomSheet/SelectInputBottomSheet.js} +7 -7
  66. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -0
  67. package/build/inputs/{_BottomSheet.mjs → SelectInput/BottomSheet/SelectInputBottomSheet.mjs} +7 -7
  68. package/build/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -0
  69. package/build/inputs/{_ButtonInput.js → SelectInput/ButtonInput/SelectInputButtonInput.js} +5 -5
  70. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.js.map +1 -0
  71. package/build/inputs/{_ButtonInput.mjs → SelectInput/ButtonInput/SelectInputButtonInput.mjs} +5 -5
  72. package/build/inputs/SelectInput/ButtonInput/SelectInputButtonInput.mjs.map +1 -0
  73. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js +27 -0
  74. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.js.map +1 -0
  75. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs +25 -0
  76. package/build/inputs/SelectInput/ClearButton/SelectInputClearButton.mjs.map +1 -0
  77. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js +59 -0
  78. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.js.map +1 -0
  79. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs +56 -0
  80. package/build/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.mjs.map +1 -0
  81. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js +50 -0
  82. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.js.map +1 -0
  83. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs +48 -0
  84. package/build/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.mjs.map +1 -0
  85. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js +47 -0
  86. package/build/inputs/SelectInput/ItemView/SelectInputItemView.js.map +1 -0
  87. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs +45 -0
  88. package/build/inputs/SelectInput/ItemView/SelectInputItemView.mjs.map +1 -0
  89. package/build/inputs/SelectInput/Option/SelectInputOption.js +42 -0
  90. package/build/inputs/SelectInput/Option/SelectInputOption.js.map +1 -0
  91. package/build/inputs/SelectInput/Option/SelectInputOption.mjs +40 -0
  92. package/build/inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -0
  93. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js +40 -0
  94. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -0
  95. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +38 -0
  96. package/build/inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -0
  97. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js +48 -0
  98. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.js.map +1 -0
  99. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs +46 -0
  100. package/build/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.mjs.map +1 -0
  101. package/build/inputs/SelectInput/Options/SelectInputOptions.js +300 -0
  102. package/build/inputs/SelectInput/Options/SelectInputOptions.js.map +1 -0
  103. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs +298 -0
  104. package/build/inputs/SelectInput/Options/SelectInputOptions.mjs.map +1 -0
  105. package/build/inputs/{_Popover.js → SelectInput/Popover/SelectInputPopover.js} +7 -7
  106. package/build/inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -0
  107. package/build/inputs/{_Popover.mjs → SelectInput/Popover/SelectInputPopover.mjs} +7 -7
  108. package/build/inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -0
  109. package/build/inputs/SelectInput/SelectInput.contexts.js +29 -0
  110. package/build/inputs/SelectInput/SelectInput.contexts.js.map +1 -0
  111. package/build/inputs/SelectInput/SelectInput.contexts.mjs +24 -0
  112. package/build/inputs/SelectInput/SelectInput.contexts.mjs.map +1 -0
  113. package/build/inputs/SelectInput/SelectInput.js +222 -0
  114. package/build/inputs/SelectInput/SelectInput.js.map +1 -0
  115. package/build/inputs/SelectInput/SelectInput.messages.js.map +1 -0
  116. package/build/inputs/SelectInput/SelectInput.messages.mjs.map +1 -0
  117. package/build/inputs/SelectInput/SelectInput.mjs +216 -0
  118. package/build/inputs/SelectInput/SelectInput.mjs.map +1 -0
  119. package/build/inputs/SelectInput/SelectInput.utils.js +164 -0
  120. package/build/inputs/SelectInput/SelectInput.utils.js.map +1 -0
  121. package/build/inputs/SelectInput/SelectInput.utils.mjs +154 -0
  122. package/build/inputs/SelectInput/SelectInput.utils.mjs.map +1 -0
  123. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js +42 -0
  124. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.js.map +1 -0
  125. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs +36 -0
  126. package/build/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.mjs.map +1 -0
  127. package/build/legacylistItem/LegacyListItem.js.map +1 -1
  128. package/build/legacylistItem/LegacyListItem.mjs.map +1 -1
  129. package/build/list/List.js.map +1 -1
  130. package/build/list/List.mjs.map +1 -1
  131. package/build/listItem/Button/ListItemButton.js.map +1 -1
  132. package/build/listItem/Button/ListItemButton.mjs.map +1 -1
  133. package/build/listItem/IconButton/ListItemIconButton.js.map +1 -1
  134. package/build/listItem/IconButton/ListItemIconButton.mjs.map +1 -1
  135. package/build/listItem/Image/ListItemImage.js.map +1 -1
  136. package/build/listItem/Image/ListItemImage.mjs.map +1 -1
  137. package/build/listItem/ListItem.js.map +1 -1
  138. package/build/listItem/ListItem.mjs.map +1 -1
  139. package/build/loader/Loader.js.map +1 -1
  140. package/build/loader/Loader.mjs.map +1 -1
  141. package/build/logo/Logo.js.map +1 -1
  142. package/build/logo/Logo.mjs.map +1 -1
  143. package/build/main.css +123 -105
  144. package/build/modal/Modal.js.map +1 -1
  145. package/build/modal/Modal.mjs.map +1 -1
  146. package/build/moneyInput/MoneyInput.js +9 -2
  147. package/build/moneyInput/MoneyInput.js.map +1 -1
  148. package/build/moneyInput/MoneyInput.mjs +8 -1
  149. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  150. package/build/navigationOption/NavigationOption.js.map +1 -1
  151. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  152. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  153. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  154. package/build/nudge/Nudge.js.map +1 -1
  155. package/build/nudge/Nudge.mjs.map +1 -1
  156. package/build/phoneNumberInput/PhoneNumberInput.js +10 -3
  157. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  158. package/build/phoneNumberInput/PhoneNumberInput.mjs +9 -2
  159. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  160. package/build/popover/Popover.js.map +1 -1
  161. package/build/popover/Popover.mjs.map +1 -1
  162. package/build/processIndicator/ProcessIndicator.js.map +1 -1
  163. package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
  164. package/build/prompt/ActionPrompt/ActionPrompt.js.map +1 -1
  165. package/build/prompt/ActionPrompt/ActionPrompt.mjs.map +1 -1
  166. package/build/prompt/InlinePrompt/InlinePrompt.js.map +1 -1
  167. package/build/prompt/InlinePrompt/InlinePrompt.mjs.map +1 -1
  168. package/build/radioOption/RadioOption.js.map +1 -1
  169. package/build/radioOption/RadioOption.mjs.map +1 -1
  170. package/build/select/Select.js.map +1 -1
  171. package/build/select/Select.mjs.map +1 -1
  172. package/build/statusIcon/StatusIcon.js.map +1 -1
  173. package/build/statusIcon/StatusIcon.mjs.map +1 -1
  174. package/build/styles/criticalBanner/CriticalCommsBanner.css +33 -15
  175. package/build/styles/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
  176. package/build/styles/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
  177. package/build/styles/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
  178. package/build/styles/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
  179. package/build/styles/inputs/SelectInput/Option/SelectInputOption.css +33 -0
  180. package/build/styles/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
  181. package/build/styles/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
  182. package/build/styles/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
  183. package/build/styles/main.css +123 -105
  184. package/build/summary/Summary.js +1 -1
  185. package/build/summary/Summary.js.map +1 -1
  186. package/build/summary/Summary.mjs +1 -1
  187. package/build/summary/Summary.mjs.map +1 -1
  188. package/build/switchOption/SwitchOption.js +1 -1
  189. package/build/switchOption/SwitchOption.js.map +1 -1
  190. package/build/switchOption/SwitchOption.mjs +1 -1
  191. package/build/switchOption/SwitchOption.mjs.map +1 -1
  192. package/build/tabs/Tabs.js.map +1 -1
  193. package/build/tabs/Tabs.mjs.map +1 -1
  194. package/build/typeahead/Typeahead.js.map +1 -1
  195. package/build/typeahead/Typeahead.mjs.map +1 -1
  196. package/build/types/accordion/Accordion.d.ts +2 -8
  197. package/build/types/accordion/Accordion.d.ts.map +1 -1
  198. package/build/types/actionButton/ActionButton.d.ts +4 -6
  199. package/build/types/actionButton/ActionButton.d.ts.map +1 -1
  200. package/build/types/actionOption/ActionOption.d.ts +1 -1
  201. package/build/types/alert/Alert.d.ts +2 -5
  202. package/build/types/alert/Alert.d.ts.map +1 -1
  203. package/build/types/avatar/Avatar.d.ts +0 -4
  204. package/build/types/avatar/Avatar.d.ts.map +1 -1
  205. package/build/types/avatarLayout/AvatarLayout.d.ts +1 -5
  206. package/build/types/avatarLayout/AvatarLayout.d.ts.map +1 -1
  207. package/build/types/badge/Badge.d.ts +0 -2
  208. package/build/types/badge/Badge.d.ts.map +1 -1
  209. package/build/types/body/Body.d.ts +6 -2
  210. package/build/types/body/Body.d.ts.map +1 -1
  211. package/build/types/button/Button.types.d.ts +1 -4
  212. package/build/types/button/Button.types.d.ts.map +1 -1
  213. package/build/types/button/LegacyButton.d.ts +4 -4
  214. package/build/types/card/Card.d.ts +0 -1
  215. package/build/types/card/Card.d.ts.map +1 -1
  216. package/build/types/checkboxButton/CheckboxButton.d.ts +0 -2
  217. package/build/types/checkboxButton/CheckboxButton.d.ts.map +1 -1
  218. package/build/types/checkboxOption/CheckboxOption.d.ts +1 -1
  219. package/build/types/circularButton/CircularButton.d.ts +1 -1
  220. package/build/types/circularButton/CircularButton.d.ts.map +1 -1
  221. package/build/types/common/propsValues/type.d.ts +1 -1
  222. package/build/types/common/propsValues/typography.d.ts +2 -2
  223. package/build/types/criticalBanner/CriticalCommsBanner.d.ts +4 -1
  224. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
  225. package/build/types/criticalBanner/index.d.ts +1 -0
  226. package/build/types/criticalBanner/index.d.ts.map +1 -1
  227. package/build/types/dateInput/DateInput.d.ts +0 -5
  228. package/build/types/dateInput/DateInput.d.ts.map +1 -1
  229. package/build/types/dimmer/Dimmer.d.ts +0 -6
  230. package/build/types/dimmer/Dimmer.d.ts.map +1 -1
  231. package/build/types/drawer/Drawer.d.ts +2 -8
  232. package/build/types/drawer/Drawer.d.ts.map +1 -1
  233. package/build/types/field/Field.d.ts +2 -5
  234. package/build/types/field/Field.d.ts.map +1 -1
  235. package/build/types/flowNavigation/FlowNavigation.d.ts +0 -3
  236. package/build/types/flowNavigation/FlowNavigation.d.ts.map +1 -1
  237. package/build/types/header/Header.d.ts +1 -5
  238. package/build/types/header/Header.d.ts.map +1 -1
  239. package/build/types/iconButton/IconButton.d.ts +0 -6
  240. package/build/types/iconButton/IconButton.d.ts.map +1 -1
  241. package/build/types/index.d.ts +1 -0
  242. package/build/types/index.d.ts.map +1 -1
  243. package/build/types/inputs/{_BottomSheet.d.ts → SelectInput/BottomSheet/SelectInputBottomSheet.d.ts} +3 -3
  244. package/build/types/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -0
  245. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts +3 -0
  246. package/build/types/inputs/SelectInput/BottomSheet/index.d.ts.map +1 -0
  247. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts +5 -0
  248. package/build/types/inputs/SelectInput/ButtonInput/SelectInputButtonInput.d.ts.map +1 -0
  249. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts +3 -0
  250. package/build/types/inputs/SelectInput/ButtonInput/index.d.ts.map +1 -0
  251. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts +7 -0
  252. package/build/types/inputs/SelectInput/ClearButton/SelectInputClearButton.d.ts.map +1 -0
  253. package/build/types/inputs/SelectInput/ClearButton/index.d.ts +3 -0
  254. package/build/types/inputs/SelectInput/ClearButton/index.d.ts.map +1 -0
  255. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts +16 -0
  256. package/build/types/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.d.ts.map +1 -0
  257. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts +2 -0
  258. package/build/types/inputs/SelectInput/DefaultRenderTrigger/index.d.ts.map +1 -0
  259. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts +9 -0
  260. package/build/types/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.d.ts.map +1 -0
  261. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts +3 -0
  262. package/build/types/inputs/SelectInput/ItemView/GroupItemView/index.d.ts.map +1 -0
  263. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts +11 -0
  264. package/build/types/inputs/SelectInput/ItemView/SelectInputItemView.d.ts.map +1 -0
  265. package/build/types/inputs/SelectInput/ItemView/index.d.ts +4 -0
  266. package/build/types/inputs/SelectInput/ItemView/index.d.ts.map +1 -0
  267. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts +11 -0
  268. package/build/types/inputs/SelectInput/Option/SelectInputOption.d.ts.map +1 -0
  269. package/build/types/inputs/SelectInput/Option/index.d.ts +3 -0
  270. package/build/types/inputs/SelectInput/Option/index.d.ts.map +1 -0
  271. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts +13 -0
  272. package/build/types/inputs/SelectInput/OptionContent/SelectInputOptionContent.d.ts.map +1 -0
  273. package/build/types/inputs/SelectInput/OptionContent/index.d.ts +3 -0
  274. package/build/types/inputs/SelectInput/OptionContent/index.d.ts.map +1 -0
  275. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts +9 -0
  276. package/build/types/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.d.ts.map +1 -0
  277. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts +3 -0
  278. package/build/types/inputs/SelectInput/Options/OptionsContainer/index.d.ts.map +1 -0
  279. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts +21 -0
  280. package/build/types/inputs/SelectInput/Options/SelectInputOptions.d.ts.map +1 -0
  281. package/build/types/inputs/SelectInput/Options/index.d.ts +4 -0
  282. package/build/types/inputs/SelectInput/Options/index.d.ts.map +1 -0
  283. package/build/types/inputs/{_Popover.d.ts → SelectInput/Popover/SelectInputPopover.d.ts} +3 -3
  284. package/build/types/inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -0
  285. package/build/types/inputs/SelectInput/Popover/index.d.ts +3 -0
  286. package/build/types/inputs/SelectInput/Popover/index.d.ts.map +1 -0
  287. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts +33 -0
  288. package/build/types/inputs/SelectInput/SelectInput.contexts.d.ts.map +1 -0
  289. package/build/types/inputs/SelectInput/SelectInput.d.ts +10 -0
  290. package/build/types/inputs/SelectInput/SelectInput.d.ts.map +1 -0
  291. package/build/types/inputs/SelectInput/SelectInput.messages.d.ts.map +1 -0
  292. package/build/types/inputs/{SelectInput.d.ts → SelectInput/SelectInput.types.d.ts} +12 -38
  293. package/build/types/inputs/SelectInput/SelectInput.types.d.ts.map +1 -0
  294. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts +61 -0
  295. package/build/types/inputs/SelectInput/SelectInput.utils.d.ts.map +1 -0
  296. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts +12 -0
  297. package/build/types/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.d.ts.map +1 -0
  298. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts +3 -0
  299. package/build/types/inputs/SelectInput/TriggerButton/index.d.ts.map +1 -0
  300. package/build/types/inputs/SelectInput/components.d.ts +10 -0
  301. package/build/types/inputs/SelectInput/components.d.ts.map +1 -0
  302. package/build/types/inputs/SelectInput/index.d.ts +12 -0
  303. package/build/types/inputs/SelectInput/index.d.ts.map +1 -0
  304. package/build/types/legacylistItem/LegacyListItem.d.ts +1 -1
  305. package/build/types/list/List.d.ts +0 -1
  306. package/build/types/list/List.d.ts.map +1 -1
  307. package/build/types/listItem/Button/ListItemButton.d.ts +0 -4
  308. package/build/types/listItem/Button/ListItemButton.d.ts.map +1 -1
  309. package/build/types/listItem/IconButton/ListItemIconButton.d.ts +1 -3
  310. package/build/types/listItem/IconButton/ListItemIconButton.d.ts.map +1 -1
  311. package/build/types/listItem/Image/ListItemImage.d.ts +0 -2
  312. package/build/types/listItem/Image/ListItemImage.d.ts.map +1 -1
  313. package/build/types/listItem/ListItem.d.ts +0 -3
  314. package/build/types/listItem/ListItem.d.ts.map +1 -1
  315. package/build/types/loader/Loader.d.ts +1 -5
  316. package/build/types/loader/Loader.d.ts.map +1 -1
  317. package/build/types/logo/Logo.d.ts +1 -4
  318. package/build/types/logo/Logo.d.ts.map +1 -1
  319. package/build/types/modal/Modal.d.ts +0 -6
  320. package/build/types/modal/Modal.d.ts.map +1 -1
  321. package/build/types/navigationOption/NavigationOption.d.ts +1 -1
  322. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +1 -1
  323. package/build/types/nudge/Nudge.d.ts +1 -1
  324. package/build/types/nudge/Nudge.d.ts.map +1 -1
  325. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts +1 -7
  326. package/build/types/phoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
  327. package/build/types/popover/Popover.d.ts +0 -1
  328. package/build/types/popover/Popover.d.ts.map +1 -1
  329. package/build/types/processIndicator/ProcessIndicator.d.ts +0 -2
  330. package/build/types/processIndicator/ProcessIndicator.d.ts.map +1 -1
  331. package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts +1 -8
  332. package/build/types/prompt/ActionPrompt/ActionPrompt.d.ts.map +1 -1
  333. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts +0 -1
  334. package/build/types/prompt/InlinePrompt/InlinePrompt.d.ts.map +1 -1
  335. package/build/types/radioOption/RadioOption.d.ts +1 -1
  336. package/build/types/select/Select.d.ts +0 -4
  337. package/build/types/select/Select.d.ts.map +1 -1
  338. package/build/types/statusIcon/StatusIcon.d.ts +1 -3
  339. package/build/types/statusIcon/StatusIcon.d.ts.map +1 -1
  340. package/build/types/summary/Summary.d.ts +4 -7
  341. package/build/types/summary/Summary.d.ts.map +1 -1
  342. package/build/types/switchOption/SwitchOption.d.ts +1 -1
  343. package/build/types/tabs/Tabs.d.ts +0 -2
  344. package/build/types/tabs/Tabs.d.ts.map +1 -1
  345. package/build/types/typeahead/Typeahead.d.ts +1 -14
  346. package/build/types/typeahead/Typeahead.d.ts.map +1 -1
  347. package/build/types/upload/Upload.d.ts +0 -6
  348. package/build/types/upload/Upload.d.ts.map +1 -1
  349. package/build/types/uploadInput/UploadInput.d.ts +1 -10
  350. package/build/types/uploadInput/UploadInput.d.ts.map +1 -1
  351. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +0 -3
  352. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts.map +1 -1
  353. package/build/upload/Upload.js.map +1 -1
  354. package/build/upload/Upload.mjs.map +1 -1
  355. package/build/uploadInput/UploadInput.js.map +1 -1
  356. package/build/uploadInput/UploadInput.mjs.map +1 -1
  357. package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
  358. package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
  359. package/package.json +1 -1
  360. package/src/accordion/Accordion.tsx +2 -8
  361. package/src/actionButton/ActionButton.tsx +3 -4
  362. package/src/actionOption/ActionOption.tsx +1 -1
  363. package/src/alert/Alert.tsx +2 -5
  364. package/src/avatar/Avatar.tsx +0 -4
  365. package/src/avatarLayout/AvatarLayout.tsx +1 -5
  366. package/src/badge/Badge.tsx +0 -2
  367. package/src/body/Body.tsx +6 -2
  368. package/src/button/Button.types.ts +1 -4
  369. package/src/button/LegacyButton.tsx +4 -4
  370. package/src/card/Card.tsx +0 -1
  371. package/src/checkboxButton/CheckboxButton.tsx +0 -1
  372. package/src/checkboxOption/CheckboxOption.tsx +1 -1
  373. package/src/circularButton/CircularButton.tsx +2 -1
  374. package/src/common/propsValues/type.ts +1 -1
  375. package/src/common/propsValues/typography.ts +2 -2
  376. package/src/criticalBanner/CriticalCommsBanner.css +33 -15
  377. package/src/criticalBanner/CriticalCommsBanner.less +46 -36
  378. package/src/criticalBanner/CriticalCommsBanner.story.tsx +9 -15
  379. package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +70 -0
  380. package/src/criticalBanner/CriticalCommsBanner.test.tsx +66 -0
  381. package/src/criticalBanner/CriticalCommsBanner.tsx +54 -5
  382. package/src/criticalBanner/index.ts +1 -0
  383. package/src/dateInput/DateInput.tsx +0 -5
  384. package/src/dimmer/Dimmer.tsx +0 -6
  385. package/src/drawer/Drawer.tsx +2 -8
  386. package/src/field/Field.tsx +2 -5
  387. package/src/flowNavigation/FlowNavigation.tsx +0 -3
  388. package/src/header/Header.tsx +1 -5
  389. package/src/iconButton/IconButton.tsx +0 -3
  390. package/src/index.ts +1 -0
  391. package/src/inputs/SelectInput/BottomSheet/SelectInputBottomSheet.css +96 -0
  392. package/src/inputs/{_BottomSheet.tsx → SelectInput/BottomSheet/SelectInputBottomSheet.tsx} +7 -7
  393. package/src/inputs/SelectInput/BottomSheet/index.ts +2 -0
  394. package/src/inputs/SelectInput/ButtonInput/SelectInputButtonInput.css +16 -0
  395. package/src/inputs/{_ButtonInput.tsx → SelectInput/ButtonInput/SelectInputButtonInput.tsx} +5 -5
  396. package/src/inputs/SelectInput/ButtonInput/index.ts +2 -0
  397. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.css +46 -0
  398. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.less +40 -0
  399. package/src/inputs/SelectInput/ClearButton/SelectInputClearButton.tsx +29 -0
  400. package/src/inputs/SelectInput/ClearButton/index.ts +2 -0
  401. package/src/inputs/SelectInput/DefaultRenderTrigger/SelectInputDefaultRenderTrigger.tsx +74 -0
  402. package/src/inputs/SelectInput/DefaultRenderTrigger/index.ts +5 -0
  403. package/src/inputs/SelectInput/ItemView/GroupItemView/SelectInputGroupItemView.tsx +61 -0
  404. package/src/inputs/SelectInput/ItemView/GroupItemView/index.ts +2 -0
  405. package/src/inputs/SelectInput/ItemView/SelectInputItemView.css +16 -0
  406. package/src/inputs/SelectInput/ItemView/SelectInputItemView.less +17 -0
  407. package/src/inputs/SelectInput/ItemView/SelectInputItemView.tsx +48 -0
  408. package/src/inputs/SelectInput/ItemView/index.ts +3 -0
  409. package/src/inputs/SelectInput/Option/SelectInputOption.css +33 -0
  410. package/src/inputs/SelectInput/Option/SelectInputOption.less +32 -0
  411. package/src/inputs/SelectInput/Option/SelectInputOption.tsx +57 -0
  412. package/src/inputs/SelectInput/Option/index.ts +2 -0
  413. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.css +37 -0
  414. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.less +38 -0
  415. package/src/inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +72 -0
  416. package/src/inputs/SelectInput/OptionContent/index.ts +2 -0
  417. package/src/inputs/SelectInput/Options/OptionsContainer/SelectInputOptionsContainer.tsx +59 -0
  418. package/src/inputs/SelectInput/Options/OptionsContainer/index.ts +2 -0
  419. package/src/inputs/SelectInput/Options/SelectInputOptions.css +81 -0
  420. package/src/inputs/SelectInput/Options/SelectInputOptions.less +77 -0
  421. package/src/inputs/SelectInput/Options/SelectInputOptions.tsx +411 -0
  422. package/src/inputs/SelectInput/Options/index.ts +3 -0
  423. package/src/inputs/SelectInput/Popover/SelectInputPopover.css +46 -0
  424. package/src/inputs/{_Popover.tsx → SelectInput/Popover/SelectInputPopover.tsx} +7 -7
  425. package/src/inputs/SelectInput/Popover/index.ts +2 -0
  426. package/src/inputs/SelectInput/SelectInput.contexts.tsx +40 -0
  427. package/src/inputs/SelectInput/SelectInput.less +22 -0
  428. package/src/inputs/{SelectInput.test.tsx → SelectInput/SelectInput.test.tsx} +9 -11
  429. package/src/inputs/SelectInput/SelectInput.tsx +257 -0
  430. package/src/inputs/SelectInput/SelectInput.types.ts +113 -0
  431. package/src/inputs/SelectInput/SelectInput.utils.ts +206 -0
  432. package/src/inputs/SelectInput/TriggerButton/SelectInputTriggerButton.tsx +36 -0
  433. package/src/inputs/SelectInput/TriggerButton/index.ts +5 -0
  434. package/src/inputs/{SelectInput.docs.mdx → SelectInput/_stories/SelectInput.docs.mdx} +0 -1
  435. package/src/inputs/{SelectInput.story.tsx → SelectInput/_stories/SelectInput.story.tsx} +11 -8
  436. package/src/inputs/{SelectInput.test.story.tsx → SelectInput/_stories/SelectInput.test.story.tsx} +5 -10
  437. package/src/inputs/SelectInput/components.ts +10 -0
  438. package/src/inputs/SelectInput/index.ts +14 -0
  439. package/src/legacylistItem/LegacyListItem.tsx +1 -1
  440. package/src/list/List.tsx +0 -1
  441. package/src/listItem/Button/ListItemButton.tsx +0 -2
  442. package/src/listItem/IconButton/ListItemIconButton.tsx +1 -3
  443. package/src/listItem/Image/ListItemImage.tsx +0 -2
  444. package/src/listItem/ListItem.tsx +0 -2
  445. package/src/loader/Loader.tsx +2 -6
  446. package/src/logo/Logo.tsx +1 -4
  447. package/src/main.css +123 -105
  448. package/src/main.less +1 -1
  449. package/src/modal/Modal.tsx +0 -6
  450. package/src/navigationOption/NavigationOption.tsx +1 -1
  451. package/src/navigationOptionsList/NavigationOptionsList.tsx +1 -1
  452. package/src/nudge/Nudge.tsx +1 -1
  453. package/src/phoneNumberInput/PhoneNumberInput.tsx +1 -7
  454. package/src/popover/Popover.tsx +0 -1
  455. package/src/processIndicator/ProcessIndicator.tsx +0 -2
  456. package/src/prompt/ActionPrompt/ActionPrompt.tsx +1 -8
  457. package/src/prompt/InlinePrompt/InlinePrompt.tsx +0 -1
  458. package/src/radioOption/RadioOption.tsx +1 -1
  459. package/src/select/Select.tsx +0 -4
  460. package/src/statusIcon/StatusIcon.tsx +1 -3
  461. package/src/summary/Summary.tsx +4 -7
  462. package/src/switchOption/SwitchOption.tsx +1 -1
  463. package/src/tabs/Tabs.tsx +0 -2
  464. package/src/typeahead/Typeahead.tsx +2 -14
  465. package/src/upload/Upload.tsx +0 -6
  466. package/src/uploadInput/UploadInput.tsx +4 -12
  467. package/src/withDisplayFormat/WithDisplayFormat.tsx +0 -3
  468. package/build/inputs/SelectInput.js +0 -890
  469. package/build/inputs/SelectInput.js.map +0 -1
  470. package/build/inputs/SelectInput.messages.js.map +0 -1
  471. package/build/inputs/SelectInput.messages.mjs.map +0 -1
  472. package/build/inputs/SelectInput.mjs +0 -881
  473. package/build/inputs/SelectInput.mjs.map +0 -1
  474. package/build/inputs/_BottomSheet.js.map +0 -1
  475. package/build/inputs/_BottomSheet.mjs.map +0 -1
  476. package/build/inputs/_ButtonInput.js.map +0 -1
  477. package/build/inputs/_ButtonInput.mjs.map +0 -1
  478. package/build/inputs/_Popover.js.map +0 -1
  479. package/build/inputs/_Popover.mjs.map +0 -1
  480. package/build/types/inputs/SelectInput.d.ts.map +0 -1
  481. package/build/types/inputs/SelectInput.messages.d.ts.map +0 -1
  482. package/build/types/inputs/_BottomSheet.d.ts.map +0 -1
  483. package/build/types/inputs/_ButtonInput.d.ts +0 -5
  484. package/build/types/inputs/_ButtonInput.d.ts.map +0 -1
  485. package/build/types/inputs/_Popover.d.ts.map +0 -1
  486. package/src/inputs/SelectInput.less +0 -219
  487. package/src/inputs/SelectInput.tsx +0 -1269
  488. package/build/inputs/{SelectInput.messages.js → SelectInput/SelectInput.messages.js} +0 -0
  489. package/build/inputs/{SelectInput.messages.mjs → SelectInput/SelectInput.messages.mjs} +0 -0
  490. package/build/styles/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
  491. package/build/types/inputs/{SelectInput.messages.d.ts → SelectInput/SelectInput.messages.d.ts} +0 -0
  492. package/src/inputs/{_BottomSheet.less → SelectInput/BottomSheet/SelectInputBottomSheet.less} +0 -0
  493. package/src/inputs/{_ButtonInput.less → SelectInput/ButtonInput/SelectInputButtonInput.less} +0 -0
  494. package/src/inputs/{_Popover.less → SelectInput/Popover/SelectInputPopover.less} +0 -0
  495. package/src/inputs/{SelectInput.css → SelectInput/SelectInput.css} +90 -90
  496. /package/src/inputs/{SelectInput.messages.ts → SelectInput/SelectInput.messages.ts} +0 -0
@@ -0,0 +1,96 @@
1
+ .np-bottom-sheet-v2-container {
2
+ position: relative;
3
+ z-index: 1060;
4
+ }
5
+ .np-bottom-sheet-v2-backdrop {
6
+ position: fixed;
7
+ inset: 0px;
8
+ background-color: #37517e;
9
+ background-color: var(--color-content-primary);
10
+ opacity: 0.4;
11
+ transition-property: opacity;
12
+ transition-timing-function: ease-out;
13
+ transition-duration: 300ms;
14
+ }
15
+ .np-bottom-sheet-v2-backdrop--closed {
16
+ opacity: 0;
17
+ }
18
+ .np-bottom-sheet-v2 {
19
+ position: fixed;
20
+ inset: 0px;
21
+ bottom: env(keyboard-inset-height, 0px);
22
+ margin-left: 8px;
23
+ margin-left: var(--size-8);
24
+ margin-right: 8px;
25
+ margin-right: var(--size-8);
26
+ margin-top: 64px;
27
+ margin-top: var(--size-64);
28
+ display: flex;
29
+ flex-direction: column;
30
+ justify-content: flex-end;
31
+ }
32
+ .np-bottom-sheet-v2-content {
33
+ display: flex;
34
+ flex-direction: column;
35
+ overflow: auto;
36
+ border-top-left-radius: 32px;
37
+ /* TODO: Tokenize */
38
+ border-top-right-radius: 32px;
39
+ /* TODO: Tokenize */
40
+ background-color: #ffffff;
41
+ background-color: var(--color-background-elevated);
42
+ box-shadow: 0 0 40px rgba(69, 71, 69, 0.2);
43
+ }
44
+ .np-bottom-sheet-v2-content:focus {
45
+ outline: none;
46
+ }
47
+ @media (prefers-reduced-motion: no-preference) {
48
+ .np-bottom-sheet-v2-content {
49
+ transition-property: transform;
50
+ transition-timing-function: ease-out;
51
+ transition-duration: 300ms;
52
+ }
53
+ .np-bottom-sheet-v2-content--closed {
54
+ transform: translateY(100%);
55
+ }
56
+ }
57
+ @media (prefers-reduced-motion: reduce) {
58
+ .np-bottom-sheet-v2-content {
59
+ transition-property: opacity;
60
+ transition-timing-function: ease-out;
61
+ transition-duration: 300ms;
62
+ }
63
+ .np-bottom-sheet-v2-content--closed {
64
+ opacity: 0;
65
+ }
66
+ }
67
+ .np-bottom-sheet-v2-header {
68
+ align-self: flex-end;
69
+ padding: 16px;
70
+ padding: var(--size-16);
71
+ }
72
+ .np-bottom-sheet-v2-content-inner {
73
+ display: grid;
74
+ grid-template-rows: minmax(0, 1fr);
75
+ grid-row-gap: 8px;
76
+ grid-row-gap: var(--size-8);
77
+ row-gap: 8px;
78
+ row-gap: var(--size-8);
79
+ overflow: auto;
80
+ }
81
+ .np-bottom-sheet-v2-content-inner--has-title {
82
+ grid-template-rows: auto minmax(0, 1fr);
83
+ }
84
+ .np-bottom-sheet-v2-content-inner--padding-md {
85
+ padding: 16px;
86
+ padding: var(--size-16);
87
+ padding-top: 0px;
88
+ }
89
+ .np-bottom-sheet-v2-title {
90
+ color: #37517e;
91
+ color: var(--color-content-primary);
92
+ }
93
+ .np-bottom-sheet-v2-body {
94
+ color: #5d7079;
95
+ color: var(--color-content-secondary);
96
+ }
@@ -0,0 +1,16 @@
1
+ .np-button-input {
2
+ display: inline-grid;
3
+ grid-auto-columns: minmax(0, 1fr);
4
+ align-content: center;
5
+ border-radius: 10px;
6
+ border-radius: var(--size-10);
7
+ text-align: start;
8
+ }
9
+ .np-button-input:has(.np-select-input-option-description-in-trigger) {
10
+ height: auto !important;
11
+ align-content: start;
12
+ padding-top: 12px !important;
13
+ padding-top: var(--size-12) !important;
14
+ padding-bottom: 12px !important;
15
+ padding-bottom: var(--size-12) !important;
16
+ }
@@ -0,0 +1,46 @@
1
+ .np-select-input-addon-container {
2
+ pointer-events: none;
3
+ margin-inline-start: 4px;
4
+ margin-inline-start: var(--size-4);
5
+ display: inline-flex;
6
+ align-items: center;
7
+ }
8
+ .np-select-input-addon-container > :not([hidden]) ~ :not([hidden]) {
9
+ margin-inline-start: 4px;
10
+ margin-inline-start: var(--size-4);
11
+ }
12
+ .np-select-input-addon {
13
+ border-width: 0;
14
+ background: none;
15
+ display: inline-flex;
16
+ height: 24px;
17
+ height: var(--size-24);
18
+ width: 24px;
19
+ width: var(--size-24);
20
+ align-items: center;
21
+ justify-content: center;
22
+ border-radius: 0.125rem /* 2px */;
23
+ /* TODO: Tokenize */
24
+ }
25
+ .np-select-input-addon--interactive {
26
+ pointer-events: auto;
27
+ color: #c9cbce;
28
+ color: var(--color-interactive-secondary);
29
+ }
30
+ .np-select-input-addon--interactive:hover {
31
+ color: #b5b7ba;
32
+ color: var(--color-interactive-secondary-hover);
33
+ }
34
+ .np-select-input-addon--interactive:focus {
35
+ outline: none;
36
+ }
37
+ .np-select-input-addon--interactive:focus-visible {
38
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
39
+ outline-offset: var(--ring-outline-offset);
40
+ }
41
+ .np-select-input-addon-separator {
42
+ height: 24px;
43
+ height: var(--size-24);
44
+ border-inline-start: 1px solid rgba(0,0,0,0.10196);
45
+ border-inline-start: 1px solid var(--color-border-neutral);
46
+ }
@@ -0,0 +1,16 @@
1
+ .np-select-input-group-item--without-needle:first-child {
2
+ margin-top: calc(-1 * 8px);
3
+ margin-top: calc(-1 * var(--size-8));
4
+ }
5
+ .np-select-input-group-item-header {
6
+ position: sticky;
7
+ top: 0px;
8
+ z-index: 10;
9
+ background-color: #ffffff;
10
+ background-color: var(--color-background-elevated);
11
+ }
12
+ .np-select-input-separator-item {
13
+ margin: 8px;
14
+ margin: var(--size-8);
15
+ border-top-width: 1px;
16
+ }
@@ -0,0 +1,33 @@
1
+ .np-select-input-option-container {
2
+ display: flex;
3
+ cursor: default;
4
+ -webkit-user-select: none;
5
+ -moz-user-select: none;
6
+ user-select: none;
7
+ align-items: center;
8
+ -moz-column-gap: 8px;
9
+ column-gap: 8px;
10
+ -moz-column-gap: var(--size-8);
11
+ column-gap: var(--size-8);
12
+ border-radius: 10px;
13
+ border-radius: var(--radius-small);
14
+ padding: 12px 16px;
15
+ padding: var(--size-12) var(--size-16);
16
+ color: var(--color-interactive-primary);
17
+ }
18
+ .np-select-input-option-container:focus {
19
+ outline: none;
20
+ }
21
+ .np-select-input-option-container--active {
22
+ box-shadow: inset 0 0 0 1px #c9cbce;
23
+ box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
24
+ }
25
+ .np-select-input-option-container--disabled {
26
+ opacity: 0.45;
27
+ }
28
+ .np-select-input-option-check--not-selected {
29
+ visibility: hidden;
30
+ }
31
+ .np-select-input-option {
32
+ flex: 1;
33
+ }
@@ -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
+ }
@@ -485,37 +485,55 @@
485
485
  --color-sentiment-background-surface-hover: #CAF1F1;
486
486
  --color-sentiment-background-surface-active: #B6ECEC;
487
487
  }
488
- .np-theme-personal .critical-comms .alert-warning {
489
- color: var(--color-contrast-overlay);
490
- background-color: var(--color-sentiment-negative);
488
+ .critical-comms {
489
+ border-radius: 16px;
490
+ border-radius: var(--radius-medium);
491
+ overflow: hidden;
491
492
  }
492
- .np-theme-personal .critical-comms .alert-warning .np-text-title-body {
493
- color: var(--color-contrast-overlay);
493
+ .critical-comms .alert {
494
+ background-color: var(--color-sentiment-background-surface);
495
+ color: var(--color-sentiment-content-primary);
496
+ margin-bottom: 0;
497
+ }
498
+ .critical-comms .alert .np-text-title-body {
499
+ color: var(--color-sentiment-content-primary);
494
500
  }
495
- .np-theme-personal .critical-comms .status-circle.warning {
501
+ .critical-comms .status-circle.negative {
496
502
  background-color: #ffffff;
497
503
  background-color: var(--color-background-screen);
498
504
  }
499
- .np-theme-personal .critical-comms .status-circle.warning .status-icon {
500
- color: var(--color-contrast-theme);
505
+ .critical-comms .status-circle.negative .status-icon {
506
+ color: #37517e;
507
+ color: var(--color-content-primary);
501
508
  }
502
- .np-theme-personal .critical-comms .alert__message .alert__action {
509
+ .critical-comms .alert__message .alert__action {
503
510
  margin-top: 16px;
504
511
  margin-top: var(--size-16);
505
512
  }
506
- .np-theme-personal .critical-comms .wds-Button {
507
- --Button-background: var(--color-contrast-overlay);
508
- --Button-background-hover: var(--color-sentiment-negative-secondary-hover);
509
- --Button-background-active: var(--color-sentiment-negative-secondary-active);
513
+ .critical-comms .wds-Button {
514
+ --Button-color: var(--color-content-primary);
515
+ --Button-color-hover: var(--color-content-primary);
516
+ --Button-color-active: var(--color-content-primary);
517
+ --Button-background: var(--color-background-screen);
518
+ --Button-background-hover: var(--color-sentiment-interactive-primary-hover);
519
+ --Button-background-active: var(--color-sentiment-interactive-primary-active);
520
+ }
521
+ .critical-comms .alert-warning .wds-Button {
522
+ --Button-background-hover: var(--color-sentiment-interactive-secondary-neutral-hover);
523
+ --Button-background-active: var(--color-sentiment-interactive-secondary-neutral-active);
510
524
  }
511
525
  @media (min-width: 768px) {
512
- .np-theme-personal .critical-comms .alert-warning .alert__message {
526
+ .critical-comms .alert-warning .alert__message,
527
+ .critical-comms .alert-negative .alert__message,
528
+ .critical-comms .alert-neutral .alert__message {
513
529
  flex-direction: row;
514
530
  justify-content: space-between;
515
531
  align-items: center;
516
532
  width: 100%;
517
533
  }
518
- .np-theme-personal .critical-comms .alert-warning .alert__message .alert__action {
534
+ .critical-comms .alert-warning .alert__message .alert__action,
535
+ .critical-comms .alert-negative .alert__message .alert__action,
536
+ .critical-comms .alert-neutral .alert__message .alert__action {
519
537
  margin-top: 0;
520
538
  margin-left: 16px;
521
539
  margin-left: var(--padding-small);
@@ -3984,14 +4002,91 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
3984
4002
  color: #5d7079;
3985
4003
  color: var(--color-content-secondary);
3986
4004
  }
3987
- .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 {
3988
4065
  overflow: hidden;
3989
4066
  text-overflow: ellipsis;
3990
4067
  white-space: nowrap;
3991
4068
  }
3992
- .np-select-input-placeholder {
3993
- color: #768e9c;
3994
- 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;
3995
4090
  }
3996
4091
  .np-select-input-options-container {
3997
4092
  display: flex;
@@ -4070,92 +4165,6 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
4070
4165
  contain: strict;
4071
4166
  height: 100%;
4072
4167
  }
4073
- .np-select-input-separator-item {
4074
- margin: 8px;
4075
- margin: var(--size-8);
4076
- border-top-width: 1px;
4077
- }
4078
- .np-select-input-group-item--without-needle:first-child {
4079
- margin-top: calc(-1 * 8px);
4080
- margin-top: calc(-1 * var(--size-8));
4081
- }
4082
- .np-select-input-group-item-header {
4083
- position: sticky;
4084
- top: 0px;
4085
- z-index: 10;
4086
- background-color: #ffffff;
4087
- background-color: var(--color-background-elevated);
4088
- }
4089
- .np-select-input-option-container {
4090
- display: flex;
4091
- cursor: default;
4092
- -webkit-user-select: none;
4093
- -moz-user-select: none;
4094
- user-select: none;
4095
- align-items: center;
4096
- -moz-column-gap: 8px;
4097
- column-gap: 8px;
4098
- -moz-column-gap: var(--size-8);
4099
- column-gap: var(--size-8);
4100
- border-radius: 10px;
4101
- border-radius: var(--radius-small);
4102
- padding: 12px 16px;
4103
- padding: var(--size-12) var(--size-16);
4104
- color: var(--color-interactive-primary);
4105
- }
4106
- .np-select-input-option-container:focus {
4107
- outline: none;
4108
- }
4109
- .np-select-input-option-container--active {
4110
- box-shadow: inset 0 0 0 1px #c9cbce;
4111
- box-shadow: inset 0 0 0 1px var(--color-interactive-secondary);
4112
- }
4113
- .np-select-input-option-container--disabled {
4114
- opacity: 0.45;
4115
- }
4116
- .np-select-input-option-check--not-selected {
4117
- visibility: hidden;
4118
- }
4119
- .np-select-input-option {
4120
- flex: 1;
4121
- }
4122
- .np-select-input-option-content-container {
4123
- display: flex;
4124
- align-items: center;
4125
- -moz-column-gap: 8px;
4126
- column-gap: 8px;
4127
- -moz-column-gap: var(--size-8);
4128
- column-gap: var(--size-8);
4129
- color: #37517e;
4130
- color: var(--color-content-primary);
4131
- }
4132
- .np-select-input-option-content-icon {
4133
- display: flex;
4134
- }
4135
- .np-select-input-option-content-icon--not-within-trigger {
4136
- align-self: flex-start;
4137
- }
4138
- .np-select-input-option-content-text {
4139
- display: flex;
4140
- flex: 1;
4141
- flex-direction: column;
4142
- overflow: hidden;
4143
- }
4144
- .np-select-input-option-content-text-secondary {
4145
- color: #5d7079;
4146
- color: var(--color-content-secondary);
4147
- }
4148
- .np-select-input-option-content-text-within-trigger {
4149
- overflow: hidden;
4150
- text-overflow: ellipsis;
4151
- white-space: nowrap;
4152
- }
4153
- .np-select-input-option-content-text-line-1 > :not([hidden]) ~ :not([hidden]) {
4154
- margin-right: 8px;
4155
- margin-right: var(--size-8);
4156
- margin-left: 8px;
4157
- margin-left: var(--size-8);
4158
- }
4159
4168
  .np-select-input-footer {
4160
4169
  padding: 4px 24px 16px;
4161
4170
  padding: var(--size-4) var(--size-24) var(--size-16);
@@ -4206,6 +4215,15 @@ html:not([dir="rtl"]) .np-flow-navigation--sm .np-flow-navigation__stepper {
4206
4215
  border-inline-start: 1px solid rgba(0,0,0,0.10196);
4207
4216
  border-inline-start: 1px solid var(--color-border-neutral);
4208
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
+ }
4209
4227
  .np-text-area {
4210
4228
  min-height: 72px;
4211
4229
  min-height: var(--size-72);
@@ -49,7 +49,7 @@ const statusMapping = {
49
49
  [status.Status.PENDING]: sentiment.Sentiment.PENDING
50
50
  };
51
51
  /**
52
- * @deprecated Use `<ListItem />` instead.
52
+ * @deprecated Please use `<ListItem />` instead.
53
53
  * @deprecatedSince 46.104.0
54
54
  * @see [Source](../listItem/ListItem.tsx)
55
55
  * @see [Storybook](https://storybook.wise.design/?path=/docs/content-listitem--docs)