@transferwise/components 0.0.0-experimental-6bc68bd → 0.0.0-experimental-012dcef

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 (378) 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/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js +2 -2
  26. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.js.map +1 -1
  27. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs +2 -2
  28. package/build/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.mjs.map +1 -1
  29. package/build/Inputs/SelectInput/Option/SelectInputOption.js +1 -1
  30. package/build/Inputs/SelectInput/Option/SelectInputOption.js.map +1 -1
  31. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs +1 -1
  32. package/build/Inputs/SelectInput/Option/SelectInputOption.mjs.map +1 -1
  33. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js +3 -3
  34. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.js.map +1 -1
  35. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs +3 -3
  36. package/build/Inputs/SelectInput/OptionContent/SelectInputOptionContent.mjs.map +1 -1
  37. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js +2 -2
  38. package/build/Inputs/SelectInput/Popover/SelectInputPopover.js.map +1 -1
  39. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs +2 -2
  40. package/build/Inputs/SelectInput/Popover/SelectInputPopover.mjs.map +1 -1
  41. package/build/Label/Label.js +1 -1
  42. package/build/Label/Label.js.map +1 -1
  43. package/build/Label/Label.mjs +1 -1
  44. package/build/Label/Label.mjs.map +1 -1
  45. package/build/Stepper/Stepper.js +1 -1
  46. package/build/Stepper/Stepper.js.map +1 -1
  47. package/build/Stepper/Stepper.mjs +1 -1
  48. package/build/Stepper/Stepper.mjs.map +1 -1
  49. package/build/Table/Header/TableHeader.js +1 -1
  50. package/build/Table/Header/TableHeader.js.map +1 -1
  51. package/build/Table/Header/TableHeader.mjs +1 -1
  52. package/build/Table/Header/TableHeader.mjs.map +1 -1
  53. package/build/Tabs/Tab/Tab.js +1 -1
  54. package/build/Tabs/Tab/Tab.js.map +1 -1
  55. package/build/Tabs/Tab/Tab.mjs +1 -1
  56. package/build/Tabs/Tab/Tab.mjs.map +1 -1
  57. package/build/Tag/Tag.js +1 -1
  58. package/build/Tag/Tag.js.map +1 -1
  59. package/build/Tag/Tag.mjs +1 -1
  60. package/build/Tag/Tag.mjs.map +1 -1
  61. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js +2 -2
  62. package/build/Typeahead/TypeaheadOption/TypeaheadOption.js.map +1 -1
  63. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs +2 -2
  64. package/build/Typeahead/TypeaheadOption/TypeaheadOption.mjs.map +1 -1
  65. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js +2 -2
  66. package/build/Upload/Steps/UploadImageStep/UploadImageStep.js.map +1 -1
  67. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs +2 -2
  68. package/build/Upload/Steps/UploadImageStep/UploadImageStep.mjs.map +1 -1
  69. package/build/_deprecated/ActionButton/ActionButton.js +1 -1
  70. package/build/_deprecated/ActionButton/ActionButton.js.map +1 -1
  71. package/build/_deprecated/ActionButton/ActionButton.mjs +1 -1
  72. package/build/_deprecated/ActionButton/ActionButton.mjs.map +1 -1
  73. package/build/_deprecated/Avatar/Avatar.js +1 -1
  74. package/build/_deprecated/Avatar/Avatar.js.map +1 -1
  75. package/build/_deprecated/Avatar/Avatar.mjs +1 -1
  76. package/build/_deprecated/Avatar/Avatar.mjs.map +1 -1
  77. package/build/_deprecated/Select/Select.js +2 -2
  78. package/build/_deprecated/Select/Select.js.map +1 -1
  79. package/build/_deprecated/Select/Select.mjs +2 -2
  80. package/build/_deprecated/Select/Select.mjs.map +1 -1
  81. package/build/common/PropsValues/typography.js +0 -6
  82. package/build/common/PropsValues/typography.js.map +1 -1
  83. package/build/common/PropsValues/typography.mjs +0 -6
  84. package/build/common/PropsValues/typography.mjs.map +1 -1
  85. package/build/main.css +2432 -8907
  86. package/build/styles/Accordion/Accordion.css +6 -7
  87. package/build/styles/Body/Body.css +1 -1
  88. package/build/styles/Calendar/Calendar.css +4 -11
  89. package/build/styles/Calendar/TableLink/TableLink.css +4 -11
  90. package/build/styles/Chips/Chip/Chip.css +3 -5
  91. package/build/styles/Decision/Decision.css +3 -4
  92. package/build/styles/Emphasis/Emphasis.css +1 -1
  93. package/build/styles/ExpressiveMoneyInput/AmountInput/AmountInput.css +1 -2
  94. package/build/styles/ExpressiveMoneyInput/ExpressiveMoneyInput.css +1 -2
  95. package/build/styles/Inputs/Input/Input.css +60 -67
  96. package/build/styles/Inputs/TextArea/TextArea.css +60 -67
  97. package/build/styles/Markup/Markup.css +2 -2
  98. package/build/styles/MoneyInput/MoneyInput.css +6 -9
  99. package/build/styles/Nudge/Nudge.css +3 -3
  100. package/build/styles/Popover/Popover.css +43 -4
  101. package/build/styles/ProgressBar/ProgressBar.css +2 -3
  102. package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +1 -2
  103. package/build/styles/Snackbar/Snackbar.css +1 -1
  104. package/build/styles/Table/Table.css +8 -18
  105. package/build/styles/Tabs/Tabs.css +3 -3
  106. package/build/styles/Tag/Tag.css +1 -1
  107. package/build/styles/Tile/Tile.css +3 -4
  108. package/build/styles/Typeahead/Typeahead.css +2 -4
  109. package/build/styles/UploadInput/UploadInput.css +1 -1
  110. package/build/styles/_deprecated/ActionButton/ActionButton.css +4 -3
  111. package/build/styles/_deprecated/Avatar/Avatar.css +2 -2
  112. package/build/styles/_deprecated/CriticalBanner/CriticalCommsBanner.css +1 -2
  113. package/build/styles/_deprecated/Select/Select.css +14 -49
  114. package/build/styles/_deprecated/Summary/Summary.css +2 -2
  115. package/build/styles/common/Circle/Circle.css +1 -1
  116. package/build/styles/common/Option/Option.css +4 -4
  117. package/build/styles/css/accordion.css +44 -22
  118. package/build/styles/css/badge.css +2 -2
  119. package/build/styles/css/button-groups.css +6 -29
  120. package/build/styles/css/buttons.css +11 -35
  121. package/build/styles/css/decision.css +44 -22
  122. package/build/styles/css/dropdowns.css +54 -39
  123. package/build/styles/css/droppable.css +6 -28
  124. package/build/styles/css/footer.css +10 -41
  125. package/build/styles/css/input-groups.css +167 -203
  126. package/build/styles/css/list-group.css +42 -1
  127. package/build/styles/css/modals.css +1 -1
  128. package/build/styles/css/navbar.css +81 -66
  129. package/build/styles/css/navs.css +8 -8
  130. package/build/styles/css/neptune-addons.css +0 -15
  131. package/build/styles/css/neptune-core.css +524 -5935
  132. package/build/styles/css/neptune.css +2092 -8533
  133. package/build/styles/css/panels.css +2 -2
  134. package/build/styles/css/popovers.css +56 -39
  135. package/build/styles/css/progress-bars.css +2 -2
  136. package/build/styles/css/sequences.css +9 -14
  137. package/build/styles/css/table.css +7 -7
  138. package/build/styles/css/tooltip.css +6 -28
  139. package/build/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  140. package/build/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  141. package/build/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  142. package/build/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  143. package/build/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  144. package/build/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  145. package/build/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  146. package/build/styles/less/legacy-variables.less +3 -3
  147. package/build/styles/less/neptune-tokens.less +48 -0
  148. package/build/styles/main.css +2432 -8907
  149. package/build/styles/props/neptune-tokens.css +3 -804
  150. package/build/styles/styles/less/accordion.css +44 -22
  151. package/build/styles/styles/less/badge.css +2 -2
  152. package/build/styles/styles/less/button-groups.css +6 -29
  153. package/build/styles/styles/less/buttons.css +11 -35
  154. package/build/styles/styles/less/decision.css +44 -22
  155. package/build/styles/styles/less/dropdowns.css +54 -39
  156. package/build/styles/styles/less/droppable.css +6 -28
  157. package/build/styles/styles/less/footer.css +10 -41
  158. package/build/styles/styles/less/forms/bootstrap-forms.css +100 -153
  159. package/build/styles/styles/less/forms/checkbox-radio.css +3 -3
  160. package/build/styles/styles/less/input-groups.css +167 -203
  161. package/build/styles/styles/less/list-group.css +42 -1
  162. package/build/styles/styles/less/modals.css +1 -1
  163. package/build/styles/styles/less/navbar.css +81 -66
  164. package/build/styles/styles/less/navs.css +8 -8
  165. package/build/styles/styles/less/neptune-addons.css +0 -15
  166. package/build/styles/styles/less/neptune-core.css +524 -5935
  167. package/build/styles/styles/less/neptune.css +2092 -8533
  168. package/build/styles/styles/less/panels.css +2 -2
  169. package/build/styles/styles/less/popovers.css +56 -39
  170. package/build/styles/styles/less/progress-bars.css +2 -2
  171. package/build/styles/styles/less/sequences.css +9 -14
  172. package/build/styles/styles/less/table.css +7 -7
  173. package/build/styles/styles/less/tooltip.css +6 -28
  174. package/build/types/Body/Body.d.ts +2 -2
  175. package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
  176. package/build/types/IconButton/IconButton.d.ts +1 -1
  177. package/build/types/ListItem/_stories/variants/helpers.d.ts +1 -4
  178. package/build/types/ListItem/_stories/variants/helpers.d.ts.map +1 -1
  179. package/build/types/MoneyInput/MoneyInput.d.ts +1 -1
  180. package/build/types/MoneyInput/MoneyInput.d.ts.map +1 -1
  181. package/build/types/Title/Title.d.ts +2 -2
  182. package/build/types/Upload/Steps/UploadImageStep/UploadImageStep.d.ts +1 -1
  183. package/build/types/UploadInput/UploadItem/UploadItemLink.d.ts +1 -1
  184. package/build/types/common/PropsValues/typography.d.ts +1 -13
  185. package/build/types/common/PropsValues/typography.d.ts.map +1 -1
  186. package/package.json +1 -1
  187. package/src/Accordion/Accordion.css +6 -7
  188. package/src/Accordion/Accordion.less +6 -7
  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/Button/_stories/Button.test.story.tsx +0 -1
  194. package/src/Calendar/Calendar.css +4 -11
  195. package/src/Calendar/DayCalendar/Table/DayCalendarTable.tsx +2 -2
  196. package/src/Calendar/MonthCalendar/Table/MonthCalendarTable.tsx +1 -1
  197. package/src/Calendar/TableLink/TableLink.css +4 -11
  198. package/src/Calendar/TableLink/TableLink.less +4 -14
  199. package/src/Calendar/TableLink/TableLink.tsx +1 -1
  200. package/src/Calendar/_stories/Calendar.test.story.tsx +0 -1
  201. package/src/Chips/Chip/Chip.css +3 -5
  202. package/src/Chips/Chip/Chip.less +2 -3
  203. package/src/CircularButton/_stories/CircularButton.story.tsx +16 -6
  204. package/src/DateInput/_stories/DateInput.rtl.test.story.tsx +2 -3
  205. package/src/DateInput/_stories/DateInput.story.tsx +0 -1
  206. package/src/Decision/Decision.css +3 -4
  207. package/src/Decision/Decision.less +3 -4
  208. package/src/Decision/_stories/Decision.test.story.tsx +2 -3
  209. package/src/DefinitionList/_stories/DefinitionList.story.tsx +1 -1
  210. package/src/DefinitionList/_stories/DefinitionList.test.story.tsx +1 -1
  211. package/src/Display/_stories/Display.story.tsx +6 -20
  212. package/src/Emphasis/Emphasis.css +1 -1
  213. package/src/Emphasis/Emphasis.less +1 -1
  214. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +1 -2
  215. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.less +1 -2
  216. package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +4 -1
  217. package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +1 -2
  218. package/src/ExpressiveMoneyInput/_stories/ExpressiveMoneyInput.rtl.test.story.tsx +2 -3
  219. package/src/Field/_stories/Field.test.story.tsx +2 -3
  220. package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.tsx +1 -1
  221. package/src/Header/_stories/Header.test.story.tsx +1 -1
  222. package/src/InputWithDisplayFormat/_stories/InputWithDisplayFormat.test.story.tsx +2 -3
  223. package/src/Inputs/Input/Input.css +60 -67
  224. package/src/Inputs/InputGroup/_stories/InputGroup.test.story.tsx +2 -3
  225. package/src/Inputs/SelectInput/BottomSheet/SelectInputBottomSheet.tsx +2 -2
  226. package/src/Inputs/SelectInput/Option/SelectInputOption.tsx +1 -1
  227. package/src/Inputs/SelectInput/OptionContent/SelectInputOptionContent.tsx +3 -3
  228. package/src/Inputs/SelectInput/Popover/SelectInputPopover.tsx +2 -2
  229. package/src/Inputs/SelectInput/_stories/SelectInput.rtl.test.story.tsx +2 -3
  230. package/src/Inputs/SelectInput/_stories/SelectInput.story.tsx +1 -1
  231. package/src/Inputs/TextArea/TextArea.css +60 -67
  232. package/src/Inputs/TextArea/_stories/TextArea.test.story.tsx +2 -3
  233. package/src/Inputs/_common.less +10 -12
  234. package/src/InstructionsList/_stories/InstructionsList.test.story.tsx +1 -2
  235. package/src/Label/Label.tsx +1 -1
  236. package/src/Label/_stories/Label.test.story.tsx +2 -3
  237. package/src/ListItem/_stories/ListItem.rtl.test.story.tsx +8 -15
  238. package/src/ListItem/_stories/variants/helpers.tsx +1 -5
  239. package/src/Markup/Markup.css +2 -2
  240. package/src/Markup/Markup.less +2 -2
  241. package/src/MoneyInput/MoneyInput.css +6 -9
  242. package/src/MoneyInput/MoneyInput.less +7 -10
  243. package/src/MoneyInput/_stories/MoneyInput.rtl.test.story.tsx +3 -5
  244. package/src/Nudge/Nudge.css +3 -3
  245. package/src/Nudge/Nudge.less +3 -3
  246. package/src/PhoneNumberInput/_stories/PhoneNumberInput.rtl.test.story.tsx +3 -3
  247. package/src/PocketSurface/_stories/PocketSurface.story.tsx +2 -2
  248. package/src/Popover/Popover.css +43 -4
  249. package/src/Popover/Popover.less +2 -2
  250. package/src/ProgressBar/ProgressBar.css +2 -3
  251. package/src/ProgressBar/ProgressBar.less +11 -12
  252. package/src/ProgressBar/_stories/ProgressBar.test.story.tsx +2 -3
  253. package/src/Prompt/ActionPrompt/_stories/ActionPrompt.test.story.tsx +2 -3
  254. package/src/Prompt/CriticalBanner/_stories/CriticalBanner.test.story.tsx +2 -3
  255. package/src/Prompt/InfoPrompt/_stories/InfoPrompt.test.story.tsx +2 -3
  256. package/src/Prompt/InlinePrompt/_stories/InlinePrompt.test.story.tsx +2 -3
  257. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +1 -2
  258. package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +1 -2
  259. package/src/SentimentSurface/_stories/SentimentSurface.story.tsx +1 -1
  260. package/src/Snackbar/Snackbar.css +1 -1
  261. package/src/Snackbar/Snackbar.less +1 -1
  262. package/src/Stepper/Stepper.tsx +1 -1
  263. package/src/Table/Header/TableHeader.tsx +1 -1
  264. package/src/Table/StatusText/TableStatusText.test.tsx +5 -5
  265. package/src/Table/Table.css +8 -18
  266. package/src/Table/Table.less +9 -20
  267. package/src/Table/_stories/Table.test.story.tsx +15 -26
  268. package/src/Tabs/Tab/Tab.tsx +1 -1
  269. package/src/Tabs/Tabs.css +3 -3
  270. package/src/Tabs/Tabs.less +3 -3
  271. package/src/Tabs/_stories/Tabs.test.story.tsx +1 -1
  272. package/src/Tag/Tag.css +1 -1
  273. package/src/Tag/Tag.less +1 -1
  274. package/src/Tag/Tag.tsx +1 -1
  275. package/src/Tag/_stories/Tag.story.tsx +1 -1
  276. package/src/TextareaWithDisplayFormat/_stories/TextareaWithDisplayFormat.test.story.tsx +2 -3
  277. package/src/Tile/Tile.css +3 -4
  278. package/src/Tile/Tile.less +3 -4
  279. package/src/Typeahead/Typeahead.css +2 -4
  280. package/src/Typeahead/Typeahead.less +1 -2
  281. package/src/Typeahead/TypeaheadOption/TypeaheadOption.tsx +2 -2
  282. package/src/Typeahead/_stories/Typeahead.rtl.test.story.tsx +1 -1
  283. package/src/Upload/Steps/UploadImageStep/UploadImageStep.tsx +2 -2
  284. package/src/Upload/_stories/Upload.rtl.test.story.tsx +0 -1
  285. package/src/UploadInput/UploadInput.css +1 -1
  286. package/src/UploadInput/UploadInput.less +4 -7
  287. package/src/UploadInput/_stories/UploadInput.test.story.tsx +0 -1
  288. package/src/_deprecated/ActionButton/ActionButton.css +4 -3
  289. package/src/_deprecated/ActionButton/ActionButton.less +5 -4
  290. package/src/_deprecated/ActionButton/ActionButton.tsx +1 -1
  291. package/src/_deprecated/Avatar/Avatar.css +2 -2
  292. package/src/_deprecated/Avatar/Avatar.less +2 -2
  293. package/src/_deprecated/Avatar/Avatar.tsx +1 -1
  294. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.css +1 -2
  295. package/src/_deprecated/CriticalBanner/CriticalCommsBanner.less +1 -2
  296. package/src/_deprecated/NavigationOption/_stories/NavigationOption.story.tsx +6 -6
  297. package/src/_deprecated/Select/Select.css +14 -49
  298. package/src/_deprecated/Select/Select.less +10 -14
  299. package/src/_deprecated/Select/Select.tsx +2 -2
  300. package/src/_deprecated/Summary/Summary.css +2 -2
  301. package/src/_deprecated/Summary/Summary.less +2 -2
  302. package/src/common/Circle/Circle.css +1 -1
  303. package/src/common/Circle/Circle.less +1 -1
  304. package/src/common/Option/Option.css +4 -4
  305. package/src/common/Option/Option.less +4 -4
  306. package/src/common/PropsValues/typography.ts +1 -20
  307. package/src/main.css +2432 -8907
  308. package/src/main.less +2 -3
  309. package/src/styles/fonts/inter-cyrillic-ext-variable-wghtOnly-normal.woff2 +0 -0
  310. package/src/styles/fonts/inter-cyrillic-variable-wghtOnly-normal.woff2 +0 -0
  311. package/src/styles/fonts/inter-greek-ext-variable-wghtOnly-normal.woff2 +0 -0
  312. package/src/styles/fonts/inter-greek-variable-wghtOnly-normal.woff2 +0 -0
  313. package/src/styles/fonts/inter-latin-ext-variable-wghtOnly-normal.woff2 +0 -0
  314. package/src/styles/fonts/inter-latin-variable-wghtOnly-normal.woff2 +0 -0
  315. package/src/styles/fonts/inter-vietnamese-variable-wghtOnly-normal.woff2 +0 -0
  316. package/src/styles/less/accordion.css +44 -22
  317. package/src/styles/less/addons/_background-utilities.less +0 -5
  318. package/src/styles/less/badge.css +2 -2
  319. package/src/styles/less/badge.less +2 -2
  320. package/src/styles/less/button-groups.css +6 -29
  321. package/src/styles/less/button-groups.less +2 -3
  322. package/src/styles/less/buttons.css +11 -35
  323. package/src/styles/less/buttons.less +7 -7
  324. package/src/styles/less/core/_fonts.less +75 -7
  325. package/src/styles/less/core/_scaffolding.less +4 -4
  326. package/src/styles/less/core/_typography-utilities.less +3 -3
  327. package/src/styles/less/core/_typography.less +235 -81
  328. package/src/styles/less/decision.css +44 -22
  329. package/src/styles/less/decision.less +2 -2
  330. package/src/styles/less/dropdowns.css +54 -39
  331. package/src/styles/less/dropdowns.less +7 -8
  332. package/src/styles/less/droppable.css +6 -28
  333. package/src/styles/less/droppable.less +4 -4
  334. package/src/styles/less/footer.css +10 -41
  335. package/src/styles/less/footer.less +3 -4
  336. package/src/styles/less/forms/bootstrap-forms.css +100 -153
  337. package/src/styles/less/forms/bootstrap-forms.less +72 -85
  338. package/src/styles/less/forms/checkbox-radio.css +3 -3
  339. package/src/styles/less/forms/checkbox-radio.less +3 -3
  340. package/src/styles/less/input-groups.css +167 -203
  341. package/src/styles/less/input-groups.less +10 -20
  342. package/src/styles/less/list-group.css +42 -1
  343. package/src/styles/less/list-group.less +5 -8
  344. package/src/styles/less/mixins/_reset-text.less +1 -1
  345. package/src/styles/less/mixins/_text-emphasis.less +1 -7
  346. package/src/styles/less/modals.css +1 -1
  347. package/src/styles/less/modals.less +1 -1
  348. package/src/styles/less/navbar.css +81 -66
  349. package/src/styles/less/navbar.less +19 -19
  350. package/src/styles/less/navs.css +8 -8
  351. package/src/styles/less/navs.less +8 -8
  352. package/src/styles/less/neptune-addons.css +0 -15
  353. package/src/styles/less/neptune-core.css +524 -5935
  354. package/src/styles/less/neptune.bundle.less +0 -4
  355. package/src/styles/less/neptune.css +2092 -8533
  356. package/src/styles/less/panels.css +2 -2
  357. package/src/styles/less/panels.less +2 -2
  358. package/src/styles/less/popovers.css +56 -39
  359. package/src/styles/less/popovers.less +7 -7
  360. package/src/styles/less/progress-bars.css +2 -2
  361. package/src/styles/less/progress-bars.less +2 -2
  362. package/src/styles/less/sequences.css +9 -14
  363. package/src/styles/less/sequences.less +10 -15
  364. package/src/styles/less/table.css +7 -7
  365. package/src/styles/less/table.less +7 -7
  366. package/src/styles/less/tooltip.css +6 -28
  367. package/src/styles/less/tooltip.less +1 -1
  368. package/src/styles/variables/legacy-variables.less +3 -3
  369. package/build/styles/Label/Label.css +0 -3
  370. package/src/Label/Label.css +0 -3
  371. package/src/Label/Label.less +0 -8
  372. package/src/styles/less/core/fonts/_fonts-ar.less +0 -140
  373. package/src/styles/less/core/fonts/_fonts-en.less +0 -99
  374. package/src/styles/less/core/fonts/_fonts-he.less +0 -8
  375. package/src/styles/less/core/fonts/_fonts-ja.less +0 -4247
  376. package/src/styles/less/core/fonts/_fonts-ko.less +0 -1079
  377. package/src/styles/less/core/fonts/_fonts-th.less +0 -8
  378. package/src/styles/less/core/fonts/_fonts-zh.less +0 -872
@@ -4,10 +4,9 @@
4
4
  .tw-money-input .tw-money-input__fixed-currency {
5
5
  padding-inline-start: 0 !important;
6
6
  }
7
- .tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection,
8
- .tw-money-input .tw-money-input__fixed-currency .wds-text-title-subsection {
7
+ .tw-money-input .tw-money-input__fixed-currency .np-text-title-subsection {
9
8
  color: var(--color-content-tertiary);
10
- font-weight: var(--wds-font-weight-body-bold);
9
+ font-weight: var(--font-weight-semi-bold);
11
10
  }
12
11
  [dir="rtl"] .tw-money-input .money-input__number-input {
13
12
  text-align: end;
@@ -19,16 +18,14 @@
19
18
  .tw-money-input.input-group-sm .form-control {
20
19
  min-block-size: 34px;
21
20
  }
22
- .tw-money-input.input-group-sm .np-text-title-subsection,
23
- .tw-money-input.input-group-sm .wds-text-title-subsection {
24
- font-size: var(--wds-font-size-body);
21
+ .tw-money-input.input-group-sm .np-text-title-subsection {
22
+ font-size: var(--font-size-14);
25
23
  }
26
24
  .tw-money-input.input-group-md .form-control {
27
25
  min-block-size: 53px;
28
26
  }
29
- .tw-money-input.input-group-md .np-text-title-subsection,
30
- .tw-money-input.input-group-md .wds-text-title-subsection {
31
- font-size: var(--wds-font-size-body-large);
27
+ .tw-money-input.input-group-md .np-text-title-subsection {
28
+ font-size: var(--font-size-16);
32
29
  }
33
30
  .tw-money-input .input-group-addon {
34
31
  flex-shrink: 0;
@@ -5,14 +5,13 @@
5
5
  .tw-money-input__fixed-currency {
6
6
  padding-left: 0 !important;
7
7
 
8
- .np-text-title-subsection,
9
- .wds-text-title-subsection {
8
+ .np-text-title-subsection {
10
9
  color: var(--color-content-tertiary);
11
- font-weight: var(--wds-font-weight-body-bold);
10
+ font-weight: var(--font-weight-semi-bold);
12
11
  }
13
12
  }
14
13
 
15
- .money-input__number-input {
14
+ .money-input__number-input{
16
15
  [dir="rtl"] & {
17
16
  text-align: end;
18
17
  }
@@ -27,9 +26,8 @@
27
26
  .form-control {
28
27
  min-height: 34px;
29
28
  }
30
- .np-text-title-subsection,
31
- .wds-text-title-subsection {
32
- font-size: var(--wds-font-size-body);
29
+ .np-text-title-subsection {
30
+ font-size: var(--font-size-14);
33
31
  }
34
32
  }
35
33
 
@@ -37,9 +35,8 @@
37
35
  .form-control {
38
36
  min-height: 53px;
39
37
  }
40
- .np-text-title-subsection,
41
- .wds-text-title-subsection {
42
- font-size: var(--wds-font-size-body-large);
38
+ .np-text-title-subsection {
39
+ font-size: var(--font-size-16);
43
40
  }
44
41
  }
45
42
 
@@ -47,7 +47,7 @@ const sharedProps = {
47
47
 
48
48
  export const TriggerVariants: Story = {
49
49
  render: () => (
50
- <div>
50
+ <>
51
51
  <Field label="Single currency — large (flag + code)">
52
52
  <MoneyInput {...sharedProps} size="lg" currencies={[]} selectedCurrency={eurCurrency} />
53
53
  </Field>
@@ -73,11 +73,9 @@ export const TriggerVariants: Story = {
73
73
  selectedCurrency={eurCurrency}
74
74
  />
75
75
  </Field>
76
- </div>
76
+ </>
77
77
  ),
78
- ...withRTLDiff({
79
- fixedRows: { heights: 'auto' },
80
- }),
78
+ ...withRTLDiff(),
81
79
  };
82
80
 
83
81
  export const OpenDropdown: Story = {
@@ -9,8 +9,8 @@
9
9
  --nudge-container-padding: var(--size-16);
10
10
  --nudge-content-flex-alignment: center;
11
11
  --nudge-title-color: var(--color-content-primary);
12
- --nudge-title-font-weight: var(--wds-font-weight-body-bold);
13
- --nudge-title-line-height: var(--wds-line-height-title-section);
12
+ --nudge-title-font-weight: var(--font-weight-semi-bold);
13
+ --nudge-title-line-height: var(--line-height-title);
14
14
  --nudge-control-width: var(--size-24);
15
15
  --nudge-control-background-color: var(--color-background-neutral);
16
16
  align-items: stretch;
@@ -141,7 +141,7 @@
141
141
  margin: 0;
142
142
  }
143
143
  .wds-nudge-container .wds-nudge-content .wds-nudge-link {
144
- font-weight: var(--wds-font-weight-body-bold);
144
+ font-weight: var(--font-weight-semi-bold);
145
145
  margin-block-start: var(--size-4);
146
146
  -webkit-text-decoration: var(--nudge-link-text-decoration);
147
147
  text-decoration: var(--nudge-link-text-decoration);
@@ -9,8 +9,8 @@
9
9
  --nudge-container-padding: var(--size-16);
10
10
  --nudge-content-flex-alignment: center;
11
11
  --nudge-title-color: var(--color-content-primary);
12
- --nudge-title-font-weight: var(--wds-font-weight-body-bold);
13
- --nudge-title-line-height: var(--wds-line-height-title-section);
12
+ --nudge-title-font-weight: var(--font-weight-semi-bold);
13
+ --nudge-title-line-height: var(--line-height-title);
14
14
  --nudge-control-width: var(--size-24);
15
15
  --nudge-control-background-color: var(--color-background-neutral);
16
16
 
@@ -120,7 +120,7 @@
120
120
  }
121
121
 
122
122
  .wds-nudge-link {
123
- font-weight: var(--wds-font-weight-body-bold);
123
+ font-weight: var(--font-weight-semi-bold);
124
124
  margin-top: var(--size-4);
125
125
  text-decoration: var(--nudge-link-text-decoration);
126
126
  }
@@ -15,7 +15,7 @@ type Story = StoryObj<typeof PhoneNumberInput>;
15
15
 
16
16
  export const Sizes: Story = {
17
17
  render: () => (
18
- <div>
18
+ <>
19
19
  <Field label="Default (md)">
20
20
  <PhoneNumberInput onChange={() => {}} />
21
21
  </Field>
@@ -31,9 +31,9 @@ export const Sizes: Story = {
31
31
  <Field label="With initial value">
32
32
  <PhoneNumberInput initialValue="+447573135343" onChange={() => {}} />
33
33
  </Field>
34
- </div>
34
+ </>
35
35
  ),
36
- ...withRTLDiff({ renderAs: 'iframe', fixedRows: { heights: [7, 6, 8] } }),
36
+ ...withRTLDiff({ renderAs: 'iframe' }),
37
37
  };
38
38
 
39
39
  export const DropdownOpen: Story = {
@@ -22,7 +22,7 @@ const PocketCard = ({ variant }: { variant?: PocketVariant } = {}) => (
22
22
  {variant}
23
23
  </span>
24
24
  )}
25
- <strong className="wds-text-title-screen" style={{ color: 'inherit' }}>
25
+ <strong className="np-text-title-screen" style={{ color: 'inherit' }}>
26
26
  Some headline text
27
27
  </strong>
28
28
  <p style={{ margin: 0 }}>A bit of body copy</p>
@@ -227,7 +227,7 @@ export const ExposedTokens: Story = {
227
227
  <PocketSurface key={variant} pocket={variant}>
228
228
  <div className="p-a-3">
229
229
  <h4
230
- className="d-block m-b-2 text-capitalize wds-text-title-body"
230
+ className="d-block m-b-2 text-capitalize np-text-title-body"
231
231
  style={{ color: 'inherit' }}
232
232
  >
233
233
  {variant}
@@ -1,12 +1,9 @@
1
- .np-popover__container.np-bottom-sheet .np-popover__title {
2
- margin-block-end: initial;
3
- }
4
1
  .np-theme-personal .np-popover__container {
5
2
  border-radius: var(--radius-medium);
6
3
  }
7
4
  .np-popover__container .np-popover__content {
8
5
  color: var(--color-content-secondary);
9
- font-size: var(--wds-font-size-body);
6
+ font-size: var(--font-size-14);
10
7
  }
11
8
  .np-popover__container .np-popover__content p:last-child {
12
9
  margin-block-end: 0;
@@ -20,7 +17,49 @@
20
17
  padding: var(--size-24);
21
18
  }
22
19
  .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;
23
25
  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);
24
63
  }
25
64
  .np-popover__container.np-bottom-sheet .np-popover__content {
26
65
  padding-block: var(--size-32);
@@ -10,7 +10,7 @@
10
10
 
11
11
  .np-popover__content {
12
12
  color: var(--color-content-secondary);
13
- font-size: var(--wds-font-size-body);
13
+ font-size: var(--font-size-14);
14
14
 
15
15
  p:last-child {
16
16
  margin-bottom: 0;
@@ -30,7 +30,7 @@
30
30
 
31
31
  &.np-bottom-sheet {
32
32
  .np-popover__title {
33
- .wds-text-title-section();
33
+ .np-text-title-section();
34
34
  }
35
35
 
36
36
  .np-popover__content {
@@ -1,10 +1,9 @@
1
- .np-progress-bar__title .h4,
2
- .np-progress-bar__title .wds-text-title-body {
1
+ .np-progress-bar__title .h4 {
3
2
  color: var(--color-content-primary);
4
3
  margin-block-end: var(--size-4);
5
4
  }
6
5
  .np-progress-bar p {
7
6
  color: var(--color-content-primary);
8
7
  margin-block-start: var(--size-4);
9
- font-weight: var(--wds-font-weight-body-bold);
8
+ font-weight: var(--font-weight-semi-bold);
10
9
  }
@@ -1,15 +1,14 @@
1
1
  .np-progress-bar {
2
- &__title {
3
- .h4,
4
- .wds-text-title-body {
2
+ &__title {
3
+ .h4 {
4
+ color: var(--color-content-primary);
5
+ margin-bottom: var(--size-4);
6
+ }
7
+ }
8
+
9
+ p {
5
10
  color: var(--color-content-primary);
6
- margin-bottom: var(--size-4);
11
+ margin-top: var(--size-4);
12
+ font-weight: var(--font-weight-semi-bold);
7
13
  }
8
- }
9
-
10
- p {
11
- color: var(--color-content-primary);
12
- margin-top: var(--size-4);
13
- font-weight: var(--wds-font-weight-body-bold);
14
- }
15
- }
14
+ }
@@ -15,7 +15,7 @@ export const RTLDiff: Story = {
15
15
  render: () => {
16
16
  const i18n = useRtlDiffI18n();
17
17
  return (
18
- <div>
18
+ <>
19
19
  <ProgressBar
20
20
  id="progress-bar-with-description"
21
21
  title={i18n.title1}
@@ -29,11 +29,10 @@ export const RTLDiff: Story = {
29
29
  progress={{ value: 800, max: 1000 }}
30
30
  textEnd={i18n.textEnd2}
31
31
  />
32
- </div>
32
+ </>
33
33
  );
34
34
  },
35
35
  ...withRTLDiff({
36
- fixedRows: { heights: 'auto' },
37
36
  i18n: {
38
37
  title1: { en: 'Send 5,550 GBP', ar: 'أرسل ٥٬٥٥٠ جنيه إسترليني' },
39
38
  description: {
@@ -278,7 +278,7 @@ export const RTLDiff: Story = {
278
278
  render: () => {
279
279
  const i18n = useRtlDiffI18n();
280
280
  return (
281
- <div>
281
+ <>
282
282
  <ActionPrompt
283
283
  title={i18n.defaultIconTitle}
284
284
  description={i18n.defaultIconDescription}
@@ -311,11 +311,10 @@ export const RTLDiff: Story = {
311
311
  actionSecondary={{ label: i18n.cancelAction }}
312
312
  onDismiss={() => {}}
313
313
  />
314
- </div>
314
+ </>
315
315
  );
316
316
  },
317
317
  ...withRTLDiff({
318
- fixedRows: { heights: 'auto' },
319
318
  i18n: {
320
319
  defaultIconTitle: { en: 'Default status icon', ar: 'أيقونة الحالة الافتراضية' },
321
320
  defaultIconDescription: {
@@ -485,7 +485,7 @@ export const RTLDiff: Story = {
485
485
  render: () => {
486
486
  const i18n = useRtlDiffI18n();
487
487
  return (
488
- <div>
488
+ <>
489
489
  <CriticalBanner title={i18n.titleOnly} description={i18n.titleOnlyDescription} />
490
490
  <CriticalBanner
491
491
  title={i18n.withPrimaryAction}
@@ -511,11 +511,10 @@ export const RTLDiff: Story = {
511
511
  action={{ label: i18n.connectBank }}
512
512
  actionSecondary={{ label: i18n.learnMore }}
513
513
  />
514
- </div>
514
+ </>
515
515
  );
516
516
  },
517
517
  ...withRTLDiff({
518
- fixedRows: { heights: [10, 12, 12, 13, 13] },
519
518
  renderAs: 'iframe',
520
519
  i18n: {
521
520
  titleOnly: { en: 'Title only', ar: 'العنوان فقط' },
@@ -559,7 +559,7 @@ export const RTLDiff: Story = {
559
559
  render: () => {
560
560
  const i18n = useRtlDiffI18n();
561
561
  return (
562
- <div>
562
+ <>
563
563
  <InfoPrompt description={i18n.basicDescription} />
564
564
  <InfoPrompt title={i18n.withTitleHeading} description={i18n.withTitleDescription} />
565
565
  <InfoPrompt description={i18n.dismissibleDescription} onDismiss={() => {}} />
@@ -579,11 +579,10 @@ export const RTLDiff: Story = {
579
579
  action={{ label: i18n.viewDetails, href: '#' }}
580
580
  onDismiss={() => {}}
581
581
  />
582
- </div>
582
+ </>
583
583
  );
584
584
  },
585
585
  ...withRTLDiff({
586
- fixedRows: { heights: 'auto' },
587
586
  i18n: {
588
587
  basicDescription: { en: 'Basic description only.', ar: 'الوصف الأساسي فقط.' },
589
588
  withTitleHeading: { en: 'With Title', ar: 'مع عنوان' },
@@ -25,7 +25,7 @@ export const RTLDiff: Story = {
25
25
  render: () => {
26
26
  const i18n = useRtlDiffI18n();
27
27
  return (
28
- <div>
28
+ <>
29
29
  {/* default icon at inline-start, auto width */}
30
30
  <InlinePrompt sentiment="positive">{i18n.defaultIcon}</InlinePrompt>
31
31
 
@@ -43,11 +43,10 @@ export const RTLDiff: Story = {
43
43
  <InlinePrompt sentiment="warning" width="full">
44
44
  {i18n.multiLine}
45
45
  </InlinePrompt>
46
- </div>
46
+ </>
47
47
  );
48
48
  },
49
49
  ...withRTLDiff({
50
- fixedRows: { heights: 'auto' },
51
50
  i18n: {
52
51
  defaultIcon: {
53
52
  en: 'Short content with default icon.',
@@ -21,8 +21,7 @@
21
21
  }
22
22
  .wds-prompt__media-wrapper {
23
23
  align-self: flex-start;
24
- align-content: center;
25
- min-block-size: calc(var(--wds-line-height-body) * var(--wds-font-size-body));
24
+ padding-block-start: calc(var(--size-4) - 1px);
26
25
  }
27
26
  .wds-prompt__media-wrapper .tw-icon-tags,
28
27
  .wds-prompt__media-wrapper .tw-icon-confetti {
@@ -22,8 +22,7 @@
22
22
 
23
23
  &__media-wrapper {
24
24
  align-self: flex-start;
25
- align-content: center;
26
- min-height: calc(var(--wds-line-height-body) * var(--wds-font-size-body));
25
+ padding-top: calc(var(--size-4) - 1px);
27
26
 
28
27
  .tw-icon-tags,
29
28
  .tw-icon-confetti {
@@ -564,7 +564,7 @@ export const ExposedTokens: Story = {
564
564
  }}
565
565
  >
566
566
  <h4
567
- className="d-block m-b-2 text-capitalize wds-text-title-body"
567
+ className="d-block m-b-2 text-capitalize np-text-title-body"
568
568
  style={{
569
569
  color: 'inherit',
570
570
  }}
@@ -15,7 +15,7 @@
15
15
  align-items: center;
16
16
  justify-content: space-between;
17
17
  text-align: start;
18
- font-size: var(--wds-font-size-body);
18
+ font-size: var(--font-size-14);
19
19
  margin-block: 0;
20
20
  margin-inline: var(--size-16);
21
21
  padding-block: var(--size-8);
@@ -21,7 +21,7 @@
21
21
  justify-content: space-between;
22
22
  text-align: left;
23
23
 
24
- font-size: var(--wds-font-size-body);
24
+ font-size: var(--font-size-14);
25
25
  margin: 0 var(--size-16);
26
26
  padding: var(--size-8) var(--size-16);
27
27
  width: calc(100% - var(--size-32));
@@ -73,7 +73,7 @@ const Stepper = ({ steps, activeStep = 0, className, testId }: StepperProps) =>
73
73
  className={clsx(
74
74
  'hidden-xs',
75
75
  'tw-stepper__step',
76
- active ? 'wds-text-body-default-bold tw-stepper__step--active' : 'wds-text-body-default',
76
+ active ? 'np-text-body-default-bold tw-stepper__step--active' : 'np-text-body-default',
77
77
  clickable && 'tw-stepper__step--clickable',
78
78
  step.hoverLabel && 'tw-stepper__step--has-tooltip',
79
79
  )}
@@ -50,7 +50,7 @@ const TableHeader = ({
50
50
  // If headers are empty, we still should render empty headers to keep visual consistency
51
51
  return (
52
52
  <div
53
- className="np-table-header-content wds-text-body-default-bold"
53
+ className="np-table-header-content np-text-body-default-bold"
54
54
  data-testid="np-table-empty-header"
55
55
  >
56
56
  &nbsp;
@@ -13,7 +13,7 @@ describe('TableStatusText Component', () => {
13
13
  it('renders the text and applies the default class', () => {
14
14
  renderComponent();
15
15
  expect(screen.getByText('Status Text')).toBeInTheDocument();
16
- expect(screen.getByText('Status Text')).toHaveClass('wds-text-body-default');
16
+ expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default');
17
17
  });
18
18
 
19
19
  it('applies the custom class name', () => {
@@ -23,12 +23,12 @@ describe('TableStatusText Component', () => {
23
23
 
24
24
  it('applies the default typography class when typography is not provided', () => {
25
25
  renderComponent();
26
- expect(screen.getByText('Status Text')).toHaveClass('wds-text-body-default');
26
+ expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default');
27
27
  });
28
28
 
29
29
  it('applies the typography class when typography equals `default-bold`', () => {
30
30
  renderComponent({ typography: 'default-bold' });
31
- expect(screen.getByText('Status Text')).toHaveClass('wds-text-body-default-bold');
31
+ expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default-bold');
32
32
  });
33
33
 
34
34
  it('does not render any icon when status is not provided', () => {
@@ -39,14 +39,14 @@ describe('TableStatusText Component', () => {
39
39
 
40
40
  it('applies the typography and status classes, renders the error icon when status equals `error`', () => {
41
41
  renderComponent({ status: 'error' });
42
- expect(screen.getByText('Status Text')).toHaveClass('wds-text-body-default-bold');
42
+ expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default-bold');
43
43
  expect(screen.getByText('Status Text')).toHaveClass('np-table-content--error');
44
44
  expect(screen.getByTestId('alert-icon')).toBeInTheDocument();
45
45
  });
46
46
 
47
47
  it('applies the typography and status classes, renders the success icon when status equals `success`', () => {
48
48
  renderComponent({ status: 'success' });
49
- expect(screen.getByText('Status Text')).toHaveClass('wds-text-body-default-bold');
49
+ expect(screen.getByText('Status Text')).toHaveClass('np-text-body-default-bold');
50
50
  expect(screen.getByText('Status Text')).toHaveClass('np-table-content--success');
51
51
  expect(screen.getByTestId('check-icon')).toBeInTheDocument();
52
52
  });
@@ -37,16 +37,10 @@
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,
41
- right center,
42
- left center,
43
- right center;
40
+ background-position: left center, right center, left center, right center;
44
41
  background-repeat: no-repeat;
45
42
  background-color: var(--color-contrast-overlay);
46
- background-size: 15px 100%,
47
- 15px 100%,
48
- 15px 100%,
49
- 15px 100%;
43
+ background-size: 15px 100%, 15px 100%, 15px 100%, 15px 100%;
50
44
  background-attachment: local, local, scroll, scroll;
51
45
  overflow-x: auto;
52
46
  border-radius: 10px;
@@ -136,9 +130,7 @@
136
130
  padding-inline-end: 0;
137
131
  }
138
132
  .np-table-header.np-table-header--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 {
133
+ .np-table-cell.np-table-cell--right > .np-text-body-default {
142
134
  text-align: end;
143
135
  }
144
136
  .np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
@@ -167,8 +159,8 @@
167
159
  padding-block-start: 5px;
168
160
  padding-block-end: 5px;
169
161
  white-space: nowrap;
170
- line-height: var(--wds-line-height-title-subsection);
171
- letter-spacing: var(--wds-letter-spacing-title-subsection);
162
+ line-height: var(--line-height-22);
163
+ letter-spacing: var(--letter-spacing-sm);
172
164
  }
173
165
  .np-table-header--error {
174
166
  color: var(--color-sentiment-negative);
@@ -188,8 +180,7 @@
188
180
  .np-table-cell--primary {
189
181
  min-inline-size: 200px;
190
182
  }
191
- .np-table-cell--currency .np-text-body-default,
192
- .np-table-cell--currency .wds-text-body-default {
183
+ .np-table-cell--currency .np-text-body-default {
193
184
  white-space: nowrap;
194
185
  }
195
186
  .np-table-cell .tw-chevron {
@@ -202,8 +193,7 @@
202
193
  background-color: var(--color-background-neutral);
203
194
  padding: 0;
204
195
  }
205
- .np-table-cell .np-text-body-default-bold,
206
- .np-table-cell .wds-text-body-default-bold {
196
+ .np-table-cell .np-text-body-default-bold {
207
197
  display: flex;
208
198
  align-items: center;
209
199
  color: var(--color-content-primary);
@@ -242,7 +232,7 @@
242
232
  .np-table-content-body {
243
233
  display: flex;
244
234
  flex-direction: column;
245
- font-size: var(--wds-font-size-nav);
235
+ font-size: var(--font-size-12);
246
236
  color: var(--color-content-tertiary);
247
237
  }
248
238
  .np-table-content--reversed {