@transferwise/components 0.0.0-experimental-aa49e22 → 0.0.0-experimental-9f6647e

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 (342) hide show
  1. package/build/alert/Alert.js +4 -1
  2. package/build/alert/Alert.js.map +1 -1
  3. package/build/alert/Alert.mjs +4 -1
  4. package/build/alert/Alert.mjs.map +1 -1
  5. package/build/criticalBanner/CriticalCommsBanner.js +6 -4
  6. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  7. package/build/criticalBanner/CriticalCommsBanner.mjs +6 -4
  8. package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
  9. package/build/main.css +16 -27001
  10. package/build/styles/criticalBanner/CriticalCommsBanner.css +9 -0
  11. package/build/styles/main.css +16 -27001
  12. package/build/types/alert/Alert.d.ts +2 -0
  13. package/build/types/alert/Alert.d.ts.map +1 -1
  14. package/build/types/criticalBanner/CriticalCommsBanner.d.ts +1 -0
  15. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
  16. package/package.json +4 -4
  17. package/src/accordion/Accordion.css +74 -0
  18. package/src/accordion/Accordion.less +3 -3
  19. package/src/actionButton/ActionButton.css +64 -0
  20. package/src/actionButton/ActionButton.less +1 -1
  21. package/src/actionOption/ActionOption.css +4 -0
  22. package/src/alert/Alert.css +7 -0
  23. package/src/alert/Alert.tsx +6 -1
  24. package/src/avatar/Avatar.css +250 -0
  25. package/src/avatar/Avatar.less +3 -3
  26. package/src/avatarLayout/AvatarLayout.css +42 -0
  27. package/src/avatarView/AvatarView.css +44 -0
  28. package/src/avatarView/Dot.css +26 -0
  29. package/src/badge/Badge.css +65 -0
  30. package/src/badge/Badge.less +1 -1
  31. package/src/body/Body.css +3 -0
  32. package/src/button/Button.css +246 -0
  33. package/src/button/Button.vars.css +46 -0
  34. package/src/button/LegacyButton.css +23 -0
  35. package/src/button/LegacyButton.less +1 -1
  36. package/src/card/Card.css +100 -0
  37. package/src/card/Card.less +3 -3
  38. package/src/carousel/Carousel.css +134 -0
  39. package/src/checkboxButton/CheckboxButton.css +43 -0
  40. package/src/checkboxButton/CheckboxButton.less +2 -2
  41. package/src/chips/Chip.css +190 -0
  42. package/src/chips/Chip.less +3 -3
  43. package/src/circularButton/CircularButton.css +34 -0
  44. package/src/common/Option/Option.css +122 -0
  45. package/src/common/Option/Option.less +2 -2
  46. package/src/common/RadioButton/RadioButton.css +4 -0
  47. package/src/common/baseCard/BaseCard.css +49 -0
  48. package/src/common/bottomSheet/BottomSheet.css +53 -0
  49. package/src/common/bottomSheet/BottomSheet.less +1 -1
  50. package/src/common/circle/Circle.css +43 -0
  51. package/src/common/closeButton/CloseButton.css +94 -0
  52. package/src/common/closeButton/CloseButton.less +1 -1
  53. package/src/common/panel/Panel.css +73 -0
  54. package/src/common/panel/Panel.less +1 -1
  55. package/src/criticalBanner/CriticalCommsBanner.css +63 -0
  56. package/src/criticalBanner/CriticalCommsBanner.less +13 -0
  57. package/src/criticalBanner/CriticalCommsBanner.test.story.tsx +15 -0
  58. package/src/criticalBanner/CriticalCommsBanner.test.tsx +28 -2
  59. package/src/criticalBanner/CriticalCommsBanner.tsx +10 -1
  60. package/src/dateInput/DateInput.css +16 -0
  61. package/src/dateLookup/DateLookup.css +93 -0
  62. package/src/dateLookup/DateLookup.less +1 -1
  63. package/src/dateLookup/dateTrigger/DateTrigger.css +29 -0
  64. package/src/dateLookup/dateTrigger/DateTrigger.less +2 -2
  65. package/src/decision/Decision.css +17 -0
  66. package/src/decision/Decision.less +1 -1
  67. package/src/definitionList/DefinitionList.css +53 -0
  68. package/src/definitionList/DefinitionList.less +1 -1
  69. package/src/dimmer/Dimmer.css +70 -0
  70. package/src/dimmer/Dimmer.less +2 -2
  71. package/src/divider/Divider.css +24 -0
  72. package/src/drawer/Drawer.css +56 -0
  73. package/src/dropFade/DropFade.css +19 -0
  74. package/src/emphasis/Emphasis.css +31 -0
  75. package/src/expressiveMoneyInput/ExpressiveMoneyInput.css +58 -0
  76. package/src/expressiveMoneyInput/amountInput/AmountInput.css +32 -0
  77. package/src/expressiveMoneyInput/chevron/Chevron.css +12 -0
  78. package/src/expressiveMoneyInput/currencySelector/CurrencySelector.css +6 -0
  79. package/src/field/Field.css +13 -0
  80. package/src/flowNavigation/FlowNavigation.css +76 -0
  81. package/src/flowNavigation/FlowNavigation.less +1 -1
  82. package/src/flowNavigation/animatedLabel/AnimatedLabel.css +30 -0
  83. package/src/flowNavigation/animatedLabel/AnimatedLabel.less +2 -2
  84. package/src/header/Header.css +33 -0
  85. package/src/iconButton/IconButton.css +82 -0
  86. package/src/image/Image.css +13 -0
  87. package/src/info/Info.css +9 -0
  88. package/src/info/Info.less +1 -1
  89. package/src/inputs/Input.css +158 -0
  90. package/src/inputs/InputGroup.css +63 -0
  91. package/src/inputs/SelectInput.css +380 -0
  92. package/src/inputs/SelectInput.less +1 -1
  93. package/src/inputs/TextArea.css +161 -0
  94. package/src/inputs/_common.less +1 -1
  95. package/src/instructionsList/InstructionsList.css +26 -0
  96. package/src/legacylistItem/LegacyListItem.css +6 -0
  97. package/src/link/Link.css +24 -0
  98. package/src/link/Link.less +2 -2
  99. package/src/listItem/ListItem.css +659 -0
  100. package/src/listItem/ListItem.grid.css +384 -0
  101. package/src/listItem/ListItem.less +1 -1
  102. package/src/listItem/Prompt/ListItemPrompt.css +4 -0
  103. package/src/loader/Loader.css +227 -0
  104. package/src/logo/Logo.css +26 -0
  105. package/src/main.css +7529 -0
  106. package/src/main.less +0 -2
  107. package/src/modal/Modal.css +95 -0
  108. package/src/moneyInput/MoneyInput.css +74 -0
  109. package/src/moneyInput/MoneyInput.less +2 -2
  110. package/src/navigationOption/NavigationOption.css +69 -0
  111. package/src/navigationOption/NavigationOption.less +3 -3
  112. package/src/navigationOptionsList/NavigationOptionsList.css +13 -0
  113. package/src/navigationOptionsList/NavigationOptionsList.less +1 -1
  114. package/src/nudge/Nudge.css +206 -0
  115. package/src/overlayHeader/OverlayHeader.css +15 -0
  116. package/src/overlayHeader/OverlayHeader.less +1 -1
  117. package/src/phoneNumberInput/PhoneNumberInput.css +23 -0
  118. package/src/phoneNumberInput/PhoneNumberInput.less +1 -1
  119. package/src/popover/Popover.css +76 -0
  120. package/src/popover/Popover.less +1 -1
  121. package/src/progress/Progress.css +43 -0
  122. package/src/progressBar/ProgressBar.css +14 -0
  123. package/src/promoCard/PromoCard.css +186 -0
  124. package/src/prompt/ActionPrompt/ActionPrompt.css +25 -0
  125. package/src/prompt/InfoPrompt/InfoPrompt.css +33 -0
  126. package/src/prompt/InlinePrompt/InlinePrompt.css +57 -0
  127. package/src/prompt/PrimitivePrompt/PrimitivePrompt.css +51 -0
  128. package/src/radioGroup/RadioGroup.css +3 -0
  129. package/src/section/Section.css +10 -0
  130. package/src/segmentedControl/SegmentedControl.css +101 -0
  131. package/src/select/Select.css +368 -0
  132. package/src/select/Select.less +5 -5
  133. package/src/sentimentSurface/SentimentSurface.css +487 -0
  134. package/src/slidingPanel/SlidingPanel.css +105 -0
  135. package/src/slidingPanel/SlidingPanel.less +2 -2
  136. package/src/snackbar/Snackbar.css +93 -0
  137. package/src/snackbar/Snackbar.less +3 -3
  138. package/src/statusIcon/StatusIcon.css +6 -0
  139. package/src/stepper/Stepper.css +77 -0
  140. package/src/stepper/Stepper.less +3 -3
  141. package/src/summary/Summary.css +81 -0
  142. package/src/summary/Summary.less +1 -1
  143. package/src/switch/Switch.css +63 -0
  144. package/src/switch/Switch.less +4 -4
  145. package/src/switchOption/SwitchOption.css +4 -0
  146. package/src/table/Table.css +274 -0
  147. package/src/table/Table.less +1 -1
  148. package/src/tabs/Tabs.css +121 -0
  149. package/src/tabs/Tabs.less +4 -4
  150. package/src/tile/Tile.css +68 -0
  151. package/src/tile/Tile.less +1 -1
  152. package/src/tooltip/Tooltip.css +50 -0
  153. package/src/tooltip/Tooltip.less +1 -1
  154. package/src/typeahead/Typeahead.css +187 -0
  155. package/src/typeahead/Typeahead.less +2 -2
  156. package/src/typeahead/typeaheadOption/TypeaheadOption.css +9 -0
  157. package/src/typeahead/typeaheadOption/TypeaheadOption.less +1 -1
  158. package/src/upload/Upload.css +34 -0
  159. package/src/upload/Upload.less +1 -1
  160. package/src/uploadInput/UploadInput.css +18 -0
  161. package/src/uploadInput/UploadInput.less +2 -2
  162. package/src/uploadInput/uploadButton/UploadButton.css +90 -0
  163. package/src/uploadInput/uploadItem/UploadItem.css +166 -0
  164. package/src/uploadInput/uploadItem/UploadItem.less +1 -1
  165. package/build/neptune-css/fonts/TW-Averta-Bold.woff +0 -0
  166. package/build/neptune-css/fonts/TW-Averta-Bold.woff2 +0 -0
  167. package/build/neptune-css/fonts/TW-Averta-Regular.woff +0 -0
  168. package/build/neptune-css/fonts/TW-Averta-Regular.woff2 +0 -0
  169. package/build/neptune-css/fonts/TW-Averta-Semibold.woff +0 -0
  170. package/build/neptune-css/fonts/TW-Averta-Semibold.woff2 +0 -0
  171. package/build/neptune-css/fonts/TransferWise-IconFont.svg +0 -81
  172. package/build/neptune-css/fonts/TransferWise-IconFont.woff +0 -0
  173. package/build/neptune-css/fonts/WiseSans-Heavy.woff2 +0 -0
  174. package/build/neptune-css/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  175. package/build/neptune-css/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  176. package/build/neptune-css/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  177. package/build/neptune-css/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  178. package/build/neptune-css/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  179. package/build/neptune-css/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  180. package/build/neptune-css/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  181. package/build/neptune-css/img/bg-dark.svg +0 -31
  182. package/build/neptune-css/img/bg-light.svg +0 -26
  183. package/build/styles/neptune-css/less/accordion.css +0 -255
  184. package/build/styles/neptune-css/less/alerts.css +0 -751
  185. package/build/styles/neptune-css/less/background.css +0 -20
  186. package/build/styles/neptune-css/less/badge.css +0 -90
  187. package/build/styles/neptune-css/less/border-radius.css +0 -3
  188. package/build/styles/neptune-css/less/breadcrumbs.css +0 -20
  189. package/build/styles/neptune-css/less/button-groups.css +0 -495
  190. package/build/styles/neptune-css/less/buttons.css +0 -1390
  191. package/build/styles/neptune-css/less/chevron.css +0 -35
  192. package/build/styles/neptune-css/less/circles.css +0 -248
  193. package/build/styles/neptune-css/less/close.css +0 -47
  194. package/build/styles/neptune-css/less/column-layout.css +0 -164
  195. package/build/styles/neptune-css/less/core/viewport-themes.css +0 -59
  196. package/build/styles/neptune-css/less/currency-flags.css +0 -46
  197. package/build/styles/neptune-css/less/decision.css +0 -136
  198. package/build/styles/neptune-css/less/dropdowns.css +0 -472
  199. package/build/styles/neptune-css/less/droppable.css +0 -221
  200. package/build/styles/neptune-css/less/flex.css +0 -598
  201. package/build/styles/neptune-css/less/footer.css +0 -129
  202. package/build/styles/neptune-css/less/forms/bootstrap-forms.css +0 -2277
  203. package/build/styles/neptune-css/less/forms/checkbox-radio.css +0 -367
  204. package/build/styles/neptune-css/less/grid.css +0 -2369
  205. package/build/styles/neptune-css/less/input-groups.css +0 -2740
  206. package/build/styles/neptune-css/less/link-callout.css +0 -20
  207. package/build/styles/neptune-css/less/list-group.css +0 -350
  208. package/build/styles/neptune-css/less/loaders.css +0 -76
  209. package/build/styles/neptune-css/less/media.css +0 -74
  210. package/build/styles/neptune-css/less/modals.css +0 -185
  211. package/build/styles/neptune-css/less/navbar.css +0 -2406
  212. package/build/styles/neptune-css/less/navs.css +0 -296
  213. package/build/styles/neptune-css/less/neptune-addons.css +0 -1857
  214. package/build/styles/neptune-css/less/neptune-core.css +0 -2049
  215. package/build/styles/neptune-css/less/neptune-social-media.css +0 -144
  216. package/build/styles/neptune-css/less/neptune.css +0 -25724
  217. package/build/styles/neptune-css/less/panels.css +0 -528
  218. package/build/styles/neptune-css/less/popovers.css +0 -661
  219. package/build/styles/neptune-css/less/process.css +0 -483
  220. package/build/styles/neptune-css/less/progress-bars.css +0 -64
  221. package/build/styles/neptune-css/less/ring.css +0 -55
  222. package/build/styles/neptune-css/less/select.css +0 -99
  223. package/build/styles/neptune-css/less/sequences.css +0 -855
  224. package/build/styles/neptune-css/less/table.css +0 -446
  225. package/build/styles/neptune-css/less/tick.css +0 -32
  226. package/build/styles/neptune-css/less/tooltip.css +0 -160
  227. package/build/styles/neptune-css/less/utilities.css +0 -145
  228. package/build/styles/neptune-css/less/wells.css +0 -74
  229. package/build/styles/neptune-css/props/custom-media.css +0 -11
  230. package/build/styles/neptune-css/props/legacy-custom-props.css +0 -69
  231. package/build/styles/neptune-css/props/neptune-tokens.css +0 -11
  232. package/build/styles/neptune-css/variables/neptune-tokens.css +0 -0
  233. package/build/styles/neptune-css/variables/zindex.css +0 -0
  234. package/src/neptune-css/fonts/TW-Averta-Bold.woff +0 -0
  235. package/src/neptune-css/fonts/TW-Averta-Bold.woff2 +0 -0
  236. package/src/neptune-css/fonts/TW-Averta-Regular.woff +0 -0
  237. package/src/neptune-css/fonts/TW-Averta-Regular.woff2 +0 -0
  238. package/src/neptune-css/fonts/TW-Averta-Semibold.woff +0 -0
  239. package/src/neptune-css/fonts/TW-Averta-Semibold.woff2 +0 -0
  240. package/src/neptune-css/fonts/TransferWise-IconFont.svg +0 -81
  241. package/src/neptune-css/fonts/TransferWise-IconFont.woff +0 -0
  242. package/src/neptune-css/fonts/WiseSans-Heavy.woff2 +0 -0
  243. package/src/neptune-css/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  244. package/src/neptune-css/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  245. package/src/neptune-css/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  246. package/src/neptune-css/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  247. package/src/neptune-css/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  248. package/src/neptune-css/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  249. package/src/neptune-css/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  250. package/src/neptune-css/img/bg-dark.svg +0 -31
  251. package/src/neptune-css/img/bg-light.svg +0 -26
  252. package/src/neptune-css/less/accordion.less +0 -15
  253. package/src/neptune-css/less/addons/_background-utilities.less +0 -82
  254. package/src/neptune-css/less/addons/_border.less +0 -3
  255. package/src/neptune-css/less/addons/_display-utilities.less +0 -159
  256. package/src/neptune-css/less/addons/_spacing-utilities.less +0 -73
  257. package/src/neptune-css/less/addons/_utilities.less +0 -147
  258. package/src/neptune-css/less/alerts.less +0 -252
  259. package/src/neptune-css/less/background.less +0 -24
  260. package/src/neptune-css/less/badge.less +0 -85
  261. package/src/neptune-css/less/border-radius.less +0 -3
  262. package/src/neptune-css/less/breadcrumbs.less +0 -27
  263. package/src/neptune-css/less/button-groups.less +0 -424
  264. package/src/neptune-css/less/buttons.less +0 -738
  265. package/src/neptune-css/less/chevron.less +0 -39
  266. package/src/neptune-css/less/circles.less +0 -233
  267. package/src/neptune-css/less/close.less +0 -48
  268. package/src/neptune-css/less/column-layout.less +0 -167
  269. package/src/neptune-css/less/components/_component-animations.less +0 -43
  270. package/src/neptune-css/less/core/_fonts.less +0 -97
  271. package/src/neptune-css/less/core/_scaffolding.less +0 -380
  272. package/src/neptune-css/less/core/_typography-utilities.less +0 -255
  273. package/src/neptune-css/less/core/_typography.less +0 -575
  274. package/src/neptune-css/less/core/viewport-themes.less +0 -65
  275. package/src/neptune-css/less/currency-flags.less +0 -42
  276. package/src/neptune-css/less/decision.less +0 -98
  277. package/src/neptune-css/less/dropdowns.less +0 -365
  278. package/src/neptune-css/less/droppable.less +0 -213
  279. package/src/neptune-css/less/flex.less +0 -113
  280. package/src/neptune-css/less/footer.less +0 -113
  281. package/src/neptune-css/less/forms/bootstrap-forms.less +0 -1218
  282. package/src/neptune-css/less/forms/checkbox-radio.less +0 -330
  283. package/src/neptune-css/less/grid.less +0 -187
  284. package/src/neptune-css/less/input-groups.less +0 -298
  285. package/src/neptune-css/less/link-callout.less +0 -17
  286. package/src/neptune-css/less/list-group.less +0 -260
  287. package/src/neptune-css/less/loaders.less +0 -91
  288. package/src/neptune-css/less/media.less +0 -68
  289. package/src/neptune-css/less/mixins/_alerts.less +0 -39
  290. package/src/neptune-css/less/mixins/_arrows.less +0 -52
  291. package/src/neptune-css/less/mixins/_border-radius.less +0 -11
  292. package/src/neptune-css/less/mixins/_buttons.less +0 -82
  293. package/src/neptune-css/less/mixins/_center-block.less +0 -7
  294. package/src/neptune-css/less/mixins/_clearfix.less +0 -23
  295. package/src/neptune-css/less/mixins/_flex.less +0 -105
  296. package/src/neptune-css/less/mixins/_forms.less +0 -130
  297. package/src/neptune-css/less/mixins/_grid-framework.less +0 -104
  298. package/src/neptune-css/less/mixins/_grid.less +0 -158
  299. package/src/neptune-css/less/mixins/_hide-text.less +0 -20
  300. package/src/neptune-css/less/mixins/_links.less +0 -7
  301. package/src/neptune-css/less/mixins/_list-group.less +0 -23
  302. package/src/neptune-css/less/mixins/_logical-properties-IE-friendly.less +0 -381
  303. package/src/neptune-css/less/mixins/_logical-properties-modern-browsers.less +0 -226
  304. package/src/neptune-css/less/mixins/_logical-properties.less +0 -5
  305. package/src/neptune-css/less/mixins/_nav-divider.less +0 -10
  306. package/src/neptune-css/less/mixins/_nav-vertical-align.less +0 -10
  307. package/src/neptune-css/less/mixins/_panels.less +0 -23
  308. package/src/neptune-css/less/mixins/_physical-properties.less +0 -110
  309. package/src/neptune-css/less/mixins/_reset-text.less +0 -22
  310. package/src/neptune-css/less/mixins/_sequence.less +0 -203
  311. package/src/neptune-css/less/mixins/_spacing.less +0 -122
  312. package/src/neptune-css/less/mixins/_tab-focus.less +0 -5
  313. package/src/neptune-css/less/mixins/_table-row.less +0 -47
  314. package/src/neptune-css/less/mixins/_text-emphasis.less +0 -39
  315. package/src/neptune-css/less/mixins/_text-overflow.less +0 -8
  316. package/src/neptune-css/less/mixins/_theming.less +0 -7
  317. package/src/neptune-css/less/modals.less +0 -239
  318. package/src/neptune-css/less/navbar.less +0 -1442
  319. package/src/neptune-css/less/navs.less +0 -339
  320. package/src/neptune-css/less/neptune-addons.less +0 -4
  321. package/src/neptune-css/less/neptune-core.less +0 -4
  322. package/src/neptune-css/less/neptune-social-media.less +0 -84
  323. package/src/neptune-css/less/neptune.bundle.less +0 -65
  324. package/src/neptune-css/less/panels.less +0 -410
  325. package/src/neptune-css/less/popovers.less +0 -379
  326. package/src/neptune-css/less/process.less +0 -426
  327. package/src/neptune-css/less/progress-bars.less +0 -55
  328. package/src/neptune-css/less/ring.less +0 -51
  329. package/src/neptune-css/less/select.less +0 -88
  330. package/src/neptune-css/less/sequences.less +0 -511
  331. package/src/neptune-css/less/table.less +0 -385
  332. package/src/neptune-css/less/tick.less +0 -37
  333. package/src/neptune-css/less/tooltip.less +0 -130
  334. package/src/neptune-css/less/utilities.less +0 -153
  335. package/src/neptune-css/less/wells.less +0 -37
  336. package/src/neptune-css/props/custom-media.css +0 -11
  337. package/src/neptune-css/props/legacy-custom-props.css +0 -69
  338. package/src/neptune-css/props/neptune-tokens.css +0 -11
  339. package/src/neptune-css/variables/legacy-variables.less +0 -1299
  340. package/src/neptune-css/variables/neptune-tokens.less +0 -12
  341. package/src/neptune-css/variables/zindex.less +0 -17
  342. /package/{build/styles/neptune-css/variables/legacy-variables.css → src/listItem/ListItem.vars.css} +0 -0
@@ -1,24 +0,0 @@
1
- @import (reference) "../variables/neptune-tokens.less";
2
-
3
- .bg {
4
- background-repeat: no-repeat;
5
- background-attachment: fixed;
6
- background-size: 100%;
7
- background-position: bottom;
8
-
9
- &--dark {
10
- background-color: @color-navy-background-neutral;
11
- background-image: url("./neptune-css/img/bg-dark.svg");
12
-
13
- .np-theme-personal & {
14
- background-color: var(--color-forest-green);
15
- background-image: none;
16
- color: #daffc0;
17
- }
18
- }
19
-
20
- &--light {
21
- background-color: var(--color-background-neutral);
22
- background-image: url("./neptune-css/img/bg-light.svg");
23
- }
24
- }
@@ -1,85 +0,0 @@
1
- @import (reference) "../variables/legacy-variables.less";
2
- @import (reference) "./mixins/_logical-properties.less";
3
-
4
- // Base class
5
- .badge {
6
- display: inline-block;
7
- min-width: var(--size-16);
8
- padding: 5px var(--size-8);
9
- font-size: 10px;
10
- font-weight: var(--font-weight-semi-bold);
11
- color: #fff;
12
- line-height: var(--line-height-control);
13
- vertical-align: middle;
14
- white-space: nowrap;
15
- text-align: center;
16
- background-color: var(--color-interactive-negative);
17
- border-radius: var(--radius-medium);
18
- top: -1px;
19
- position: relative;
20
-
21
- .np-theme-personal & {
22
- display: inline-block;
23
- min-width: var(--size-16);
24
- padding: var(--size-4) var(--size-8);
25
- color: #fff;
26
- vertical-align: middle;
27
- white-space: nowrap;
28
- text-align: center;
29
- line-height: initial;
30
- background-color: var(--color-interactive-negative);
31
- border-radius: var(--radius-medium);
32
- position: relative;
33
- top: 0;
34
- }
35
-
36
- // Empty badges collapse automatically
37
-
38
- &:empty {
39
- display: none;
40
- }
41
-
42
- // Quick fix for badges in buttons
43
- .btn & {
44
- position: relative;
45
- top: -1px;
46
- }
47
-
48
- .btn-xs &,
49
- .btn-group-xs > .btn & {
50
- top: 0;
51
- padding: 1px 5px;
52
- }
53
-
54
- // Hover state, but only for links
55
- a& {
56
- &:hover,
57
- &:focus {
58
- text-decoration: none;
59
- cursor: pointer;
60
- }
61
- }
62
-
63
- // Account for badges in navs
64
-
65
- .list-group-item > & {
66
- .float(right);
67
- }
68
-
69
- .list-group-item > & + & {
70
- .margin(right, 5px);
71
- }
72
-
73
- .nav-pills > li > a > &,
74
- .nav-stacked > li > a > & {
75
- .margin(left, 19px);
76
- }
77
-
78
- &-success {
79
- background: var(--color-interactive-positive);
80
-
81
- .np-theme-personal & {
82
- background: var(--color-sentiment-positive);
83
- }
84
- }
85
- }
@@ -1,3 +0,0 @@
1
- .rounded-sm {
2
- border-radius: 2px;
3
- }
@@ -1,27 +0,0 @@
1
- @import (reference) "../variables/legacy-variables.less";
2
-
3
- //
4
- // Breadcrumbs
5
- // --------------------------------------------------
6
- .breadcrumb {
7
- padding: @breadcrumb-padding-vertical @breadcrumb-padding-horizontal;
8
- margin-bottom: var(--size-24);
9
- list-style: none;
10
- background-color: none;
11
- border-radius: @border-radius-base;
12
-
13
- > li {
14
- display: inline-block;
15
-
16
- + li::before {
17
- // Unicode space added since inline-block means non-collapsing white-space
18
- content: "@{breadcrumb-separator}\00a0";
19
- padding: 0 5px;
20
- color: #fff;
21
- }
22
- }
23
-
24
- > .active {
25
- color: var(--color-content-secondary);
26
- }
27
- }
@@ -1,424 +0,0 @@
1
- @import (reference) "../variables/legacy-variables.less";
2
- @import (reference) "./mixins/_logical-properties.less";
3
- @import (reference) "./mixins/_border-radius.less";
4
- @import (reference) "./mixins/_clearfix.less";
5
- @import (reference) "./mixins/_tab-focus.less";
6
- @import (reference) "./core/_typography.less";
7
-
8
- // Make the div behave like a button
9
- .btn-group,
10
- .btn-group-vertical {
11
- position: relative;
12
- display: inline-block;
13
- vertical-align: middle;
14
-
15
- > .btn {
16
- position: relative;
17
- .float(left);
18
- }
19
- }
20
-
21
- // Prevent double borders when buttons are next to each other
22
- .btn-group {
23
- .btn + .btn,
24
- .btn + .btn-group,
25
- .btn-group + .btn,
26
- .btn-group + .btn-group {
27
- .margin(left, -1px);
28
- }
29
- }
30
-
31
- .expand-toolbar() {
32
- margin-left: -4px; // Offset the first child's margin
33
- margin-right: -4px; // Offset the first child's margin
34
- .btn,
35
- .btn-group,
36
- .input-group {
37
- width: auto;
38
- margin-bottom: 0;
39
- .float(left);
40
-
41
- margin-left: 4px;
42
- margin-right: 4px;
43
- }
44
- }
45
-
46
- // Optional: Group multiple button groups together for a toolbar
47
- .btn-toolbar {
48
- .clearfix();
49
-
50
- .btn,
51
- .btn-group,
52
- .input-group {
53
- width: 100%;
54
- margin-bottom: 16px;
55
- }
56
-
57
- .btn-group .btn,
58
- .input-group .btn {
59
- width: auto;
60
- margin: 0;
61
- .margin(left, -1px);
62
- }
63
-
64
- @media (min-width: @screen-lg-min) {
65
- &:not(.btn-toolbar-xl) {
66
- // Default behaviour collapses on lg, over-ruled by modifiers
67
- .expand-toolbar();
68
- }
69
- }
70
-
71
- &.btn-toolbar-xs {
72
- .expand-toolbar();
73
- }
74
-
75
- @media (min-width: @screen-sm-min) {
76
- &.btn-toolbar-sm {
77
- .expand-toolbar();
78
- }
79
- }
80
-
81
- @media (min-width: @screen-md-min) {
82
- &.btn-toolbar-md {
83
- .expand-toolbar();
84
- }
85
- }
86
-
87
- @media (min-width: @screen-lg-min) {
88
- &.btn-toolbar-lg {
89
- .expand-toolbar();
90
- }
91
- }
92
-
93
- @media (min-width: @screen-xl-min) {
94
- &.btn-toolbar-xl {
95
- .expand-toolbar();
96
- }
97
- }
98
- }
99
-
100
- .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) {
101
- border-radius: 0;
102
- }
103
-
104
- // Set corners individual because sometimes a single button can be in a .btn-group
105
- // and we need :first-child and :last-child to both match
106
- .btn-group > .btn:first-child {
107
- .margin(left, 0);
108
-
109
- &:not(:last-child):not(.dropdown-toggle) {
110
- .border-radius(right, 0);
111
- }
112
- }
113
- // Need .dropdown-toggle since :last-child doesn't apply given a .dropdown-menu immediately after it
114
- .btn-group > .btn:last-child:not(:first-child),
115
- .btn-group > .dropdown-toggle:not(:first-child) {
116
- .border-radius(left, 0);
117
- }
118
-
119
- // Custom edits for including btn-groups within btn-groups (useful for including dropdown buttons within a btn-group)
120
- .btn-group > .btn-group {
121
- .float(left);
122
- }
123
-
124
- .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
125
- border-radius: 0;
126
- }
127
-
128
- .btn-group > .btn-group:first-child:not(:last-child) {
129
- > .btn:last-child,
130
- > .dropdown-toggle {
131
- .border-radius(right, 0);
132
- }
133
- }
134
-
135
- .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
136
- .border-radius(left, 0);
137
- }
138
-
139
- // On active and open, don't show outline
140
- .btn-group .dropdown-toggle:active,
141
- .btn-group.open .dropdown-toggle {
142
- outline: 0;
143
- }
144
-
145
- // Sizing
146
- //
147
- // Remix the default button sizing classes into new ones for easier manipulation.
148
-
149
- .btn-group-xs > .btn {
150
- &:extend(.btn-xs);
151
- }
152
-
153
- .btn-group-sm > .btn {
154
- &:extend(.btn-sm);
155
- }
156
-
157
- .btn-group-lg > .btn {
158
- &:extend(.btn-lg);
159
- }
160
-
161
- // Split button dropdowns
162
- // ----------------------
163
-
164
- // Give the line between buttons some depth
165
- .btn-group > .btn + .dropdown-toggle {
166
- .padding(left, 12px);
167
-
168
- .padding(right, 12px);
169
- }
170
-
171
- .btn-group > .btn-lg + .dropdown-toggle {
172
- .padding(left, 12px);
173
-
174
- .padding(right, 12px);
175
- }
176
-
177
- // The clickable button for toggling the menu
178
- // Remove the gradient and set the same inset shadow as the :active state
179
- .btn-group.open .dropdown-toggle {
180
- box-shadow: none;
181
-
182
- // Show no shadow for `.btn-link` since it has no other button styles.
183
- &.btn-link {
184
- box-shadow: none;
185
- }
186
- }
187
-
188
- // Carets in other button sizes
189
- .btn-lg .caret {
190
- border-width: @caret-width-large @caret-width-large 0;
191
- border-bottom-width: 0;
192
- }
193
-
194
- .btn-sm .caret,
195
- .input-group-sm .btn .caret {
196
- top: 8px !important;
197
- }
198
-
199
- .btn-lg .caret,
200
- .input-group-lg .btn .caret {
201
- top: 27px !important;
202
- }
203
- // Upside down carets for .dropup
204
- .dropup .btn-lg .caret {
205
- border-width: 0 @caret-width-large @caret-width-large;
206
- }
207
-
208
- // Vertical button groups
209
- // ----------------------
210
-
211
- // @TODO Deprecate / Remove
212
- .btn-group-vertical {
213
- > .btn,
214
- > .btn-group,
215
- > .btn-group > .btn {
216
- display: block;
217
- float: none;
218
- width: 100%;
219
- max-width: 100%;
220
- }
221
-
222
- // Clear floats so dropdown menus can be properly placed
223
- > .btn-group {
224
- &:extend(.clearfix all);
225
-
226
- > .btn {
227
- float: none;
228
- }
229
- }
230
-
231
- > .btn + .btn,
232
- > .btn + .btn-group,
233
- > .btn-group + .btn,
234
- > .btn-group + .btn-group {
235
- margin-top: -1px;
236
- .margin(left, 0);
237
- }
238
- }
239
-
240
- .btn-group-vertical > .btn {
241
- &:not(:first-child):not(:last-child) {
242
- border-radius: 0;
243
- }
244
-
245
- &:first-child:not(:last-child) {
246
- border-top-right-radius: @border-radius-base;
247
- .border-bottom-radius(0);
248
- }
249
-
250
- &:last-child:not(:first-child) {
251
- border-bottom-left-radius: @border-radius-base;
252
- .border-top-radius(0);
253
- }
254
- }
255
-
256
- .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn {
257
- border-radius: 0;
258
- }
259
-
260
- .btn-group-vertical > .btn-group:first-child:not(:last-child) {
261
- > .btn:last-child,
262
- > .dropdown-toggle {
263
- .border-bottom-radius(0);
264
- }
265
- }
266
-
267
- .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child {
268
- .border-top-radius(0);
269
- }
270
-
271
- // Justified button groups
272
- // ----------------------
273
-
274
- // @TODO Deprecate / Remove
275
- .btn-group-justified {
276
- display: table;
277
- width: 100%;
278
- table-layout: fixed;
279
- border-collapse: separate;
280
-
281
- > .btn,
282
- > .btn-group {
283
- float: none;
284
- display: table-cell;
285
- width: 1%;
286
- }
287
-
288
- > .btn-group .btn {
289
- width: 100%;
290
- }
291
-
292
- > .btn-group .dropdown-menu {
293
- .left(auto);
294
- }
295
- }
296
-
297
- // Checkbox and radio options
298
- //
299
- // In order to support the browser's form validation feedback, powered by the
300
- // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
301
- // `display: none;` or `visibility: hidden;` as that also hides the popover.
302
- // Simply visually hiding the inputs via `opacity` would leave them clickable in
303
- // certain cases which is prevented by using `clip` and `pointer-events`.
304
- // This way, we ensure a DOM element is visible to position the popover from.
305
- //
306
- // See https://github.com/twbs/bootstrap/pull/12794 and
307
- // https://github.com/twbs/bootstrap/pull/14559 for more information.
308
-
309
- [data-toggle="buttons"] {
310
- > .btn,
311
- > .btn-group > .btn {
312
- input[type="radio"],
313
- input[type="checkbox"] {
314
- position: absolute;
315
- clip: rect(0, 0, 0, 0);
316
- pointer-events: none;
317
- }
318
- }
319
- }
320
-
321
- .btn-group .btn {
322
- + .btn-success {
323
- .border(left, 1px, solid, var(--color-content-positive));
324
- }
325
-
326
- + .btn-primary {
327
- .border(left, 1px, solid, var(--color-content-accent));
328
- }
329
- }
330
-
331
- .btn-group.btn-block {
332
- display: inline-flex;
333
- .clearfix();
334
-
335
- .btn {
336
- display: block;
337
- width: 100%;
338
- }
339
-
340
- .btn-input.btn {
341
- .text-align(left);
342
-
343
- .caret {
344
- position: absolute;
345
- .right(16px);
346
-
347
- top: 16px;
348
- }
349
-
350
- &.btn-sm .caret {
351
- .right(8px);
352
- }
353
-
354
- &.dropdown-toggle {
355
- .padding(right, 40px, 16px);
356
-
357
- overflow: hidden;
358
- text-overflow: ellipsis;
359
-
360
- @media (min-width: @screen-sm-min) {
361
- .padding(right, 48px, 16px);
362
- }
363
- }
364
-
365
- &.btn-sm.dropdown-toggle {
366
- .padding(right, 33px);
367
- }
368
- }
369
-
370
- .btn + .dropdown-toggle {
371
- flex: 0;
372
-
373
- .caret {
374
- position: relative;
375
- top: 0;
376
- .right(0);
377
- }
378
- }
379
- }
380
-
381
- .btn-block {
382
- .dropdown-menu {
383
- width: 100%;
384
-
385
- > li > a {
386
- overflow: hidden;
387
- width: 100%;
388
- text-overflow: ellipsis;
389
- }
390
- }
391
- }
392
-
393
- .btn-group {
394
- .dropdown-menu {
395
- max-height: 90vh;
396
- max-height: 90svh;
397
- overflow: auto;
398
- }
399
-
400
- // allow select input options to wrap into multiple lines
401
- .btn-input + .dropdown-menu {
402
- > li > a {
403
- white-space: normal;
404
- }
405
- }
406
-
407
- .np-text-body-default,
408
- .body-2,
409
- .small {
410
- color: var(--color-content-secondary);
411
- }
412
- }
413
-
414
- @media (min-height: 592px) {
415
- .btn-group .dropdown-menu {
416
- max-height: 592px; // (12 * 48) + 16 = 592
417
- }
418
- }
419
-
420
- .btn-group .secondary {
421
- .np-text-body-default;
422
-
423
- color: var(--color-content-secondary);
424
- }