@transferwise/components 46.165.5 → 46.166.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 (376) 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/Display/Display.js +3 -1
  18. package/build/Display/Display.js.map +1 -1
  19. package/build/Display/Display.mjs +3 -1
  20. package/build/Display/Display.mjs.map +1 -1
  21. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js +1 -1
  22. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js.map +1 -1
  23. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs +1 -1
  24. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs.map +1 -1
  25. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js +1 -1
  26. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js.map +1 -1
  27. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs +1 -1
  28. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs.map +1 -1
  29. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js +2 -2
  30. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
  31. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs +2 -2
  32. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
  33. package/build/Inputs/SelectInput/Option/SelectInputOption.js +1 -1
  34. package/build/Inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
  35. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs +1 -1
  36. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
  37. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js +3 -3
  38. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
  39. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +3 -3
  40. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
  41. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js +2 -2
  42. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
  43. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs +2 -2
  44. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
  45. package/build/Label/Label.js +1 -1
  46. package/build/Label/Label.js.map +1 -1
  47. package/build/Label/Label.mjs +1 -1
  48. package/build/Label/Label.mjs.map +1 -1
  49. package/build/Stepper/Stepper.js +3 -2
  50. package/build/Stepper/Stepper.js.map +1 -1
  51. package/build/Stepper/Stepper.mjs +3 -2
  52. package/build/Stepper/Stepper.mjs.map +1 -1
  53. package/build/Table/Header/TableHeader.js +1 -1
  54. package/build/Table/Header/TableHeader.js.map +1 -1
  55. package/build/Table/Header/TableHeader.mjs +1 -1
  56. package/build/Table/Header/TableHeader.mjs.map +1 -1
  57. package/build/Tabs/Tab/Tab.js +1 -1
  58. package/build/Tabs/Tab/Tab.js.map +1 -1
  59. package/build/Tabs/Tab/Tab.mjs +1 -1
  60. package/build/Tabs/Tab/Tab.mjs.map +1 -1
  61. package/build/Tag/Tag.js +1 -1
  62. package/build/Tag/Tag.js.map +1 -1
  63. package/build/Tag/Tag.mjs +1 -1
  64. package/build/Tag/Tag.mjs.map +1 -1
  65. package/build/Title/Title.js +2 -2
  66. package/build/Title/Title.js.map +1 -1
  67. package/build/Title/Title.mjs +2 -2
  68. package/build/Title/Title.mjs.map +1 -1
  69. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js +2 -2
  70. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
  71. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +2 -2
  72. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
  73. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js +2 -2
  74. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js.map +1 -1
  75. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs +2 -2
  76. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs.map +1 -1
  77. package/build/_deprecated/ActionButton/ActionButton.js +1 -1
  78. package/build/_deprecated/ActionButton/ActionButton.js.map +1 -1
  79. package/build/_deprecated/ActionButton/ActionButton.mjs +1 -1
  80. package/build/_deprecated/ActionButton/ActionButton.mjs.map +1 -1
  81. package/build/_deprecated/Avatar/Avatar.js +1 -1
  82. package/build/_deprecated/Avatar/Avatar.js.map +1 -1
  83. package/build/_deprecated/Avatar/Avatar.mjs +1 -1
  84. package/build/_deprecated/Avatar/Avatar.mjs.map +1 -1
  85. package/build/_deprecated/Select/Select.js +2 -2
  86. package/build/_deprecated/Select/Select.js.map +1 -1
  87. package/build/_deprecated/Select/Select.mjs +2 -2
  88. package/build/_deprecated/Select/Select.mjs.map +1 -1
  89. package/build/common/PropsValues/typography.js +6 -0
  90. package/build/common/PropsValues/typography.js.map +1 -1
  91. package/build/common/PropsValues/typography.mjs +6 -0
  92. package/build/common/PropsValues/typography.mjs.map +1 -1
  93. package/build/main.css +9076 -1924
  94. package/build/styles/Accordion/Accordion.css +7 -6
  95. package/build/styles/Body/Body.css +2 -1
  96. package/build/styles/Calendar/Calendar.css +5 -4
  97. package/build/styles/Calendar/TableLink/TableLink.css +5 -4
  98. package/build/styles/Chips/Chip/Chip.css +5 -3
  99. package/build/styles/Decision/Decision.css +4 -3
  100. package/build/styles/Emphasis/Emphasis.css +1 -1
  101. package/build/styles/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
  102. package/build/styles/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
  103. package/build/styles/Inputs/Input/Input.css +98 -24
  104. package/build/styles/Inputs/TextArea/TextArea.css +98 -24
  105. package/build/styles/Label/Label.css +3 -0
  106. package/build/styles/Markup/Markup.css +2 -2
  107. package/build/styles/MoneyInput/MoneyInput.css +9 -6
  108. package/build/styles/Nudge/Nudge.css +3 -3
  109. package/build/styles/Popover/Popover.css +30 -7
  110. package/build/styles/ProgressBar/ProgressBar.css +3 -2
  111. package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
  112. package/build/styles/Snackbar/Snackbar.css +1 -1
  113. package/build/styles/Table/Table.css +18 -8
  114. package/build/styles/Tabs/Tabs.css +3 -3
  115. package/build/styles/Tag/Tag.css +1 -1
  116. package/build/styles/Tile/Tile.css +4 -3
  117. package/build/styles/Typeahead/Typeahead.css +4 -2
  118. package/build/styles/UploadInput/UploadInput.css +1 -1
  119. package/build/styles/_deprecated/ActionButton/ActionButton.css +3 -4
  120. package/build/styles/_deprecated/Avatar/Avatar.css +2 -2
  121. package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  122. package/build/styles/_deprecated/Select/Select.css +49 -14
  123. package/build/styles/_deprecated/Summary/Summary.css +2 -2
  124. package/build/styles/common/Circle/Circle.css +1 -1
  125. package/build/styles/common/Option/Option.css +4 -4
  126. package/build/styles/css/accordion.css +53 -11
  127. package/build/styles/css/badge.css +2 -2
  128. package/build/styles/css/button-groups.css +29 -6
  129. package/build/styles/css/buttons.css +35 -11
  130. package/build/styles/css/decision.css +53 -11
  131. package/build/styles/css/dropdowns.css +65 -18
  132. package/build/styles/css/droppable.css +28 -6
  133. package/build/styles/css/footer.css +41 -10
  134. package/build/styles/css/input-groups.css +249 -117
  135. package/build/styles/css/list-group.css +28 -8
  136. package/build/styles/css/modals.css +1 -1
  137. package/build/styles/css/navbar.css +92 -45
  138. package/build/styles/css/navs.css +8 -8
  139. package/build/styles/css/neptune-addons.css +15 -0
  140. package/build/styles/css/neptune-core.css +6230 -525
  141. package/build/styles/css/neptune.css +8790 -1768
  142. package/build/styles/css/panels.css +2 -2
  143. package/build/styles/css/popovers.css +64 -20
  144. package/build/styles/css/progress-bars.css +2 -2
  145. package/build/styles/css/sequences.css +14 -9
  146. package/build/styles/css/table.css +7 -7
  147. package/build/styles/css/tooltip.css +28 -6
  148. package/build/styles/less/legacy-variables.less +3 -3
  149. package/build/styles/less/neptune-tokens.less +0 -48
  150. package/build/styles/main.css +9076 -1924
  151. package/build/styles/props/neptune-tokens.css +805 -3
  152. package/build/styles/styles/less/accordion.css +53 -11
  153. package/build/styles/styles/less/badge.css +2 -2
  154. package/build/styles/styles/less/button-groups.css +29 -6
  155. package/build/styles/styles/less/buttons.css +35 -11
  156. package/build/styles/styles/less/decision.css +53 -11
  157. package/build/styles/styles/less/dropdowns.css +65 -18
  158. package/build/styles/styles/less/droppable.css +28 -6
  159. package/build/styles/styles/less/footer.css +41 -10
  160. package/build/styles/styles/less/forms/bootstrap-forms.css +153 -100
  161. package/build/styles/styles/less/forms/checkbox-radio.css +3 -3
  162. package/build/styles/styles/less/input-groups.css +249 -117
  163. package/build/styles/styles/less/list-group.css +28 -8
  164. package/build/styles/styles/less/modals.css +1 -1
  165. package/build/styles/styles/less/navbar.css +92 -45
  166. package/build/styles/styles/less/navs.css +8 -8
  167. package/build/styles/styles/less/neptune-addons.css +15 -0
  168. package/build/styles/styles/less/neptune-core.css +6230 -525
  169. package/build/styles/styles/less/neptune.css +8790 -1768
  170. package/build/styles/styles/less/panels.css +2 -2
  171. package/build/styles/styles/less/popovers.css +64 -20
  172. package/build/styles/styles/less/progress-bars.css +2 -2
  173. package/build/styles/styles/less/sequences.css +14 -9
  174. package/build/styles/styles/less/table.css +7 -7
  175. package/build/styles/styles/less/tooltip.css +28 -6
  176. package/build/types/Body/Body.d.ts.map +1 -1
  177. package/build/types/Display/Display.d.ts.map +1 -1
  178. package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
  179. package/build/types/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.d.ts.map +1 -1
  180. package/build/types/Inputs/SelectInput/Popover/SelectInputPopover.d.ts.map +1 -1
  181. package/build/types/Stepper/Stepper.d.ts.map +1 -1
  182. package/build/types/Tabs/Tab/Tab.d.ts.map +1 -1
  183. package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts.map +1 -1
  184. package/build/types/_deprecated/Select/Select.d.ts.map +1 -1
  185. package/build/types/common/PropsValues/typography.d.ts +13 -1
  186. package/build/types/common/PropsValues/typography.d.ts.map +1 -1
  187. package/package.json +2 -2
  188. package/src/Accordion/Accordion.css +7 -6
  189. package/src/Accordion/Accordion.less +7 -6
  190. package/src/Body/Body.css +2 -1
  191. package/src/Body/Body.less +2 -1
  192. package/src/Body/Body.test.tsx +13 -4
  193. package/src/Body/Body.tsx +4 -3
  194. package/src/Body/_stories/Body.test.story.tsx +42 -0
  195. package/src/Calendar/Calendar.css +5 -4
  196. package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +2 -2
  197. package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
  198. package/src/Calendar/TableLink/TableLink.css +5 -4
  199. package/src/Calendar/TableLink/TableLink.less +5 -4
  200. package/src/Calendar/TableLink/TableLink.tsx +1 -1
  201. package/src/Calendar/_stories/Calendar.test.story.tsx +33 -0
  202. package/src/Chips/Chip/Chip.css +5 -3
  203. package/src/Chips/Chip/Chip.less +3 -2
  204. package/src/CircularButton/_stories/CircularButton.story.tsx +6 -16
  205. package/src/DateInput/_stories/DateInput.rtl.test.story.tsx +45 -0
  206. package/src/Decision/Decision.css +4 -3
  207. package/src/Decision/Decision.less +4 -3
  208. package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
  209. package/src/Display/Display.test.tsx +43 -0
  210. package/src/Display/Display.tsx +11 -1
  211. package/src/Display/_stories/Display.story.tsx +36 -21
  212. package/src/Display/_stories/Display.test.story.tsx +108 -0
  213. package/src/Emphasis/Emphasis.css +1 -1
  214. package/src/Emphasis/Emphasis.less +1 -1
  215. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
  216. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.less +2 -1
  217. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +1 -4
  218. package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
  219. package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
  220. package/src/Inputs/Input/Input.css +98 -24
  221. package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +4 -2
  222. package/src/Inputs/SelectInput/Option/SelectInputOption.tsx +1 -1
  223. package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +3 -3
  224. package/src/Inputs/SelectInput/Popover/SelectInputPopover.tsx +6 -2
  225. package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
  226. package/src/Inputs/TextArea/TextArea.css +98 -24
  227. package/src/Inputs/_common.less +16 -10
  228. package/src/Label/Label.css +3 -0
  229. package/src/Label/Label.less +8 -0
  230. package/src/Label/Label.tsx +1 -1
  231. package/src/Markup/Markup.css +2 -2
  232. package/src/Markup/Markup.less +2 -2
  233. package/src/MoneyInput/MoneyInput.css +9 -6
  234. package/src/MoneyInput/MoneyInput.less +10 -7
  235. package/src/Nudge/Nudge.css +3 -3
  236. package/src/Nudge/Nudge.less +3 -3
  237. package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
  238. package/src/Popover/Popover.css +30 -7
  239. package/src/Popover/Popover.less +2 -2
  240. package/src/ProgressBar/ProgressBar.css +3 -2
  241. package/src/ProgressBar/ProgressBar.less +12 -11
  242. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
  243. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +2 -1
  244. package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
  245. package/src/Snackbar/Snackbar.css +1 -1
  246. package/src/Snackbar/Snackbar.less +1 -1
  247. package/src/Stepper/Stepper.tsx +4 -2
  248. package/src/Table/Header/TableHeader.tsx +1 -1
  249. package/src/Table/StatusText/TableStatusText.test.tsx +20 -5
  250. package/src/Table/Table.css +18 -8
  251. package/src/Table/Table.less +20 -9
  252. package/src/Tabs/Tab/Tab.tsx +11 -5
  253. package/src/Tabs/Tabs.css +3 -3
  254. package/src/Tabs/Tabs.less +3 -3
  255. package/src/Tag/Tag.css +1 -1
  256. package/src/Tag/Tag.less +1 -1
  257. package/src/Tag/Tag.tsx +1 -1
  258. package/src/Tag/_stories/Tag.story.tsx +1 -1
  259. package/src/Tile/Tile.css +4 -3
  260. package/src/Tile/Tile.less +4 -3
  261. package/src/Title/Title.test.tsx +22 -3
  262. package/src/Title/Title.tsx +2 -2
  263. package/src/Typeahead/Typeahead.css +4 -2
  264. package/src/Typeahead/Typeahead.less +2 -1
  265. package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
  266. package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +4 -2
  267. package/src/UploadInput/UploadInput.css +1 -1
  268. package/src/UploadInput/UploadInput.less +7 -4
  269. package/src/_deprecated/ActionButton/ActionButton.css +3 -4
  270. package/src/_deprecated/ActionButton/ActionButton.less +4 -5
  271. package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
  272. package/src/_deprecated/Avatar/Avatar.css +2 -2
  273. package/src/_deprecated/Avatar/Avatar.less +2 -2
  274. package/src/_deprecated/Avatar/Avatar.tsx +1 -1
  275. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  276. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +2 -1
  277. package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
  278. package/src/_deprecated/Select/Select.css +49 -14
  279. package/src/_deprecated/Select/Select.less +14 -10
  280. package/src/_deprecated/Select/Select.test.tsx +16 -0
  281. package/src/_deprecated/Select/Select.tsx +6 -1
  282. package/src/_deprecated/Summary/Summary.css +2 -2
  283. package/src/_deprecated/Summary/Summary.less +2 -2
  284. package/src/common/Circle/Circle.css +1 -1
  285. package/src/common/Circle/Circle.less +1 -1
  286. package/src/common/Option/Option.css +4 -4
  287. package/src/common/Option/Option.less +4 -4
  288. package/src/common/PropsValues/typography.ts +20 -1
  289. package/src/main.css +9076 -1924
  290. package/src/main.less +3 -2
  291. package/src/styles/less/accordion.css +53 -11
  292. package/src/styles/less/addons/_background-utilities.less +5 -0
  293. package/src/styles/less/badge.css +2 -2
  294. package/src/styles/less/badge.less +2 -2
  295. package/src/styles/less/button-groups.css +29 -6
  296. package/src/styles/less/button-groups.less +3 -2
  297. package/src/styles/less/buttons.css +35 -11
  298. package/src/styles/less/buttons.less +7 -7
  299. package/src/styles/less/core/_fonts.less +7 -75
  300. package/src/styles/less/core/_scaffolding.less +4 -4
  301. package/src/styles/less/core/_typography-utilities.less +3 -3
  302. package/src/styles/less/core/_typography.less +91 -236
  303. package/src/styles/less/core/fonts/_fonts-ar.less +86 -0
  304. package/src/styles/less/core/fonts/_fonts-base.less +99 -0
  305. package/src/styles/less/core/fonts/_fonts-he.less +8 -0
  306. package/src/styles/less/core/fonts/_fonts-ja.less +4247 -0
  307. package/src/styles/less/core/fonts/_fonts-ko.less +1079 -0
  308. package/src/styles/less/core/fonts/_fonts-th.less +8 -0
  309. package/src/styles/less/core/fonts/_fonts-zh.less +872 -0
  310. package/src/styles/less/decision.css +53 -11
  311. package/src/styles/less/decision.less +2 -2
  312. package/src/styles/less/dropdowns.css +65 -18
  313. package/src/styles/less/dropdowns.less +8 -7
  314. package/src/styles/less/droppable.css +28 -6
  315. package/src/styles/less/droppable.less +4 -4
  316. package/src/styles/less/footer.css +41 -10
  317. package/src/styles/less/footer.less +4 -3
  318. package/src/styles/less/forms/bootstrap-forms.css +153 -100
  319. package/src/styles/less/forms/bootstrap-forms.less +85 -72
  320. package/src/styles/less/forms/checkbox-radio.css +3 -3
  321. package/src/styles/less/forms/checkbox-radio.less +3 -3
  322. package/src/styles/less/input-groups.css +249 -117
  323. package/src/styles/less/input-groups.less +23 -9
  324. package/src/styles/less/list-group.css +28 -8
  325. package/src/styles/less/list-group.less +8 -5
  326. package/src/styles/less/mixins/_reset-text.less +1 -1
  327. package/src/styles/less/mixins/_text-emphasis.less +7 -1
  328. package/src/styles/less/modals.css +1 -1
  329. package/src/styles/less/modals.less +1 -1
  330. package/src/styles/less/navbar.css +92 -45
  331. package/src/styles/less/navbar.less +19 -19
  332. package/src/styles/less/navs.css +8 -8
  333. package/src/styles/less/navs.less +8 -8
  334. package/src/styles/less/neptune-addons.css +15 -0
  335. package/src/styles/less/neptune-core.css +6230 -525
  336. package/src/styles/less/neptune.bundle.less +4 -0
  337. package/src/styles/less/neptune.css +8790 -1768
  338. package/src/styles/less/panels.css +2 -2
  339. package/src/styles/less/panels.less +2 -2
  340. package/src/styles/less/popovers.css +64 -20
  341. package/src/styles/less/popovers.less +7 -7
  342. package/src/styles/less/progress-bars.css +2 -2
  343. package/src/styles/less/progress-bars.less +2 -2
  344. package/src/styles/less/sequences.css +14 -9
  345. package/src/styles/less/sequences.less +15 -10
  346. package/src/styles/less/table.css +7 -7
  347. package/src/styles/less/table.less +7 -7
  348. package/src/styles/less/tooltip.css +28 -6
  349. package/src/styles/less/tooltip.less +1 -1
  350. package/src/styles/variables/legacy-variables.less +3 -3
  351. package/build/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  352. package/build/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  353. package/build/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  354. package/build/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  355. package/build/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  356. package/build/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  357. package/build/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  358. package/build/styles/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
  359. package/build/styles/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
  360. package/build/styles/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
  361. package/build/styles/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
  362. package/build/styles/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
  363. package/build/styles/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
  364. package/src/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  365. package/src/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  366. package/src/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  367. package/src/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  368. package/src/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  369. package/src/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  370. package/src/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  371. package/src/styles/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
  372. package/src/styles/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
  373. package/src/styles/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
  374. package/src/styles/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
  375. package/src/styles/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
  376. package/src/styles/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
@@ -37,10 +37,16 @@
37
37
  }
38
38
  .np-table-inner-container {
39
39
  background-image: linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, var(--color-contrast-overlay), var(--color-contrast-overlay)), linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)), linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0));
40
- background-position: left center, right center, left center, right center;
40
+ background-position: left center,
41
+ right center,
42
+ left center,
43
+ right center;
41
44
  background-repeat: no-repeat;
42
45
  background-color: var(--color-contrast-overlay);
43
- background-size: 15px 100%, 15px 100%, 15px 100%, 15px 100%;
46
+ background-size: 15px 100%,
47
+ 15px 100%,
48
+ 15px 100%,
49
+ 15px 100%;
44
50
  background-attachment: local, local, scroll, scroll;
45
51
  overflow-x: auto;
46
52
  border-radius: 10px;
@@ -130,7 +136,9 @@
130
136
  padding-inline-end: 0;
131
137
  }
132
138
  .np-table-header.np-table-header--right > .np-text-body-default,
133
- .np-table-cell.np-table-cell--right > .np-text-body-default {
139
+ .np-table-cell.np-table-cell--right > .np-text-body-default,
140
+ .np-table-header.np-table-header--right > .wds-text-body-default,
141
+ .np-table-cell.np-table-cell--right > .wds-text-body-default {
134
142
  text-align: end;
135
143
  }
136
144
  .np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
@@ -159,8 +167,8 @@
159
167
  padding-block-start: 5px;
160
168
  padding-block-end: 5px;
161
169
  white-space: nowrap;
162
- line-height: var(--line-height-22);
163
- letter-spacing: var(--letter-spacing-sm);
170
+ line-height: var(--wds-line-height-title-subsection);
171
+ letter-spacing: var(--wds-letter-spacing-title-subsection);
164
172
  }
165
173
  .np-table-header--error {
166
174
  color: var(--color-sentiment-negative);
@@ -180,7 +188,8 @@
180
188
  .np-table-cell--primary {
181
189
  min-inline-size: 200px;
182
190
  }
183
- .np-table-cell--currency .np-text-body-default {
191
+ .np-table-cell--currency .np-text-body-default,
192
+ .np-table-cell--currency .wds-text-body-default {
184
193
  white-space: nowrap;
185
194
  }
186
195
  .np-table-cell .tw-chevron {
@@ -193,7 +202,8 @@
193
202
  background-color: var(--color-background-neutral);
194
203
  padding: 0;
195
204
  }
196
- .np-table-cell .np-text-body-default-bold {
205
+ .np-table-cell .np-text-body-default-bold,
206
+ .np-table-cell .wds-text-body-default-bold {
197
207
  display: flex;
198
208
  align-items: center;
199
209
  color: var(--color-content-primary);
@@ -232,7 +242,7 @@
232
242
  .np-table-content-body {
233
243
  display: flex;
234
244
  flex-direction: column;
235
- font-size: var(--font-size-12);
245
+ font-size: var(--wds-font-size-nav);
236
246
  color: var(--color-content-tertiary);
237
247
  }
238
248
  .np-table-content--reversed {
@@ -8,19 +8,19 @@
8
8
  padding: var(--size-8);
9
9
  margin-block-end: -2px;
10
10
  color: var(--color-content-primary);
11
- font-weight: var(--font-weight-semi-bold);
11
+ font-weight: var(--wds-font-weight-body-bold);
12
12
  transition: color 0.15s ease-in-out;
13
13
  }
14
14
  .np-theme-personal .tabs__tab {
15
15
  color: var(--color-content-secondary);
16
- font-weight: var(--font-weight-regular);
16
+ font-weight: var(--wds-font-weight-body-regular);
17
17
  }
18
18
  .tabs__tab--selected {
19
19
  color: var(--color-content-accent);
20
20
  }
21
21
  .np-theme-personal .tabs__tab--selected {
22
22
  color: var(--color-interactive-primary);
23
- font-weight: var(--font-weight-semi-bold);
23
+ font-weight: var(--wds-font-weight-body-bold);
24
24
  }
25
25
  .tabs__tab__content {
26
26
  border-radius: 2px;
@@ -11,7 +11,7 @@
11
11
  }
12
12
  .wds-tag--small {
13
13
  border-radius: 6px;
14
- font-size: var(--font-size-12);
14
+ font-size: var(--wds-font-size-nav);
15
15
  padding-block: 1px;
16
16
  padding-inline: var(--size-4);
17
17
  }
@@ -22,7 +22,8 @@
22
22
  .np-theme-personal .np-tile.decision:active {
23
23
  background-color: var(--color-background-neutral-active);
24
24
  }
25
- .np-theme-personal .np-tile.decision .np-text-body-default {
25
+ .np-theme-personal .np-tile.decision .np-text-body-default,
26
+ .np-theme-personal .np-tile.decision .wds-text-body-default {
26
27
  color: var(--color-content-secondary);
27
28
  }
28
29
  .np-tile.np-decision__tile--fixed-width {
@@ -50,7 +51,7 @@
50
51
  }
51
52
  .np-tile__description {
52
53
  color: var(--color-content-secondary);
53
- font-weight: var(--font-weight-regular);
54
- line-height: var(--line-height-body);
54
+ font-weight: var(--wds-font-weight-body-regular);
55
+ line-height: var(--wds-line-height-body);
55
56
  margin-block-start: var(--size-12);
56
57
  }
@@ -149,11 +149,13 @@
149
149
  .np-theme-personal .typeahead .np-chip {
150
150
  margin-block-start: var(--size-8);
151
151
  }
152
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
152
+ .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
153
+ .np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
153
154
  padding-inline-end: var(--size-16);
154
155
  }
155
156
  @media (max-width: 320px) {
156
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
157
+ .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
158
+ .np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
157
159
  padding-inline-end: var(--size-32);
158
160
  }
159
161
  }
@@ -9,7 +9,7 @@
9
9
  border-radius: var(--radius-small);
10
10
  border-block-end: var(--outerBorder);
11
11
  }
12
- .np-upload-input .np-upload-input__section:has(.np-upload-input__item:last-child.is-interactive:hover):not(:has(.np-upload-input__item-button:hover)) + .np-upload-input__section--uploader .np-upload-input__upload-button::before {
12
+ .np-upload-input .np-upload-input__section:has(.np-upload-input__item:last-child.is-interactive:hover):not( :has(.np-upload-input__item-button:hover)) + .np-upload-input__section--uploader .np-upload-input__upload-button::before {
13
13
  inset-inline-start: 0;
14
14
  inline-size: 100%;
15
15
  inset-block-start: 0;
@@ -4,10 +4,9 @@
4
4
  padding-block: var(--size-8);
5
5
  padding-inline: var(--size-12);
6
6
  transition: color, background-color 0.15s ease-in-out;
7
- font-weight: var(--font-weight-semi-bold);
8
- font-size: var(--font-size-14);
9
- line-height: var(--line-height-control);
10
- border-radius: var(--radius-small);
7
+ font-weight: var(--wds-font-weight-body-bold);
8
+ font-size: var(--wds-font-size-body);
9
+ line-height: var(--wds-line-height-body);
11
10
  align-items: center;
12
11
  color: var(--color-interactive-control);
13
12
  background-color: var(--color-interactive-accent);
@@ -40,7 +40,7 @@
40
40
  .tw-avatar.tw-avatar--initials,
41
41
  .tw-avatar.tw-avatar--emoji {
42
42
  font-family: Arial, sans-serif;
43
- font-weight: var(--font-weight-semi-bold);
43
+ font-weight: var(--wds-font-weight-body-bold);
44
44
  }
45
45
  .tw-avatar.tw-avatar--initials,
46
46
  .tw-avatar.tw-avatar--icon {
@@ -51,7 +51,7 @@
51
51
  font-family: Arial, sans-serif;
52
52
  }
53
53
  .tw-avatar.tw-avatar--branded .tw-avatar__content {
54
- font-family: var(--font-family-display);
54
+ font-family: var(--wds-font-family-display);
55
55
  font-feature-settings: "ss01";
56
56
  color: var(--color-dark-charcoal);
57
57
  line-height: 1;
@@ -7,7 +7,8 @@
7
7
  color: var(--color-sentiment-content-primary);
8
8
  margin-block-end: 0;
9
9
  }
10
- .critical-comms .alert .np-text-title-body {
10
+ .critical-comms .alert .np-text-title-body,
11
+ .critical-comms .alert .wds-text-title-body {
11
12
  color: var(--color-sentiment-content-primary);
12
13
  }
13
14
  .critical-comms .status-circle.negative {
@@ -1,9 +1,35 @@
1
- .np-select .np-dropdown-toggle {
1
+ .np-dropdown-menu > li > a {
2
+ word-wrap: break-word;
3
+ }
4
+ @supports (hyphenate-limit-chars: 1) {
5
+ .np-dropdown-menu > li > a {
6
+ hyphens: auto;hyphenate-limit-chars: 7 3;
7
+ }
8
+ @media (min-width: 840px) {
9
+ .np-dropdown-menu > li > a {
10
+ hyphenate-limit-chars: 8 3;
11
+ }
12
+ }
13
+ @media (min-width: 1160px) {
14
+ .np-dropdown-menu > li > a {
15
+ hyphenate-limit-chars: 10 4 3;
16
+ }
17
+ }
18
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
19
+ .np-dropdown-menu > li > a {
20
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
21
+ }
22
+ @media (min-width: 1160px) {
23
+ .np-dropdown-menu > li > a {
24
+ -webkit-hyphenate-limit-before: 4;
25
+ }
26
+ }
27
+ }.np-select .np-dropdown-toggle {
2
28
  background-color: var(--color-background-screen);
3
29
  border: 1px solid var(--color-interactive-secondary);
4
30
  border-radius: var(--radius-small);
5
31
  color: var(--color-content-primary);
6
- font-weight: var(--font-weight-regular);
32
+ font-weight: var(--wds-font-weight-body-regular);
7
33
  overflow: hidden;
8
34
  padding-inline-start: var(--size-16);
9
35
  text-align: start;
@@ -116,10 +142,6 @@
116
142
  clear: both;
117
143
  border-radius: var(--radius-small);
118
144
  color: var(--color-content-primary);
119
- font-size: var(--font-size-14);
120
- line-height: 155%;
121
- letter-spacing: -0.006em;
122
- font-weight: var(--font-weight-regular);
123
145
  word-wrap: break-word;
124
146
  }
125
147
  .np-theme-personal .np-dropdown-menu > li > a {
@@ -191,8 +213,12 @@
191
213
  .np-dropdown-menu > .selected > a strong {
192
214
  color: inherit;
193
215
  }
216
+ .np-dropdown-menu > .active > a .body-2,
217
+ .np-dropdown-menu > .selected > a .body-2,
194
218
  .np-dropdown-menu > .active > a .np-text-body-default,
195
- .np-dropdown-menu > .selected > a .np-text-body-default {
219
+ .np-dropdown-menu > .selected > a .np-text-body-default,
220
+ .np-dropdown-menu > .active > a .wds-text-body-default,
221
+ .np-dropdown-menu > .selected > a .wds-text-body-default {
196
222
  color: #c9cbce;
197
223
  }
198
224
  .np-dropdown-menu .np-select-filter,
@@ -208,12 +234,12 @@
208
234
  .np-dropdown-menu .np-dropdown-header {
209
235
  padding-block: var(--size-8);
210
236
  padding-inline: var(--size-16);
237
+ white-space: nowrap;
211
238
  color: var(--color-content-secondary);
212
239
  display: block;
213
- font-size: var(--font-size-14);
214
- font-weight: var(--font-weight-regular);
215
- line-height: var(--line-height-body);
216
- white-space: nowrap;
240
+ font-size: var(--wds-font-size-body);
241
+ font-weight: var(--wds-font-weight-body-regular);
242
+ line-height: var(--wds-line-height-body);
217
243
  }
218
244
  .np-select .tw-icon,
219
245
  .np-dropdown-menu .tw-icon,
@@ -224,7 +250,9 @@
224
250
  vertical-align: middle;
225
251
  }
226
252
  .np-select .np-text-body-default,
227
- .np-dropdown-menu .np-text-body-default {
253
+ .np-dropdown-menu .np-text-body-default,
254
+ .np-select .wds-text-body-default,
255
+ .np-dropdown-menu .wds-text-body-default {
228
256
  color: var(--color-content-secondary);
229
257
  }
230
258
  .np-select .tw-icon-search,
@@ -282,7 +310,13 @@
282
310
  .np-theme-personal .np-dropdown-menu .active a:focus .np-text-body-default,
283
311
  .np-theme-personal .np-dropdown-menu .selected a:focus .np-text-body-default,
284
312
  .np-theme-personal .np-dropdown-menu .active a:hover .np-text-body-default,
285
- .np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default {
313
+ .np-theme-personal .np-dropdown-menu .selected a:hover .np-text-body-default,
314
+ .np-theme-personal .np-dropdown-menu .active a .wds-text-body-default,
315
+ .np-theme-personal .np-dropdown-menu .selected a .wds-text-body-default,
316
+ .np-theme-personal .np-dropdown-menu .active a:focus .wds-text-body-default,
317
+ .np-theme-personal .np-dropdown-menu .selected a:focus .wds-text-body-default,
318
+ .np-theme-personal .np-dropdown-menu .active a:hover .wds-text-body-default,
319
+ .np-theme-personal .np-dropdown-menu .selected a:hover .wds-text-body-default {
286
320
  color: var(--color-interactive-primary);
287
321
  }
288
322
  .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active {
@@ -290,7 +324,8 @@
290
324
  background-color: var(--color-background-neutral-active) !important;
291
325
  }
292
326
  .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .body-2,
293
- .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default {
327
+ .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .np-text-body-default,
328
+ .np-theme-personal .np-dropdown-menu li:not(.active):not(.selected):not(:has(input)) a:not([disabled]):not(.disabled):active .wds-text-body-default {
294
329
  color: var(--color-interactive-primary);
295
330
  }
296
331
  .np-theme-personal .np-dropdown-menu .np-dropdown-item {
@@ -7,7 +7,7 @@
7
7
  .np-summary__title {
8
8
  margin-block-start: 2px;
9
9
  line-height: calc(22 / 16);
10
- font-weight: var(--font-weight-semi-bold);
10
+ font-weight: var(--wds-font-weight-body-bold);
11
11
  justify-content: space-between;
12
12
  margin-block-start: 0;
13
13
  }
@@ -44,7 +44,7 @@
44
44
  }
45
45
  .np-summary__description {
46
46
  margin-block-start: var(--size-4);
47
- font-size: var(--font-size-14);
47
+ font-size: var(--wds-font-size-body);
48
48
  line-height: calc(20 / 14);
49
49
  color: var(--color-content-secondary);
50
50
  padding-inline-end: calc(var(--size-24) + var(--size-8));
@@ -6,7 +6,7 @@
6
6
  --circle-border-color: var(--color-border-neutral);
7
7
  --circle-border-width: 1px;
8
8
  font-size: var(--circle-font-size);
9
- font-weight: var(--font-weight-semi-bold);
9
+ font-weight: var(--wds-font-weight-body-bold);
10
10
  line-height: 1;
11
11
  }
12
12
  .np-circle .np-display {
@@ -13,16 +13,16 @@
13
13
  .np-option__title {
14
14
  color: var(--color-content-primary);
15
15
  font-size: 1rem;
16
- font-weight: var(--font-weight-semi-bold);
16
+ font-weight: var(--wds-font-weight-body-bold);
17
17
  letter-spacing: 0;
18
- line-height: var(--line-height-body);
18
+ line-height: var(--wds-line-height-body);
19
19
  margin: 0;
20
20
  }
21
21
  .np-option__body {
22
22
  margin-block-start: var(--size-4);
23
23
  color: var(--color-content-secondary);
24
- font-size: var(--font-size-14);
25
- font-weight: var(--font-weight-regular);
24
+ font-size: var(--wds-font-size-body);
25
+ font-weight: var(--wds-font-weight-body-regular);
26
26
  line-height: 1.42857;
27
27
  }
28
28
  .np-option__sm-media.decision .media-left {
@@ -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
  }
@@ -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;
@@ -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
  }
@@ -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;