@transferwise/components 0.0.0-experimental-db6cf60 → 0.0.0-experimental-4678400

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 (405) hide show
  1. package/build/Body/Body.js +1 -1
  2. package/build/Body/Body.js.map +1 -1
  3. package/build/Body/Body.mjs +1 -1
  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/ExpressiveMoneyInput/AmountInput/AmountInput.js +1 -1
  18. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js.map +1 -1
  19. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs +1 -1
  20. package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs.map +1 -1
  21. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js +1 -1
  22. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.js.map +1 -1
  23. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs +1 -1
  24. package/build/FlowNavigation/AnimatedLabel/AnimatedLabel.mjs.map +1 -1
  25. package/build/Header/Header.js +8 -57
  26. package/build/Header/Header.js.map +1 -1
  27. package/build/Header/Header.mjs +9 -58
  28. package/build/Header/Header.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 +1 -1
  50. package/build/Stepper/Stepper.js.map +1 -1
  51. package/build/Stepper/Stepper.mjs +1 -1
  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/Typeahead/TypeaheadOption/TypeaheadOption.js +2 -2
  66. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
  67. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +2 -2
  68. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
  69. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js +2 -2
  70. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js.map +1 -1
  71. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs +2 -2
  72. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs.map +1 -1
  73. package/build/_deprecated/ActionButton/ActionButton.js +1 -1
  74. package/build/_deprecated/ActionButton/ActionButton.js.map +1 -1
  75. package/build/_deprecated/ActionButton/ActionButton.mjs +1 -1
  76. package/build/_deprecated/ActionButton/ActionButton.mjs.map +1 -1
  77. package/build/_deprecated/Avatar/Avatar.js +1 -1
  78. package/build/_deprecated/Avatar/Avatar.js.map +1 -1
  79. package/build/_deprecated/Avatar/Avatar.mjs +1 -1
  80. package/build/_deprecated/Avatar/Avatar.mjs.map +1 -1
  81. package/build/_deprecated/Select/Select.js +2 -2
  82. package/build/_deprecated/Select/Select.js.map +1 -1
  83. package/build/_deprecated/Select/Select.mjs +2 -2
  84. package/build/_deprecated/Select/Select.mjs.map +1 -1
  85. package/build/common/PropsValues/typography.js +6 -0
  86. package/build/common/PropsValues/typography.js.map +1 -1
  87. package/build/common/PropsValues/typography.mjs +6 -0
  88. package/build/common/PropsValues/typography.mjs.map +1 -1
  89. package/build/index.js +0 -2
  90. package/build/index.js.map +1 -1
  91. package/build/index.mjs +0 -1
  92. package/build/index.mjs.map +1 -1
  93. package/build/main.css +8673 -2355
  94. package/build/styles/Accordion/Accordion.css +7 -6
  95. package/build/styles/Body/Body.css +1 -1
  96. package/build/styles/Calendar/Calendar.css +11 -4
  97. package/build/styles/Calendar/TableLink/TableLink.css +11 -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/Header/Header.css +0 -46
  104. package/build/styles/Inputs/Input/Input.css +69 -57
  105. package/build/styles/Inputs/TextArea/TextArea.css +69 -57
  106. package/build/styles/Label/Label.css +3 -0
  107. package/build/styles/Markup/Markup.css +2 -2
  108. package/build/styles/MoneyInput/MoneyInput.css +9 -6
  109. package/build/styles/Nudge/Nudge.css +3 -3
  110. package/build/styles/Popover/Popover.css +4 -43
  111. package/build/styles/ProgressBar/ProgressBar.css +3 -2
  112. package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
  113. package/build/styles/Snackbar/Snackbar.css +1 -1
  114. package/build/styles/Table/Table.css +18 -8
  115. package/build/styles/Tabs/Tabs.css +3 -3
  116. package/build/styles/Tag/Tag.css +1 -1
  117. package/build/styles/Tile/Tile.css +4 -3
  118. package/build/styles/Typeahead/Typeahead.css +4 -2
  119. package/build/styles/UploadInput/UploadInput.css +1 -1
  120. package/build/styles/_deprecated/ActionButton/ActionButton.css +3 -4
  121. package/build/styles/_deprecated/Avatar/Avatar.css +2 -2
  122. package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  123. package/build/styles/_deprecated/Select/Select.css +49 -14
  124. package/build/styles/_deprecated/Summary/Summary.css +2 -2
  125. package/build/styles/common/Circle/Circle.css +1 -1
  126. package/build/styles/common/Option/Option.css +4 -4
  127. package/build/styles/css/accordion.css +22 -44
  128. package/build/styles/css/badge.css +2 -2
  129. package/build/styles/css/button-groups.css +29 -6
  130. package/build/styles/css/buttons.css +35 -11
  131. package/build/styles/css/decision.css +22 -44
  132. package/build/styles/css/dropdowns.css +39 -54
  133. package/build/styles/css/droppable.css +28 -6
  134. package/build/styles/css/footer.css +41 -10
  135. package/build/styles/css/input-groups.css +205 -162
  136. package/build/styles/css/list-group.css +1 -42
  137. package/build/styles/css/modals.css +1 -1
  138. package/build/styles/css/navbar.css +66 -81
  139. package/build/styles/css/navs.css +8 -8
  140. package/build/styles/css/neptune-addons.css +15 -0
  141. package/build/styles/css/neptune-core.css +5887 -524
  142. package/build/styles/css/neptune.css +8348 -1945
  143. package/build/styles/css/panels.css +2 -2
  144. package/build/styles/css/popovers.css +39 -56
  145. package/build/styles/css/progress-bars.css +2 -2
  146. package/build/styles/css/sequences.css +14 -9
  147. package/build/styles/css/table.css +7 -7
  148. package/build/styles/css/tooltip.css +28 -6
  149. package/build/styles/less/legacy-variables.less +3 -3
  150. package/build/styles/less/neptune-tokens.less +0 -48
  151. package/build/styles/main.css +8673 -2355
  152. package/build/styles/props/neptune-tokens.css +805 -3
  153. package/build/styles/styles/less/accordion.css +22 -44
  154. package/build/styles/styles/less/badge.css +2 -2
  155. package/build/styles/styles/less/button-groups.css +29 -6
  156. package/build/styles/styles/less/buttons.css +35 -11
  157. package/build/styles/styles/less/decision.css +22 -44
  158. package/build/styles/styles/less/dropdowns.css +39 -54
  159. package/build/styles/styles/less/droppable.css +28 -6
  160. package/build/styles/styles/less/footer.css +41 -10
  161. package/build/styles/styles/less/forms/bootstrap-forms.css +153 -100
  162. package/build/styles/styles/less/forms/checkbox-radio.css +3 -3
  163. package/build/styles/styles/less/input-groups.css +205 -162
  164. package/build/styles/styles/less/list-group.css +1 -42
  165. package/build/styles/styles/less/modals.css +1 -1
  166. package/build/styles/styles/less/navbar.css +66 -81
  167. package/build/styles/styles/less/navs.css +8 -8
  168. package/build/styles/styles/less/neptune-addons.css +15 -0
  169. package/build/styles/styles/less/neptune-core.css +5887 -524
  170. package/build/styles/styles/less/neptune.css +8348 -1945
  171. package/build/styles/styles/less/panels.css +2 -2
  172. package/build/styles/styles/less/popovers.css +39 -56
  173. package/build/styles/styles/less/progress-bars.css +2 -2
  174. package/build/styles/styles/less/sequences.css +14 -9
  175. package/build/styles/styles/less/table.css +7 -7
  176. package/build/styles/styles/less/tooltip.css +28 -6
  177. package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
  178. package/build/types/Header/Header.d.ts +4 -31
  179. package/build/types/Header/Header.d.ts.map +1 -1
  180. package/build/types/Header/index.d.ts +1 -2
  181. package/build/types/Header/index.d.ts.map +1 -1
  182. package/build/types/common/PropsValues/typography.d.ts +13 -1
  183. package/build/types/common/PropsValues/typography.d.ts.map +1 -1
  184. package/build/types/index.d.ts +1 -3
  185. package/build/types/index.d.ts.map +1 -1
  186. package/package.json +2 -2
  187. package/src/Accordion/Accordion.css +7 -6
  188. package/src/Accordion/Accordion.less +7 -6
  189. package/src/Body/Body.css +1 -1
  190. package/src/Body/Body.less +1 -1
  191. package/src/Body/Body.test.tsx +4 -4
  192. package/src/Body/Body.tsx +2 -2
  193. package/src/Calendar/Calendar.css +11 -4
  194. package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +2 -2
  195. package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
  196. package/src/Calendar/TableLink/TableLink.css +11 -4
  197. package/src/Calendar/TableLink/TableLink.less +14 -4
  198. package/src/Calendar/TableLink/TableLink.tsx +1 -1
  199. package/src/Chips/Chip/Chip.css +5 -3
  200. package/src/Chips/Chip/Chip.less +3 -2
  201. package/src/CircularButton/_stories/CircularButton.story.tsx +6 -16
  202. package/src/DateInput/_stories/DateInput.rtl.test.story.tsx +46 -0
  203. package/src/Decision/Decision.css +4 -3
  204. package/src/Decision/Decision.less +4 -3
  205. package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
  206. package/src/Display/_stories/Display.story.tsx +20 -6
  207. package/src/Emphasis/Emphasis.css +1 -1
  208. package/src/Emphasis/Emphasis.less +1 -1
  209. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +2 -1
  210. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.less +2 -1
  211. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +1 -4
  212. package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +2 -1
  213. package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
  214. package/src/Header/Header.css +0 -46
  215. package/src/Header/Header.less +1 -63
  216. package/src/Header/Header.test.tsx +1 -133
  217. package/src/Header/Header.tsx +11 -107
  218. package/src/Header/_stories/Header.story.tsx +2 -97
  219. package/src/Header/_stories/Header.test.story.tsx +0 -32
  220. package/src/Header/index.ts +1 -2
  221. package/src/Inputs/Input/Input.css +69 -57
  222. package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +2 -2
  223. package/src/Inputs/SelectInput/Option/SelectInputOption.tsx +1 -1
  224. package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +3 -3
  225. package/src/Inputs/SelectInput/Popover/SelectInputPopover.tsx +2 -2
  226. package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
  227. package/src/Inputs/TextArea/TextArea.css +69 -57
  228. package/src/Inputs/_common.less +16 -10
  229. package/src/Label/Label.css +3 -0
  230. package/src/Label/Label.less +8 -0
  231. package/src/Label/Label.tsx +1 -1
  232. package/src/Markup/Markup.css +2 -2
  233. package/src/Markup/Markup.less +2 -2
  234. package/src/MoneyInput/MoneyInput.css +9 -6
  235. package/src/MoneyInput/MoneyInput.less +10 -7
  236. package/src/Nudge/Nudge.css +3 -3
  237. package/src/Nudge/Nudge.less +3 -3
  238. package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
  239. package/src/Popover/Popover.css +4 -43
  240. package/src/Popover/Popover.less +2 -2
  241. package/src/ProgressBar/ProgressBar.css +3 -2
  242. package/src/ProgressBar/ProgressBar.less +12 -11
  243. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +2 -1
  244. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +2 -1
  245. package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
  246. package/src/Snackbar/Snackbar.css +1 -1
  247. package/src/Snackbar/Snackbar.less +1 -1
  248. package/src/Stepper/Stepper.tsx +1 -1
  249. package/src/Table/Header/TableHeader.tsx +1 -1
  250. package/src/Table/StatusText/TableStatusText.test.tsx +5 -5
  251. package/src/Table/Table.css +18 -8
  252. package/src/Table/Table.less +20 -9
  253. package/src/Tabs/Tab/Tab.tsx +1 -1
  254. package/src/Tabs/Tabs.css +3 -3
  255. package/src/Tabs/Tabs.less +3 -3
  256. package/src/Tag/Tag.css +1 -1
  257. package/src/Tag/Tag.less +1 -1
  258. package/src/Tag/Tag.tsx +1 -1
  259. package/src/Tag/_stories/Tag.story.tsx +1 -1
  260. package/src/Tile/Tile.css +4 -3
  261. package/src/Tile/Tile.less +4 -3
  262. package/src/Typeahead/Typeahead.css +4 -2
  263. package/src/Typeahead/Typeahead.less +2 -1
  264. package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
  265. package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +2 -2
  266. package/src/UploadInput/UploadInput.css +1 -1
  267. package/src/UploadInput/UploadInput.less +7 -4
  268. package/src/_deprecated/ActionButton/ActionButton.css +3 -4
  269. package/src/_deprecated/ActionButton/ActionButton.less +4 -5
  270. package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
  271. package/src/_deprecated/Avatar/Avatar.css +2 -2
  272. package/src/_deprecated/Avatar/Avatar.less +2 -2
  273. package/src/_deprecated/Avatar/Avatar.tsx +1 -1
  274. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +2 -1
  275. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +2 -1
  276. package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
  277. package/src/_deprecated/Select/Select.css +49 -14
  278. package/src/_deprecated/Select/Select.less +14 -10
  279. package/src/_deprecated/Select/Select.tsx +2 -2
  280. package/src/_deprecated/Summary/Summary.css +2 -2
  281. package/src/_deprecated/Summary/Summary.less +2 -2
  282. package/src/common/Circle/Circle.css +1 -1
  283. package/src/common/Circle/Circle.less +1 -1
  284. package/src/common/Option/Option.css +4 -4
  285. package/src/common/Option/Option.less +4 -4
  286. package/src/common/PropsValues/typography.ts +20 -1
  287. package/src/index.ts +1 -3
  288. package/src/main.css +8673 -2355
  289. package/src/main.less +3 -3
  290. package/src/styles/less/accordion.css +22 -44
  291. package/src/styles/less/addons/_background-utilities.less +5 -0
  292. package/src/styles/less/badge.css +2 -2
  293. package/src/styles/less/badge.less +2 -2
  294. package/src/styles/less/button-groups.css +29 -6
  295. package/src/styles/less/button-groups.less +3 -2
  296. package/src/styles/less/buttons.css +35 -11
  297. package/src/styles/less/buttons.less +7 -7
  298. package/src/styles/less/core/_fonts.less +7 -75
  299. package/src/styles/less/core/_scaffolding.less +4 -4
  300. package/src/styles/less/core/_typography-utilities.less +3 -3
  301. package/src/styles/less/core/_typography.less +81 -235
  302. package/src/styles/less/core/fonts/_fonts-ar.less +86 -0
  303. package/src/styles/less/core/fonts/_fonts-base.less +99 -0
  304. package/src/styles/less/core/fonts/_fonts-he.less +8 -0
  305. package/src/styles/less/core/fonts/_fonts-ja.less +4247 -0
  306. package/src/styles/less/core/fonts/_fonts-ko.less +1079 -0
  307. package/src/styles/less/core/fonts/_fonts-th.less +8 -0
  308. package/src/styles/less/core/fonts/_fonts-zh.less +872 -0
  309. package/src/styles/less/decision.css +22 -44
  310. package/src/styles/less/decision.less +2 -2
  311. package/src/styles/less/dropdowns.css +39 -54
  312. package/src/styles/less/dropdowns.less +8 -7
  313. package/src/styles/less/droppable.css +28 -6
  314. package/src/styles/less/droppable.less +4 -4
  315. package/src/styles/less/footer.css +41 -10
  316. package/src/styles/less/footer.less +4 -3
  317. package/src/styles/less/forms/bootstrap-forms.css +153 -100
  318. package/src/styles/less/forms/bootstrap-forms.less +85 -72
  319. package/src/styles/less/forms/checkbox-radio.css +3 -3
  320. package/src/styles/less/forms/checkbox-radio.less +3 -3
  321. package/src/styles/less/input-groups.css +205 -162
  322. package/src/styles/less/input-groups.less +23 -9
  323. package/src/styles/less/list-group.css +1 -42
  324. package/src/styles/less/list-group.less +8 -5
  325. package/src/styles/less/mixins/_reset-text.less +1 -1
  326. package/src/styles/less/mixins/_text-emphasis.less +7 -1
  327. package/src/styles/less/modals.css +1 -1
  328. package/src/styles/less/modals.less +1 -1
  329. package/src/styles/less/navbar.css +66 -81
  330. package/src/styles/less/navbar.less +19 -19
  331. package/src/styles/less/navs.css +8 -8
  332. package/src/styles/less/navs.less +8 -8
  333. package/src/styles/less/neptune-addons.css +15 -0
  334. package/src/styles/less/neptune-core.css +5887 -524
  335. package/src/styles/less/neptune.bundle.less +4 -0
  336. package/src/styles/less/neptune.css +8348 -1945
  337. package/src/styles/less/panels.css +2 -2
  338. package/src/styles/less/panels.less +2 -2
  339. package/src/styles/less/popovers.css +39 -56
  340. package/src/styles/less/popovers.less +7 -7
  341. package/src/styles/less/progress-bars.css +2 -2
  342. package/src/styles/less/progress-bars.less +2 -2
  343. package/src/styles/less/sequences.css +14 -9
  344. package/src/styles/less/sequences.less +15 -10
  345. package/src/styles/less/table.css +7 -7
  346. package/src/styles/less/table.less +7 -7
  347. package/src/styles/less/tooltip.css +28 -6
  348. package/src/styles/less/tooltip.less +1 -1
  349. package/src/styles/variables/legacy-variables.less +3 -3
  350. package/build/CardContainer/CardContainer.js +0 -30
  351. package/build/CardContainer/CardContainer.js.map +0 -1
  352. package/build/CardContainer/CardContainer.mjs +0 -26
  353. package/build/CardContainer/CardContainer.mjs.map +0 -1
  354. package/build/Header/HeaderActionButton.js +0 -70
  355. package/build/Header/HeaderActionButton.js.map +0 -1
  356. package/build/Header/HeaderActionButton.mjs +0 -65
  357. package/build/Header/HeaderActionButton.mjs.map +0 -1
  358. package/build/styles/CardContainer/CardContainer.css +0 -78
  359. package/build/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  360. package/build/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  361. package/build/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  362. package/build/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  363. package/build/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  364. package/build/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  365. package/build/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  366. package/build/styles/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
  367. package/build/styles/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
  368. package/build/styles/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
  369. package/build/styles/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
  370. package/build/styles/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
  371. package/build/styles/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
  372. package/build/types/CardContainer/CardContainer.d.ts +0 -8
  373. package/build/types/CardContainer/CardContainer.d.ts.map +0 -1
  374. package/build/types/CardContainer/CardContainer.types.d.ts +0 -32
  375. package/build/types/CardContainer/CardContainer.types.d.ts.map +0 -1
  376. package/build/types/CardContainer/_stories/helpers.d.ts +0 -3
  377. package/build/types/CardContainer/_stories/helpers.d.ts.map +0 -1
  378. package/build/types/CardContainer/index.d.ts +0 -3
  379. package/build/types/CardContainer/index.d.ts.map +0 -1
  380. package/build/types/Header/HeaderActionButton.d.ts +0 -53
  381. package/build/types/Header/HeaderActionButton.d.ts.map +0 -1
  382. package/src/CardContainer/CardContainer.css +0 -78
  383. package/src/CardContainer/CardContainer.less +0 -111
  384. package/src/CardContainer/CardContainer.test.tsx +0 -103
  385. package/src/CardContainer/CardContainer.tsx +0 -36
  386. package/src/CardContainer/CardContainer.types.ts +0 -36
  387. package/src/CardContainer/_stories/CardContainer.story.tsx +0 -99
  388. package/src/CardContainer/_stories/CardContainer.test.story.tsx +0 -375
  389. package/src/CardContainer/_stories/CardContainer.withHeader.story.tsx +0 -149
  390. package/src/CardContainer/_stories/helpers.tsx +0 -50
  391. package/src/CardContainer/index.ts +0 -2
  392. package/src/Header/HeaderActionButton.tsx +0 -125
  393. package/src/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  394. package/src/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  395. package/src/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  396. package/src/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  397. package/src/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  398. package/src/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  399. package/src/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  400. package/src/styles/fonts/rubik/rubik-body-cyrillic-330-normal.woff2 +0 -0
  401. package/src/styles/fonts/rubik/rubik-body-cyrillic-600-normal.woff2 +0 -0
  402. package/src/styles/fonts/rubik/rubik-body-cyrillic-ext-330-normal.woff2 +0 -0
  403. package/src/styles/fonts/rubik/rubik-body-cyrillic-ext-600-normal.woff2 +0 -0
  404. package/src/styles/fonts/rubik/rubik-cyrillic-900-normal.woff2 +0 -0
  405. package/src/styles/fonts/rubik/rubik-cyrillic-ext-900-normal.woff2 +0 -0
@@ -1,9 +1,12 @@
1
+ .np-popover__container.np-bottom-sheet .np-popover__title {
2
+ margin-block-end: initial;
3
+ }
1
4
  .np-theme-personal .np-popover__container {
2
5
  border-radius: var(--radius-medium);
3
6
  }
4
7
  .np-popover__container .np-popover__content {
5
8
  color: var(--color-content-secondary);
6
- font-size: var(--font-size-14);
9
+ font-size: var(--wds-font-size-body);
7
10
  }
8
11
  .np-popover__container .np-popover__content p:last-child {
9
12
  margin-block-end: 0;
@@ -17,49 +20,7 @@
17
20
  padding: var(--size-24);
18
21
  }
19
22
  .np-popover__container.np-bottom-sheet .np-popover__title {
20
- margin: 0;
21
- color: var(--color-content-primary);
22
- line-height: var(--line-height-title);
23
- letter-spacing: 0;
24
- word-wrap: break-word;
25
23
  margin-block-end: initial;
26
- font-weight: var(--font-weight-semi-bold);
27
- font-size: var(--font-size-26);
28
- letter-spacing: -0.02em;
29
- line-height: 122%;
30
- }
31
- @supports (hyphenate-limit-chars: 1) {
32
- .np-popover__container.np-bottom-sheet .np-popover__title {
33
- hyphens: auto;
34
- hyphenate-limit-chars: 7 3;
35
- }
36
- @media (min-width: 840px) {
37
- .np-popover__container.np-bottom-sheet .np-popover__title {
38
- hyphenate-limit-chars: 8 3;
39
- }
40
- }
41
- @media (min-width: 1160px) {
42
- .np-popover__container.np-bottom-sheet .np-popover__title {
43
- hyphenate-limit-chars: 10 4 3;
44
- }
45
- }
46
- }
47
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
48
- .np-popover__container.np-bottom-sheet .np-popover__title {
49
- hyphens: auto;
50
- -webkit-hyphenate-limit-before: 3;
51
- -webkit-hyphenate-limit-after: 3;
52
- }
53
- @media (min-width: 1160px) {
54
- .np-popover__container.np-bottom-sheet .np-popover__title {
55
- -webkit-hyphenate-limit-before: 4;
56
- }
57
- }
58
- }
59
- .np-popover__container.np-bottom-sheet .np-popover__title + p,
60
- .np-popover__container.np-bottom-sheet .np-popover__title + ul:not(.list-unstyled),
61
- .np-popover__container.np-bottom-sheet .np-popover__title + ol:not(.list-unstyled) {
62
- margin-block-start: var(--size-8);
63
24
  }
64
25
  .np-popover__container.np-bottom-sheet .np-popover__content {
65
26
  padding-block: var(--size-32);
@@ -1,9 +1,10 @@
1
- .np-progress-bar__title .h4 {
1
+ .np-progress-bar__title .h4,
2
+ .np-progress-bar__title .wds-text-title-body {
2
3
  color: var(--color-content-primary);
3
4
  margin-block-end: var(--size-4);
4
5
  }
5
6
  .np-progress-bar p {
6
7
  color: var(--color-content-primary);
7
8
  margin-block-start: var(--size-4);
8
- font-weight: var(--font-weight-semi-bold);
9
+ font-weight: var(--wds-font-weight-body-bold);
9
10
  }
@@ -21,7 +21,8 @@
21
21
  }
22
22
  .wds-prompt__media-wrapper {
23
23
  align-self: flex-start;
24
- padding-block-start: calc(var(--size-4) - 1px);
24
+ align-content: center;
25
+ min-block-size: calc(var(--wds-line-height-body) * var(--wds-font-size-body));
25
26
  }
26
27
  .wds-prompt__media-wrapper .tw-icon-tags,
27
28
  .wds-prompt__media-wrapper .tw-icon-confetti {
@@ -15,7 +15,7 @@
15
15
  align-items: center;
16
16
  justify-content: space-between;
17
17
  text-align: start;
18
- font-size: var(--font-size-14);
18
+ font-size: var(--wds-font-size-body);
19
19
  margin-block: 0;
20
20
  margin-inline: var(--size-16);
21
21
  padding-block: var(--size-8);
@@ -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
  }
@@ -168,11 +168,13 @@
168
168
  .np-theme-personal .typeahead .np-chip {
169
169
  margin-block-start: 9px !important;
170
170
  }
171
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
171
+ .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
172
+ .np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
172
173
  padding-inline-end: var(--size-16);
173
174
  }
174
175
  @media (max-width: 320px) {
175
- .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold {
176
+ .np-theme-personal .typeahead .np-chip--removable .np-text-body-default-bold,
177
+ .np-theme-personal .typeahead .np-chip--removable .wds-text-body-default-bold {
176
178
  padding-inline-end: var(--size-32);
177
179
  }
178
180
  }
@@ -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,70 +35,48 @@
35
35
  .np-theme-personal .chevron-color {
36
36
  color: var(--color-interactive-primary);
37
37
  }
38
- .decision {
39
- cursor: pointer;
40
- margin-block-end: 0 !important;
41
- border: 0;
42
- align-items: center;
43
- transition: background-color ease 350ms;
44
- background-color: transparent;
45
- display: block;
46
- }
47
- .decision:not(.np-option):focus-visible,
48
- .decision:not(.np-option):has(:focus-visible) {
49
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
50
- outline-offset: var(--ring-outline-offset);
51
- --ring-outline-offset: 0;
52
- }
53
- .decision__title {
54
- margin: 0;
55
- color: var(--color-content-primary);
56
- line-height: var(--line-height-title);
57
- letter-spacing: 0;
38
+ .decision__content {
58
39
  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
40
  }
64
41
  @supports (hyphenate-limit-chars: 1) {
65
- .decision__title {
66
- hyphens: auto;
67
- hyphenate-limit-chars: 7 3;
42
+ .decision__content {
43
+ hyphens: auto;hyphenate-limit-chars: 7 3;
68
44
  }
69
45
  @media (min-width: 840px) {
70
- .decision__title {
46
+ .decision__content {
71
47
  hyphenate-limit-chars: 8 3;
72
48
  }
73
49
  }
74
50
  @media (min-width: 1160px) {
75
- .decision__title {
51
+ .decision__content {
76
52
  hyphenate-limit-chars: 10 4 3;
77
53
  }
78
54
  }
79
- }
80
- @supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
81
- .decision__title {
82
- hyphens: auto;
83
- -webkit-hyphenate-limit-before: 3;
84
- -webkit-hyphenate-limit-after: 3;
55
+ }@supports (not (hyphenate-limit-chars: 1)) and (-webkit-hyphenate-limit-before: 1) {
56
+ .decision__content {
57
+ hyphens: auto;-webkit-hyphenate-limit-before: 3;-webkit-hyphenate-limit-after: 3;
85
58
  }
86
59
  @media (min-width: 1160px) {
87
- .decision__title {
60
+ .decision__content {
88
61
  -webkit-hyphenate-limit-before: 4;
89
62
  }
90
63
  }
64
+ }.decision {
65
+ cursor: pointer;
66
+ margin-block-end: 0 !important;
67
+ border: 0;
68
+ align-items: center;
69
+ transition: background-color ease 350ms;
70
+ background-color: transparent;
71
+ display: block;
91
72
  }
92
- .decision__title + p,
93
- .decision__title + ul:not(.list-unstyled),
94
- .decision__title + ol:not(.list-unstyled) {
95
- margin-block-start: var(--size-8);
73
+ .decision:not(.np-option):focus-visible,
74
+ .decision:not(.np-option):has(:focus-visible) {
75
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
76
+ outline-offset: var(--ring-outline-offset);
77
+ --ring-outline-offset: 0;
96
78
  }
97
79
  .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
80
  word-wrap: break-word;
103
81
  margin-block-start: var(--size-4);
104
82
  }
@@ -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
  }