@transferwise/components 0.0.0-experimental-9f96230 → 0.0.0-experimental-9b505c9

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 (417) hide show
  1. package/build/accordion/AccordionItem/AccordionItem.js +22 -3
  2. package/build/accordion/AccordionItem/AccordionItem.js.map +1 -1
  3. package/build/accordion/AccordionItem/AccordionItem.mjs +22 -3
  4. package/build/accordion/AccordionItem/AccordionItem.mjs.map +1 -1
  5. package/build/actionButton/ActionButton.js +22 -1
  6. package/build/actionButton/ActionButton.js.map +1 -1
  7. package/build/actionButton/ActionButton.mjs +22 -1
  8. package/build/actionButton/ActionButton.mjs.map +1 -1
  9. package/build/actionOption/ActionOption.js +24 -2
  10. package/build/actionOption/ActionOption.js.map +1 -1
  11. package/build/actionOption/ActionOption.mjs +24 -2
  12. package/build/actionOption/ActionOption.mjs.map +1 -1
  13. package/build/alert/Alert.js +21 -5
  14. package/build/alert/Alert.js.map +1 -1
  15. package/build/alert/Alert.mjs +21 -5
  16. package/build/alert/Alert.mjs.map +1 -1
  17. package/build/alert/inlineMarkdown/InlineMarkdown.js +25 -2
  18. package/build/alert/inlineMarkdown/InlineMarkdown.js.map +1 -1
  19. package/build/alert/inlineMarkdown/InlineMarkdown.mjs +25 -2
  20. package/build/alert/inlineMarkdown/InlineMarkdown.mjs.map +1 -1
  21. package/build/avatar/Avatar.js +25 -9
  22. package/build/avatar/Avatar.js.map +1 -1
  23. package/build/avatar/Avatar.mjs +25 -9
  24. package/build/avatar/Avatar.mjs.map +1 -1
  25. package/build/avatarWrapper/AvatarWrapper.js +23 -3
  26. package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
  27. package/build/avatarWrapper/AvatarWrapper.mjs +23 -3
  28. package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
  29. package/build/badge/Badge.js +24 -12
  30. package/build/badge/Badge.js.map +1 -1
  31. package/build/badge/Badge.mjs +24 -12
  32. package/build/badge/Badge.mjs.map +1 -1
  33. package/build/button/Button.js +22 -3
  34. package/build/button/Button.js.map +1 -1
  35. package/build/button/Button.mjs +22 -3
  36. package/build/button/Button.mjs.map +1 -1
  37. package/build/button/classMap.js +24 -0
  38. package/build/button/classMap.js.map +1 -1
  39. package/build/button/classMap.mjs +24 -0
  40. package/build/button/classMap.mjs.map +1 -1
  41. package/build/button/legacyUtils/legacyUtils.js +24 -2
  42. package/build/button/legacyUtils/legacyUtils.js.map +1 -1
  43. package/build/button/legacyUtils/legacyUtils.mjs +24 -2
  44. package/build/button/legacyUtils/legacyUtils.mjs.map +1 -1
  45. package/build/card/Card.js +23 -3
  46. package/build/card/Card.js.map +1 -1
  47. package/build/card/Card.mjs +23 -3
  48. package/build/card/Card.mjs.map +1 -1
  49. package/build/checkbox/Checkbox.js +23 -1
  50. package/build/checkbox/Checkbox.js.map +1 -1
  51. package/build/checkbox/Checkbox.mjs +23 -1
  52. package/build/checkbox/Checkbox.mjs.map +1 -1
  53. package/build/chevron/Chevron.js +21 -1
  54. package/build/chevron/Chevron.js.map +1 -1
  55. package/build/chevron/Chevron.mjs +21 -1
  56. package/build/chevron/Chevron.mjs.map +1 -1
  57. package/build/chips/Chip.js +19 -1
  58. package/build/chips/Chip.js.map +1 -1
  59. package/build/chips/Chip.mjs +19 -1
  60. package/build/chips/Chip.mjs.map +1 -1
  61. package/build/circularButton/CircularButton.js +24 -5
  62. package/build/circularButton/CircularButton.js.map +1 -1
  63. package/build/circularButton/CircularButton.mjs +24 -5
  64. package/build/circularButton/CircularButton.mjs.map +1 -1
  65. package/build/common/bottomSheet/BottomSheet.js +3 -2
  66. package/build/common/bottomSheet/BottomSheet.js.map +1 -1
  67. package/build/common/bottomSheet/BottomSheet.mjs +3 -2
  68. package/build/common/bottomSheet/BottomSheet.mjs.map +1 -1
  69. package/build/common/circle/Circle.js +15 -2
  70. package/build/common/circle/Circle.js.map +1 -1
  71. package/build/common/circle/Circle.mjs +15 -2
  72. package/build/common/circle/Circle.mjs.map +1 -1
  73. package/build/common/hooks/useHasIntersected/useHasIntersected.js +10 -10
  74. package/build/common/hooks/useHasIntersected/useHasIntersected.js.map +1 -1
  75. package/build/common/hooks/useHasIntersected/useHasIntersected.mjs +10 -10
  76. package/build/common/hooks/useHasIntersected/useHasIntersected.mjs.map +1 -1
  77. package/build/common/locale/index.js +24 -0
  78. package/build/common/locale/index.js.map +1 -1
  79. package/build/common/locale/index.mjs +24 -0
  80. package/build/common/locale/index.mjs.map +1 -1
  81. package/build/common/panel/Panel.js +23 -2
  82. package/build/common/panel/Panel.js.map +1 -1
  83. package/build/common/panel/Panel.mjs +23 -2
  84. package/build/common/panel/Panel.mjs.map +1 -1
  85. package/build/common/responsivePanel/ResponsivePanel.js +27 -3
  86. package/build/common/responsivePanel/ResponsivePanel.js.map +1 -1
  87. package/build/common/responsivePanel/ResponsivePanel.mjs +27 -3
  88. package/build/common/responsivePanel/ResponsivePanel.mjs.map +1 -1
  89. package/build/criticalBanner/CriticalCommsBanner.js +22 -3
  90. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  91. package/build/criticalBanner/CriticalCommsBanner.mjs +22 -3
  92. package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
  93. package/build/dateInput/DateInput.js +22 -5
  94. package/build/dateInput/DateInput.js.map +1 -1
  95. package/build/dateInput/DateInput.mjs +22 -5
  96. package/build/dateInput/DateInput.mjs.map +1 -1
  97. package/build/dateLookup/DateLookup.js +24 -6
  98. package/build/dateLookup/DateLookup.js.map +1 -1
  99. package/build/dateLookup/DateLookup.mjs +24 -6
  100. package/build/dateLookup/DateLookup.mjs.map +1 -1
  101. package/build/dateLookup/dateHeader/DateHeader.js +26 -5
  102. package/build/dateLookup/dateHeader/DateHeader.js.map +1 -1
  103. package/build/dateLookup/dateHeader/DateHeader.mjs +26 -5
  104. package/build/dateLookup/dateHeader/DateHeader.mjs.map +1 -1
  105. package/build/dateLookup/dateTrigger/DateTrigger.js +19 -3
  106. package/build/dateLookup/dateTrigger/DateTrigger.js.map +1 -1
  107. package/build/dateLookup/dateTrigger/DateTrigger.mjs +19 -3
  108. package/build/dateLookup/dateTrigger/DateTrigger.mjs.map +1 -1
  109. package/build/decision/Decision.js +24 -3
  110. package/build/decision/Decision.js.map +1 -1
  111. package/build/decision/Decision.mjs +24 -3
  112. package/build/decision/Decision.mjs.map +1 -1
  113. package/build/definitionList/DefinitionList.js +23 -1
  114. package/build/definitionList/DefinitionList.js.map +1 -1
  115. package/build/definitionList/DefinitionList.mjs +23 -1
  116. package/build/definitionList/DefinitionList.mjs.map +1 -1
  117. package/build/dimmer/Dimmer.js +24 -2
  118. package/build/dimmer/Dimmer.js.map +1 -1
  119. package/build/dimmer/Dimmer.mjs +24 -2
  120. package/build/dimmer/Dimmer.mjs.map +1 -1
  121. package/build/display/Display.js +23 -1
  122. package/build/display/Display.js.map +1 -1
  123. package/build/display/Display.mjs +23 -1
  124. package/build/display/Display.mjs.map +1 -1
  125. package/build/drawer/Drawer.js +22 -3
  126. package/build/drawer/Drawer.js.map +1 -1
  127. package/build/drawer/Drawer.mjs +22 -3
  128. package/build/drawer/Drawer.mjs.map +1 -1
  129. package/build/field/Field.js +23 -2
  130. package/build/field/Field.js.map +1 -1
  131. package/build/field/Field.mjs +23 -2
  132. package/build/field/Field.mjs.map +1 -1
  133. package/build/flowNavigation/FlowNavigation.js +19 -2
  134. package/build/flowNavigation/FlowNavigation.js.map +1 -1
  135. package/build/flowNavigation/FlowNavigation.mjs +19 -2
  136. package/build/flowNavigation/FlowNavigation.mjs.map +1 -1
  137. package/build/header/Header.js +24 -2
  138. package/build/header/Header.js.map +1 -1
  139. package/build/header/Header.mjs +24 -2
  140. package/build/header/Header.mjs.map +1 -1
  141. package/build/i18n/en.json +0 -5
  142. package/build/i18n/en.json.js +0 -5
  143. package/build/i18n/en.json.js.map +1 -1
  144. package/build/i18n/en.json.mjs +0 -5
  145. package/build/i18n/en.json.mjs.map +1 -1
  146. package/build/image/Image.js +4 -1
  147. package/build/image/Image.js.map +1 -1
  148. package/build/image/Image.mjs +4 -1
  149. package/build/image/Image.mjs.map +1 -1
  150. package/build/index.js +69 -62
  151. package/build/index.js.map +1 -1
  152. package/build/index.mjs +27 -20
  153. package/build/index.mjs.map +1 -1
  154. package/build/info/Info.js +21 -3
  155. package/build/info/Info.js.map +1 -1
  156. package/build/info/Info.mjs +21 -3
  157. package/build/info/Info.mjs.map +1 -1
  158. package/build/inlineAlert/InlineAlert.js +24 -3
  159. package/build/inlineAlert/InlineAlert.js.map +1 -1
  160. package/build/inlineAlert/InlineAlert.mjs +24 -3
  161. package/build/inlineAlert/InlineAlert.mjs.map +1 -1
  162. package/build/inputs/SearchInput.js +23 -2
  163. package/build/inputs/SearchInput.js.map +1 -1
  164. package/build/inputs/SearchInput.mjs +23 -2
  165. package/build/inputs/SearchInput.mjs.map +1 -1
  166. package/build/instructionsList/InstructionsList.js +22 -1
  167. package/build/instructionsList/InstructionsList.js.map +1 -1
  168. package/build/instructionsList/InstructionsList.mjs +22 -1
  169. package/build/instructionsList/InstructionsList.mjs.map +1 -1
  170. package/build/loader/Loader.js +22 -1
  171. package/build/loader/Loader.js.map +1 -1
  172. package/build/loader/Loader.mjs +22 -1
  173. package/build/loader/Loader.mjs.map +1 -1
  174. package/build/main.css +46 -322
  175. package/build/markdown/Markdown.js +24 -1
  176. package/build/markdown/Markdown.js.map +1 -1
  177. package/build/markdown/Markdown.mjs +24 -1
  178. package/build/markdown/Markdown.mjs.map +1 -1
  179. package/build/modal/Modal.js +22 -5
  180. package/build/modal/Modal.js.map +1 -1
  181. package/build/modal/Modal.mjs +22 -5
  182. package/build/modal/Modal.mjs.map +1 -1
  183. package/build/moneyInput/MoneyInput.js +22 -3
  184. package/build/moneyInput/MoneyInput.js.map +1 -1
  185. package/build/moneyInput/MoneyInput.mjs +22 -3
  186. package/build/moneyInput/MoneyInput.mjs.map +1 -1
  187. package/build/navigationOption/NavigationOption.js +23 -2
  188. package/build/navigationOption/NavigationOption.js.map +1 -1
  189. package/build/navigationOption/NavigationOption.mjs +23 -2
  190. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  191. package/build/nudge/Nudge.js +19 -1
  192. package/build/nudge/Nudge.js.map +1 -1
  193. package/build/nudge/Nudge.mjs +19 -1
  194. package/build/nudge/Nudge.mjs.map +1 -1
  195. package/build/overlayHeader/OverlayHeader.js +19 -1
  196. package/build/overlayHeader/OverlayHeader.js.map +1 -1
  197. package/build/overlayHeader/OverlayHeader.mjs +19 -1
  198. package/build/overlayHeader/OverlayHeader.mjs.map +1 -1
  199. package/build/phoneNumberInput/PhoneNumberInput.js +23 -2
  200. package/build/phoneNumberInput/PhoneNumberInput.js.map +1 -1
  201. package/build/phoneNumberInput/PhoneNumberInput.mjs +23 -2
  202. package/build/phoneNumberInput/PhoneNumberInput.mjs.map +1 -1
  203. package/build/popover/Popover.js +24 -4
  204. package/build/popover/Popover.js.map +1 -1
  205. package/build/popover/Popover.mjs +24 -4
  206. package/build/popover/Popover.mjs.map +1 -1
  207. package/build/processIndicator/ProcessIndicator.js +22 -1
  208. package/build/processIndicator/ProcessIndicator.js.map +1 -1
  209. package/build/processIndicator/ProcessIndicator.mjs +22 -1
  210. package/build/processIndicator/ProcessIndicator.mjs.map +1 -1
  211. package/build/progressBar/ProgressBar.js +24 -2
  212. package/build/progressBar/ProgressBar.js.map +1 -1
  213. package/build/progressBar/ProgressBar.mjs +24 -2
  214. package/build/progressBar/ProgressBar.mjs.map +1 -1
  215. package/build/promoCard/PromoCard.js +22 -2
  216. package/build/promoCard/PromoCard.js.map +1 -1
  217. package/build/promoCard/PromoCard.mjs +22 -2
  218. package/build/promoCard/PromoCard.mjs.map +1 -1
  219. package/build/promoCard/PromoCardIndicator.js +22 -1
  220. package/build/promoCard/PromoCardIndicator.js.map +1 -1
  221. package/build/promoCard/PromoCardIndicator.mjs +22 -1
  222. package/build/promoCard/PromoCardIndicator.mjs.map +1 -1
  223. package/build/provider/Provider.js +25 -2
  224. package/build/provider/Provider.js.map +1 -1
  225. package/build/provider/Provider.mjs +25 -2
  226. package/build/provider/Provider.mjs.map +1 -1
  227. package/build/radio/Radio.js +24 -2
  228. package/build/radio/Radio.js.map +1 -1
  229. package/build/radio/Radio.mjs +24 -2
  230. package/build/radio/Radio.mjs.map +1 -1
  231. package/build/segmentedControl/SegmentedControl.js +22 -1
  232. package/build/segmentedControl/SegmentedControl.js.map +1 -1
  233. package/build/segmentedControl/SegmentedControl.mjs +22 -1
  234. package/build/segmentedControl/SegmentedControl.mjs.map +1 -1
  235. package/build/select/Select.js +26 -4
  236. package/build/select/Select.js.map +1 -1
  237. package/build/select/Select.mjs +26 -4
  238. package/build/select/Select.mjs.map +1 -1
  239. package/build/select/option/Option.js +22 -1
  240. package/build/select/option/Option.js.map +1 -1
  241. package/build/select/option/Option.mjs +22 -1
  242. package/build/select/option/Option.mjs.map +1 -1
  243. package/build/selectOption/SelectOption.js +24 -6
  244. package/build/selectOption/SelectOption.js.map +1 -1
  245. package/build/selectOption/SelectOption.mjs +24 -6
  246. package/build/selectOption/SelectOption.mjs.map +1 -1
  247. package/build/statusIcon/StatusIcon.js +26 -8
  248. package/build/statusIcon/StatusIcon.js.map +1 -1
  249. package/build/statusIcon/StatusIcon.mjs +26 -8
  250. package/build/statusIcon/StatusIcon.mjs.map +1 -1
  251. package/build/stepper/Stepper.js +25 -3
  252. package/build/stepper/Stepper.js.map +1 -1
  253. package/build/stepper/Stepper.mjs +25 -3
  254. package/build/stepper/Stepper.mjs.map +1 -1
  255. package/build/sticky/Sticky.js +25 -2
  256. package/build/sticky/Sticky.js.map +1 -1
  257. package/build/sticky/Sticky.mjs +25 -2
  258. package/build/sticky/Sticky.mjs.map +1 -1
  259. package/build/styles/avatar/Avatar.css +29 -0
  260. package/build/styles/badge/Badge.css +6 -0
  261. package/build/styles/circularButton/CircularButton.css +2 -2
  262. package/build/styles/common/circle/Circle.css +4 -0
  263. package/build/styles/main.css +46 -322
  264. package/build/styles/statusIcon/StatusIcon.css +0 -20
  265. package/build/summary/Summary.js +21 -5
  266. package/build/summary/Summary.js.map +1 -1
  267. package/build/summary/Summary.mjs +21 -5
  268. package/build/summary/Summary.mjs.map +1 -1
  269. package/build/tabs/Tabs.js +23 -3
  270. package/build/tabs/Tabs.js.map +1 -1
  271. package/build/tabs/Tabs.mjs +23 -3
  272. package/build/tabs/Tabs.mjs.map +1 -1
  273. package/build/tile/Tile.js +24 -2
  274. package/build/tile/Tile.js.map +1 -1
  275. package/build/tile/Tile.mjs +24 -2
  276. package/build/tile/Tile.mjs.map +1 -1
  277. package/build/title/Title.js +23 -1
  278. package/build/title/Title.js.map +1 -1
  279. package/build/title/Title.mjs +23 -1
  280. package/build/title/Title.mjs.map +1 -1
  281. package/build/tooltip/Tooltip.js +22 -1
  282. package/build/tooltip/Tooltip.js.map +1 -1
  283. package/build/tooltip/Tooltip.mjs +22 -1
  284. package/build/tooltip/Tooltip.mjs.map +1 -1
  285. package/build/typeahead/Typeahead.js +22 -4
  286. package/build/typeahead/Typeahead.js.map +1 -1
  287. package/build/typeahead/Typeahead.mjs +22 -4
  288. package/build/typeahead/Typeahead.mjs.map +1 -1
  289. package/build/types/avatar/Avatar.d.ts.map +1 -1
  290. package/build/types/badge/Badge.d.ts.map +1 -1
  291. package/build/types/common/circle/Circle.d.ts +1 -1
  292. package/build/types/common/circle/Circle.d.ts.map +1 -1
  293. package/build/types/common/fakeEvents.d.ts +23 -0
  294. package/build/types/common/fakeEvents.d.ts.map +1 -0
  295. package/build/types/common/hooks/index.d.ts +4 -4
  296. package/build/types/common/hooks/index.d.ts.map +1 -1
  297. package/build/types/common/hooks/useConditionalListener/index.d.ts +1 -1
  298. package/build/types/common/hooks/useConditionalListener/index.d.ts.map +1 -1
  299. package/build/types/common/hooks/useDirection/index.d.ts +1 -1
  300. package/build/types/common/hooks/useDirection/index.d.ts.map +1 -1
  301. package/build/types/common/hooks/useHasIntersected/index.d.ts +1 -1
  302. package/build/types/common/hooks/useHasIntersected/index.d.ts.map +1 -1
  303. package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts +15 -4
  304. package/build/types/common/hooks/useHasIntersected/useHasIntersected.d.ts.map +1 -1
  305. package/build/types/common/index.d.ts +28 -28
  306. package/build/types/common/index.d.ts.map +1 -1
  307. package/build/types/common/responsivePanel/index.d.ts +1 -1
  308. package/build/types/common/responsivePanel/index.d.ts.map +1 -1
  309. package/build/types/index.d.ts +1 -0
  310. package/build/types/index.d.ts.map +1 -1
  311. package/build/types/navigationOption/NavigationOption.d.ts +1 -0
  312. package/build/types/navigationOption/NavigationOption.d.ts.map +1 -1
  313. package/build/types/statusIcon/StatusIcon.d.ts +7 -3
  314. package/build/types/statusIcon/StatusIcon.d.ts.map +1 -1
  315. package/build/upload/Upload.js +21 -2
  316. package/build/upload/Upload.js.map +1 -1
  317. package/build/upload/Upload.mjs +21 -2
  318. package/build/upload/Upload.mjs.map +1 -1
  319. package/build/upload/steps/processingStep/processingStep.js +25 -3
  320. package/build/upload/steps/processingStep/processingStep.js.map +1 -1
  321. package/build/upload/steps/processingStep/processingStep.mjs +25 -3
  322. package/build/upload/steps/processingStep/processingStep.mjs.map +1 -1
  323. package/build/upload/steps/uploadImageStep/uploadImageStep.js +23 -3
  324. package/build/upload/steps/uploadImageStep/uploadImageStep.js.map +1 -1
  325. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs +23 -3
  326. package/build/upload/steps/uploadImageStep/uploadImageStep.mjs.map +1 -1
  327. package/build/uploadInput/UploadInput.js +22 -3
  328. package/build/uploadInput/UploadInput.js.map +1 -1
  329. package/build/uploadInput/UploadInput.mjs +22 -3
  330. package/build/uploadInput/UploadInput.mjs.map +1 -1
  331. package/build/uploadInput/uploadButton/UploadButton.js +21 -2
  332. package/build/uploadInput/uploadButton/UploadButton.js.map +1 -1
  333. package/build/uploadInput/uploadButton/UploadButton.mjs +21 -2
  334. package/build/uploadInput/uploadButton/UploadButton.mjs.map +1 -1
  335. package/build/uploadInput/uploadButton/defaults.js +24 -0
  336. package/build/uploadInput/uploadButton/defaults.js.map +1 -1
  337. package/build/uploadInput/uploadButton/defaults.mjs +24 -0
  338. package/build/uploadInput/uploadButton/defaults.mjs.map +1 -1
  339. package/build/uploadInput/uploadItem/UploadItem.js +21 -4
  340. package/build/uploadInput/uploadItem/UploadItem.js.map +1 -1
  341. package/build/uploadInput/uploadItem/UploadItem.mjs +21 -4
  342. package/build/uploadInput/uploadItem/UploadItem.mjs.map +1 -1
  343. package/build/withDisplayFormat/WithDisplayFormat.js +25 -1
  344. package/build/withDisplayFormat/WithDisplayFormat.js.map +1 -1
  345. package/build/withDisplayFormat/WithDisplayFormat.mjs +25 -1
  346. package/build/withDisplayFormat/WithDisplayFormat.mjs.map +1 -1
  347. package/package.json +3 -3
  348. package/src/avatar/Avatar.css +29 -0
  349. package/src/avatar/Avatar.less +12 -0
  350. package/src/avatar/Avatar.tsx +4 -8
  351. package/src/avatarWrapper/__snapshots__/AvatarWrapper.spec.tsx.snap +11 -22
  352. package/src/badge/Badge.css +6 -0
  353. package/src/badge/Badge.less +6 -0
  354. package/src/badge/Badge.tsx +1 -11
  355. package/src/circularButton/CircularButton.css +2 -2
  356. package/src/circularButton/CircularButton.less +1 -1
  357. package/src/circularButton/CircularButton.story.tsx +3 -0
  358. package/src/circularButton/CircularButton.tsx +1 -1
  359. package/src/circularButton/__snapshots__/CircularButton.spec.tsx.snap +10 -10
  360. package/src/common/circle/Circle.css +4 -0
  361. package/src/common/circle/Circle.less +6 -0
  362. package/src/common/circle/Circle.story.tsx +2 -2
  363. package/src/common/circle/Circle.tsx +25 -2
  364. package/src/common/{fakeEvents.js → fakeEvents.ts} +1 -1
  365. package/src/common/hooks/useHasIntersected/{useHasIntersected.js → useHasIntersected.ts} +20 -11
  366. package/src/flowNavigation/__snapshots__/FlowNavigation.spec.js.snap +4 -8
  367. package/src/i18n/en.json +0 -5
  368. package/src/index.ts +1 -0
  369. package/src/main.css +46 -322
  370. package/src/main.less +0 -1
  371. package/src/navigationOption/{NavigationOption.story.js → NavigationOption.story.tsx} +23 -5
  372. package/src/navigationOption/NavigationOption.tsx +1 -1
  373. package/src/overlayHeader/__snapshots__/OverlayHeader.spec.tsx.snap +2 -4
  374. package/src/promoCard/PromoCard.spec.tsx +1 -1
  375. package/src/radio/__snapshots__/Radio.rtl.spec.tsx.snap +2 -4
  376. package/src/statusIcon/StatusIcon.css +0 -20
  377. package/src/statusIcon/StatusIcon.less +0 -17
  378. package/src/statusIcon/StatusIcon.spec.tsx +2 -21
  379. package/src/statusIcon/StatusIcon.story.tsx +32 -1
  380. package/src/statusIcon/StatusIcon.tsx +11 -10
  381. package/build/styles/table/Table.css +0 -300
  382. package/build/types/table/Table.d.ts +0 -24
  383. package/build/types/table/Table.d.ts.map +0 -1
  384. package/build/types/table/Table.messages.d.ts +0 -24
  385. package/build/types/table/Table.messages.d.ts.map +0 -1
  386. package/build/types/table/TableCell.d.ts +0 -44
  387. package/build/types/table/TableCell.d.ts.map +0 -1
  388. package/build/types/table/TableHeader.d.ts +0 -13
  389. package/build/types/table/TableHeader.d.ts.map +0 -1
  390. package/build/types/table/TableRow.d.ts +0 -17
  391. package/build/types/table/TableRow.d.ts.map +0 -1
  392. package/build/types/table/TableStatusText.d.ts +0 -9
  393. package/build/types/table/TableStatusText.d.ts.map +0 -1
  394. package/build/types/table/index.d.ts +0 -6
  395. package/build/types/table/index.d.ts.map +0 -1
  396. package/src/common/requirements.js +0 -440
  397. package/src/table/Table.css +0 -300
  398. package/src/table/Table.less +0 -361
  399. package/src/table/Table.messages.ts +0 -24
  400. package/src/table/Table.spec.tsx +0 -89
  401. package/src/table/Table.story.tsx +0 -364
  402. package/src/table/Table.tsx +0 -167
  403. package/src/table/TableCell.spec.tsx +0 -304
  404. package/src/table/TableCell.tsx +0 -170
  405. package/src/table/TableHeader.spec.tsx +0 -55
  406. package/src/table/TableHeader.tsx +0 -75
  407. package/src/table/TableRow.spec.tsx +0 -117
  408. package/src/table/TableRow.tsx +0 -67
  409. package/src/table/TableStatusText.spec.tsx +0 -53
  410. package/src/table/TableStatusText.tsx +0 -36
  411. package/src/table/index.ts +0 -11
  412. /package/src/common/hooks/{index.js → index.ts} +0 -0
  413. /package/src/common/hooks/useConditionalListener/{index.js → index.ts} +0 -0
  414. /package/src/common/hooks/useDirection/{index.js → index.ts} +0 -0
  415. /package/src/common/hooks/useHasIntersected/{index.js → index.ts} +0 -0
  416. /package/src/common/{index.js → index.ts} +0 -0
  417. /package/src/common/responsivePanel/{index.js → index.ts} +0 -0
@@ -1,6 +1,29 @@
1
- import SlidingPanel from '../slidingPanel/SlidingPanel.mjs';
2
- import { jsx } from 'react/jsx-runtime';
1
+ import '../common/theme.mjs';
2
+ import '../common/direction.mjs';
3
+ import '../common/propsValues/control.mjs';
4
+ import '../common/propsValues/breakpoint.mjs';
5
+ import '../common/propsValues/size.mjs';
6
+ import '../common/propsValues/typography.mjs';
7
+ import '../common/propsValues/width.mjs';
8
+ import '../common/propsValues/type.mjs';
9
+ import '../common/propsValues/dateMode.mjs';
10
+ import '../common/propsValues/monthFormat.mjs';
3
11
  import { Position } from '../common/propsValues/position.mjs';
12
+ import '../common/propsValues/layouts.mjs';
13
+ import '../common/propsValues/status.mjs';
14
+ import '../common/propsValues/sentiment.mjs';
15
+ import '../common/propsValues/profileType.mjs';
16
+ import '../common/propsValues/variant.mjs';
17
+ import '../common/propsValues/scroll.mjs';
18
+ import '../common/propsValues/markdownNodeType.mjs';
19
+ import '../common/fileType.mjs';
20
+ import '@transferwise/icons';
21
+ import 'clsx';
22
+ import 'react';
23
+ import 'react-intl';
24
+ import '../common/closeButton/CloseButton.messages.mjs';
25
+ import { jsx } from 'react/jsx-runtime';
26
+ import SlidingPanel from '../slidingPanel/SlidingPanel.mjs';
4
27
 
5
28
  const Sticky = ({
6
29
  children,
@@ -1 +1 @@
1
- {"version":3,"file":"Sticky.mjs","sources":["../../src/sticky/Sticky.tsx"],"sourcesContent":["import { Position } from '../common';\nimport SlidingPanel from '../slidingPanel';\nimport { FunctionComponent } from 'react';\n\nexport interface StickyProps {\n /** Optional prop for children components to be rendered inside the Sticky component. */\n children?: React.ReactNode;\n\n /** Optional props that determines if the Sticky component is open or closed. Default value is `true`. */\n open?: boolean;\n\n /** Optional props that specifies the position of the Sticky component on the screen. Can be either `top` or `bottom`. */\n position?: `${Position.TOP}` | `${Position.BOTTOM}`;\n\n /** Optional prop to specify the ID used for testing */\n testId?: string;\n}\n\n/**\n * ### Sticky Component\n *\n * `<Sticky />` is a component that renders a `<SlidingPanel />` with specified props.\n * It uses the `<SlidingPanel />` component to create a panel that can slide in and out of view,\n * based on the `open` prop. It can be positioned at the top or bottom of the container,\n * as specified by the `position` prop.\n *\n * @component\n * @param {ReactNode} children - Children content.\n * @param {boolean} open - Determines if the Sticky component is open or closed.\n * @param {('top'|'bottom')} position - Specifies the position.\n * @param {string} testId - ID used for testing.\n * @returns {React.JSX.Element} The `SlidingPanel` component with applied props.\n * @example\n * <Button onClick={() => setOpen(!open)}>Open Sticky</Button>\n * <Sticky open={open} position={'bottom'}>\n * <div>\n * <Button onClick={() => setOpen(!open)}>Close Sticky</Button>\n * </div>\n * </Sticky>\n */\nconst Sticky: FunctionComponent<StickyProps> = ({\n children,\n open = true,\n position = Position.BOTTOM,\n testId,\n}: StickyProps) => {\n return (\n <SlidingPanel\n testId={testId}\n open={open}\n position={position}\n slidingPanelPositionFixed\n showSlidingPanelBorder\n >\n {children}\n </SlidingPanel>\n );\n};\n\nexport default Sticky;\n"],"names":["Sticky","children","open","position","Position","BOTTOM","testId","_jsx","SlidingPanel","slidingPanelPositionFixed","showSlidingPanelBorder"],"mappings":";;;;AAwCMA,MAAAA,MAAM,GAAmCA,CAAC;EAC9CC,QAAQ;AACRC,EAAAA,IAAI,GAAG,IAAI;EACXC,QAAQ,GAAGC,QAAQ,CAACC,MAAM;AAC1BC,EAAAA,MAAAA;AAAM,CACM,KAAI;EAChB,oBACEC,GAAA,CAACC,YAAY,EAAA;AACXF,IAAAA,MAAM,EAAEA,MAAO;AACfJ,IAAAA,IAAI,EAAEA,IAAK;AACXC,IAAAA,QAAQ,EAAEA,QAAS;IACnBM,yBAAyB,EAAA,IAAA;IACzBC,sBAAsB,EAAA,IAAA;AAAAT,IAAAA,QAAA,EAErBA,QAAAA;AAAQ,GACG,CAAC,CAAA;AAEnB;;;;"}
1
+ {"version":3,"file":"Sticky.mjs","sources":["../../src/sticky/Sticky.tsx"],"sourcesContent":["import { Position } from '../common';\nimport SlidingPanel from '../slidingPanel';\nimport { FunctionComponent } from 'react';\n\nexport interface StickyProps {\n /** Optional prop for children components to be rendered inside the Sticky component. */\n children?: React.ReactNode;\n\n /** Optional props that determines if the Sticky component is open or closed. Default value is `true`. */\n open?: boolean;\n\n /** Optional props that specifies the position of the Sticky component on the screen. Can be either `top` or `bottom`. */\n position?: `${Position.TOP}` | `${Position.BOTTOM}`;\n\n /** Optional prop to specify the ID used for testing */\n testId?: string;\n}\n\n/**\n * ### Sticky Component\n *\n * `<Sticky />` is a component that renders a `<SlidingPanel />` with specified props.\n * It uses the `<SlidingPanel />` component to create a panel that can slide in and out of view,\n * based on the `open` prop. It can be positioned at the top or bottom of the container,\n * as specified by the `position` prop.\n *\n * @component\n * @param {ReactNode} children - Children content.\n * @param {boolean} open - Determines if the Sticky component is open or closed.\n * @param {('top'|'bottom')} position - Specifies the position.\n * @param {string} testId - ID used for testing.\n * @returns {React.JSX.Element} The `SlidingPanel` component with applied props.\n * @example\n * <Button onClick={() => setOpen(!open)}>Open Sticky</Button>\n * <Sticky open={open} position={'bottom'}>\n * <div>\n * <Button onClick={() => setOpen(!open)}>Close Sticky</Button>\n * </div>\n * </Sticky>\n */\nconst Sticky: FunctionComponent<StickyProps> = ({\n children,\n open = true,\n position = Position.BOTTOM,\n testId,\n}: StickyProps) => {\n return (\n <SlidingPanel\n testId={testId}\n open={open}\n position={position}\n slidingPanelPositionFixed\n showSlidingPanelBorder\n >\n {children}\n </SlidingPanel>\n );\n};\n\nexport default Sticky;\n"],"names":["Sticky","children","open","position","Position","BOTTOM","testId","_jsx","SlidingPanel","slidingPanelPositionFixed","showSlidingPanelBorder"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCMA,MAAAA,MAAM,GAAmCA,CAAC;EAC9CC,QAAQ;AACRC,EAAAA,IAAI,GAAG,IAAI;EACXC,QAAQ,GAAGC,QAAQ,CAACC,MAAM;AAC1BC,EAAAA,MAAAA;AAAM,CACM,KAAI;EAChB,oBACEC,GAAA,CAACC,YAAY,EAAA;AACXF,IAAAA,MAAM,EAAEA,MAAO;AACfJ,IAAAA,IAAI,EAAEA,IAAK;AACXC,IAAAA,QAAQ,EAAEA,QAAS;IACnBM,yBAAyB,EAAA,IAAA;IACzBC,sBAAsB,EAAA,IAAA;AAAAT,IAAAA,QAAA,EAErBA,QAAAA;AAAQ,GACG,CAAC,CAAA;AAEnB;;;;"}
@@ -2,17 +2,26 @@
2
2
  }@media (min-width: 768px) {
3
3
  }.tw-avatar {
4
4
  position: relative;
5
+ border-radius: 50%;
5
6
  -webkit-user-select: none;
6
7
  -moz-user-select: none;
7
8
  user-select: none;
8
9
  box-sizing: border-box;
9
10
  }.tw-avatar .tw-avatar__content {
11
+ align-items: center;
10
12
  background-color: rgba(134,167,189,0.10196);
11
13
  background-color: #86a7bd1a;
12
14
  background-color: var(--color-background-neutral);
15
+ border-radius: 50%;
16
+ color: #37517e;
17
+ color: var(--color-content-primary);
18
+ display: flex;
19
+ height: 100%;
20
+ justify-content: center;
13
21
  max-height: 100%;
14
22
  max-width: 100%;
15
23
  overflow: hidden;
24
+ width: 100%;
16
25
  }.tw-avatar--outlined {
17
26
  border: 1px solid #00a2dd;
18
27
  border: 1px solid var(--color-interactive-accent);
@@ -46,6 +55,10 @@
46
55
  font-feature-settings: "ss01";
47
56
  color: var(--color-dark-charcoal);
48
57
  line-height: 1;
58
+ }.tw-avatar--24 {
59
+ min-width: 24px;
60
+ width: 24px;
61
+ height: 24px;
49
62
  }.tw-avatar--24.tw-avatar--emoji,
50
63
  .tw-avatar--24.tw-avatar--icon {
51
64
  font-size: 12px;
@@ -70,6 +83,10 @@
70
83
  border: 1px solid var(--color-border-overlay);
71
84
  content: "";
72
85
  border-radius: 50%;
86
+ }.tw-avatar--40 {
87
+ min-width: 40px;
88
+ width: 40px;
89
+ height: 40px;
73
90
  }.tw-avatar--40.tw-avatar--emoji,
74
91
  .tw-avatar--40.tw-avatar--icon {
75
92
  font-size: 20px;
@@ -94,6 +111,10 @@
94
111
  border: 1px solid var(--color-border-overlay);
95
112
  content: "";
96
113
  border-radius: 50%;
114
+ }.tw-avatar--48 {
115
+ min-width: 48px;
116
+ width: 48px;
117
+ height: 48px;
97
118
  }.tw-avatar--48.tw-avatar--emoji,
98
119
  .tw-avatar--48.tw-avatar--icon {
99
120
  font-size: 24px;
@@ -118,6 +139,10 @@
118
139
  border: 1px solid var(--color-border-overlay);
119
140
  content: "";
120
141
  border-radius: 50%;
142
+ }.tw-avatar--56 {
143
+ min-width: 56px;
144
+ width: 56px;
145
+ height: 56px;
121
146
  }.tw-avatar--56.tw-avatar--emoji,
122
147
  .tw-avatar--56.tw-avatar--icon {
123
148
  font-size: 28px;
@@ -142,6 +167,10 @@
142
167
  border: 1px solid var(--color-border-overlay);
143
168
  content: "";
144
169
  border-radius: 50%;
170
+ }.tw-avatar--72 {
171
+ min-width: 72px;
172
+ width: 72px;
173
+ height: 72px;
145
174
  }.tw-avatar--72.tw-avatar--emoji,
146
175
  .tw-avatar--72.tw-avatar--icon {
147
176
  font-size: 36px;
@@ -23,10 +23,16 @@
23
23
  }
24
24
  .tw-badge > .tw-badge__content {
25
25
  position: absolute;
26
+ width: var(--badge-size);
27
+ height: var(--badge-size);
26
28
  bottom: 0;
27
29
  right: 0;
28
30
  box-sizing: border-box;
31
+ border-radius: 50%;
29
32
  text-align: center;
33
+ display: flex;
34
+ align-items: center;
35
+ justify-content: center;
30
36
  overflow: hidden;
31
37
  -webkit-user-select: none;
32
38
  -moz-user-select: none;
@@ -23,8 +23,8 @@
23
23
  }
24
24
  @media (max-width: 320px) {
25
25
  .np-circular-btn .tw-icon {
26
- top: 8px;
27
- top: var(--size-8);
26
+ top: 12px;
27
+ top: var(--size-12);
28
28
  }
29
29
  }
30
30
  .np-circular-btn .tw-icon > svg {
@@ -5,3 +5,7 @@
5
5
  height: var(--circle-size);
6
6
  flex-shrink: 0;
7
7
  }
8
+ .np-circle .tw-icon > svg {
9
+ height: var(--circle-icon-size);
10
+ width: var(--circle-icon-size);
11
+ }
@@ -221,18 +221,27 @@ div.critical-comms .critical-comms-body {
221
221
  }
222
222
  .tw-avatar {
223
223
  position: relative;
224
+ border-radius: 50%;
224
225
  -webkit-user-select: none;
225
226
  -moz-user-select: none;
226
227
  user-select: none;
227
228
  box-sizing: border-box;
228
229
  }
229
230
  .tw-avatar .tw-avatar__content {
231
+ align-items: center;
230
232
  background-color: rgba(134,167,189,0.10196);
231
233
  background-color: #86a7bd1a;
232
234
  background-color: var(--color-background-neutral);
235
+ border-radius: 50%;
236
+ color: #37517e;
237
+ color: var(--color-content-primary);
238
+ display: flex;
239
+ height: 100%;
240
+ justify-content: center;
233
241
  max-height: 100%;
234
242
  max-width: 100%;
235
243
  overflow: hidden;
244
+ width: 100%;
236
245
  }
237
246
  .tw-avatar--outlined {
238
247
  border: 1px solid #00a2dd;
@@ -275,6 +284,11 @@ div.critical-comms .critical-comms-body {
275
284
  color: var(--color-dark-charcoal);
276
285
  line-height: 1;
277
286
  }
287
+ .tw-avatar--24 {
288
+ min-width: 24px;
289
+ width: 24px;
290
+ height: 24px;
291
+ }
278
292
  .tw-avatar--24.tw-avatar--emoji,
279
293
  .tw-avatar--24.tw-avatar--icon {
280
294
  font-size: 12px;
@@ -305,6 +319,11 @@ div.critical-comms .critical-comms-body {
305
319
  content: "";
306
320
  border-radius: 50%;
307
321
  }
322
+ .tw-avatar--40 {
323
+ min-width: 40px;
324
+ width: 40px;
325
+ height: 40px;
326
+ }
308
327
  .tw-avatar--40.tw-avatar--emoji,
309
328
  .tw-avatar--40.tw-avatar--icon {
310
329
  font-size: 20px;
@@ -335,6 +354,11 @@ div.critical-comms .critical-comms-body {
335
354
  content: "";
336
355
  border-radius: 50%;
337
356
  }
357
+ .tw-avatar--48 {
358
+ min-width: 48px;
359
+ width: 48px;
360
+ height: 48px;
361
+ }
338
362
  .tw-avatar--48.tw-avatar--emoji,
339
363
  .tw-avatar--48.tw-avatar--icon {
340
364
  font-size: 24px;
@@ -365,6 +389,11 @@ div.critical-comms .critical-comms-body {
365
389
  content: "";
366
390
  border-radius: 50%;
367
391
  }
392
+ .tw-avatar--56 {
393
+ min-width: 56px;
394
+ width: 56px;
395
+ height: 56px;
396
+ }
368
397
  .tw-avatar--56.tw-avatar--emoji,
369
398
  .tw-avatar--56.tw-avatar--icon {
370
399
  font-size: 28px;
@@ -395,6 +424,11 @@ div.critical-comms .critical-comms-body {
395
424
  content: "";
396
425
  border-radius: 50%;
397
426
  }
427
+ .tw-avatar--72 {
428
+ min-width: 72px;
429
+ width: 72px;
430
+ height: 72px;
431
+ }
398
432
  .tw-avatar--72.tw-avatar--emoji,
399
433
  .tw-avatar--72.tw-avatar--icon {
400
434
  font-size: 36px;
@@ -460,10 +494,16 @@ div.critical-comms .critical-comms-body {
460
494
  }
461
495
  .tw-badge > .tw-badge__content {
462
496
  position: absolute;
497
+ width: var(--badge-size);
498
+ height: var(--badge-size);
463
499
  bottom: 0;
464
500
  right: 0;
465
501
  box-sizing: border-box;
502
+ border-radius: 50%;
466
503
  text-align: center;
504
+ display: flex;
505
+ align-items: center;
506
+ justify-content: center;
467
507
  overflow: hidden;
468
508
  -webkit-user-select: none;
469
509
  -moz-user-select: none;
@@ -1016,8 +1056,8 @@ div.critical-comms .critical-comms-body {
1016
1056
  }
1017
1057
  @media (max-width: 320px) {
1018
1058
  .np-circular-btn .tw-icon {
1019
- top: 8px;
1020
- top: var(--size-8);
1059
+ top: 12px;
1060
+ top: var(--size-12);
1021
1061
  }
1022
1062
  }
1023
1063
  .np-circular-btn .tw-icon > svg {
@@ -1172,6 +1212,10 @@ div.critical-comms .critical-comms-body {
1172
1212
  height: var(--circle-size);
1173
1213
  flex-shrink: 0;
1174
1214
  }
1215
+ .np-circle .tw-icon > svg {
1216
+ height: var(--circle-icon-size);
1217
+ width: var(--circle-icon-size);
1218
+ }
1175
1219
  .np-bottom-sheet {
1176
1220
  border-radius: 10px 10px 0 0;
1177
1221
  }
@@ -4158,12 +4202,6 @@ html:not([dir="rtl"]) .np-navigation-option {
4158
4202
  transform: translateY(-24px);
4159
4203
  }
4160
4204
  }
4161
- .status-icon > svg {
4162
- height: 32px;
4163
- height: var(--size-32);
4164
- width: 32px;
4165
- width: var(--size-32);
4166
- }
4167
4205
  .status-circle .light {
4168
4206
  color: var(--color-contrast);
4169
4207
  }
@@ -4179,20 +4217,6 @@ html:not([dir="rtl"]) .np-navigation-option {
4179
4217
  .np-theme-personal .status-circle.pending .status-icon {
4180
4218
  color: var(--color-dark);
4181
4219
  }
4182
- .status-circle-sm .status-icon > svg {
4183
- height: 14px;
4184
- height: var(--size-14);
4185
- width: 14px;
4186
- width: var(--size-14);
4187
- }
4188
- @media (max-width: 320px) {
4189
- .status-circle-sm .status-icon > svg {
4190
- width: 24px;
4191
- width: var(--size-24);
4192
- height: 24px;
4193
- height: var(--size-24);
4194
- }
4195
- }
4196
4220
  .status-circle.negative,
4197
4221
  .status-circle.error {
4198
4222
  background-color: var(--color-sentiment-negative);
@@ -5028,306 +5052,6 @@ html:not([dir="rtl"]) .np-navigation-option {
5028
5052
  padding: 0 var(--size-24);
5029
5053
  }
5030
5054
  }
5031
- .np-table {
5032
- width: 100%;
5033
- background-color: transparent;
5034
- }
5035
- .np-table-outer-container {
5036
- border-radius: 16px;
5037
- border-radius: var(--radius-medium);
5038
- }
5039
- .np-table-outer-container:focus {
5040
- outline: none;
5041
- }
5042
- .np-table-outer-container:focus-visible {
5043
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
5044
- outline-offset: var(--ring-outline-offset);
5045
- }
5046
- .np-table-outer-container:focus-visible {
5047
- outline-offset: 0;
5048
- }
5049
- .np-table-outer-container--center {
5050
- margin-right: auto;
5051
- margin-left: auto;
5052
- }
5053
- @media (max-width: 767px) {
5054
- .np-table-outer-container--center {
5055
- width: 100%;
5056
- }
5057
- }
5058
- .np-table-outer-container--full-width {
5059
- width: 100%;
5060
- }
5061
- .np-table-container {
5062
- padding: 8px;
5063
- padding: var(--size-8);
5064
- background-color: rgba(134,167,189,0.10196);
5065
- background-color: var(--color-background-neutral);
5066
- border-radius: inherit;
5067
- }
5068
- .np-table-container--loading .np-table-inner-container {
5069
- background-image: none;
5070
- }
5071
- .np-table-inner-container {
5072
- 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));
5073
- background-position: left center, right center, left center, right center;
5074
- background-repeat: no-repeat;
5075
- background-color: var(--color-contrast-overlay);
5076
- background-size: 15px 100%, 15px 100%, 15px 100%, 15px 100%;
5077
- background-attachment: local, local, scroll, scroll;
5078
- overflow-x: auto;
5079
- border-radius: 10px;
5080
- }
5081
- .np-theme-personal--dark .np-table-inner-container {
5082
- 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, #000000, rgba(0, 0, 0, 0)), linear-gradient(to left, #000000, rgba(0, 0, 0, 0));
5083
- }
5084
- .np-table-row:last-child .np-table-cell:first-child {
5085
- border-bottom-left-radius: 10px;
5086
- }
5087
- .np-table-row:last-child .np-table-cell:last-child {
5088
- border-bottom-right-radius: 10px;
5089
- }
5090
- .np-table-row--clickable .np-table-cell {
5091
- position: relative;
5092
- }
5093
- .np-table-row--clickable .np-table-cell:before {
5094
- display: none;
5095
- content: "";
5096
- position: absolute;
5097
- height: 100%;
5098
- width: 100%;
5099
- top: 0;
5100
- left: 0;
5101
- background-color: var(--color-background-screen-hover);
5102
- }
5103
- .np-table-row--clickable .np-table-cell:first-child:before,
5104
- .np-table-row--clickable .np-table-cell:last-child:before {
5105
- width: calc(100% - 8px);
5106
- width: calc(100% - var(--size-8));
5107
- }
5108
- .np-table-row--clickable .np-table-cell:first-child:before {
5109
- left: 8px;
5110
- left: var(--size-8);
5111
- border-top-left-radius: 6px;
5112
- border-bottom-left-radius: 6px;
5113
- }
5114
- .np-table-row--clickable .np-table-cell:last-child:before {
5115
- border-top-right-radius: 6px;
5116
- border-bottom-right-radius: 6px;
5117
- }
5118
- .np-table-row--clickable:hover .np-table-cell:before {
5119
- display: block;
5120
- }
5121
- .np-table-row--clickable:hover:focus-visible .np-table-cell:first-child:before,
5122
- .np-table-row--clickable:hover:focus-visible .np-table-cell:last-child:before {
5123
- width: 100%;
5124
- }
5125
- .np-table-row--clickable:hover:focus-visible .np-table-cell:first-child:before {
5126
- left: 0;
5127
- }
5128
- .np-table-row--clickable:focus {
5129
- outline: none;
5130
- }
5131
- .np-table-row--clickable:focus-visible {
5132
- outline: var(--ring-outline-color) solid var(--ring-outline-width);
5133
- outline-offset: var(--ring-outline-offset);
5134
- }
5135
- .np-table-row--clickable:focus-visible {
5136
- outline-offset: -2px;
5137
- border-radius: 6px;
5138
- }
5139
- .np-table-row--cosmetic .np-table-cell {
5140
- height: 8px;
5141
- height: var(--size-8);
5142
- padding: 0;
5143
- }
5144
- .np-table-header,
5145
- .np-table-cell {
5146
- padding: 0;
5147
- }
5148
- .np-table-header:first-child,
5149
- .np-table-cell:first-child {
5150
- padding-left: 16px;
5151
- padding-left: var(--size-16);
5152
- }
5153
- .np-table-header:first-child .np-table-header-content,
5154
- .np-table-cell:first-child .np-table-header-content,
5155
- .np-table-header:first-child .np-table-cell-content,
5156
- .np-table-cell:first-child .np-table-cell-content {
5157
- padding-left: 0;
5158
- }
5159
- .np-table-header:last-child,
5160
- .np-table-cell:last-child {
5161
- padding-right: 16px;
5162
- padding-right: var(--size-16);
5163
- }
5164
- .np-table-header:last-child .np-table-header-content,
5165
- .np-table-cell:last-child .np-table-header-content,
5166
- .np-table-header:last-child .np-table-cell-content,
5167
- .np-table-cell:last-child .np-table-cell-content {
5168
- padding-right: 0;
5169
- }
5170
- .np-table-header .np-table-text-secondary,
5171
- .np-table-cell .np-table-text-secondary {
5172
- color: #768e9c;
5173
- color: var(--color-content-tertiary);
5174
- font-size: 0.75rem;
5175
- font-size: var(--font-size-12);
5176
- font-style: normal;
5177
- font-weight: 400;
5178
- font-weight: var(--font-weight-regular);
5179
- line-height: 1.125rem;
5180
- line-height: var(--line-height-18);
5181
- }
5182
- .np-table-header.np-table-header--right > .np-text-body-default,
5183
- .np-table-cell.np-table-cell--right > .np-text-body-default {
5184
- text-align: right;
5185
- }
5186
- .np-table-header.np-table-header--right + .np-table-header:not(.np-table-header--right),
5187
- .np-table-cell.np-table-cell--right + .np-table-cell:not(.np-table-cell--right) {
5188
- padding-left: calc(8px + 12px);
5189
- padding-left: calc(var(--size-8) + var(--size-12));
5190
- }
5191
- .np-table-header.np-table-header--right .np-table-header-content,
5192
- .np-table-cell.np-table-cell--right .np-table-content {
5193
- justify-content: end;
5194
- }
5195
- .np-table-header-content,
5196
- .np-table-content {
5197
- display: flex;
5198
- align-items: center;
5199
- justify-content: start;
5200
- }
5201
- .np-table-header {
5202
- min-width: 160px;
5203
- padding-right: 8px;
5204
- padding-right: var(--size-8);
5205
- padding-bottom: 8px;
5206
- padding-bottom: var(--size-8);
5207
- padding-left: 8px;
5208
- padding-left: var(--size-8);
5209
- background-color: rgba(134,167,189,0.10196);
5210
- background-color: var(--color-background-neutral);
5211
- color: var(--color-interactive-primary);
5212
- }
5213
- .np-table-header-content {
5214
- padding-top: 5px;
5215
- padding-bottom: 5px;
5216
- white-space: nowrap;
5217
- line-height: 1.375rem;
5218
- line-height: var(--line-height-22);
5219
- letter-spacing: 0.0125em;
5220
- letter-spacing: var(--letter-spacing-sm);
5221
- }
5222
- .np-table-header--error {
5223
- color: var(--color-sentiment-negative);
5224
- }
5225
- .np-table-header--action {
5226
- min-width: 0;
5227
- padding: 0;
5228
- }
5229
- .np-table-cell {
5230
- padding: 16px 8px;
5231
- padding: var(--size-16) var(--size-8);
5232
- position: relative;
5233
- }
5234
- .np-table-cell--cosmetic {
5235
- padding: 0;
5236
- }
5237
- .np-table-cell--primary {
5238
- min-width: 200px;
5239
- }
5240
- .np-table-cell--currency .np-text-body-default {
5241
- white-space: nowrap;
5242
- }
5243
- .np-table-cell--status .status-circle {
5244
- width: 24px;
5245
- height: 24px;
5246
- }
5247
- .np-table-cell--status .status-circle .status-icon > svg {
5248
- width: 21px;
5249
- height: 21px;
5250
- }
5251
- .np-table-cell .tw-chevron {
5252
- margin-left: 8px;
5253
- margin-left: var(--size-8);
5254
- }
5255
- .np-table-cell-separator {
5256
- margin-top: 4px;
5257
- margin-top: var(--size-4);
5258
- margin-bottom: 4px;
5259
- margin-bottom: var(--size-4);
5260
- height: 1px;
5261
- background-color: rgba(134,167,189,0.10196);
5262
- background-color: var(--color-background-neutral);
5263
- padding: 0;
5264
- }
5265
- .np-table-cell .np-text-body-default {
5266
- line-height: 1.375rem;
5267
- line-height: var(--line-height-22);
5268
- letter-spacing: 0.01em;
5269
- letter-spacing: var(--letter-spacing-xs);
5270
- }
5271
- .np-table-cell .np-text-body-default-bold {
5272
- display: flex;
5273
- align-items: center;
5274
- color: #37517e;
5275
- color: var(--color-content-primary);
5276
- white-space: nowrap;
5277
- }
5278
- .np-table-cell .np-table-content--success {
5279
- color: var(--color-sentiment-positive);
5280
- }
5281
- .np-table-cell .np-table-content--error {
5282
- color: var(--color-sentiment-negative);
5283
- }
5284
- .np-table-cell .tw-loader {
5285
- margin: 150px auto;
5286
- }
5287
- @media (max-width: 320px) {
5288
- .np-table-cell .tw-loader {
5289
- margin-top: 70px;
5290
- margin-bottom: 70px;
5291
- }
5292
- }
5293
- .np-table-content {
5294
- gap: 12px;
5295
- gap: var(--size-12);
5296
- }
5297
- .np-table-content--success,
5298
- .np-table-content--error {
5299
- gap: 4px;
5300
- gap: var(--size-4);
5301
- }
5302
- .np-table-content--success .np-table-content-text,
5303
- .np-table-content--error .np-table-content-text {
5304
- line-height: 155%;
5305
- }
5306
- .np-table-content-media {
5307
- flex-shrink: 0;
5308
- }
5309
- .np-table-content-body {
5310
- display: flex;
5311
- flex-direction: column;
5312
- font-size: 0.75rem;
5313
- font-size: var(--font-size-12);
5314
- color: #768e9c;
5315
- color: var(--color-content-tertiary);
5316
- }
5317
- .np-table-content--reversed {
5318
- flex-direction: row-reverse;
5319
- }
5320
- .np-table-content--reversed .np-table-content-body {
5321
- align-items: end;
5322
- }
5323
- .np-table-empty-data {
5324
- display: flex;
5325
- align-items: center;
5326
- }
5327
- .np-table-empty-data .status-circle {
5328
- margin-right: 12px;
5329
- margin-right: var(--size-12);
5330
- }
5331
5055
  .np-tile {
5332
5056
  min-width: 120px;
5333
5057
  border-radius: 10px;
@@ -1,9 +1,3 @@
1
- .status-icon > svg {
2
- height: 32px;
3
- height: var(--size-32);
4
- width: 32px;
5
- width: var(--size-32);
6
- }
7
1
  .status-circle .light {
8
2
  color: var(--color-contrast);
9
3
  }
@@ -19,20 +13,6 @@
19
13
  .np-theme-personal .status-circle.pending .status-icon {
20
14
  color: var(--color-dark);
21
15
  }
22
- .status-circle-sm .status-icon > svg {
23
- height: 14px;
24
- height: var(--size-14);
25
- width: 14px;
26
- width: var(--size-14);
27
- }
28
- @media (max-width: 320px) {
29
- .status-circle-sm .status-icon > svg {
30
- width: 24px;
31
- width: var(--size-24);
32
- height: 24px;
33
- height: var(--size-24);
34
- }
35
- }
36
16
  .status-circle.negative,
37
17
  .status-circle.error {
38
18
  background-color: var(--color-sentiment-negative);
@@ -5,16 +5,32 @@ var clsx = require('clsx');
5
5
  var React = require('react');
6
6
  var reactIntl = require('react-intl');
7
7
  var Body = require('../body/Body.js');
8
+ require('../common/theme.js');
9
+ require('../common/direction.js');
10
+ require('../common/propsValues/control.js');
11
+ require('../common/propsValues/breakpoint.js');
12
+ var size = require('../common/propsValues/size.js');
13
+ var typography = require('../common/propsValues/typography.js');
14
+ require('../common/propsValues/width.js');
15
+ require('../common/propsValues/type.js');
16
+ require('../common/propsValues/dateMode.js');
17
+ require('../common/propsValues/monthFormat.js');
18
+ require('../common/propsValues/position.js');
19
+ require('../common/propsValues/layouts.js');
20
+ var status = require('../common/propsValues/status.js');
21
+ var sentiment = require('../common/propsValues/sentiment.js');
22
+ require('../common/propsValues/profileType.js');
23
+ require('../common/propsValues/variant.js');
24
+ require('../common/propsValues/scroll.js');
25
+ require('../common/propsValues/markdownNodeType.js');
26
+ require('../common/fileType.js');
27
+ require('../common/closeButton/CloseButton.messages.js');
28
+ var jsxRuntime = require('react/jsx-runtime');
8
29
  require('../info/infoPresentations.js');
9
30
  var Info = require('../info/Info.js');
10
31
  var StatusIcon = require('../statusIcon/StatusIcon.js');
11
32
  var Summary_messages = require('./Summary.messages.js');
12
33
  var Action = require('../common/action/Action.js');
13
- var jsxRuntime = require('react/jsx-runtime');
14
- var sentiment = require('../common/propsValues/sentiment.js');
15
- var status = require('../common/propsValues/status.js');
16
- var size = require('../common/propsValues/size.js');
17
- var typography = require('../common/propsValues/typography.js');
18
34
 
19
35
  /* eslint-disable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment */
20
36
  const BadgeIcons = {