@messenger-box/platform-browser 10.0.3-alpha.17 → 10.0.3-alpha.171

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 (561) hide show
  1. package/lib/components/InboxMessage/InboxDetails/index.d.ts +6 -1
  2. package/lib/components/InboxMessage/InboxDetails/index.d.ts.map +1 -1
  3. package/lib/components/InboxMessage/InboxDetails/index.js +10 -11
  4. package/lib/components/InboxMessage/InboxDetails/index.js.map +1 -1
  5. package/lib/components/InboxMessage/InboxSidebar/index.d.ts.map +1 -1
  6. package/lib/components/InboxMessage/InboxSidebar/index.js +23 -32
  7. package/lib/components/InboxMessage/InboxSidebar/index.js.map +1 -1
  8. package/lib/components/InboxMessage/Messages/index.d.ts.map +1 -1
  9. package/lib/components/InboxMessage/Messages/index.js +42 -81
  10. package/lib/components/InboxMessage/Messages/index.js.map +1 -1
  11. package/lib/components/InboxMessage/MessagesList/index.d.ts.map +1 -1
  12. package/lib/components/InboxMessage/MessagesList/index.js +53 -74
  13. package/lib/components/InboxMessage/MessagesList/index.js.map +1 -1
  14. package/lib/components/InboxMessage/Popover/index.d.ts +5 -1
  15. package/lib/components/InboxMessage/Popover/index.d.ts.map +1 -1
  16. package/lib/components/InboxMessage/Popover/index.js +8 -35
  17. package/lib/components/InboxMessage/Popover/index.js.map +1 -1
  18. package/lib/components/InboxMessage/UserModalContent/index.d.ts.map +1 -1
  19. package/lib/components/InboxMessage/UserModalContent/index.js +50 -47
  20. package/lib/components/InboxMessage/UserModalContent/index.js.map +1 -1
  21. package/lib/components/InboxMessage/index.d.ts.map +1 -1
  22. package/lib/components/InboxMessage/index.js +38 -70
  23. package/lib/components/InboxMessage/index.js.map +1 -1
  24. package/lib/components/channel_view/DirectChannelView.js.map +1 -1
  25. package/lib/components/channel_view/PublicChannelView.js.map +1 -1
  26. package/lib/components/dashboard/menu_header.d.ts.map +1 -1
  27. package/lib/components/dashboard/menu_header.js +38 -24
  28. package/lib/components/dashboard/menu_header.js.map +1 -1
  29. package/lib/components/dashboard/modals/direct_modal.d.ts +10 -8
  30. package/lib/components/dashboard/modals/direct_modal.d.ts.map +1 -1
  31. package/lib/components/dashboard/modals/direct_modal.js +59 -39
  32. package/lib/components/dashboard/modals/direct_modal.js.map +1 -1
  33. package/lib/components/dashboard/modals.d.ts +18 -6
  34. package/lib/components/dashboard/modals.d.ts.map +1 -1
  35. package/lib/components/dashboard/modals.js +60 -101
  36. package/lib/components/dashboard/modals.js.map +1 -1
  37. package/lib/components/messenger/avatar/index.d.ts.map +1 -1
  38. package/lib/components/messenger/index.d.ts.map +1 -1
  39. package/lib/components/messenger/index.js +45 -82
  40. package/lib/components/messenger/index.js.map +1 -1
  41. package/lib/components/messenger/messagesList/index.d.ts.map +1 -1
  42. package/lib/components/messenger/messagesList/index.js +174 -454
  43. package/lib/components/messenger/messagesList/index.js.map +1 -1
  44. package/lib/components/messenger/messagesList/messageBox.d.ts +0 -1
  45. package/lib/components/messenger/messagesList/messageBox.d.ts.map +1 -1
  46. package/lib/components/messenger/more_action/index.d.ts.map +1 -1
  47. package/lib/components/messenger/postMessage/postMessage.d.ts +7 -2
  48. package/lib/components/messenger/postMessage/postMessage.d.ts.map +1 -1
  49. package/lib/components/messenger/sidebarThreadList/index.d.ts.map +1 -1
  50. package/lib/components/messenger/threadSidebar/index.d.ts.map +1 -1
  51. package/lib/components/messenger/types/message.d.ts +11 -11
  52. package/lib/components/messenger/types/message.d.ts.map +1 -1
  53. package/lib/components/post/channel_intro_message/channel_intro_message.d.ts.map +1 -1
  54. package/lib/components/post/channel_layout/channel_identifier_router/channel_identifier_router.d.ts.map +1 -1
  55. package/lib/components/post/channel_view/channel_view.d.ts.map +1 -1
  56. package/lib/components/post/create_post/create_post.d.ts +10 -1
  57. package/lib/components/post/create_post/create_post.d.ts.map +1 -1
  58. package/lib/components/post/failed_post_options/failed_post_options.d.ts.map +1 -1
  59. package/lib/components/post/index.d.ts +5 -3
  60. package/lib/components/post/index.d.ts.map +1 -1
  61. package/lib/components/post/index.js +63 -97
  62. package/lib/components/post/index.js.map +1 -1
  63. package/lib/components/post/markdown/markdown.d.ts.map +1 -1
  64. package/lib/components/post/post/post.d.ts.map +1 -1
  65. package/lib/components/post/post_body/post_body.d.ts.map +1 -1
  66. package/lib/components/post/post_body_additional_content/post_body_additional_content.d.ts.map +1 -1
  67. package/lib/components/post/post_header/post_header.d.ts.map +1 -1
  68. package/lib/components/post/post_header/post_header_custom_status.d.ts.map +1 -1
  69. package/lib/components/post/post_info/post_info.d.ts.map +1 -1
  70. package/lib/components/post/post_list/post_list.d.ts.map +1 -1
  71. package/lib/components/post/post_list_row/post_list_row.d.ts.map +1 -1
  72. package/lib/components/post/post_list_virtualized/post_list_virtualized.d.ts.map +1 -1
  73. package/lib/components/post/post_markdown/post_markdown.d.ts.map +1 -1
  74. package/lib/components/post/post_message_view/post_message_view.d.ts.map +1 -1
  75. package/lib/components/post/post_pre_header/post_pre_header.d.ts.map +1 -1
  76. package/lib/components/post/post_profile_picture/post_profile_picture.d.ts.map +1 -1
  77. package/lib/components/post/profile_picture/profile_picture.d.ts.map +1 -1
  78. package/lib/components/post/show_more/show_more.d.ts.map +1 -1
  79. package/lib/components/post/suggestion/suggestion_box.d.ts.map +1 -1
  80. package/lib/components/post/textbox/textbox.d.ts.map +1 -1
  81. package/lib/components/post/threading/channel_threads/thread_footer/thread_footer.d.ts.map +1 -1
  82. package/lib/components/post/tutorial/menu_tutorial_tip.d.ts.map +1 -1
  83. package/lib/components/post/tutorial/tutorial_tip/tutorial_tip.d.ts.map +1 -1
  84. package/lib/components/post_view/post_attachment_container/post_attachment_container.d.ts.map +1 -1
  85. package/lib/components/status_icon.d.ts.map +1 -1
  86. package/lib/compute.js.map +1 -1
  87. package/lib/containers/Dashboard.d.ts.map +1 -1
  88. package/lib/containers/Dashboard.js +110 -124
  89. package/lib/containers/Dashboard.js.map +1 -1
  90. package/lib/containers/DashboardWithLoader.d.ts.map +1 -1
  91. package/lib/containers/DashboardWithLoader.js +14 -5
  92. package/lib/containers/DashboardWithLoader.js.map +1 -1
  93. package/lib/containers/Inbox.js.map +1 -1
  94. package/lib/containers/Messenger.js.map +1 -1
  95. package/lib/module.js.map +1 -1
  96. package/lib/utils/index.d.ts.map +1 -1
  97. package/lib/utils/index.js.map +1 -1
  98. package/lib/widgets/simple_tooltip/simple_tooltip.d.ts.map +1 -1
  99. package/package.json +5 -5
  100. package/CHANGELOG.md +0 -135
  101. package/jest.config.js +0 -24
  102. package/lib/components/InboxMessage/InboxDetails/style.d.ts +0 -2
  103. package/lib/components/InboxMessage/InboxDetails/style.d.ts.map +0 -1
  104. package/lib/components/InboxMessage/InboxDetails/style.js +0 -27
  105. package/lib/components/InboxMessage/InboxDetails/style.js.map +0 -1
  106. package/lib/components/InboxMessage/InboxSidebar/styles.d.ts +0 -2
  107. package/lib/components/InboxMessage/InboxSidebar/styles.d.ts.map +0 -1
  108. package/lib/components/InboxMessage/InboxSidebar/styles.js +0 -57
  109. package/lib/components/InboxMessage/InboxSidebar/styles.js.map +0 -1
  110. package/lib/components/InboxMessage/Messages/styles.d.ts +0 -81
  111. package/lib/components/InboxMessage/Messages/styles.d.ts.map +0 -1
  112. package/lib/components/InboxMessage/Messages/styles.js +0 -85
  113. package/lib/components/InboxMessage/Messages/styles.js.map +0 -1
  114. package/lib/components/InboxMessage/Popover/style.d.ts +0 -28
  115. package/lib/components/InboxMessage/Popover/style.d.ts.map +0 -1
  116. package/lib/components/InboxMessage/Popover/style.js +0 -27
  117. package/lib/components/InboxMessage/Popover/style.js.map +0 -1
  118. package/lib/components/InboxMessage/UserModalContent/style.d.ts +0 -2
  119. package/lib/components/InboxMessage/UserModalContent/style.d.ts.map +0 -1
  120. package/lib/components/InboxMessage/UserModalContent/style.js +0 -98
  121. package/lib/components/InboxMessage/UserModalContent/style.js.map +0 -1
  122. package/lib/components/InboxMessage/style.js +0 -189
  123. package/lib/components/InboxMessage/style.js.map +0 -1
  124. package/lib/components/messenger/avatar/style.d.ts +0 -2
  125. package/lib/components/messenger/avatar/style.d.ts.map +0 -1
  126. package/lib/components/messenger/messagesList/style.js +0 -446
  127. package/lib/components/messenger/messagesList/style.js.map +0 -1
  128. package/lib/components/messenger/more_action/index.js +0 -48
  129. package/lib/components/messenger/more_action/index.js.map +0 -1
  130. package/lib/components/messenger/more_action/style.d.ts +0 -2
  131. package/lib/components/messenger/more_action/style.d.ts.map +0 -1
  132. package/lib/components/messenger/more_action/style.js +0 -45
  133. package/lib/components/messenger/more_action/style.js.map +0 -1
  134. package/lib/components/post/style.js +0 -20101
  135. package/lib/components/post/style.js.map +0 -1
  136. package/lib/style.js +0 -400
  137. package/lib/style.js.map +0 -1
  138. package/rollup.config.mjs +0 -35
  139. package/src/cdm-locales/en/translations.json +0 -95
  140. package/src/cdm-locales/es/translations.json +0 -95
  141. package/src/components/InboxMessage/InboxDetails/index.tsx +0 -25
  142. package/src/components/InboxMessage/InboxDetails/style.ts +0 -27
  143. package/src/components/InboxMessage/InboxSidebar/index.tsx +0 -89
  144. package/src/components/InboxMessage/InboxSidebar/styles.ts +0 -57
  145. package/src/components/InboxMessage/Messages/index.tsx +0 -161
  146. package/src/components/InboxMessage/Messages/styles.ts +0 -85
  147. package/src/components/InboxMessage/MessagesList/index.tsx +0 -93
  148. package/src/components/InboxMessage/Popover/index.tsx +0 -60
  149. package/src/components/InboxMessage/Popover/style.ts +0 -27
  150. package/src/components/InboxMessage/UserModalContent/index.tsx +0 -63
  151. package/src/components/InboxMessage/UserModalContent/style.ts +0 -98
  152. package/src/components/InboxMessage/index.tsx +0 -289
  153. package/src/components/InboxMessage/mock.ts +0 -53
  154. package/src/components/InboxMessage/style.ts +0 -189
  155. package/src/components/NavBar.tsx +0 -10
  156. package/src/components/channel_view/DirectChannelView.tsx +0 -25
  157. package/src/components/channel_view/PublicChannelView.tsx +0 -25
  158. package/src/components/dashboard/menu_header.tsx +0 -62
  159. package/src/components/dashboard/modals/direct_modal.tsx +0 -54
  160. package/src/components/dashboard/modals.tsx +0 -121
  161. package/src/components/messenger/avatar/index.tsx +0 -39
  162. package/src/components/messenger/avatar/style.ts +0 -86
  163. package/src/components/messenger/index.tsx +0 -382
  164. package/src/components/messenger/messagesList/index.tsx +0 -764
  165. package/src/components/messenger/messagesList/messageBox.tsx +0 -66
  166. package/src/components/messenger/messagesList/style.ts +0 -448
  167. package/src/components/messenger/mock.ts +0 -77
  168. package/src/components/messenger/more_action/index.tsx +0 -79
  169. package/src/components/messenger/more_action/style.ts +0 -45
  170. package/src/components/messenger/postMessage/postMessage.tsx +0 -28
  171. package/src/components/messenger/postMessage/style.ts +0 -24
  172. package/src/components/messenger/sidebarThreadList/index.tsx +0 -201
  173. package/src/components/messenger/style.ts +0 -40
  174. package/src/components/messenger/threadSidebar/index.tsx +0 -129
  175. package/src/components/messenger/threadSidebar/style.ts +0 -65
  176. package/src/components/messenger/types/message.ts +0 -16
  177. package/src/components/messenger/utils/utils.ts +0 -5
  178. package/src/components/overlay_trigger.tsx +0 -59
  179. package/src/components/post/channel_intro_message/add_members_button.tsx +0 -152
  180. package/src/components/post/channel_intro_message/channel_intro_message.tsx +0 -53
  181. package/src/components/post/channel_intro_message/index.ts +0 -1
  182. package/src/components/post/channel_layout/center_channel/center_channel.test.tsx +0 -50
  183. package/src/components/post/channel_layout/center_channel/center_channel.tsx +0 -125
  184. package/src/components/post/channel_layout/center_channel/index.ts +0 -69
  185. package/src/components/post/channel_layout/channel_controller.test.tsx +0 -76
  186. package/src/components/post/channel_layout/channel_controller.tsx +0 -85
  187. package/src/components/post/channel_layout/channel_identifier_router/actions.test.ts +0 -243
  188. package/src/components/post/channel_layout/channel_identifier_router/actions.ts +0 -353
  189. package/src/components/post/channel_layout/channel_identifier_router/channel_identifier_router.test.tsx +0 -101
  190. package/src/components/post/channel_layout/channel_identifier_router/channel_identifier_router.tsx +0 -6
  191. package/src/components/post/channel_layout/channel_identifier_router/index.ts +0 -1
  192. package/src/components/post/channel_view/channel_view.test.tsx +0 -68
  193. package/src/components/post/channel_view/channel_view.tsx +0 -92
  194. package/src/components/post/channel_view/index.ts +0 -1
  195. package/src/components/post/create_post/create_post.test.jsx +0 -1335
  196. package/src/components/post/create_post/create_post.tsx +0 -225
  197. package/src/components/post/create_post/index.ts +0 -1
  198. package/src/components/post/failed_post_options/failed_post_options.tsx +0 -32
  199. package/src/components/post/failed_post_options/index.ts +0 -4
  200. package/src/components/post/index.tsx +0 -131
  201. package/src/components/post/markdown/index.ts +0 -1
  202. package/src/components/post/markdown/markdown.test.tsx +0 -62
  203. package/src/components/post/markdown/markdown.tsx +0 -38
  204. package/src/components/post/post/defaultpost.ts +0 -25
  205. package/src/components/post/post/post.tsx +0 -270
  206. package/src/components/post/post/style.ts +0 -0
  207. package/src/components/post/post_aria_label_div.tsx +0 -43
  208. package/src/components/post/post_body/post_body.tsx +0 -80
  209. package/src/components/post/post_body_additional_content/post_body_additional_content.tsx +0 -6
  210. package/src/components/post/post_context.tsx +0 -10
  211. package/src/components/post/post_header/index.ts +0 -38
  212. package/src/components/post/post_header/post_header.scss +0 -53
  213. package/src/components/post/post_header/post_header.tsx +0 -98
  214. package/src/components/post/post_header/post_header_custom_status.tsx +0 -49
  215. package/src/components/post/post_header/style.ts +0 -54
  216. package/src/components/post/post_info/post_info.tsx +0 -195
  217. package/src/components/post/post_list/index.tsx +0 -10
  218. package/src/components/post/post_list/post_list.tsx +0 -27
  219. package/src/components/post/post_list_row/index.ts +0 -42
  220. package/src/components/post/post_list_row/post_list_row.test.tsx +0 -176
  221. package/src/components/post/post_list_row/post_list_row.tsx +0 -130
  222. package/src/components/post/post_list_virtualized/latest_post_reader.tsx +0 -9
  223. package/src/components/post/post_list_virtualized/post_list_virtualized.tsx +0 -269
  224. package/src/components/post/post_markdown/index.test.js +0 -119
  225. package/src/components/post/post_markdown/index.ts +0 -1
  226. package/src/components/post/post_markdown/post_markdown.test.tsx +0 -178
  227. package/src/components/post/post_markdown/post_markdown.tsx +0 -58
  228. package/src/components/post/post_markdown/system_message_helpers.tsx +0 -420
  229. package/src/components/post/post_message_view/index.ts +0 -4
  230. package/src/components/post/post_message_view/post_message_view.test.tsx +0 -89
  231. package/src/components/post/post_message_view/post_message_view.tsx +0 -71
  232. package/src/components/post/post_pre_header/post_pre_header.tsx +0 -141
  233. package/src/components/post/post_profile_picture/post_profile_picture.tsx +0 -95
  234. package/src/components/post/post_view.tsx +0 -10
  235. package/src/components/post/profile_picture/profile_picture.tsx +0 -21
  236. package/src/components/post/show_more/index.ts +0 -1
  237. package/src/components/post/show_more/show_more.test.tsx +0 -102
  238. package/src/components/post/show_more/show_more.tsx +0 -97
  239. package/src/components/post/style.ts +0 -20101
  240. package/src/components/post/suggestion/suggestion_box.tsx +0 -5
  241. package/src/components/post/textbox/index.ts +0 -1
  242. package/src/components/post/textbox/textbox.tsx +0 -80
  243. package/src/components/post/textbox/textbox_links/index.ts +0 -24
  244. package/src/components/post/textbox/textbox_links/textbox_links.tsx +0 -143
  245. package/src/components/post/threading/channel_threads/thread_footer/index.ts +0 -4
  246. package/src/components/post/threading/channel_threads/thread_footer/thread_footer.scss +0 -72
  247. package/src/components/post/threading/channel_threads/thread_footer/thread_footer.tsx +0 -206
  248. package/src/components/post/threading/common/button/__snapshots__/button.test.tsx.snap +0 -68
  249. package/src/components/post/threading/common/button/button.scss +0 -148
  250. package/src/components/post/threading/common/button/button.test.tsx +0 -75
  251. package/src/components/post/threading/common/button/button.tsx +0 -51
  252. package/src/components/post/threading/common/button/index.ts +0 -4
  253. package/src/components/post/threading/common/follow_button/__snapshots__/follow_button.test.tsx.snap +0 -50
  254. package/src/components/post/threading/common/follow_button/follow_button.test.tsx +0 -56
  255. package/src/components/post/threading/common/follow_button/follow_button.tsx +0 -39
  256. package/src/components/post/threading/common/follow_button/index.ts +0 -4
  257. package/src/components/post/timestamp/__snapshots__/semantic_time.test.tsx.snap +0 -13
  258. package/src/components/post/timestamp/__snapshots__/timestamp.test.tsx.snap +0 -13
  259. package/src/components/post/timestamp/index.ts +0 -50
  260. package/src/components/post/timestamp/relative_ranges.tsx +0 -58
  261. package/src/components/post/timestamp/semantic_time.test.tsx +0 -47
  262. package/src/components/post/timestamp/semantic_time.tsx +0 -28
  263. package/src/components/post/timestamp/timestamp.stories.tsx +0 -190
  264. package/src/components/post/timestamp/timestamp.test.tsx +0 -309
  265. package/src/components/post/timestamp/timestamp.tsx +0 -441
  266. package/src/components/post/tutorial/menu_tutorial_tip.tsx +0 -63
  267. package/src/components/post/tutorial/tutorial_tip/index.ts +0 -0
  268. package/src/components/post/tutorial/tutorial_tip/tutorial_tip.test.tsx +0 -111
  269. package/src/components/post/tutorial/tutorial_tip/tutorial_tip.tsx +0 -224
  270. package/src/components/post/user_profile/index.tsx +0 -6
  271. package/src/components/post/user_profile/user_profile.tsx +0 -114
  272. package/src/components/post_view/__snapshots__/post_view.test.js.snap +0 -25
  273. package/src/components/post_view/channel_intro_message/add_members_button.scss +0 -72
  274. package/src/components/post_view/channel_intro_message/add_members_button.tsx +0 -152
  275. package/src/components/post_view/channel_intro_message/channel_intro_message.tsx +0 -549
  276. package/src/components/post_view/channel_intro_message/index.ts +0 -67
  277. package/src/components/post_view/combined_system_message/__snapshots__/combined_system_message.test.tsx.snap +0 -238
  278. package/src/components/post_view/combined_system_message/__snapshots__/last_users.test.tsx.snap +0 -74
  279. package/src/components/post_view/combined_system_message/combined_system_message.test.tsx +0 -167
  280. package/src/components/post_view/combined_system_message/combined_system_message.tsx +0 -380
  281. package/src/components/post_view/combined_system_message/index.ts +0 -46
  282. package/src/components/post_view/combined_system_message/last_users.test.tsx +0 -56
  283. package/src/components/post_view/combined_system_message/last_users.tsx +0 -135
  284. package/src/components/post_view/combined_user_activity_post/index.ts +0 -28
  285. package/src/components/post_view/comment_icon/index.ts +0 -31
  286. package/src/components/post_view/commented_on/__snapshots__/commented_on.test.tsx.snap +0 -276
  287. package/src/components/post_view/commented_on/commented_on.test.tsx +0 -184
  288. package/src/components/post_view/commented_on/commented_on.tsx +0 -92
  289. package/src/components/post_view/commented_on/index.ts +0 -37
  290. package/src/components/post_view/commented_on_files_message/__snapshots__/commented_on_files_message.test.jsx.snap +0 -24
  291. package/src/components/post_view/commented_on_files_message/commented_on_files_message.jsx +0 -47
  292. package/src/components/post_view/commented_on_files_message/commented_on_files_message.test.jsx +0 -53
  293. package/src/components/post_view/commented_on_files_message/index.js +0 -25
  294. package/src/components/post_view/date_separator/__snapshots__/date_separator.test.tsx.snap +0 -35
  295. package/src/components/post_view/date_separator/date_separator.test.tsx +0 -26
  296. package/src/components/post_view/date_separator/date_separator.tsx +0 -40
  297. package/src/components/post_view/date_separator/index.ts +0 -4
  298. package/src/components/post_view/embedded_bindings/button_binding/__snapshots__/button_binding.test.tsx.snap +0 -23
  299. package/src/components/post_view/embedded_bindings/button_binding/button_binding.test.tsx +0 -124
  300. package/src/components/post_view/embedded_bindings/button_binding/button_binding.tsx +0 -141
  301. package/src/components/post_view/embedded_bindings/button_binding/index.ts +0 -34
  302. package/src/components/post_view/embedded_bindings/embedded_binding/__snapshots__/embedded_binding.test.tsx.snap +0 -249
  303. package/src/components/post_view/embedded_bindings/embedded_binding/embedded_binding.test.tsx +0 -76
  304. package/src/components/post_view/embedded_bindings/embedded_binding/embedded_binding.tsx +0 -205
  305. package/src/components/post_view/embedded_bindings/embedded_binding/index.ts +0 -17
  306. package/src/components/post_view/embedded_bindings/embedded_bindings.tsx +0 -59
  307. package/src/components/post_view/embedded_bindings/select_binding/index.ts +0 -33
  308. package/src/components/post_view/embedded_bindings/select_binding/select_binding.test.tsx +0 -170
  309. package/src/components/post_view/embedded_bindings/select_binding/select_binding.tsx +0 -188
  310. package/src/components/post_view/failed_post_options/__snapshots__/failed_post_options.test.tsx.snap +0 -29
  311. package/src/components/post_view/failed_post_options/failed_post_options.test.tsx +0 -59
  312. package/src/components/post_view/failed_post_options/failed_post_options.tsx +0 -67
  313. package/src/components/post_view/failed_post_options/index.ts +0 -23
  314. package/src/components/post_view/floating_timestamp/__snapshots__/floating_timestamp.test.tsx.snap +0 -41
  315. package/src/components/post_view/floating_timestamp/floating_timestamp.test.tsx +0 -23
  316. package/src/components/post_view/floating_timestamp/floating_timestamp.tsx +0 -52
  317. package/src/components/post_view/floating_timestamp/index.ts +0 -35
  318. package/src/components/post_view/index.js +0 -61
  319. package/src/components/post_view/index.test.js +0 -37
  320. package/src/components/post_view/message_attachments/action_button/__snapshots__/action_button.test.tsx.snap +0 -26
  321. package/src/components/post_view/message_attachments/action_button/action_button.test.tsx +0 -113
  322. package/src/components/post_view/message_attachments/action_button/action_button.tsx +0 -80
  323. package/src/components/post_view/message_attachments/action_button/index.ts +0 -17
  324. package/src/components/post_view/message_attachments/action_menu/action_menu.test.tsx +0 -61
  325. package/src/components/post_view/message_attachments/action_menu/action_menu.tsx +0 -156
  326. package/src/components/post_view/message_attachments/action_menu/index.ts +0 -41
  327. package/src/components/post_view/message_attachments/message_attachment/__snapshots__/message_attachment.test.tsx.snap +0 -726
  328. package/src/components/post_view/message_attachments/message_attachment/index.ts +0 -32
  329. package/src/components/post_view/message_attachments/message_attachment/message_attachment.test.tsx +0 -234
  330. package/src/components/post_view/message_attachments/message_attachment/message_attachment.tsx +0 -544
  331. package/src/components/post_view/message_attachments/message_attachment_list.tsx +0 -64
  332. package/src/components/post_view/new_message_separator/__snapshots__/new_message_separator.test.tsx.snap +0 -16
  333. package/src/components/post_view/new_message_separator/new_message_separator.test.tsx +0 -16
  334. package/src/components/post_view/new_message_separator/new_message_separator.tsx +0 -31
  335. package/src/components/post_view/post/__snapshots__/post.test.js.snap +0 -337
  336. package/src/components/post_view/post/index.test.js +0 -61
  337. package/src/components/post_view/post/index.ts +0 -96
  338. package/src/components/post_view/post/post.jsx +0 -446
  339. package/src/components/post_view/post/post.test.js +0 -222
  340. package/src/components/post_view/post_add_channel_member/__snapshots__/post_add_channel_member.test.tsx.snap +0 -226
  341. package/src/components/post_view/post_add_channel_member/index.ts +0 -47
  342. package/src/components/post_view/post_add_channel_member/post_add_channel_member.test.tsx +0 -140
  343. package/src/components/post_view/post_add_channel_member/post_add_channel_member.tsx +0 -231
  344. package/src/components/post_view/post_aria_label_div.test.jsx +0 -106
  345. package/src/components/post_view/post_aria_label_div.tsx +0 -48
  346. package/src/components/post_view/post_attachment_container/__snapshots__/post_attachment_container.test.tsx.snap +0 -25
  347. package/src/components/post_view/post_attachment_container/post_attachment_container.test.tsx +0 -21
  348. package/src/components/post_view/post_attachment_container/post_attachment_container.tsx +0 -40
  349. package/src/components/post_view/post_attachment_opengraph/get_nearest_point.test.ts +0 -55
  350. package/src/components/post_view/post_attachment_opengraph/get_nearest_point.ts +0 -31
  351. package/src/components/post_view/post_attachment_opengraph/index.ts +0 -48
  352. package/src/components/post_view/post_attachment_opengraph/post_attachment_opengraph.test.tsx +0 -264
  353. package/src/components/post_view/post_attachment_opengraph/post_attachment_opengraph.tsx +0 -262
  354. package/src/components/post_view/post_body/index.js +0 -36
  355. package/src/components/post_view/post_body/post_body.jsx +0 -235
  356. package/src/components/post_view/post_body_additional_content/__snapshots__/post_body_additional_content.test.tsx.snap +0 -295
  357. package/src/components/post_view/post_body_additional_content/index.ts +0 -36
  358. package/src/components/post_view/post_body_additional_content/post_body_additional_content.test.tsx +0 -425
  359. package/src/components/post_view/post_body_additional_content/post_body_additional_content.tsx +0 -194
  360. package/src/components/post_view/post_context.js +0 -14
  361. package/src/components/post_view/post_flag_icon/__snapshots__/post_flag_icon.test.js.snap +0 -81
  362. package/src/components/post_view/post_flag_icon/index.js +0 -20
  363. package/src/components/post_view/post_flag_icon/post_flag_icon.js +0 -125
  364. package/src/components/post_view/post_flag_icon/post_flag_icon.test.js +0 -39
  365. package/src/components/post_view/post_header/__snapshots__/post_header.test.tsx.snap +0 -196
  366. package/src/components/post_view/post_header/index.ts +0 -38
  367. package/src/components/post_view/post_header/post_header.scss +0 -53
  368. package/src/components/post_view/post_header/post_header.test.tsx +0 -68
  369. package/src/components/post_view/post_header/post_header.tsx +0 -202
  370. package/src/components/post_view/post_header/post_header_custom_status.tsx +0 -73
  371. package/src/components/post_view/post_image/index.js +0 -6
  372. package/src/components/post_view/post_image/post_image.jsx +0 -69
  373. package/src/components/post_view/post_info/__snapshots__/post_info.test.tsx.snap +0 -322
  374. package/src/components/post_view/post_info/index.ts +0 -66
  375. package/src/components/post_view/post_info/post_info.test.tsx +0 -170
  376. package/src/components/post_view/post_info/post_info.tsx +0 -403
  377. package/src/components/post_view/post_list/__snapshots__/post_list.test.jsx.snap +0 -71
  378. package/src/components/post_view/post_list/index.js +0 -105
  379. package/src/components/post_view/post_list/post_list.jsx +0 -324
  380. package/src/components/post_view/post_list/post_list.test.jsx +0 -274
  381. package/src/components/post_view/post_list_row/__snapshots__/post_list_row.test.tsx.snap +0 -108
  382. package/src/components/post_view/post_list_row/index.ts +0 -42
  383. package/src/components/post_view/post_list_row/post_list_row.test.tsx +0 -176
  384. package/src/components/post_view/post_list_row/post_list_row.tsx +0 -165
  385. package/src/components/post_view/post_list_virtualized/latest_post_reader.test.jsx +0 -80
  386. package/src/components/post_view/post_list_virtualized/latest_post_reader.tsx +0 -46
  387. package/src/components/post_view/post_list_virtualized/post_list_virtualized.jsx +0 -626
  388. package/src/components/post_view/post_list_virtualized/post_list_virtualized.test.jsx +0 -623
  389. package/src/components/post_view/post_message_preview/__snapshots__/post_message_preview.test.tsx.snap +0 -88
  390. package/src/components/post_view/post_message_preview/index.ts +0 -35
  391. package/src/components/post_view/post_message_preview/post_message_preview.test.tsx +0 -50
  392. package/src/components/post_view/post_message_preview/post_message_preview.tsx +0 -92
  393. package/src/components/post_view/post_message_view/__snapshots__/post_message_view.test.tsx.snap +0 -242
  394. package/src/components/post_view/post_message_view/index.ts +0 -27
  395. package/src/components/post_view/post_message_view/post_message_view.test.tsx +0 -89
  396. package/src/components/post_view/post_message_view/post_message_view.tsx +0 -192
  397. package/src/components/post_view/post_pre_header/__snapshots__/post_pre_header.test.tsx.snap +0 -209
  398. package/src/components/post_view/post_pre_header/index.js +0 -18
  399. package/src/components/post_view/post_pre_header/post_pre_header.test.tsx +0 -188
  400. package/src/components/post_view/post_pre_header/post_pre_header.tsx +0 -148
  401. package/src/components/post_view/post_reaction/__snapshots__/post_reaction.test.tsx.snap +0 -63
  402. package/src/components/post_view/post_reaction/index.ts +0 -21
  403. package/src/components/post_view/post_reaction/post_reaction.test.tsx +0 -39
  404. package/src/components/post_view/post_reaction/post_reaction.tsx +0 -124
  405. package/src/components/post_view/post_time/index.ts +0 -18
  406. package/src/components/post_view/post_time/post_time.tsx +0 -113
  407. package/src/components/post_view/post_view.jsx +0 -83
  408. package/src/components/post_view/post_view.test.js +0 -53
  409. package/src/components/post_view/reaction/__snapshots__/reaction.test.jsx.snap +0 -339
  410. package/src/components/post_view/reaction/index.ts +0 -120
  411. package/src/components/post_view/reaction/reaction.scss +0 -157
  412. package/src/components/post_view/reaction/reaction.test.jsx +0 -80
  413. package/src/components/post_view/reaction/reaction.tsx +0 -263
  414. package/src/components/post_view/reaction/reaction_tooltip/index.test.js +0 -56
  415. package/src/components/post_view/reaction/reaction_tooltip/index.ts +0 -67
  416. package/src/components/post_view/reaction/reaction_tooltip/reaction_tooltip.tsx +0 -140
  417. package/src/components/post_view/reaction_list/__snapshots__/reactions_list.test.jsx.snap +0 -95
  418. package/src/components/post_view/reaction_list/index.ts +0 -52
  419. package/src/components/post_view/reaction_list/reaction_list.tsx +0 -201
  420. package/src/components/post_view/reaction_list/reactions_list.test.jsx +0 -57
  421. package/src/components/post_view/scroll_to_bottom_arrows.jsx +0 -37
  422. package/src/components/post_view/show_more/__snapshots__/show_more.test.tsx.snap +0 -237
  423. package/src/components/post_view/show_more/index.ts +0 -23
  424. package/src/components/post_view/show_more/show_more.test.tsx +0 -102
  425. package/src/components/post_view/show_more/show_more.tsx +0 -196
  426. package/src/components/status_icon.tsx +0 -49
  427. package/src/components/status_icon_new.tsx +0 -35
  428. package/src/compute.ts +0 -74
  429. package/src/containers/Dashboard.tsx +0 -527
  430. package/src/containers/DashboardWithLoader.tsx +0 -38
  431. package/src/containers/Inbox.tsx +0 -13
  432. package/src/containers/Loading.tsx +0 -12
  433. package/src/containers/Messenger.tsx +0 -18
  434. package/src/containers/__tests__/ApolloProvider.test.tsx +0 -48
  435. package/src/containers/__tests__/Counter.test.tsx +0 -49
  436. package/src/containers/__tests__/PersonList.test.tsx +0 -43
  437. package/src/containers/__tests__/__snapshots__/Counter.test.tsx.snap +0 -299
  438. package/src/containers/__tests__/__snapshots__/PersonList.test.tsx.snap +0 -230
  439. package/src/containers/__tests__/redux.test.tsx +0 -86
  440. package/src/containers/__tests__/setup.ts +0 -18
  441. package/src/containers/__tests__/utils.ts +0 -5
  442. package/src/containers/index.ts +0 -4
  443. package/src/index.ts +0 -5
  444. package/src/inversify-containers/index.ts +0 -1
  445. package/src/inversify-containers/module.ts +0 -4
  446. package/src/module.ts +0 -21
  447. package/src/packages/constants/constants.ts +0 -1831
  448. package/src/packages/types/channels.ts +0 -194
  449. package/src/packages/types/emojis.ts +0 -41
  450. package/src/packages/types/files.ts +0 -43
  451. package/src/packages/types/posts.ts +0 -155
  452. package/src/packages/types/reactions.ts +0 -8
  453. package/src/packages/types/teams.ts +0 -105
  454. package/src/packages/types/utilities.ts +0 -30
  455. package/src/services/index.ts +0 -0
  456. package/src/style.ts +0 -401
  457. package/src/utils/constants.tsx +0 -1120
  458. package/src/utils/i18n.tsx +0 -15
  459. package/src/utils/index.ts +0 -34
  460. package/src/utils/post_list.ts +0 -54
  461. package/src/utils/post_utils.ts +0 -33
  462. package/src/utils/user_agent.tsx +0 -153
  463. package/src/utils/utils.tsx +0 -54
  464. package/src/widgets/badges/badge.scss +0 -21
  465. package/src/widgets/badges/badge.tsx +0 -30
  466. package/src/widgets/badges/bot_badge.tsx +0 -31
  467. package/src/widgets/badges/guest_badge.tsx +0 -31
  468. package/src/widgets/badges/style.ts +0 -24
  469. package/src/widgets/icons/accordion_toggle_icon.tsx +0 -59
  470. package/src/widgets/icons/add_reaction_icon.tsx +0 -23
  471. package/src/widgets/icons/admin_eye_icon.tsx +0 -30
  472. package/src/widgets/icons/alert_icon.tsx +0 -22
  473. package/src/widgets/icons/archive_icon.tsx +0 -23
  474. package/src/widgets/icons/arrow_right_icon.tsx +0 -23
  475. package/src/widgets/icons/at_icon.tsx +0 -22
  476. package/src/widgets/icons/attachment_icon.tsx +0 -38
  477. package/src/widgets/icons/back_icon.tsx +0 -22
  478. package/src/widgets/icons/bot_icon.tsx +0 -23
  479. package/src/widgets/icons/camera_icon.tsx +0 -41
  480. package/src/widgets/icons/checkbox_checked_icon.tsx +0 -62
  481. package/src/widgets/icons/checkbox_partial_icon.tsx +0 -62
  482. package/src/widgets/icons/close_circle_icon.tsx +0 -25
  483. package/src/widgets/icons/close_circle_solid_icon.tsx +0 -25
  484. package/src/widgets/icons/close_icon.tsx +0 -27
  485. package/src/widgets/icons/dots_horizontal.tsx +0 -22
  486. package/src/widgets/icons/download_icon.tsx +0 -46
  487. package/src/widgets/icons/draft_icon.tsx +0 -32
  488. package/src/widgets/icons/ellipsis_h_icon.tsx +0 -23
  489. package/src/widgets/icons/email_icon.tsx +0 -23
  490. package/src/widgets/icons/emoji_icon.tsx +0 -22
  491. package/src/widgets/icons/fa_add_icon.tsx +0 -15
  492. package/src/widgets/icons/fa_back_icon.tsx +0 -16
  493. package/src/widgets/icons/fa_dropdown_icon.tsx +0 -15
  494. package/src/widgets/icons/fa_edit_icon.tsx +0 -16
  495. package/src/widgets/icons/fa_logout_icon.tsx +0 -15
  496. package/src/widgets/icons/fa_next_icon.tsx +0 -28
  497. package/src/widgets/icons/fa_previous_icon.tsx +0 -28
  498. package/src/widgets/icons/fa_reload_icon.tsx +0 -16
  499. package/src/widgets/icons/fa_remove_icon.tsx +0 -16
  500. package/src/widgets/icons/fa_search_icon.tsx +0 -16
  501. package/src/widgets/icons/fa_select_icon.tsx +0 -16
  502. package/src/widgets/icons/fa_success_icon.tsx +0 -16
  503. package/src/widgets/icons/fa_warning_icon.tsx +0 -28
  504. package/src/widgets/icons/flag_icon.tsx +0 -22
  505. package/src/widgets/icons/flag_icon_filled.tsx +0 -41
  506. package/src/widgets/icons/gfycat_icon.tsx +0 -38
  507. package/src/widgets/icons/gif_reactions_icon.tsx +0 -52
  508. package/src/widgets/icons/gif_search_clear_icon.tsx +0 -27
  509. package/src/widgets/icons/gif_search_icon.tsx +0 -29
  510. package/src/widgets/icons/gif_trending_icon.tsx +0 -49
  511. package/src/widgets/icons/globe_icon.tsx +0 -22
  512. package/src/widgets/icons/icons.stories.js +0 -110
  513. package/src/widgets/icons/info_icon.tsx +0 -40
  514. package/src/widgets/icons/info_small_icon.tsx +0 -35
  515. package/src/widgets/icons/invite_icon.tsx +0 -22
  516. package/src/widgets/icons/invite_members_icon.tsx +0 -22
  517. package/src/widgets/icons/leave_team_icon.tsx +0 -30
  518. package/src/widgets/icons/link_icon.tsx +0 -23
  519. package/src/widgets/icons/lock_icon.tsx +0 -41
  520. package/src/widgets/icons/mail_icon.tsx +0 -22
  521. package/src/widgets/icons/mail_plus_icon.tsx +0 -22
  522. package/src/widgets/icons/mattermost_logo.tsx +0 -40
  523. package/src/widgets/icons/member_icon.tsx +0 -22
  524. package/src/widgets/icons/mentions_icon.tsx +0 -24
  525. package/src/widgets/icons/menu_icon.tsx +0 -42
  526. package/src/widgets/icons/message_icon.tsx +0 -42
  527. package/src/widgets/icons/pin_icon.tsx +0 -23
  528. package/src/widgets/icons/plugin_channel_header_icon.tsx +0 -23
  529. package/src/widgets/icons/plugin_icon.tsx +0 -44
  530. package/src/widgets/icons/reply_icon.tsx +0 -23
  531. package/src/widgets/icons/scroll_to_bottom_icon.tsx +0 -23
  532. package/src/widgets/icons/search_icon.tsx +0 -22
  533. package/src/widgets/icons/shield_outline_icon.tsx +0 -23
  534. package/src/widgets/icons/status_away_avatar_icon.tsx +0 -33
  535. package/src/widgets/icons/status_away_icon.tsx +0 -33
  536. package/src/widgets/icons/status_dnd_avatar_icon.tsx +0 -41
  537. package/src/widgets/icons/status_dnd_icon.tsx +0 -33
  538. package/src/widgets/icons/status_offline_avatar_icon.tsx +0 -45
  539. package/src/widgets/icons/status_offline_icon.tsx +0 -31
  540. package/src/widgets/icons/status_online_avatar_icon.tsx +0 -49
  541. package/src/widgets/icons/status_online_icon.tsx +0 -33
  542. package/src/widgets/icons/team_info_icon.tsx +0 -32
  543. package/src/widgets/icons/unarchive_icon.tsx +0 -22
  544. package/src/widgets/icons/unread_below_icon.tsx +0 -23
  545. package/src/widgets/icons/user_guide_icon.tsx +0 -26
  546. package/src/widgets/overlay_trigger.tsx +0 -59
  547. package/src/widgets/shared_user_indicator.tsx +0 -37
  548. package/src/widgets/simple_tooltip/index.ts +0 -7
  549. package/src/widgets/simple_tooltip/simple_tooltip.tsx +0 -63
  550. package/src/widgets/users/avatar/avatar.test.tsx +0 -34
  551. package/src/widgets/users/avatar/avatar.tsx +0 -38
  552. package/src/widgets/users/avatar/index.ts +0 -4
  553. package/src/widgets/users/avatar/style.ts +0 -79
  554. package/src/widgets/users/avatars/__snapshots__/avatars.test.tsx.snap +0 -1585
  555. package/src/widgets/users/avatars/avatars.scss +0 -64
  556. package/src/widgets/users/avatars/avatars.test.tsx +0 -184
  557. package/src/widgets/users/avatars/avatars.tsx +0 -146
  558. package/src/widgets/users/avatars/index.ts +0 -4
  559. package/src/widgets/users/users.stories.tsx +0 -37
  560. package/tsconfig.json +0 -14
  561. package/webpack.config.js +0 -58
@@ -1,1585 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`components/widgets/users/Avatars should fetch missing users 1`] = `
4
- <Memo(Avatars)
5
- size="xl"
6
- userIds={
7
- Array [
8
- "1",
9
- "6",
10
- "7",
11
- "2",
12
- "8",
13
- "9",
14
- ]
15
- }
16
- >
17
- <div
18
- className="Avatars Avatars___xl"
19
- onMouseLeave={[Function]}
20
- >
21
- <UserAvatar
22
- key="1"
23
- overlayProps={
24
- Object {
25
- "animation": true,
26
- "delayShow": undefined,
27
- "onEntered": [Function],
28
- }
29
- }
30
- size="xl"
31
- style={
32
- Object {
33
- "background": "rgb(240, 240, 241)",
34
- }
35
- }
36
- tabIndex={0}
37
- userId="1"
38
- >
39
- <SimpleTooltip
40
- animation={true}
41
- content="first.last1"
42
- id="name-1"
43
- onEntered={[Function]}
44
- >
45
- <OverlayTrigger
46
- animation={true}
47
- defaultOverlayShown={false}
48
- delayShow={500}
49
- onEntered={[Function]}
50
- overlay={
51
- <Tooltip
52
- bsClass="tooltip"
53
- className="hidden-xs"
54
- id="name-1"
55
- placement="top"
56
- >
57
- first.last1
58
- </Tooltip>
59
- }
60
- placement="top"
61
- trigger={
62
- Array [
63
- "hover",
64
- "focus",
65
- ]
66
- }
67
- >
68
- <OverlayTrigger
69
- animation={true}
70
- defaultOverlayShown={false}
71
- delayShow={500}
72
- onEntered={[Function]}
73
- overlay={
74
- <OverlayWrapper
75
- bsClass="tooltip"
76
- className="hidden-xs"
77
- id="name-1"
78
- intl={
79
- Object {
80
- "defaultFormats": Object {},
81
- "defaultLocale": "en",
82
- "defaultRichTextElements": undefined,
83
- "formatDate": [Function],
84
- "formatDateTimeRange": [Function],
85
- "formatDateToParts": [Function],
86
- "formatDisplayName": [Function],
87
- "formatList": [Function],
88
- "formatListToParts": [Function],
89
- "formatMessage": [Function],
90
- "formatNumber": [Function],
91
- "formatNumberToParts": [Function],
92
- "formatPlural": [Function],
93
- "formatRelativeTime": [Function],
94
- "formatTime": [Function],
95
- "formatTimeToParts": [Function],
96
- "formats": Object {},
97
- "formatters": Object {
98
- "getDateTimeFormat": [Function],
99
- "getDisplayNames": [Function],
100
- "getListFormat": [Function],
101
- "getMessageFormat": [Function],
102
- "getNumberFormat": [Function],
103
- "getPluralRules": [Function],
104
- "getRelativeTimeFormat": [Function],
105
- },
106
- "locale": "en",
107
- "messages": Object {},
108
- "onError": [Function],
109
- "textComponent": "span",
110
- "timeZone": "Etc/UTC",
111
- "wrapRichTextChunksInFragment": undefined,
112
- }
113
- }
114
- placement="top"
115
- >
116
- first.last1
117
- </OverlayWrapper>
118
- }
119
- placement="top"
120
- trigger={
121
- Array [
122
- "hover",
123
- "focus",
124
- ]
125
- }
126
- >
127
- <Memo(Avatar)
128
- onBlur={[Function]}
129
- onClick={null}
130
- onFocus={[Function]}
131
- onMouseOut={[Function]}
132
- onMouseOver={[Function]}
133
- size="xl"
134
- style={
135
- Object {
136
- "background": "rgb(240, 240, 241)",
137
- }
138
- }
139
- tabIndex={0}
140
- url="/api/v4/users/1/image?_=1620680333191"
141
- >
142
- <img
143
- alt="user profile image"
144
- className="Avatar Avatar-xl"
145
- onBlur={[Function]}
146
- onClick={null}
147
- onFocus={[Function]}
148
- onMouseOut={[Function]}
149
- onMouseOver={[Function]}
150
- src="/api/v4/users/1/image?_=1620680333191"
151
- style={
152
- Object {
153
- "background": "rgb(240, 240, 241)",
154
- }
155
- }
156
- tabIndex={0}
157
- />
158
- </Memo(Avatar)>
159
- </OverlayTrigger>
160
- </OverlayTrigger>
161
- </SimpleTooltip>
162
- </UserAvatar>
163
- <UserAvatar
164
- key="6"
165
- overlayProps={
166
- Object {
167
- "animation": true,
168
- "delayShow": undefined,
169
- "onEntered": [Function],
170
- }
171
- }
172
- size="xl"
173
- style={
174
- Object {
175
- "background": "rgb(240, 240, 241)",
176
- }
177
- }
178
- tabIndex={0}
179
- userId="6"
180
- >
181
- <SimpleTooltip
182
- animation={true}
183
- content="Someone"
184
- id="name-6"
185
- onEntered={[Function]}
186
- >
187
- <OverlayTrigger
188
- animation={true}
189
- defaultOverlayShown={false}
190
- delayShow={500}
191
- onEntered={[Function]}
192
- overlay={
193
- <Tooltip
194
- bsClass="tooltip"
195
- className="hidden-xs"
196
- id="name-6"
197
- placement="top"
198
- >
199
- Someone
200
- </Tooltip>
201
- }
202
- placement="top"
203
- trigger={
204
- Array [
205
- "hover",
206
- "focus",
207
- ]
208
- }
209
- >
210
- <OverlayTrigger
211
- animation={true}
212
- defaultOverlayShown={false}
213
- delayShow={500}
214
- onEntered={[Function]}
215
- overlay={
216
- <OverlayWrapper
217
- bsClass="tooltip"
218
- className="hidden-xs"
219
- id="name-6"
220
- intl={
221
- Object {
222
- "defaultFormats": Object {},
223
- "defaultLocale": "en",
224
- "defaultRichTextElements": undefined,
225
- "formatDate": [Function],
226
- "formatDateTimeRange": [Function],
227
- "formatDateToParts": [Function],
228
- "formatDisplayName": [Function],
229
- "formatList": [Function],
230
- "formatListToParts": [Function],
231
- "formatMessage": [Function],
232
- "formatNumber": [Function],
233
- "formatNumberToParts": [Function],
234
- "formatPlural": [Function],
235
- "formatRelativeTime": [Function],
236
- "formatTime": [Function],
237
- "formatTimeToParts": [Function],
238
- "formats": Object {},
239
- "formatters": Object {
240
- "getDateTimeFormat": [Function],
241
- "getDisplayNames": [Function],
242
- "getListFormat": [Function],
243
- "getMessageFormat": [Function],
244
- "getNumberFormat": [Function],
245
- "getPluralRules": [Function],
246
- "getRelativeTimeFormat": [Function],
247
- },
248
- "locale": "en",
249
- "messages": Object {},
250
- "onError": [Function],
251
- "textComponent": "span",
252
- "timeZone": "Etc/UTC",
253
- "wrapRichTextChunksInFragment": undefined,
254
- }
255
- }
256
- placement="top"
257
- >
258
- Someone
259
- </OverlayWrapper>
260
- }
261
- placement="top"
262
- trigger={
263
- Array [
264
- "hover",
265
- "focus",
266
- ]
267
- }
268
- >
269
- <Memo(Avatar)
270
- onBlur={[Function]}
271
- onClick={null}
272
- onFocus={[Function]}
273
- onMouseOut={[Function]}
274
- onMouseOver={[Function]}
275
- size="xl"
276
- style={
277
- Object {
278
- "background": "rgb(240, 240, 241)",
279
- }
280
- }
281
- tabIndex={0}
282
- url="/api/v4/users/6/image?_=0"
283
- >
284
- <img
285
- alt="user profile image"
286
- className="Avatar Avatar-xl"
287
- onBlur={[Function]}
288
- onClick={null}
289
- onFocus={[Function]}
290
- onMouseOut={[Function]}
291
- onMouseOver={[Function]}
292
- src="/api/v4/users/6/image?_=0"
293
- style={
294
- Object {
295
- "background": "rgb(240, 240, 241)",
296
- }
297
- }
298
- tabIndex={0}
299
- />
300
- </Memo(Avatar)>
301
- </OverlayTrigger>
302
- </OverlayTrigger>
303
- </SimpleTooltip>
304
- </UserAvatar>
305
- <UserAvatar
306
- key="7"
307
- overlayProps={
308
- Object {
309
- "animation": true,
310
- "delayShow": undefined,
311
- "onEntered": [Function],
312
- }
313
- }
314
- size="xl"
315
- style={
316
- Object {
317
- "background": "rgb(240, 240, 241)",
318
- }
319
- }
320
- tabIndex={0}
321
- userId="7"
322
- >
323
- <SimpleTooltip
324
- animation={true}
325
- content="Someone"
326
- id="name-7"
327
- onEntered={[Function]}
328
- >
329
- <OverlayTrigger
330
- animation={true}
331
- defaultOverlayShown={false}
332
- delayShow={500}
333
- onEntered={[Function]}
334
- overlay={
335
- <Tooltip
336
- bsClass="tooltip"
337
- className="hidden-xs"
338
- id="name-7"
339
- placement="top"
340
- >
341
- Someone
342
- </Tooltip>
343
- }
344
- placement="top"
345
- trigger={
346
- Array [
347
- "hover",
348
- "focus",
349
- ]
350
- }
351
- >
352
- <OverlayTrigger
353
- animation={true}
354
- defaultOverlayShown={false}
355
- delayShow={500}
356
- onEntered={[Function]}
357
- overlay={
358
- <OverlayWrapper
359
- bsClass="tooltip"
360
- className="hidden-xs"
361
- id="name-7"
362
- intl={
363
- Object {
364
- "defaultFormats": Object {},
365
- "defaultLocale": "en",
366
- "defaultRichTextElements": undefined,
367
- "formatDate": [Function],
368
- "formatDateTimeRange": [Function],
369
- "formatDateToParts": [Function],
370
- "formatDisplayName": [Function],
371
- "formatList": [Function],
372
- "formatListToParts": [Function],
373
- "formatMessage": [Function],
374
- "formatNumber": [Function],
375
- "formatNumberToParts": [Function],
376
- "formatPlural": [Function],
377
- "formatRelativeTime": [Function],
378
- "formatTime": [Function],
379
- "formatTimeToParts": [Function],
380
- "formats": Object {},
381
- "formatters": Object {
382
- "getDateTimeFormat": [Function],
383
- "getDisplayNames": [Function],
384
- "getListFormat": [Function],
385
- "getMessageFormat": [Function],
386
- "getNumberFormat": [Function],
387
- "getPluralRules": [Function],
388
- "getRelativeTimeFormat": [Function],
389
- },
390
- "locale": "en",
391
- "messages": Object {},
392
- "onError": [Function],
393
- "textComponent": "span",
394
- "timeZone": "Etc/UTC",
395
- "wrapRichTextChunksInFragment": undefined,
396
- }
397
- }
398
- placement="top"
399
- >
400
- Someone
401
- </OverlayWrapper>
402
- }
403
- placement="top"
404
- trigger={
405
- Array [
406
- "hover",
407
- "focus",
408
- ]
409
- }
410
- >
411
- <Memo(Avatar)
412
- onBlur={[Function]}
413
- onClick={null}
414
- onFocus={[Function]}
415
- onMouseOut={[Function]}
416
- onMouseOver={[Function]}
417
- size="xl"
418
- style={
419
- Object {
420
- "background": "rgb(240, 240, 241)",
421
- }
422
- }
423
- tabIndex={0}
424
- url="/api/v4/users/7/image?_=0"
425
- >
426
- <img
427
- alt="user profile image"
428
- className="Avatar Avatar-xl"
429
- onBlur={[Function]}
430
- onClick={null}
431
- onFocus={[Function]}
432
- onMouseOut={[Function]}
433
- onMouseOver={[Function]}
434
- src="/api/v4/users/7/image?_=0"
435
- style={
436
- Object {
437
- "background": "rgb(240, 240, 241)",
438
- }
439
- }
440
- tabIndex={0}
441
- />
442
- </Memo(Avatar)>
443
- </OverlayTrigger>
444
- </OverlayTrigger>
445
- </SimpleTooltip>
446
- </UserAvatar>
447
- <SimpleTooltip
448
- animation={true}
449
- content="first.last2, Someone, Someone"
450
- id="names-overflow"
451
- onEntered={[Function]}
452
- >
453
- <OverlayTrigger
454
- animation={true}
455
- defaultOverlayShown={false}
456
- delayShow={500}
457
- onEntered={[Function]}
458
- overlay={
459
- <Tooltip
460
- bsClass="tooltip"
461
- className="hidden-xs"
462
- id="names-overflow"
463
- placement="top"
464
- >
465
- first.last2, Someone, Someone
466
- </Tooltip>
467
- }
468
- placement="top"
469
- trigger={
470
- Array [
471
- "hover",
472
- "focus",
473
- ]
474
- }
475
- >
476
- <OverlayTrigger
477
- animation={true}
478
- defaultOverlayShown={false}
479
- delayShow={500}
480
- onEntered={[Function]}
481
- overlay={
482
- <OverlayWrapper
483
- bsClass="tooltip"
484
- className="hidden-xs"
485
- id="names-overflow"
486
- intl={
487
- Object {
488
- "defaultFormats": Object {},
489
- "defaultLocale": "en",
490
- "defaultRichTextElements": undefined,
491
- "formatDate": [Function],
492
- "formatDateTimeRange": [Function],
493
- "formatDateToParts": [Function],
494
- "formatDisplayName": [Function],
495
- "formatList": [Function],
496
- "formatListToParts": [Function],
497
- "formatMessage": [Function],
498
- "formatNumber": [Function],
499
- "formatNumberToParts": [Function],
500
- "formatPlural": [Function],
501
- "formatRelativeTime": [Function],
502
- "formatTime": [Function],
503
- "formatTimeToParts": [Function],
504
- "formats": Object {},
505
- "formatters": Object {
506
- "getDateTimeFormat": [Function],
507
- "getDisplayNames": [Function],
508
- "getListFormat": [Function],
509
- "getMessageFormat": [Function],
510
- "getNumberFormat": [Function],
511
- "getPluralRules": [Function],
512
- "getRelativeTimeFormat": [Function],
513
- },
514
- "locale": "en",
515
- "messages": Object {},
516
- "onError": [Function],
517
- "textComponent": "span",
518
- "timeZone": "Etc/UTC",
519
- "wrapRichTextChunksInFragment": undefined,
520
- }
521
- }
522
- placement="top"
523
- >
524
- first.last2, Someone, Someone
525
- </OverlayWrapper>
526
- }
527
- placement="top"
528
- trigger={
529
- Array [
530
- "hover",
531
- "focus",
532
- ]
533
- }
534
- >
535
- <Memo(Avatar)
536
- onBlur={[Function]}
537
- onClick={null}
538
- onFocus={[Function]}
539
- onMouseOut={[Function]}
540
- onMouseOver={[Function]}
541
- size="xl"
542
- style={
543
- Object {
544
- "background": "rgb(240, 240, 241)",
545
- }
546
- }
547
- tabIndex={0}
548
- text="+3"
549
- >
550
- <div
551
- className="Avatar Avatar-xl Avatar-plain"
552
- data-content="+3"
553
- onBlur={[Function]}
554
- onClick={null}
555
- onFocus={[Function]}
556
- onMouseOut={[Function]}
557
- onMouseOver={[Function]}
558
- style={
559
- Object {
560
- "background": "rgb(240, 240, 241)",
561
- }
562
- }
563
- tabIndex={0}
564
- />
565
- </Memo(Avatar)>
566
- </OverlayTrigger>
567
- </OverlayTrigger>
568
- </SimpleTooltip>
569
- </div>
570
- </Memo(Avatars)>
571
- `;
572
-
573
- exports[`components/widgets/users/Avatars should properly count overflow 1`] = `
574
- <Memo(Avatars)
575
- size="xl"
576
- userIds={
577
- Array [
578
- "1",
579
- "2",
580
- "3",
581
- "4",
582
- "5",
583
- ]
584
- }
585
- >
586
- <div
587
- className="Avatars Avatars___xl"
588
- onMouseLeave={[Function]}
589
- >
590
- <UserAvatar
591
- key="1"
592
- overlayProps={
593
- Object {
594
- "animation": true,
595
- "delayShow": undefined,
596
- "onEntered": [Function],
597
- }
598
- }
599
- size="xl"
600
- style={
601
- Object {
602
- "background": "rgb(240, 240, 241)",
603
- }
604
- }
605
- tabIndex={0}
606
- userId="1"
607
- >
608
- <SimpleTooltip
609
- animation={true}
610
- content="first.last1"
611
- id="name-1"
612
- onEntered={[Function]}
613
- >
614
- <OverlayTrigger
615
- animation={true}
616
- defaultOverlayShown={false}
617
- delayShow={500}
618
- onEntered={[Function]}
619
- overlay={
620
- <Tooltip
621
- bsClass="tooltip"
622
- className="hidden-xs"
623
- id="name-1"
624
- placement="top"
625
- >
626
- first.last1
627
- </Tooltip>
628
- }
629
- placement="top"
630
- trigger={
631
- Array [
632
- "hover",
633
- "focus",
634
- ]
635
- }
636
- >
637
- <OverlayTrigger
638
- animation={true}
639
- defaultOverlayShown={false}
640
- delayShow={500}
641
- onEntered={[Function]}
642
- overlay={
643
- <OverlayWrapper
644
- bsClass="tooltip"
645
- className="hidden-xs"
646
- id="name-1"
647
- intl={
648
- Object {
649
- "defaultFormats": Object {},
650
- "defaultLocale": "en",
651
- "defaultRichTextElements": undefined,
652
- "formatDate": [Function],
653
- "formatDateTimeRange": [Function],
654
- "formatDateToParts": [Function],
655
- "formatDisplayName": [Function],
656
- "formatList": [Function],
657
- "formatListToParts": [Function],
658
- "formatMessage": [Function],
659
- "formatNumber": [Function],
660
- "formatNumberToParts": [Function],
661
- "formatPlural": [Function],
662
- "formatRelativeTime": [Function],
663
- "formatTime": [Function],
664
- "formatTimeToParts": [Function],
665
- "formats": Object {},
666
- "formatters": Object {
667
- "getDateTimeFormat": [Function],
668
- "getDisplayNames": [Function],
669
- "getListFormat": [Function],
670
- "getMessageFormat": [Function],
671
- "getNumberFormat": [Function],
672
- "getPluralRules": [Function],
673
- "getRelativeTimeFormat": [Function],
674
- },
675
- "locale": "en",
676
- "messages": Object {},
677
- "onError": [Function],
678
- "textComponent": "span",
679
- "timeZone": "Etc/UTC",
680
- "wrapRichTextChunksInFragment": undefined,
681
- }
682
- }
683
- placement="top"
684
- >
685
- first.last1
686
- </OverlayWrapper>
687
- }
688
- placement="top"
689
- trigger={
690
- Array [
691
- "hover",
692
- "focus",
693
- ]
694
- }
695
- >
696
- <Memo(Avatar)
697
- onBlur={[Function]}
698
- onClick={null}
699
- onFocus={[Function]}
700
- onMouseOut={[Function]}
701
- onMouseOver={[Function]}
702
- size="xl"
703
- style={
704
- Object {
705
- "background": "rgb(240, 240, 241)",
706
- }
707
- }
708
- tabIndex={0}
709
- url="/api/v4/users/1/image?_=1620680333191"
710
- >
711
- <img
712
- alt="user profile image"
713
- className="Avatar Avatar-xl"
714
- onBlur={[Function]}
715
- onClick={null}
716
- onFocus={[Function]}
717
- onMouseOut={[Function]}
718
- onMouseOver={[Function]}
719
- src="/api/v4/users/1/image?_=1620680333191"
720
- style={
721
- Object {
722
- "background": "rgb(240, 240, 241)",
723
- }
724
- }
725
- tabIndex={0}
726
- />
727
- </Memo(Avatar)>
728
- </OverlayTrigger>
729
- </OverlayTrigger>
730
- </SimpleTooltip>
731
- </UserAvatar>
732
- <UserAvatar
733
- key="2"
734
- overlayProps={
735
- Object {
736
- "animation": true,
737
- "delayShow": undefined,
738
- "onEntered": [Function],
739
- }
740
- }
741
- size="xl"
742
- style={
743
- Object {
744
- "background": "rgb(240, 240, 241)",
745
- }
746
- }
747
- tabIndex={0}
748
- userId="2"
749
- >
750
- <SimpleTooltip
751
- animation={true}
752
- content="first.last2"
753
- id="name-2"
754
- onEntered={[Function]}
755
- >
756
- <OverlayTrigger
757
- animation={true}
758
- defaultOverlayShown={false}
759
- delayShow={500}
760
- onEntered={[Function]}
761
- overlay={
762
- <Tooltip
763
- bsClass="tooltip"
764
- className="hidden-xs"
765
- id="name-2"
766
- placement="top"
767
- >
768
- first.last2
769
- </Tooltip>
770
- }
771
- placement="top"
772
- trigger={
773
- Array [
774
- "hover",
775
- "focus",
776
- ]
777
- }
778
- >
779
- <OverlayTrigger
780
- animation={true}
781
- defaultOverlayShown={false}
782
- delayShow={500}
783
- onEntered={[Function]}
784
- overlay={
785
- <OverlayWrapper
786
- bsClass="tooltip"
787
- className="hidden-xs"
788
- id="name-2"
789
- intl={
790
- Object {
791
- "defaultFormats": Object {},
792
- "defaultLocale": "en",
793
- "defaultRichTextElements": undefined,
794
- "formatDate": [Function],
795
- "formatDateTimeRange": [Function],
796
- "formatDateToParts": [Function],
797
- "formatDisplayName": [Function],
798
- "formatList": [Function],
799
- "formatListToParts": [Function],
800
- "formatMessage": [Function],
801
- "formatNumber": [Function],
802
- "formatNumberToParts": [Function],
803
- "formatPlural": [Function],
804
- "formatRelativeTime": [Function],
805
- "formatTime": [Function],
806
- "formatTimeToParts": [Function],
807
- "formats": Object {},
808
- "formatters": Object {
809
- "getDateTimeFormat": [Function],
810
- "getDisplayNames": [Function],
811
- "getListFormat": [Function],
812
- "getMessageFormat": [Function],
813
- "getNumberFormat": [Function],
814
- "getPluralRules": [Function],
815
- "getRelativeTimeFormat": [Function],
816
- },
817
- "locale": "en",
818
- "messages": Object {},
819
- "onError": [Function],
820
- "textComponent": "span",
821
- "timeZone": "Etc/UTC",
822
- "wrapRichTextChunksInFragment": undefined,
823
- }
824
- }
825
- placement="top"
826
- >
827
- first.last2
828
- </OverlayWrapper>
829
- }
830
- placement="top"
831
- trigger={
832
- Array [
833
- "hover",
834
- "focus",
835
- ]
836
- }
837
- >
838
- <Memo(Avatar)
839
- onBlur={[Function]}
840
- onClick={null}
841
- onFocus={[Function]}
842
- onMouseOut={[Function]}
843
- onMouseOver={[Function]}
844
- size="xl"
845
- style={
846
- Object {
847
- "background": "rgb(240, 240, 241)",
848
- }
849
- }
850
- tabIndex={0}
851
- url="/api/v4/users/2/image?_=1620680333191"
852
- >
853
- <img
854
- alt="user profile image"
855
- className="Avatar Avatar-xl"
856
- onBlur={[Function]}
857
- onClick={null}
858
- onFocus={[Function]}
859
- onMouseOut={[Function]}
860
- onMouseOver={[Function]}
861
- src="/api/v4/users/2/image?_=1620680333191"
862
- style={
863
- Object {
864
- "background": "rgb(240, 240, 241)",
865
- }
866
- }
867
- tabIndex={0}
868
- />
869
- </Memo(Avatar)>
870
- </OverlayTrigger>
871
- </OverlayTrigger>
872
- </SimpleTooltip>
873
- </UserAvatar>
874
- <UserAvatar
875
- key="3"
876
- overlayProps={
877
- Object {
878
- "animation": true,
879
- "delayShow": undefined,
880
- "onEntered": [Function],
881
- }
882
- }
883
- size="xl"
884
- style={
885
- Object {
886
- "background": "rgb(240, 240, 241)",
887
- }
888
- }
889
- tabIndex={0}
890
- userId="3"
891
- >
892
- <SimpleTooltip
893
- animation={true}
894
- content="first.last3"
895
- id="name-3"
896
- onEntered={[Function]}
897
- >
898
- <OverlayTrigger
899
- animation={true}
900
- defaultOverlayShown={false}
901
- delayShow={500}
902
- onEntered={[Function]}
903
- overlay={
904
- <Tooltip
905
- bsClass="tooltip"
906
- className="hidden-xs"
907
- id="name-3"
908
- placement="top"
909
- >
910
- first.last3
911
- </Tooltip>
912
- }
913
- placement="top"
914
- trigger={
915
- Array [
916
- "hover",
917
- "focus",
918
- ]
919
- }
920
- >
921
- <OverlayTrigger
922
- animation={true}
923
- defaultOverlayShown={false}
924
- delayShow={500}
925
- onEntered={[Function]}
926
- overlay={
927
- <OverlayWrapper
928
- bsClass="tooltip"
929
- className="hidden-xs"
930
- id="name-3"
931
- intl={
932
- Object {
933
- "defaultFormats": Object {},
934
- "defaultLocale": "en",
935
- "defaultRichTextElements": undefined,
936
- "formatDate": [Function],
937
- "formatDateTimeRange": [Function],
938
- "formatDateToParts": [Function],
939
- "formatDisplayName": [Function],
940
- "formatList": [Function],
941
- "formatListToParts": [Function],
942
- "formatMessage": [Function],
943
- "formatNumber": [Function],
944
- "formatNumberToParts": [Function],
945
- "formatPlural": [Function],
946
- "formatRelativeTime": [Function],
947
- "formatTime": [Function],
948
- "formatTimeToParts": [Function],
949
- "formats": Object {},
950
- "formatters": Object {
951
- "getDateTimeFormat": [Function],
952
- "getDisplayNames": [Function],
953
- "getListFormat": [Function],
954
- "getMessageFormat": [Function],
955
- "getNumberFormat": [Function],
956
- "getPluralRules": [Function],
957
- "getRelativeTimeFormat": [Function],
958
- },
959
- "locale": "en",
960
- "messages": Object {},
961
- "onError": [Function],
962
- "textComponent": "span",
963
- "timeZone": "Etc/UTC",
964
- "wrapRichTextChunksInFragment": undefined,
965
- }
966
- }
967
- placement="top"
968
- >
969
- first.last3
970
- </OverlayWrapper>
971
- }
972
- placement="top"
973
- trigger={
974
- Array [
975
- "hover",
976
- "focus",
977
- ]
978
- }
979
- >
980
- <Memo(Avatar)
981
- onBlur={[Function]}
982
- onClick={null}
983
- onFocus={[Function]}
984
- onMouseOut={[Function]}
985
- onMouseOver={[Function]}
986
- size="xl"
987
- style={
988
- Object {
989
- "background": "rgb(240, 240, 241)",
990
- }
991
- }
992
- tabIndex={0}
993
- url="/api/v4/users/3/image?_=1620680333191"
994
- >
995
- <img
996
- alt="user profile image"
997
- className="Avatar Avatar-xl"
998
- onBlur={[Function]}
999
- onClick={null}
1000
- onFocus={[Function]}
1001
- onMouseOut={[Function]}
1002
- onMouseOver={[Function]}
1003
- src="/api/v4/users/3/image?_=1620680333191"
1004
- style={
1005
- Object {
1006
- "background": "rgb(240, 240, 241)",
1007
- }
1008
- }
1009
- tabIndex={0}
1010
- />
1011
- </Memo(Avatar)>
1012
- </OverlayTrigger>
1013
- </OverlayTrigger>
1014
- </SimpleTooltip>
1015
- </UserAvatar>
1016
- <SimpleTooltip
1017
- animation={true}
1018
- content="first.last4, first.last5"
1019
- id="names-overflow"
1020
- onEntered={[Function]}
1021
- >
1022
- <OverlayTrigger
1023
- animation={true}
1024
- defaultOverlayShown={false}
1025
- delayShow={500}
1026
- onEntered={[Function]}
1027
- overlay={
1028
- <Tooltip
1029
- bsClass="tooltip"
1030
- className="hidden-xs"
1031
- id="names-overflow"
1032
- placement="top"
1033
- >
1034
- first.last4, first.last5
1035
- </Tooltip>
1036
- }
1037
- placement="top"
1038
- trigger={
1039
- Array [
1040
- "hover",
1041
- "focus",
1042
- ]
1043
- }
1044
- >
1045
- <OverlayTrigger
1046
- animation={true}
1047
- defaultOverlayShown={false}
1048
- delayShow={500}
1049
- onEntered={[Function]}
1050
- overlay={
1051
- <OverlayWrapper
1052
- bsClass="tooltip"
1053
- className="hidden-xs"
1054
- id="names-overflow"
1055
- intl={
1056
- Object {
1057
- "defaultFormats": Object {},
1058
- "defaultLocale": "en",
1059
- "defaultRichTextElements": undefined,
1060
- "formatDate": [Function],
1061
- "formatDateTimeRange": [Function],
1062
- "formatDateToParts": [Function],
1063
- "formatDisplayName": [Function],
1064
- "formatList": [Function],
1065
- "formatListToParts": [Function],
1066
- "formatMessage": [Function],
1067
- "formatNumber": [Function],
1068
- "formatNumberToParts": [Function],
1069
- "formatPlural": [Function],
1070
- "formatRelativeTime": [Function],
1071
- "formatTime": [Function],
1072
- "formatTimeToParts": [Function],
1073
- "formats": Object {},
1074
- "formatters": Object {
1075
- "getDateTimeFormat": [Function],
1076
- "getDisplayNames": [Function],
1077
- "getListFormat": [Function],
1078
- "getMessageFormat": [Function],
1079
- "getNumberFormat": [Function],
1080
- "getPluralRules": [Function],
1081
- "getRelativeTimeFormat": [Function],
1082
- },
1083
- "locale": "en",
1084
- "messages": Object {},
1085
- "onError": [Function],
1086
- "textComponent": "span",
1087
- "timeZone": "Etc/UTC",
1088
- "wrapRichTextChunksInFragment": undefined,
1089
- }
1090
- }
1091
- placement="top"
1092
- >
1093
- first.last4, first.last5
1094
- </OverlayWrapper>
1095
- }
1096
- placement="top"
1097
- trigger={
1098
- Array [
1099
- "hover",
1100
- "focus",
1101
- ]
1102
- }
1103
- >
1104
- <Memo(Avatar)
1105
- onBlur={[Function]}
1106
- onClick={null}
1107
- onFocus={[Function]}
1108
- onMouseOut={[Function]}
1109
- onMouseOver={[Function]}
1110
- size="xl"
1111
- style={
1112
- Object {
1113
- "background": "rgb(240, 240, 241)",
1114
- }
1115
- }
1116
- tabIndex={0}
1117
- text="+2"
1118
- >
1119
- <div
1120
- className="Avatar Avatar-xl Avatar-plain"
1121
- data-content="+2"
1122
- onBlur={[Function]}
1123
- onClick={null}
1124
- onFocus={[Function]}
1125
- onMouseOut={[Function]}
1126
- onMouseOver={[Function]}
1127
- style={
1128
- Object {
1129
- "background": "rgb(240, 240, 241)",
1130
- }
1131
- }
1132
- tabIndex={0}
1133
- />
1134
- </Memo(Avatar)>
1135
- </OverlayTrigger>
1136
- </OverlayTrigger>
1137
- </SimpleTooltip>
1138
- </div>
1139
- </Memo(Avatars)>
1140
- `;
1141
-
1142
- exports[`components/widgets/users/Avatars should support userIds 1`] = `
1143
- <Memo(Avatars)
1144
- size="xl"
1145
- userIds={
1146
- Array [
1147
- "1",
1148
- "2",
1149
- "3",
1150
- ]
1151
- }
1152
- >
1153
- <div
1154
- className="Avatars Avatars___xl"
1155
- onMouseLeave={[Function]}
1156
- >
1157
- <UserAvatar
1158
- key="1"
1159
- overlayProps={
1160
- Object {
1161
- "animation": true,
1162
- "delayShow": undefined,
1163
- "onEntered": [Function],
1164
- }
1165
- }
1166
- size="xl"
1167
- style={
1168
- Object {
1169
- "background": "rgb(240, 240, 241)",
1170
- }
1171
- }
1172
- tabIndex={0}
1173
- userId="1"
1174
- >
1175
- <SimpleTooltip
1176
- animation={true}
1177
- content="first.last1"
1178
- id="name-1"
1179
- onEntered={[Function]}
1180
- >
1181
- <OverlayTrigger
1182
- animation={true}
1183
- defaultOverlayShown={false}
1184
- delayShow={500}
1185
- onEntered={[Function]}
1186
- overlay={
1187
- <Tooltip
1188
- bsClass="tooltip"
1189
- className="hidden-xs"
1190
- id="name-1"
1191
- placement="top"
1192
- >
1193
- first.last1
1194
- </Tooltip>
1195
- }
1196
- placement="top"
1197
- trigger={
1198
- Array [
1199
- "hover",
1200
- "focus",
1201
- ]
1202
- }
1203
- >
1204
- <OverlayTrigger
1205
- animation={true}
1206
- defaultOverlayShown={false}
1207
- delayShow={500}
1208
- onEntered={[Function]}
1209
- overlay={
1210
- <OverlayWrapper
1211
- bsClass="tooltip"
1212
- className="hidden-xs"
1213
- id="name-1"
1214
- intl={
1215
- Object {
1216
- "defaultFormats": Object {},
1217
- "defaultLocale": "en",
1218
- "defaultRichTextElements": undefined,
1219
- "formatDate": [Function],
1220
- "formatDateTimeRange": [Function],
1221
- "formatDateToParts": [Function],
1222
- "formatDisplayName": [Function],
1223
- "formatList": [Function],
1224
- "formatListToParts": [Function],
1225
- "formatMessage": [Function],
1226
- "formatNumber": [Function],
1227
- "formatNumberToParts": [Function],
1228
- "formatPlural": [Function],
1229
- "formatRelativeTime": [Function],
1230
- "formatTime": [Function],
1231
- "formatTimeToParts": [Function],
1232
- "formats": Object {},
1233
- "formatters": Object {
1234
- "getDateTimeFormat": [Function],
1235
- "getDisplayNames": [Function],
1236
- "getListFormat": [Function],
1237
- "getMessageFormat": [Function],
1238
- "getNumberFormat": [Function],
1239
- "getPluralRules": [Function],
1240
- "getRelativeTimeFormat": [Function],
1241
- },
1242
- "locale": "en",
1243
- "messages": Object {},
1244
- "onError": [Function],
1245
- "textComponent": "span",
1246
- "timeZone": "Etc/UTC",
1247
- "wrapRichTextChunksInFragment": undefined,
1248
- }
1249
- }
1250
- placement="top"
1251
- >
1252
- first.last1
1253
- </OverlayWrapper>
1254
- }
1255
- placement="top"
1256
- trigger={
1257
- Array [
1258
- "hover",
1259
- "focus",
1260
- ]
1261
- }
1262
- >
1263
- <Memo(Avatar)
1264
- onBlur={[Function]}
1265
- onClick={null}
1266
- onFocus={[Function]}
1267
- onMouseOut={[Function]}
1268
- onMouseOver={[Function]}
1269
- size="xl"
1270
- style={
1271
- Object {
1272
- "background": "rgb(240, 240, 241)",
1273
- }
1274
- }
1275
- tabIndex={0}
1276
- url="/api/v4/users/1/image?_=1620680333191"
1277
- >
1278
- <img
1279
- alt="user profile image"
1280
- className="Avatar Avatar-xl"
1281
- onBlur={[Function]}
1282
- onClick={null}
1283
- onFocus={[Function]}
1284
- onMouseOut={[Function]}
1285
- onMouseOver={[Function]}
1286
- src="/api/v4/users/1/image?_=1620680333191"
1287
- style={
1288
- Object {
1289
- "background": "rgb(240, 240, 241)",
1290
- }
1291
- }
1292
- tabIndex={0}
1293
- />
1294
- </Memo(Avatar)>
1295
- </OverlayTrigger>
1296
- </OverlayTrigger>
1297
- </SimpleTooltip>
1298
- </UserAvatar>
1299
- <UserAvatar
1300
- key="2"
1301
- overlayProps={
1302
- Object {
1303
- "animation": true,
1304
- "delayShow": undefined,
1305
- "onEntered": [Function],
1306
- }
1307
- }
1308
- size="xl"
1309
- style={
1310
- Object {
1311
- "background": "rgb(240, 240, 241)",
1312
- }
1313
- }
1314
- tabIndex={0}
1315
- userId="2"
1316
- >
1317
- <SimpleTooltip
1318
- animation={true}
1319
- content="first.last2"
1320
- id="name-2"
1321
- onEntered={[Function]}
1322
- >
1323
- <OverlayTrigger
1324
- animation={true}
1325
- defaultOverlayShown={false}
1326
- delayShow={500}
1327
- onEntered={[Function]}
1328
- overlay={
1329
- <Tooltip
1330
- bsClass="tooltip"
1331
- className="hidden-xs"
1332
- id="name-2"
1333
- placement="top"
1334
- >
1335
- first.last2
1336
- </Tooltip>
1337
- }
1338
- placement="top"
1339
- trigger={
1340
- Array [
1341
- "hover",
1342
- "focus",
1343
- ]
1344
- }
1345
- >
1346
- <OverlayTrigger
1347
- animation={true}
1348
- defaultOverlayShown={false}
1349
- delayShow={500}
1350
- onEntered={[Function]}
1351
- overlay={
1352
- <OverlayWrapper
1353
- bsClass="tooltip"
1354
- className="hidden-xs"
1355
- id="name-2"
1356
- intl={
1357
- Object {
1358
- "defaultFormats": Object {},
1359
- "defaultLocale": "en",
1360
- "defaultRichTextElements": undefined,
1361
- "formatDate": [Function],
1362
- "formatDateTimeRange": [Function],
1363
- "formatDateToParts": [Function],
1364
- "formatDisplayName": [Function],
1365
- "formatList": [Function],
1366
- "formatListToParts": [Function],
1367
- "formatMessage": [Function],
1368
- "formatNumber": [Function],
1369
- "formatNumberToParts": [Function],
1370
- "formatPlural": [Function],
1371
- "formatRelativeTime": [Function],
1372
- "formatTime": [Function],
1373
- "formatTimeToParts": [Function],
1374
- "formats": Object {},
1375
- "formatters": Object {
1376
- "getDateTimeFormat": [Function],
1377
- "getDisplayNames": [Function],
1378
- "getListFormat": [Function],
1379
- "getMessageFormat": [Function],
1380
- "getNumberFormat": [Function],
1381
- "getPluralRules": [Function],
1382
- "getRelativeTimeFormat": [Function],
1383
- },
1384
- "locale": "en",
1385
- "messages": Object {},
1386
- "onError": [Function],
1387
- "textComponent": "span",
1388
- "timeZone": "Etc/UTC",
1389
- "wrapRichTextChunksInFragment": undefined,
1390
- }
1391
- }
1392
- placement="top"
1393
- >
1394
- first.last2
1395
- </OverlayWrapper>
1396
- }
1397
- placement="top"
1398
- trigger={
1399
- Array [
1400
- "hover",
1401
- "focus",
1402
- ]
1403
- }
1404
- >
1405
- <Memo(Avatar)
1406
- onBlur={[Function]}
1407
- onClick={null}
1408
- onFocus={[Function]}
1409
- onMouseOut={[Function]}
1410
- onMouseOver={[Function]}
1411
- size="xl"
1412
- style={
1413
- Object {
1414
- "background": "rgb(240, 240, 241)",
1415
- }
1416
- }
1417
- tabIndex={0}
1418
- url="/api/v4/users/2/image?_=1620680333191"
1419
- >
1420
- <img
1421
- alt="user profile image"
1422
- className="Avatar Avatar-xl"
1423
- onBlur={[Function]}
1424
- onClick={null}
1425
- onFocus={[Function]}
1426
- onMouseOut={[Function]}
1427
- onMouseOver={[Function]}
1428
- src="/api/v4/users/2/image?_=1620680333191"
1429
- style={
1430
- Object {
1431
- "background": "rgb(240, 240, 241)",
1432
- }
1433
- }
1434
- tabIndex={0}
1435
- />
1436
- </Memo(Avatar)>
1437
- </OverlayTrigger>
1438
- </OverlayTrigger>
1439
- </SimpleTooltip>
1440
- </UserAvatar>
1441
- <UserAvatar
1442
- key="3"
1443
- overlayProps={
1444
- Object {
1445
- "animation": true,
1446
- "delayShow": undefined,
1447
- "onEntered": [Function],
1448
- }
1449
- }
1450
- size="xl"
1451
- style={
1452
- Object {
1453
- "background": "rgb(240, 240, 241)",
1454
- }
1455
- }
1456
- tabIndex={0}
1457
- userId="3"
1458
- >
1459
- <SimpleTooltip
1460
- animation={true}
1461
- content="first.last3"
1462
- id="name-3"
1463
- onEntered={[Function]}
1464
- >
1465
- <OverlayTrigger
1466
- animation={true}
1467
- defaultOverlayShown={false}
1468
- delayShow={500}
1469
- onEntered={[Function]}
1470
- overlay={
1471
- <Tooltip
1472
- bsClass="tooltip"
1473
- className="hidden-xs"
1474
- id="name-3"
1475
- placement="top"
1476
- >
1477
- first.last3
1478
- </Tooltip>
1479
- }
1480
- placement="top"
1481
- trigger={
1482
- Array [
1483
- "hover",
1484
- "focus",
1485
- ]
1486
- }
1487
- >
1488
- <OverlayTrigger
1489
- animation={true}
1490
- defaultOverlayShown={false}
1491
- delayShow={500}
1492
- onEntered={[Function]}
1493
- overlay={
1494
- <OverlayWrapper
1495
- bsClass="tooltip"
1496
- className="hidden-xs"
1497
- id="name-3"
1498
- intl={
1499
- Object {
1500
- "defaultFormats": Object {},
1501
- "defaultLocale": "en",
1502
- "defaultRichTextElements": undefined,
1503
- "formatDate": [Function],
1504
- "formatDateTimeRange": [Function],
1505
- "formatDateToParts": [Function],
1506
- "formatDisplayName": [Function],
1507
- "formatList": [Function],
1508
- "formatListToParts": [Function],
1509
- "formatMessage": [Function],
1510
- "formatNumber": [Function],
1511
- "formatNumberToParts": [Function],
1512
- "formatPlural": [Function],
1513
- "formatRelativeTime": [Function],
1514
- "formatTime": [Function],
1515
- "formatTimeToParts": [Function],
1516
- "formats": Object {},
1517
- "formatters": Object {
1518
- "getDateTimeFormat": [Function],
1519
- "getDisplayNames": [Function],
1520
- "getListFormat": [Function],
1521
- "getMessageFormat": [Function],
1522
- "getNumberFormat": [Function],
1523
- "getPluralRules": [Function],
1524
- "getRelativeTimeFormat": [Function],
1525
- },
1526
- "locale": "en",
1527
- "messages": Object {},
1528
- "onError": [Function],
1529
- "textComponent": "span",
1530
- "timeZone": "Etc/UTC",
1531
- "wrapRichTextChunksInFragment": undefined,
1532
- }
1533
- }
1534
- placement="top"
1535
- >
1536
- first.last3
1537
- </OverlayWrapper>
1538
- }
1539
- placement="top"
1540
- trigger={
1541
- Array [
1542
- "hover",
1543
- "focus",
1544
- ]
1545
- }
1546
- >
1547
- <Memo(Avatar)
1548
- onBlur={[Function]}
1549
- onClick={null}
1550
- onFocus={[Function]}
1551
- onMouseOut={[Function]}
1552
- onMouseOver={[Function]}
1553
- size="xl"
1554
- style={
1555
- Object {
1556
- "background": "rgb(240, 240, 241)",
1557
- }
1558
- }
1559
- tabIndex={0}
1560
- url="/api/v4/users/3/image?_=1620680333191"
1561
- >
1562
- <img
1563
- alt="user profile image"
1564
- className="Avatar Avatar-xl"
1565
- onBlur={[Function]}
1566
- onClick={null}
1567
- onFocus={[Function]}
1568
- onMouseOut={[Function]}
1569
- onMouseOver={[Function]}
1570
- src="/api/v4/users/3/image?_=1620680333191"
1571
- style={
1572
- Object {
1573
- "background": "rgb(240, 240, 241)",
1574
- }
1575
- }
1576
- tabIndex={0}
1577
- />
1578
- </Memo(Avatar)>
1579
- </OverlayTrigger>
1580
- </OverlayTrigger>
1581
- </SimpleTooltip>
1582
- </UserAvatar>
1583
- </div>
1584
- </Memo(Avatars)>
1585
- `;