@transferwise/components 46.165.5 → 46.167.0

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 (454) hide show
  1. package/build/Body/Body.js +2 -2
  2. package/build/Body/Body.js.map +1 -1
  3. package/build/Body/Body.mjs +2 -2
  4. package/build/Body/Body.mjs.map +1 -1
  5. package/build/Calendar/DayCalendar/Table/DayCalendarTable.js +1 -1
  6. package/build/Calendar/DayCalendar/Table/DayCalendarTable.js.map +1 -1
  7. package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs +1 -1
  8. package/build/Calendar/DayCalendar/Table/DayCalendarTable.mjs.map +1 -1
  9. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js +1 -1
  10. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.js.map +1 -1
  11. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs +1 -1
  12. package/build/Calendar/MonthCalendar/Table/MonthCalendarTable.mjs.map +1 -1
  13. package/build/Calendar/TableLink/TableLink.js +1 -1
  14. package/build/Calendar/TableLink/TableLink.js.map +1 -1
  15. package/build/Calendar/TableLink/TableLink.mjs +1 -1
  16. package/build/Calendar/TableLink/TableLink.mjs.map +1 -1
  17. package/build/CardContainer/CardContainer.js +34 -0
  18. package/build/CardContainer/CardContainer.js.map +1 -0
  19. package/build/CardContainer/CardContainer.mjs +30 -0
  20. package/build/CardContainer/CardContainer.mjs.map +1 -0
  21. package/build/CardWidget/CardWidget.js +98 -0
  22. package/build/CardWidget/CardWidget.js.map +1 -0
  23. package/build/CardWidget/CardWidget.mjs +94 -0
  24. package/build/CardWidget/CardWidget.mjs.map +1 -0
  25. package/build/CardWidget/CardWidgetAction.js +73 -0
  26. package/build/CardWidget/CardWidgetAction.js.map +1 -0
  27. package/build/CardWidget/CardWidgetAction.mjs +68 -0
  28. package/build/CardWidget/CardWidgetAction.mjs.map +1 -0
  29. package/build/Display/Display.js +3 -1
  30. package/build/Display/Display.js.map +1 -1
  31. package/build/Display/Display.mjs +3 -1
  32. package/build/Display/Display.mjs.map +1 -1
  33. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js +1 -1
  34. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js.map +1 -1
  35. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs +1 -1
  36. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs.map +1 -1
  37. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js +1 -1
  38. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js.map +1 -1
  39. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs +1 -1
  40. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs.map +1 -1
  41. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js +2 -2
  42. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
  43. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs +2 -2
  44. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
  45. package/build/Inputs/SelectInput/Option/SelectInputOption.js +1 -1
  46. package/build/Inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
  47. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs +1 -1
  48. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
  49. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js +3 -3
  50. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
  51. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +3 -3
  52. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
  53. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js +2 -2
  54. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
  55. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs +2 -2
  56. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
  57. package/build/Label/Label.js +1 -1
  58. package/build/Label/Label.js.map +1 -1
  59. package/build/Label/Label.mjs +1 -1
  60. package/build/Label/Label.mjs.map +1 -1
  61. package/build/ListItem/ListItem.js +2 -0
  62. package/build/ListItem/ListItem.js.map +1 -1
  63. package/build/ListItem/ListItem.mjs +2 -0
  64. package/build/ListItem/ListItem.mjs.map +1 -1
  65. package/build/Stepper/Stepper.js +3 -2
  66. package/build/Stepper/Stepper.js.map +1 -1
  67. package/build/Stepper/Stepper.mjs +3 -2
  68. package/build/Stepper/Stepper.mjs.map +1 -1
  69. package/build/Table/Header/TableHeader.js +1 -1
  70. package/build/Table/Header/TableHeader.js.map +1 -1
  71. package/build/Table/Header/TableHeader.mjs +1 -1
  72. package/build/Table/Header/TableHeader.mjs.map +1 -1
  73. package/build/Tabs/Tab/Tab.js +1 -1
  74. package/build/Tabs/Tab/Tab.js.map +1 -1
  75. package/build/Tabs/Tab/Tab.mjs +1 -1
  76. package/build/Tabs/Tab/Tab.mjs.map +1 -1
  77. package/build/Tag/Tag.js +1 -1
  78. package/build/Tag/Tag.js.map +1 -1
  79. package/build/Tag/Tag.mjs +1 -1
  80. package/build/Tag/Tag.mjs.map +1 -1
  81. package/build/Title/Title.js +2 -2
  82. package/build/Title/Title.js.map +1 -1
  83. package/build/Title/Title.mjs +2 -2
  84. package/build/Title/Title.mjs.map +1 -1
  85. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js +2 -2
  86. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
  87. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +2 -2
  88. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
  89. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js +2 -2
  90. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js.map +1 -1
  91. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs +2 -2
  92. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs.map +1 -1
  93. package/build/_deprecated/ActionButton/ActionButton.js +1 -1
  94. package/build/_deprecated/ActionButton/ActionButton.js.map +1 -1
  95. package/build/_deprecated/ActionButton/ActionButton.mjs +1 -1
  96. package/build/_deprecated/ActionButton/ActionButton.mjs.map +1 -1
  97. package/build/_deprecated/Avatar/Avatar.js +1 -1
  98. package/build/_deprecated/Avatar/Avatar.js.map +1 -1
  99. package/build/_deprecated/Avatar/Avatar.mjs +1 -1
  100. package/build/_deprecated/Avatar/Avatar.mjs.map +1 -1
  101. package/build/_deprecated/Select/Select.js +2 -2
  102. package/build/_deprecated/Select/Select.js.map +1 -1
  103. package/build/_deprecated/Select/Select.mjs +2 -2
  104. package/build/_deprecated/Select/Select.mjs.map +1 -1
  105. package/build/common/PropsValues/typography.js +6 -0
  106. package/build/common/PropsValues/typography.js.map +1 -1
  107. package/build/common/PropsValues/typography.mjs +6 -0
  108. package/build/common/PropsValues/typography.mjs.map +1 -1
  109. package/build/index.js +4 -0
  110. package/build/index.js.map +1 -1
  111. package/build/index.mjs +2 -0
  112. package/build/index.mjs.map +1 -1
  113. package/build/main.css +9245 -1899
  114. package/build/styles/Accordion/Accordion.css +7 -6
  115. package/build/styles/Body/Body.css +2 -1
  116. package/build/styles/Calendar/Calendar.css +5 -4
  117. package/build/styles/Calendar/TableLink/TableLink.css +5 -4
  118. package/build/styles/CardContainer/CardContainer.css +108 -0
  119. package/build/styles/CardWidget/CardWidget.css +78 -0
  120. package/build/styles/Chips/Chip/Chip.css +5 -3
  121. package/build/styles/Decision/Decision.css +4 -3
  122. package/build/styles/Emphasis/Emphasis.css +1 -1
  123. package/build/styles/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
  124. package/build/styles/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
  125. package/build/styles/Inputs/Input/Input.css +98 -24
  126. package/build/styles/Inputs/TextArea/TextArea.css +98 -24
  127. package/build/styles/Label/Label.css +3 -0
  128. package/build/styles/ListItem/ListItem.css +8 -0
  129. package/build/styles/Markup/Markup.css +2 -2
  130. package/build/styles/MoneyInput/MoneyInput.css +9 -6
  131. package/build/styles/Nudge/Nudge.css +3 -3
  132. package/build/styles/Popover/Popover.css +30 -7
  133. package/build/styles/ProgressBar/ProgressBar.css +3 -2
  134. package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
  135. package/build/styles/Snackbar/Snackbar.css +1 -1
  136. package/build/styles/Table/Table.css +18 -8
  137. package/build/styles/Tabs/Tabs.css +3 -3
  138. package/build/styles/Tag/Tag.css +1 -1
  139. package/build/styles/Tile/Tile.css +4 -3
  140. package/build/styles/Typeahead/Typeahead.css +4 -2
  141. package/build/styles/UploadInput/UploadInput.css +1 -1
  142. package/build/styles/_deprecated/ActionButton/ActionButton.css +3 -4
  143. package/build/styles/_deprecated/Avatar/Avatar.css +2 -2
  144. package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  145. package/build/styles/_deprecated/Select/Select.css +49 -14
  146. package/build/styles/_deprecated/Summary/Summary.css +2 -2
  147. package/build/styles/common/Circle/Circle.css +1 -1
  148. package/build/styles/common/Option/Option.css +4 -4
  149. package/build/styles/css/accordion.css +53 -11
  150. package/build/styles/css/badge.css +2 -2
  151. package/build/styles/css/button-groups.css +29 -6
  152. package/build/styles/css/buttons.css +35 -11
  153. package/build/styles/css/decision.css +53 -11
  154. package/build/styles/css/dropdowns.css +65 -18
  155. package/build/styles/css/droppable.css +28 -6
  156. package/build/styles/css/footer.css +41 -10
  157. package/build/styles/css/input-groups.css +249 -117
  158. package/build/styles/css/list-group.css +28 -8
  159. package/build/styles/css/modals.css +1 -1
  160. package/build/styles/css/navbar.css +92 -45
  161. package/build/styles/css/navs.css +8 -8
  162. package/build/styles/css/neptune-addons.css +15 -0
  163. package/build/styles/css/neptune-core.css +6230 -525
  164. package/build/styles/css/neptune.css +8790 -1768
  165. package/build/styles/css/panels.css +2 -2
  166. package/build/styles/css/popovers.css +64 -20
  167. package/build/styles/css/progress-bars.css +2 -2
  168. package/build/styles/css/sequences.css +14 -9
  169. package/build/styles/css/table.css +7 -7
  170. package/build/styles/css/tooltip.css +28 -6
  171. package/build/styles/less/legacy-variables.less +3 -3
  172. package/build/styles/less/neptune-tokens.less +0 -48
  173. package/build/styles/main.css +9245 -1899
  174. package/build/styles/props/neptune-tokens.css +805 -3
  175. package/build/styles/styles/less/accordion.css +53 -11
  176. package/build/styles/styles/less/badge.css +2 -2
  177. package/build/styles/styles/less/button-groups.css +29 -6
  178. package/build/styles/styles/less/buttons.css +35 -11
  179. package/build/styles/styles/less/decision.css +53 -11
  180. package/build/styles/styles/less/dropdowns.css +65 -18
  181. package/build/styles/styles/less/droppable.css +28 -6
  182. package/build/styles/styles/less/footer.css +41 -10
  183. package/build/styles/styles/less/forms/bootstrap-forms.css +153 -100
  184. package/build/styles/styles/less/forms/checkbox-radio.css +3 -3
  185. package/build/styles/styles/less/input-groups.css +249 -117
  186. package/build/styles/styles/less/list-group.css +28 -8
  187. package/build/styles/styles/less/modals.css +1 -1
  188. package/build/styles/styles/less/navbar.css +92 -45
  189. package/build/styles/styles/less/navs.css +8 -8
  190. package/build/styles/styles/less/neptune-addons.css +15 -0
  191. package/build/styles/styles/less/neptune-core.css +6230 -525
  192. package/build/styles/styles/less/neptune.css +8790 -1768
  193. package/build/styles/styles/less/panels.css +2 -2
  194. package/build/styles/styles/less/popovers.css +64 -20
  195. package/build/styles/styles/less/progress-bars.css +2 -2
  196. package/build/styles/styles/less/sequences.css +14 -9
  197. package/build/styles/styles/less/table.css +7 -7
  198. package/build/styles/styles/less/tooltip.css +28 -6
  199. package/build/types/Body/Body.d.ts +2 -2
  200. package/build/types/Body/Body.d.ts.map +1 -1
  201. package/build/types/CardContainer/CardContainer.d.ts +8 -0
  202. package/build/types/CardContainer/CardContainer.d.ts.map +1 -0
  203. package/build/types/CardContainer/CardContainer.types.d.ts +55 -0
  204. package/build/types/CardContainer/CardContainer.types.d.ts.map +1 -0
  205. package/build/types/CardContainer/_stories/helpers.d.ts +3 -0
  206. package/build/types/CardContainer/_stories/helpers.d.ts.map +1 -0
  207. package/build/types/CardContainer/index.d.ts +3 -0
  208. package/build/types/CardContainer/index.d.ts.map +1 -0
  209. package/build/types/CardWidget/CardWidget.d.ts +10 -0
  210. package/build/types/CardWidget/CardWidget.d.ts.map +1 -0
  211. package/build/types/CardWidget/CardWidget.types.d.ts +55 -0
  212. package/build/types/CardWidget/CardWidget.types.d.ts.map +1 -0
  213. package/build/types/CardWidget/CardWidgetAction.d.ts +54 -0
  214. package/build/types/CardWidget/CardWidgetAction.d.ts.map +1 -0
  215. package/build/types/CardWidget/index.d.ts +4 -0
  216. package/build/types/CardWidget/index.d.ts.map +1 -0
  217. package/build/types/Display/Display.d.ts.map +1 -1
  218. package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
  219. package/build/types/IconButton/IconButton.d.ts +1 -1
  220. package/build/types/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -1
  221. package/build/types/Inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -1
  222. package/build/types/ListItem/ListItem.d.ts +1 -1
  223. package/build/types/ListItem/ListItem.d.ts.map +1 -1
  224. package/build/types/MoneyInput/MoneyInput.d.ts +1 -1
  225. package/build/types/MoneyInput/MoneyInput.d.ts.map +1 -1
  226. package/build/types/Stepper/Stepper.d.ts.map +1 -1
  227. package/build/types/Tabs/Tab/Tab.d.ts.map +1 -1
  228. package/build/types/Title/Title.d.ts +2 -2
  229. package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts +1 -1
  230. package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts.map +1 -1
  231. package/build/types/UploadInput/UploadItem/UploadItemLink.d.ts +1 -1
  232. package/build/types/_deprecated/Select/Select.d.ts.map +1 -1
  233. package/build/types/common/PropsValues/typography.d.ts +13 -1
  234. package/build/types/common/PropsValues/typography.d.ts.map +1 -1
  235. package/build/types/index.d.ts +4 -0
  236. package/build/types/index.d.ts.map +1 -1
  237. package/package.json +4 -4
  238. package/src/Accordion/Accordion.css +7 -6
  239. package/src/Accordion/Accordion.less +7 -6
  240. package/src/Body/Body.css +2 -1
  241. package/src/Body/Body.less +2 -1
  242. package/src/Body/Body.test.tsx +13 -4
  243. package/src/Body/Body.tsx +4 -3
  244. package/src/Body/_stories/Body.test.story.tsx +42 -0
  245. package/src/Calendar/Calendar.css +5 -4
  246. package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +2 -2
  247. package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
  248. package/src/Calendar/TableLink/TableLink.css +5 -4
  249. package/src/Calendar/TableLink/TableLink.less +5 -4
  250. package/src/Calendar/TableLink/TableLink.tsx +1 -1
  251. package/src/Calendar/_stories/Calendar.test.story.tsx +33 -0
  252. package/src/CardContainer/CardContainer.css +108 -0
  253. package/src/CardContainer/CardContainer.less +171 -0
  254. package/src/CardContainer/CardContainer.test.tsx +150 -0
  255. package/src/CardContainer/CardContainer.tsx +51 -0
  256. package/src/CardContainer/CardContainer.types.ts +62 -0
  257. package/src/CardContainer/_stories/CardContainer.story.tsx +167 -0
  258. package/src/CardContainer/_stories/CardContainer.test.story.tsx +103 -0
  259. package/src/CardContainer/_stories/helpers.tsx +50 -0
  260. package/src/CardContainer/index.ts +6 -0
  261. package/src/CardWidget/CardWidget.css +78 -0
  262. package/src/CardWidget/CardWidget.less +107 -0
  263. package/src/CardWidget/CardWidget.test.tsx +221 -0
  264. package/src/CardWidget/CardWidget.tsx +78 -0
  265. package/src/CardWidget/CardWidget.types.ts +63 -0
  266. package/src/CardWidget/CardWidgetAction.tsx +128 -0
  267. package/src/CardWidget/_stories/CardWidget.story.tsx +238 -0
  268. package/src/CardWidget/_stories/CardWidget.test.story.tsx +350 -0
  269. package/src/CardWidget/index.ts +3 -0
  270. package/src/Chips/Chip/Chip.css +5 -3
  271. package/src/Chips/Chip/Chip.less +3 -2
  272. package/src/CircularButton/_stories/CircularButton.story.tsx +6 -16
  273. package/src/DateInput/_stories/DateInput.rtl.test.story.tsx +45 -0
  274. package/src/Decision/Decision.css +4 -3
  275. package/src/Decision/Decision.less +4 -3
  276. package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
  277. package/src/Display/Display.test.tsx +43 -0
  278. package/src/Display/Display.tsx +11 -1
  279. package/src/Display/_stories/Display.story.tsx +36 -21
  280. package/src/Display/_stories/Display.test.story.tsx +108 -0
  281. package/src/Emphasis/Emphasis.css +1 -1
  282. package/src/Emphasis/Emphasis.less +1 -1
  283. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
  284. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.less +2 -1
  285. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +1 -4
  286. package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
  287. package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
  288. package/src/Inputs/Input/Input.css +98 -24
  289. package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +4 -2
  290. package/src/Inputs/SelectInput/Option/SelectInputOption.tsx +1 -1
  291. package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +3 -3
  292. package/src/Inputs/SelectInput/Popover/SelectInputPopover.tsx +6 -2
  293. package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
  294. package/src/Inputs/TextArea/TextArea.css +98 -24
  295. package/src/Inputs/_common.less +16 -10
  296. package/src/Label/Label.css +3 -0
  297. package/src/Label/Label.less +8 -0
  298. package/src/Label/Label.tsx +1 -1
  299. package/src/ListItem/ListItem.css +8 -0
  300. package/src/ListItem/ListItem.less +8 -0
  301. package/src/ListItem/ListItem.test.tsx +20 -0
  302. package/src/ListItem/ListItem.tsx +3 -1
  303. package/src/ListItem/_stories/ListItem.layout.test.story.tsx +1 -1
  304. package/src/ListItem/_stories/ListItem.story.tsx +1 -1
  305. package/src/Markup/Markup.css +2 -2
  306. package/src/Markup/Markup.less +2 -2
  307. package/src/MoneyInput/MoneyInput.css +9 -6
  308. package/src/MoneyInput/MoneyInput.less +10 -7
  309. package/src/Nudge/Nudge.css +3 -3
  310. package/src/Nudge/Nudge.less +3 -3
  311. package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
  312. package/src/Popover/Popover.css +30 -7
  313. package/src/Popover/Popover.less +2 -2
  314. package/src/ProgressBar/ProgressBar.css +3 -2
  315. package/src/ProgressBar/ProgressBar.less +12 -11
  316. package/src/Prompt/CriticalBanner/_stories/CriticalBanner.docs.mdx +122 -0
  317. package/src/Prompt/CriticalBanner/_stories/CriticalBanner.story.tsx +0 -2
  318. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
  319. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +2 -1
  320. package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
  321. package/src/Snackbar/Snackbar.css +1 -1
  322. package/src/Snackbar/Snackbar.less +1 -1
  323. package/src/Stepper/Stepper.tsx +4 -2
  324. package/src/Table/Header/TableHeader.tsx +1 -1
  325. package/src/Table/StatusText/TableStatusText.test.tsx +20 -5
  326. package/src/Table/Table.css +18 -8
  327. package/src/Table/Table.less +20 -9
  328. package/src/Tabs/Tab/Tab.tsx +11 -5
  329. package/src/Tabs/Tabs.css +3 -3
  330. package/src/Tabs/Tabs.less +3 -3
  331. package/src/Tag/Tag.css +1 -1
  332. package/src/Tag/Tag.less +1 -1
  333. package/src/Tag/Tag.tsx +1 -1
  334. package/src/Tag/_stories/Tag.story.tsx +1 -1
  335. package/src/Tile/Tile.css +4 -3
  336. package/src/Tile/Tile.less +4 -3
  337. package/src/Title/Title.test.tsx +22 -3
  338. package/src/Title/Title.tsx +2 -2
  339. package/src/Typeahead/Typeahead.css +4 -2
  340. package/src/Typeahead/Typeahead.less +2 -1
  341. package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
  342. package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +4 -2
  343. package/src/UploadInput/UploadInput.css +1 -1
  344. package/src/UploadInput/UploadInput.less +7 -4
  345. package/src/_deprecated/ActionButton/ActionButton.css +3 -4
  346. package/src/_deprecated/ActionButton/ActionButton.less +4 -5
  347. package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
  348. package/src/_deprecated/Avatar/Avatar.css +2 -2
  349. package/src/_deprecated/Avatar/Avatar.less +2 -2
  350. package/src/_deprecated/Avatar/Avatar.tsx +1 -1
  351. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  352. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +2 -1
  353. package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
  354. package/src/_deprecated/Select/Select.css +49 -14
  355. package/src/_deprecated/Select/Select.less +14 -10
  356. package/src/_deprecated/Select/Select.test.tsx +16 -0
  357. package/src/_deprecated/Select/Select.tsx +6 -1
  358. package/src/_deprecated/Summary/Summary.css +2 -2
  359. package/src/_deprecated/Summary/Summary.less +2 -2
  360. package/src/common/Circle/Circle.css +1 -1
  361. package/src/common/Circle/Circle.less +1 -1
  362. package/src/common/Option/Option.css +4 -4
  363. package/src/common/Option/Option.less +4 -4
  364. package/src/common/PropsValues/typography.ts +20 -1
  365. package/src/index.ts +13 -0
  366. package/src/main.css +9245 -1899
  367. package/src/main.less +5 -2
  368. package/src/styles/less/accordion.css +53 -11
  369. package/src/styles/less/addons/_background-utilities.less +5 -0
  370. package/src/styles/less/badge.css +2 -2
  371. package/src/styles/less/badge.less +2 -2
  372. package/src/styles/less/button-groups.css +29 -6
  373. package/src/styles/less/button-groups.less +3 -2
  374. package/src/styles/less/buttons.css +35 -11
  375. package/src/styles/less/buttons.less +7 -7
  376. package/src/styles/less/core/_fonts.less +7 -75
  377. package/src/styles/less/core/_scaffolding.less +4 -4
  378. package/src/styles/less/core/_typography-utilities.less +3 -3
  379. package/src/styles/less/core/_typography.less +91 -236
  380. package/src/styles/less/core/fonts/_fonts-ar.less +86 -0
  381. package/src/styles/less/core/fonts/_fonts-base.less +99 -0
  382. package/src/styles/less/core/fonts/_fonts-he.less +8 -0
  383. package/src/styles/less/core/fonts/_fonts-ja.less +4247 -0
  384. package/src/styles/less/core/fonts/_fonts-ko.less +1079 -0
  385. package/src/styles/less/core/fonts/_fonts-th.less +8 -0
  386. package/src/styles/less/core/fonts/_fonts-zh.less +872 -0
  387. package/src/styles/less/decision.css +53 -11
  388. package/src/styles/less/decision.less +2 -2
  389. package/src/styles/less/dropdowns.css +65 -18
  390. package/src/styles/less/dropdowns.less +8 -7
  391. package/src/styles/less/droppable.css +28 -6
  392. package/src/styles/less/droppable.less +4 -4
  393. package/src/styles/less/footer.css +41 -10
  394. package/src/styles/less/footer.less +4 -3
  395. package/src/styles/less/forms/bootstrap-forms.css +153 -100
  396. package/src/styles/less/forms/bootstrap-forms.less +85 -72
  397. package/src/styles/less/forms/checkbox-radio.css +3 -3
  398. package/src/styles/less/forms/checkbox-radio.less +3 -3
  399. package/src/styles/less/input-groups.css +249 -117
  400. package/src/styles/less/input-groups.less +23 -9
  401. package/src/styles/less/list-group.css +28 -8
  402. package/src/styles/less/list-group.less +8 -5
  403. package/src/styles/less/mixins/_reset-text.less +1 -1
  404. package/src/styles/less/mixins/_text-emphasis.less +7 -1
  405. package/src/styles/less/modals.css +1 -1
  406. package/src/styles/less/modals.less +1 -1
  407. package/src/styles/less/navbar.css +92 -45
  408. package/src/styles/less/navbar.less +19 -19
  409. package/src/styles/less/navs.css +8 -8
  410. package/src/styles/less/navs.less +8 -8
  411. package/src/styles/less/neptune-addons.css +15 -0
  412. package/src/styles/less/neptune-core.css +6230 -525
  413. package/src/styles/less/neptune.bundle.less +4 -0
  414. package/src/styles/less/neptune.css +8790 -1768
  415. package/src/styles/less/panels.css +2 -2
  416. package/src/styles/less/panels.less +2 -2
  417. package/src/styles/less/popovers.css +64 -20
  418. package/src/styles/less/popovers.less +7 -7
  419. package/src/styles/less/progress-bars.css +2 -2
  420. package/src/styles/less/progress-bars.less +2 -2
  421. package/src/styles/less/sequences.css +14 -9
  422. package/src/styles/less/sequences.less +15 -10
  423. package/src/styles/less/table.css +7 -7
  424. package/src/styles/less/table.less +7 -7
  425. package/src/styles/less/tooltip.css +28 -6
  426. package/src/styles/less/tooltip.less +1 -1
  427. package/src/styles/variables/legacy-variables.less +3 -3
  428. package/build/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  429. package/build/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  430. package/build/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  431. package/build/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  432. package/build/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  433. package/build/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  434. package/build/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  435. package/build/styles/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
  436. package/build/styles/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
  437. package/build/styles/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
  438. package/build/styles/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
  439. package/build/styles/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
  440. package/build/styles/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
  441. package/src/FlowNavigation/_stories/FlowNavigation.CriticalBanner.docs.mdx +0 -66
  442. package/src/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  443. package/src/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  444. package/src/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  445. package/src/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  446. package/src/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  447. package/src/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  448. package/src/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  449. package/src/styles/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
  450. package/src/styles/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
  451. package/src/styles/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
  452. package/src/styles/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
  453. package/src/styles/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
  454. package/src/styles/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
package/src/main.less CHANGED
@@ -4,6 +4,8 @@
4
4
  @import "./PocketSurface/PocketSurface.less";
5
5
 
6
6
  @import "./Container/Container.less";
7
+ @import "./CardContainer/CardContainer.less";
8
+ @import "./CardWidget/CardWidget.less";
7
9
  @import "./_deprecated/CriticalBanner/CriticalCommsBanner.less";
8
10
  @import "./Accordion/Accordion.less";
9
11
  @import "./_deprecated/ActionButton/ActionButton.less";
@@ -53,6 +55,7 @@
53
55
  @import "./Inputs/SelectInput/SelectInput.less";
54
56
  @import "./Inputs/TextArea/TextArea.less";
55
57
  @import "./InstructionsList/InstructionsList.less";
58
+ @import "./Label/Label.less";
56
59
  @import "./Link/Link.less";
57
60
  @import "./Loader/Loader.less";
58
61
  @import "./Logo/Logo.less";
@@ -99,5 +102,5 @@
99
102
  @import "./ProgressBar/ProgressBar.less";
100
103
  @import "./_deprecated/LegacyListItem/LegacyListItem.less";
101
104
 
102
- // List all less files in src in alphabetical order: find -s src -type f -name '*.less' ! -name 'main.less'
103
- // Make sure you are not referencing main.less itself in this file!
105
+ // List all LESS files in `.src/` in alphabetical order: `find -s src -type f -name '*.less' ! -name 'main.less'`
106
+ // Make sure you are not referencing `main.less` itself in this file!
@@ -35,7 +35,59 @@
35
35
  .np-theme-personal .chevron-color {
36
36
  color: var(--color-interactive-primary);
37
37
  }
38
- .decision {
38
+ .decision__title {
39
+ margin: 0;color: var(--color-content-primary);word-wrap: break-word;
40
+ }
41
+ @supports (hyphenate-limit-chars: 1) {
42
+ .decision__title {
43
+ hyphens: auto;hyphenate-limit-chars: 7 3;
44
+ }
45
+ @media (min-width: 840px) {
46
+ .decision__title {
47
+ hyphenate-limit-chars: 8 3;
48
+ }
49
+ }
50
+ @media (min-width: 1160px) {
51
+ .decision__title {
52
+ hyphenate-limit-chars: 10 4 3;
53
+ }
54
+ }
55
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
56
+ .decision__title {
57
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
58
+ }
59
+ @media (min-width: 1160px) {
60
+ .decision__title {
61
+ -webkit-hyphenate-limit-before: 4;
62
+ }
63
+ }
64
+ }.decision__content {
65
+ word-wrap: break-word;
66
+ }
67
+ @supports (hyphenate-limit-chars: 1) {
68
+ .decision__content {
69
+ hyphens: auto;hyphenate-limit-chars: 7 3;
70
+ }
71
+ @media (min-width: 840px) {
72
+ .decision__content {
73
+ hyphenate-limit-chars: 8 3;
74
+ }
75
+ }
76
+ @media (min-width: 1160px) {
77
+ .decision__content {
78
+ hyphenate-limit-chars: 10 4 3;
79
+ }
80
+ }
81
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
82
+ .decision__content {
83
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
84
+ }
85
+ @media (min-width: 1160px) {
86
+ .decision__content {
87
+ -webkit-hyphenate-limit-before: 4;
88
+ }
89
+ }
90
+ }.decision {
39
91
  cursor: pointer;
40
92
  margin-block-end: 0 !important;
41
93
  border: 0;
@@ -53,13 +105,7 @@
53
105
  .decision__title {
54
106
  margin: 0;
55
107
  color: var(--color-content-primary);
56
- line-height: var(--line-height-title);
57
- letter-spacing: 0;
58
108
  word-wrap: break-word;
59
- font-size: var(--font-size-18);
60
- font-weight: var(--font-weight-semi-bold);
61
- letter-spacing: -0.014em;
62
- line-height: 135%;
63
109
  }
64
110
  @supports (hyphenate-limit-chars: 1) {
65
111
  .decision__title {
@@ -95,10 +141,6 @@
95
141
  margin-block-start: var(--size-8);
96
142
  }
97
143
  .decision__content {
98
- font-size: var(--font-size-14);
99
- line-height: 155%;
100
- letter-spacing: -0.006em;
101
- font-weight: var(--font-weight-regular);
102
144
  word-wrap: break-word;
103
145
  margin-block-start: var(--size-4);
104
146
  }
@@ -76,6 +76,11 @@
76
76
  .np-text-title-subsection,
77
77
  .np-text-title-body,
78
78
  .np-text-title-group,
79
+ .wds-text-title-screen,
80
+ .wds-text-title-section,
81
+ .wds-text-title-subsection,
82
+ .wds-text-title-body,
83
+ .wds-text-title-group,
79
84
  strong {
80
85
  color: @color-navy-content-primary;
81
86
  }
@@ -4,9 +4,9 @@
4
4
  padding-block: 5px;
5
5
  padding-inline: var(--size-8);
6
6
  font-size: 10px;
7
- font-weight: var(--font-weight-semi-bold);
7
+ font-weight: var(--wds-font-weight-title-body);
8
8
  color: #fff;
9
- line-height: var(--line-height-control);
9
+ line-height: var(--wds-line-height-title-section);
10
10
  vertical-align: middle;
11
11
  white-space: nowrap;
12
12
  text-align: center;
@@ -7,9 +7,9 @@
7
7
  min-width: var(--size-16);
8
8
  padding: 5px var(--size-8);
9
9
  font-size: 10px;
10
- font-weight: var(--font-weight-semi-bold);
10
+ font-weight: var(--wds-font-weight-title-body);
11
11
  color: #fff;
12
- line-height: var(--line-height-control);
12
+ line-height: var(--wds-line-height-title-section);
13
13
  vertical-align: middle;
14
14
  white-space: nowrap;
15
15
  text-align: center;
@@ -1,4 +1,30 @@
1
- .btn-group,
1
+ .btn-group .secondary {
2
+ word-wrap: break-word;
3
+ }
4
+ @supports (hyphenate-limit-chars: 1) {
5
+ .btn-group .secondary {
6
+ hyphens: auto;hyphenate-limit-chars: 7 3;
7
+ }
8
+ @media (min-width: 840px) {
9
+ .btn-group .secondary {
10
+ hyphenate-limit-chars: 8 3;
11
+ }
12
+ }
13
+ @media (min-width: 1160px) {
14
+ .btn-group .secondary {
15
+ hyphenate-limit-chars: 10 4 3;
16
+ }
17
+ }
18
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
19
+ .btn-group .secondary {
20
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
21
+ }
22
+ @media (min-width: 1160px) {
23
+ .btn-group .secondary {
24
+ -webkit-hyphenate-limit-before: 4;
25
+ }
26
+ }
27
+ }.btn-group,
2
28
  .btn-group-vertical {
3
29
  position: relative;
4
30
  display: inline-block;
@@ -332,8 +358,9 @@
332
358
  .btn-group .btn-input + .dropdown-menu > li > a {
333
359
  white-space: normal;
334
360
  }
335
- .btn-group .np-text-body-default,
336
361
  .btn-group .body-2,
362
+ .btn-group .np-text-body-default,
363
+ .btn-group .wds-text-body-default,
337
364
  .btn-group .small {
338
365
  color: var(--color-content-secondary);
339
366
  }
@@ -343,10 +370,6 @@
343
370
  }
344
371
  }
345
372
  .btn-group .secondary {
346
- font-size: var(--font-size-14);
347
- line-height: 155%;
348
- letter-spacing: -0.006em;
349
- font-weight: var(--font-weight-regular);
350
373
  word-wrap: break-word;
351
374
  color: var(--color-content-secondary);
352
375
  }
@@ -404,8 +404,9 @@
404
404
  }
405
405
  }
406
406
 
407
- .np-text-body-default,
408
407
  .body-2,
408
+ .np-text-body-default,
409
+ .wds-text-body-default,
409
410
  .small {
410
411
  color: var(--color-content-secondary);
411
412
  }
@@ -418,7 +419,7 @@
418
419
  }
419
420
 
420
421
  .btn-group .secondary {
421
- .np-text-body-default;
422
+ .wds-text-body-default;
422
423
 
423
424
  color: var(--color-content-secondary);
424
425
  }
@@ -2,8 +2,32 @@
2
2
  block-size: 32px;
3
3
  }
4
4
  .btn {
5
- line-height: 150%;
6
- letter-spacing: -0.011em;
5
+ word-wrap: break-word;
6
+ }
7
+ @supports (hyphenate-limit-chars: 1) {
8
+ .btn {
9
+ hyphens: auto;hyphenate-limit-chars: 7 3;
10
+ }
11
+ @media (min-width: 840px) {
12
+ .btn {
13
+ hyphenate-limit-chars: 8 3;
14
+ }
15
+ }
16
+ @media (min-width: 1160px) {
17
+ .btn {
18
+ hyphenate-limit-chars: 10 4 3;
19
+ }
20
+ }
21
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
22
+ .btn {
23
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
24
+ }
25
+ @media (min-width: 1160px) {
26
+ .btn {
27
+ -webkit-hyphenate-limit-before: 4;
28
+ }
29
+ }
30
+ }.btn {
7
31
  word-wrap: break-word;
8
32
  display: inline-block;
9
33
  margin-block-end: 0;
@@ -15,9 +39,9 @@
15
39
  border: 1px solid transparent;
16
40
  white-space: nowrap;
17
41
  padding-block-end: 10px;
18
- font-weight: var(--font-weight-semi-bold);
42
+ font-weight: var(--wds-font-weight-title-body);
19
43
  padding: var(--btn-padding);
20
- font-size: var(--font-size-16);
44
+ font-size: var(--wds-font-size-body-large);
21
45
  line-height: var(--line-height-24);
22
46
  border-radius: var(--btn-radius-base);
23
47
  min-block-size: var(--btn-height);
@@ -54,7 +78,7 @@
54
78
  }
55
79
  }
56
80
  .btn .dropdown-menu > li > a {
57
- font-size: var(--font-size-16);
81
+ font-size: var(--wds-font-size-body-large);
58
82
  line-height: var(--line-height-24);
59
83
  }
60
84
  .np-theme-personal .btn {
@@ -969,14 +993,14 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
969
993
  .btn-sm,
970
994
  .navbar .btn {
971
995
  padding: var(--btn-sm-padding);
972
- font-size: var(--font-size-14);
996
+ font-size: var(--wds-font-size-body);
973
997
  line-height: var(--line-height-22);
974
998
  border-radius: var(--btn-sm-radius-base);
975
999
  min-block-size: var(--btn-sm-height);
976
1000
  }
977
1001
  .btn-sm .dropdown-menu > li > a,
978
1002
  .navbar .btn .dropdown-menu > li > a {
979
- font-size: var(--font-size-14);
1003
+ font-size: var(--wds-font-size-body);
980
1004
  line-height: var(--line-height-22);
981
1005
  }
982
1006
  .np-theme-personal .btn-sm,
@@ -1007,13 +1031,13 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1007
1031
  @media (max-width: 839px) {
1008
1032
  .navbar-collapse .btn {
1009
1033
  padding: var(--btn-padding);
1010
- font-size: var(--font-size-16);
1034
+ font-size: var(--wds-font-size-body-large);
1011
1035
  line-height: var(--line-height-24);
1012
1036
  border-radius: var(--border-radius-base);
1013
1037
  min-block-size: var(--btn-height);
1014
1038
  }
1015
1039
  .navbar-collapse .btn .dropdown-menu > li > a {
1016
- font-size: var(--font-size-16);
1040
+ font-size: var(--wds-font-size-body-large);
1017
1041
  line-height: var(--line-height-24);
1018
1042
  }
1019
1043
  .np-theme-personal .navbar-collapse .btn {
@@ -1035,7 +1059,7 @@ input[type="button"].btn-block {
1035
1059
  inline-size: 100%;
1036
1060
  }
1037
1061
  .btn-input {
1038
- font-weight: var(--font-weight-regular);
1062
+ font-weight: var(--wds-font-weight-body-regular);
1039
1063
  padding-inline-start: 16px;
1040
1064
  padding-inline-end: 16px;
1041
1065
  }
@@ -1067,7 +1091,7 @@ input[type="button"].btn-block {
1067
1091
  }
1068
1092
  .btn-input.btn-lg.btn-addon,
1069
1093
  .btn-input.btn-lg.btn-input-inverse {
1070
- font-weight: var(--font-weight-semi-bold);
1094
+ font-weight: var(--wds-font-weight-title-body);
1071
1095
  }
1072
1096
  .btn-input-inverse {
1073
1097
  --color-content-primary: #ffffff;
@@ -8,7 +8,7 @@
8
8
  @import (reference) "./ring.less";
9
9
 
10
10
  .btn {
11
- .np-text-body-large-bold;
11
+ .wds-text-body-large-bold;
12
12
 
13
13
  display: inline-block;
14
14
  margin-bottom: 0;
@@ -22,11 +22,11 @@
22
22
  border: 1px solid transparent;
23
23
  white-space: nowrap;
24
24
  padding-bottom: 10px;
25
- font-weight: var(--font-weight-semi-bold);
25
+ font-weight: var(--wds-font-weight-title-body);
26
26
 
27
27
  .button-size(
28
28
  var(--btn-padding);
29
- var(--font-size-16);
29
+ var(--wds-font-size-body-large);
30
30
  var(--line-height-24);
31
31
  var(--btn-radius-base);
32
32
  var(--btn-height);
@@ -475,7 +475,7 @@
475
475
  .navbar .btn {
476
476
  .button-size(
477
477
  var(--btn-sm-padding);
478
- var(--font-size-14);
478
+ var(--wds-font-size-body);
479
479
  var(--line-height-22);
480
480
  var(--btn-sm-radius-base);
481
481
  var(--btn-sm-height);
@@ -512,7 +512,7 @@
512
512
  .navbar-collapse .btn {
513
513
  .button-size(
514
514
  var(--btn-padding);
515
- var(--font-size-16);
515
+ var(--wds-font-size-body-large);
516
516
  var(--line-height-24);
517
517
  var(--border-radius-base);
518
518
  var(--btn-height);
@@ -547,7 +547,7 @@ input[type="button"] {
547
547
 
548
548
  // @TODO Deprecate / Remove
549
549
  .btn-input {
550
- font-weight: var(--font-weight-regular);
550
+ font-weight: var(--wds-font-weight-body-regular);
551
551
  .padding(left, @padding-base-horizontal);
552
552
 
553
553
  .padding(right, @padding-base-horizontal);
@@ -584,7 +584,7 @@ input[type="button"] {
584
584
 
585
585
  &.btn-addon,
586
586
  &.btn-input-inverse {
587
- font-weight: var(--font-weight-semi-bold);
587
+ font-weight: var(--wds-font-weight-title-body);
588
588
  }
589
589
  }
590
590
  }
@@ -1,77 +1,9 @@
1
1
  /* See: https://github.com/fontsource/fontsource/blob/main/fonts/google/inter/variable.css */
2
2
 
3
- @font-face {
4
- font-family: Inter;
5
- font-style: normal;
6
- font-display: swap;
7
- font-weight: 100 900;
8
- src: url("./styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2") format("woff2");
9
- unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
10
- }
11
-
12
- @font-face {
13
- font-family: Inter;
14
- font-style: normal;
15
- font-display: swap;
16
- font-weight: 100 900;
17
- src: url("./styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2") format("woff2");
18
- unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
19
- }
20
-
21
- @font-face {
22
- font-family: Inter;
23
- font-style: normal;
24
- font-display: swap;
25
- font-weight: 100 900;
26
- src: url("./styles/fonts/inter-greek-variable-wghtOnly-normal.woff2") format("woff2");
27
- unicode-range: U+0370-03FF;
28
- }
29
-
30
- @font-face {
31
- font-family: Inter;
32
- font-style: normal;
33
- font-display: swap;
34
- font-weight: 100 900;
35
- src: url("./styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2") format("woff2");
36
- unicode-range: U+1F00-1FFF;
37
- }
38
-
39
- @font-face {
40
- font-family: Inter;
41
- font-style: normal;
42
- font-display: swap;
43
- font-weight: 100 900;
44
- src: url("./styles/fonts/inter-latin-variable-wghtOnly-normal.woff2") format("woff2");
45
- unicode-range:
46
- U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074,
47
- U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
48
- }
49
-
50
- @font-face {
51
- font-family: Inter;
52
- font-style: normal;
53
- font-display: swap;
54
- font-weight: 100 900;
55
- src: url("./styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2") format("woff2");
56
- unicode-range:
57
- U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F,
58
- U+A720-A7FF;
59
- }
60
-
61
- @font-face {
62
- font-family: Inter;
63
- font-style: normal;
64
- font-display: swap;
65
- font-weight: 100 900;
66
- src: url("./styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2") format("woff2");
67
- unicode-range:
68
- U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9,
69
- U+20AB;
70
- }
71
-
72
- @font-face {
73
- font-family: "Wise Sans";
74
- font-style: normal;
75
- font-display: swap;
76
- src: url("./styles/fonts/WiseSans-Heavy.woff2") format("woff2");
77
- }
3
+ @import "fonts/_fonts-base";
4
+ @import "fonts/_fonts-ar";
5
+ @import "fonts/_fonts-he";
6
+ @import "fonts/_fonts-ja";
7
+ @import "fonts/_fonts-ko";
8
+ @import "fonts/_fonts-th";
9
+ @import "fonts/_fonts-zh";
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  .np-theme-personal {
40
- font-family: var(--font-family-regular);
40
+ font-family: var(--wds-font-family-regular);
41
41
  font-feature-settings: "calt";
42
42
 
43
43
  --input-group-addon-padding: @padding-large-vertical @padding-base-horizontal;
@@ -68,7 +68,7 @@
68
68
 
69
69
  html {
70
70
  font-size: var(--base-font-size);
71
- font-family: var(--font-family-regular);
71
+ font-family: var(--wds-font-family-regular);
72
72
  color: var(--color-content-secondary);
73
73
  background-color: var(--color-background-screen);
74
74
  -webkit-font-smoothing: antialiased;
@@ -221,11 +221,11 @@ ul {
221
221
 
222
222
  dt,
223
223
  dd {
224
- line-height: var(--line-height-body);
224
+ line-height: var(--wds-line-height-body-large);
225
225
  }
226
226
 
227
227
  dt {
228
- font-size: var(--font-size-14);
228
+ font-size: var(--wds-font-size-body);
229
229
  }
230
230
 
231
231
  dd {
@@ -145,15 +145,15 @@
145
145
  }
146
146
 
147
147
  .font-weight-bold {
148
- font-weight: var(--font-weight-bold) !important;
148
+ font-weight: var(--wds-font-weight-title-screen) !important;
149
149
  }
150
150
 
151
151
  .font-weight-semi-bold {
152
- font-weight: var(--font-weight-semi-bold) !important;
152
+ font-weight: var(--wds-font-weight-title-group) !important;
153
153
  }
154
154
 
155
155
  .font-weight-normal {
156
- font-weight: var(--font-weight-regular) !important;
156
+ font-weight: var(--wds-font-weight-body-regular) !important;
157
157
  }
158
158
 
159
159
  .font-italic {