@planningcenter/chat-react-native 4.5.1-qa-1061.0 → 4.5.1-qa-1062.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (891) hide show
  1. package/build/components/conversation/message_list.js +123 -155
  2. package/build/components/conversation/message_list.js.map +1 -1
  3. package/build/components/conversations/conversations.js +0 -1
  4. package/build/components/conversations/conversations.js.map +1 -1
  5. package/build/components/display/image.js +44 -47
  6. package/build/components/display/image.js.map +1 -1
  7. package/build/components/display/keyboard_scroll_view.js +0 -1
  8. package/build/components/display/keyboard_scroll_view.js.map +1 -1
  9. package/build/components/page/page_error_boundary.js +31 -56
  10. package/build/components/page/page_error_boundary.js.map +1 -1
  11. package/build/navigation/index.js +1 -3
  12. package/build/navigation/index.js.map +1 -1
  13. package/build/navigation/screenLayout.js +6 -10
  14. package/build/navigation/screenLayout.js.map +1 -1
  15. package/build/screens/age_check/age_check_required_screen.js +0 -1
  16. package/build/screens/age_check/age_check_required_screen.js.map +1 -1
  17. package/build/screens/conversation_details_screen.js +0 -1
  18. package/build/screens/conversation_details_screen.js.map +1 -1
  19. package/build/screens/conversation_new/components/form_list.js +0 -1
  20. package/build/screens/conversation_new/components/form_list.js.map +1 -1
  21. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js +0 -1
  22. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js.map +1 -1
  23. package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.js +291 -332
  24. package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.js.map +1 -1
  25. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js +0 -1
  26. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js.map +1 -1
  27. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js +0 -1
  28. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js.map +1 -1
  29. package/build/screens/get_help_screen.js +62 -56
  30. package/build/screens/get_help_screen.js.map +1 -1
  31. package/build/screens/group_notification_settings_screen.js +2 -3
  32. package/build/screens/group_notification_settings_screen.js.map +1 -1
  33. package/build/screens/notification_settings_screen.js +0 -1
  34. package/build/screens/notification_settings_screen.js.map +1 -1
  35. package/build/screens/preferred_app_selection_screen.js +39 -45
  36. package/build/screens/preferred_app_selection_screen.js.map +1 -1
  37. package/build/screens/search/components/search_results_list.js +110 -136
  38. package/build/screens/search/components/search_results_list.js.map +1 -1
  39. package/build/screens/search/search_screen.js +28 -21
  40. package/build/screens/search/search_screen.js.map +1 -1
  41. package/build/screens/settings_screen.js +6 -7
  42. package/build/screens/settings_screen.js.map +1 -1
  43. package/package.json +12 -8
  44. package/src/__tests__/utils/theme.ts +5 -2
  45. package/src/components/conversation/__tests__/message_list.test.tsx +0 -4
  46. package/src/components/conversation/message_list.tsx +0 -6
  47. package/src/components/conversations/conversations.tsx +0 -1
  48. package/src/components/display/image.tsx +19 -10
  49. package/src/components/display/keyboard_scroll_view.tsx +0 -1
  50. package/src/components/page/__tests__/page_error_boundary.test.tsx +0 -33
  51. package/src/components/page/page_error_boundary.tsx +12 -43
  52. package/src/navigation/index.tsx +2 -6
  53. package/src/navigation/screenLayout.tsx +1 -3
  54. package/src/screens/age_check/age_check_required_screen.tsx +1 -5
  55. package/src/screens/conversation_details_screen.tsx +0 -1
  56. package/src/screens/conversation_new/components/form_list.tsx +0 -1
  57. package/src/screens/conversation_select_recipients/conversation_new_entry_screen.tsx +1 -4
  58. package/src/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.tsx +68 -78
  59. package/src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx +0 -1
  60. package/src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx +0 -1
  61. package/src/screens/get_help_screen.tsx +4 -4
  62. package/src/screens/group_notification_settings_screen.tsx +3 -3
  63. package/src/screens/notification_settings_screen.tsx +0 -1
  64. package/src/screens/preferred_app_selection_screen.tsx +4 -4
  65. package/src/screens/search/__tests__/search_screen.test.tsx +7 -5
  66. package/src/screens/search/components/__tests__/search_results_list.test.tsx +2 -6
  67. package/src/screens/search/components/search_results_list.tsx +13 -34
  68. package/src/screens/search/search_screen.tsx +18 -8
  69. package/src/screens/settings_screen.tsx +25 -25
  70. package/build/components/conversation/attachments/attachment_card.d.ts +0 -9
  71. package/build/components/conversation/attachments/attachment_card.d.ts.map +0 -1
  72. package/build/components/conversation/attachments/attachment_deleting_overlay.d.ts +0 -2
  73. package/build/components/conversation/attachments/attachment_deleting_overlay.d.ts.map +0 -1
  74. package/build/components/conversation/attachments/audio_attachment.d.ts +0 -7
  75. package/build/components/conversation/attachments/audio_attachment.d.ts.map +0 -1
  76. package/build/components/conversation/attachments/constants.d.ts +0 -3
  77. package/build/components/conversation/attachments/constants.d.ts.map +0 -1
  78. package/build/components/conversation/attachments/expanded_link.d.ts +0 -6
  79. package/build/components/conversation/attachments/expanded_link.d.ts.map +0 -1
  80. package/build/components/conversation/attachments/generic_file_attachment.d.ts +0 -7
  81. package/build/components/conversation/attachments/generic_file_attachment.d.ts.map +0 -1
  82. package/build/components/conversation/attachments/giphy_attachment.d.ts +0 -6
  83. package/build/components/conversation/attachments/giphy_attachment.d.ts.map +0 -1
  84. package/build/components/conversation/attachments/image_attachment.d.ts +0 -14
  85. package/build/components/conversation/attachments/image_attachment.d.ts.map +0 -1
  86. package/build/components/conversation/attachments/video_attachment.d.ts +0 -7
  87. package/build/components/conversation/attachments/video_attachment.d.ts.map +0 -1
  88. package/build/components/conversation/conversation_start_banner.d.ts +0 -9
  89. package/build/components/conversation/conversation_start_banner.d.ts.map +0 -1
  90. package/build/components/conversation/empty_conversation_blank_state.d.ts +0 -2
  91. package/build/components/conversation/empty_conversation_blank_state.d.ts.map +0 -1
  92. package/build/components/conversation/jump_to_bottom_button.d.ts +0 -7
  93. package/build/components/conversation/jump_to_bottom_button.d.ts.map +0 -1
  94. package/build/components/conversation/message.d.ts +0 -17
  95. package/build/components/conversation/message.d.ts.map +0 -1
  96. package/build/components/conversation/message_attachments.d.ts +0 -9
  97. package/build/components/conversation/message_attachments.d.ts.map +0 -1
  98. package/build/components/conversation/message_form/message_form_attachment_file.d.ts +0 -10
  99. package/build/components/conversation/message_form/message_form_attachment_file.d.ts.map +0 -1
  100. package/build/components/conversation/message_form/message_form_attachment_image.d.ts +0 -12
  101. package/build/components/conversation/message_form/message_form_attachment_image.d.ts.map +0 -1
  102. package/build/components/conversation/message_form/message_form_attachment_video.d.ts +0 -9
  103. package/build/components/conversation/message_form/message_form_attachment_video.d.ts.map +0 -1
  104. package/build/components/conversation/message_form.d.ts +0 -24
  105. package/build/components/conversation/message_form.d.ts.map +0 -1
  106. package/build/components/conversation/message_list.d.ts +0 -24
  107. package/build/components/conversation/message_list.d.ts.map +0 -1
  108. package/build/components/conversation/message_markdown.d.ts +0 -6
  109. package/build/components/conversation/message_markdown.d.ts.map +0 -1
  110. package/build/components/conversation/message_reaction.d.ts +0 -34
  111. package/build/components/conversation/message_reaction.d.ts.map +0 -1
  112. package/build/components/conversation/message_read_receipts.d.ts +0 -6
  113. package/build/components/conversation/message_read_receipts.d.ts.map +0 -1
  114. package/build/components/conversation/messages_disabled_banners.d.ts +0 -14
  115. package/build/components/conversation/messages_disabled_banners.d.ts.map +0 -1
  116. package/build/components/conversation/missing_message.d.ts +0 -2
  117. package/build/components/conversation/missing_message.d.ts.map +0 -1
  118. package/build/components/conversation/reply_connectors.d.ts +0 -10
  119. package/build/components/conversation/reply_connectors.d.ts.map +0 -1
  120. package/build/components/conversation/reply_shadow_message.d.ts +0 -12
  121. package/build/components/conversation/reply_shadow_message.d.ts.map +0 -1
  122. package/build/components/conversation/system_message.d.ts +0 -9
  123. package/build/components/conversation/system_message.d.ts.map +0 -1
  124. package/build/components/conversation/typing_indicator.d.ts +0 -6
  125. package/build/components/conversation/typing_indicator.d.ts.map +0 -1
  126. package/build/components/conversations/archived_results_footer.d.ts +0 -6
  127. package/build/components/conversations/archived_results_footer.d.ts.map +0 -1
  128. package/build/components/conversations/conversation_actions.d.ts +0 -11
  129. package/build/components/conversations/conversation_actions.d.ts.map +0 -1
  130. package/build/components/conversations/conversation_preview.d.ts +0 -12
  131. package/build/components/conversations/conversation_preview.d.ts.map +0 -1
  132. package/build/components/conversations/conversations.d.ts +0 -7
  133. package/build/components/conversations/conversations.d.ts.map +0 -1
  134. package/build/components/conversations/conversations_blank_state.d.ts +0 -7
  135. package/build/components/conversations/conversations_blank_state.d.ts.map +0 -1
  136. package/build/components/conversations/filtered_results_footer.d.ts +0 -2
  137. package/build/components/conversations/filtered_results_footer.d.ts.map +0 -1
  138. package/build/components/conversations/mute_indicator.d.ts +0 -4
  139. package/build/components/conversations/mute_indicator.d.ts.map +0 -1
  140. package/build/components/conversations/swipeable_toggle_button.d.ts +0 -20
  141. package/build/components/conversations/swipeable_toggle_button.d.ts.map +0 -1
  142. package/build/components/conversations/unread_count_badge.d.ts +0 -6
  143. package/build/components/conversations/unread_count_badge.d.ts.map +0 -1
  144. package/build/components/display/action_button.d.ts +0 -15
  145. package/build/components/display/action_button.d.ts.map +0 -1
  146. package/build/components/display/adult_requirement_notice.d.ts +0 -7
  147. package/build/components/display/adult_requirement_notice.d.ts.map +0 -1
  148. package/build/components/display/avatar.d.ts +0 -15
  149. package/build/components/display/avatar.d.ts.map +0 -1
  150. package/build/components/display/avatar_group.d.ts +0 -14
  151. package/build/components/display/avatar_group.d.ts.map +0 -1
  152. package/build/components/display/badge.d.ts +0 -55
  153. package/build/components/display/badge.d.ts.map +0 -1
  154. package/build/components/display/banner.d.ts +0 -38
  155. package/build/components/display/banner.d.ts.map +0 -1
  156. package/build/components/display/banner_collapsible.d.ts +0 -11
  157. package/build/components/display/banner_collapsible.d.ts.map +0 -1
  158. package/build/components/display/button.d.ts +0 -67
  159. package/build/components/display/button.d.ts.map +0 -1
  160. package/build/components/display/child_notice.d.ts +0 -10
  161. package/build/components/display/child_notice.d.ts.map +0 -1
  162. package/build/components/display/conversation_avatar.d.ts +0 -15
  163. package/build/components/display/conversation_avatar.d.ts.map +0 -1
  164. package/build/components/display/emoji_avatar.d.ts +0 -11
  165. package/build/components/display/emoji_avatar.d.ts.map +0 -1
  166. package/build/components/display/file_attachment_preview.d.ts +0 -11
  167. package/build/components/display/file_attachment_preview.d.ts.map +0 -1
  168. package/build/components/display/filter_dropdown.d.ts +0 -36
  169. package/build/components/display/filter_dropdown.d.ts.map +0 -1
  170. package/build/components/display/heading.d.ts +0 -10
  171. package/build/components/display/heading.d.ts.map +0 -1
  172. package/build/components/display/icon.d.ts +0 -64
  173. package/build/components/display/icon.d.ts.map +0 -1
  174. package/build/components/display/icon_avatar.d.ts +0 -11
  175. package/build/components/display/icon_avatar.d.ts.map +0 -1
  176. package/build/components/display/icon_button.d.ts +0 -56
  177. package/build/components/display/icon_button.d.ts.map +0 -1
  178. package/build/components/display/icon_tile.d.ts +0 -13
  179. package/build/components/display/icon_tile.d.ts.map +0 -1
  180. package/build/components/display/image.d.ts +0 -39
  181. package/build/components/display/image.d.ts.map +0 -1
  182. package/build/components/display/image_attachment_preview.d.ts +0 -13
  183. package/build/components/display/image_attachment_preview.d.ts.map +0 -1
  184. package/build/components/display/index.d.ts +0 -34
  185. package/build/components/display/index.d.ts.map +0 -1
  186. package/build/components/display/keyboard_scroll_view.d.ts +0 -5
  187. package/build/components/display/keyboard_scroll_view.d.ts.map +0 -1
  188. package/build/components/display/keyboard_view.d.ts +0 -5
  189. package/build/components/display/keyboard_view.d.ts.map +0 -1
  190. package/build/components/display/person.d.ts +0 -9
  191. package/build/components/display/person.d.ts.map +0 -1
  192. package/build/components/display/platform_modal_header_buttons.d.ts +0 -61
  193. package/build/components/display/platform_modal_header_buttons.d.ts.map +0 -1
  194. package/build/components/display/popover_menu_view.d.ts +0 -8
  195. package/build/components/display/popover_menu_view.d.ts.map +0 -1
  196. package/build/components/display/pressable_row.d.ts +0 -14
  197. package/build/components/display/pressable_row.d.ts.map +0 -1
  198. package/build/components/display/spinner.d.ts +0 -22
  199. package/build/components/display/spinner.d.ts.map +0 -1
  200. package/build/components/display/switch.d.ts +0 -3
  201. package/build/components/display/switch.d.ts.map +0 -1
  202. package/build/components/display/tabs.d.ts +0 -17
  203. package/build/components/display/tabs.d.ts.map +0 -1
  204. package/build/components/display/text.d.ts +0 -25
  205. package/build/components/display/text.d.ts.map +0 -1
  206. package/build/components/display/text_button.d.ts +0 -39
  207. package/build/components/display/text_button.d.ts.map +0 -1
  208. package/build/components/display/text_inline_button.d.ts +0 -11
  209. package/build/components/display/text_inline_button.d.ts.map +0 -1
  210. package/build/components/display/text_input.d.ts +0 -8
  211. package/build/components/display/text_input.d.ts.map +0 -1
  212. package/build/components/display/toggle_button.d.ts +0 -55
  213. package/build/components/display/toggle_button.d.ts.map +0 -1
  214. package/build/components/display/utils/avatar_gradient_colors.d.ts +0 -17
  215. package/build/components/display/utils/avatar_gradient_colors.d.ts.map +0 -1
  216. package/build/components/display/utils/button_colors.d.ts +0 -39
  217. package/build/components/display/utils/button_colors.d.ts.map +0 -1
  218. package/build/components/display/utils/status_colors.d.ts +0 -17
  219. package/build/components/display/utils/status_colors.d.ts.map +0 -1
  220. package/build/components/display/version_footer.d.ts +0 -2
  221. package/build/components/display/version_footer.d.ts.map +0 -1
  222. package/build/components/display/video_attachment_preview.d.ts +0 -11
  223. package/build/components/display/video_attachment_preview.d.ts.map +0 -1
  224. package/build/components/group_conversation_list.d.ts +0 -23
  225. package/build/components/group_conversation_list.d.ts.map +0 -1
  226. package/build/components/index.d.ts +0 -7
  227. package/build/components/index.d.ts.map +0 -1
  228. package/build/components/page/component_error_boundary.d.ts +0 -4
  229. package/build/components/page/component_error_boundary.d.ts.map +0 -1
  230. package/build/components/page/error_boundary.d.ts +0 -20
  231. package/build/components/page/error_boundary.d.ts.map +0 -1
  232. package/build/components/page/loading.d.ts +0 -2
  233. package/build/components/page/loading.d.ts.map +0 -1
  234. package/build/components/page/page_error_boundary.d.ts +0 -12
  235. package/build/components/page/page_error_boundary.d.ts.map +0 -1
  236. package/build/components/primitive/avatar_primitive.d.ts +0 -51
  237. package/build/components/primitive/avatar_primitive.d.ts.map +0 -1
  238. package/build/components/primitive/banner_primitive.d.ts +0 -48
  239. package/build/components/primitive/banner_primitive.d.ts.map +0 -1
  240. package/build/components/primitive/blank_state_primitive.d.ts +0 -41
  241. package/build/components/primitive/blank_state_primitive.d.ts.map +0 -1
  242. package/build/components/primitive/form_sheet.d.ts +0 -75
  243. package/build/components/primitive/form_sheet.d.ts.map +0 -1
  244. package/build/components/safe_area_modal.d.ts +0 -7
  245. package/build/components/safe_area_modal.d.ts.map +0 -1
  246. package/build/contexts/api_provider.d.ts +0 -6
  247. package/build/contexts/api_provider.d.ts.map +0 -1
  248. package/build/contexts/chat_context.d.ts +0 -37
  249. package/build/contexts/chat_context.d.ts.map +0 -1
  250. package/build/contexts/conversation_context.d.ts +0 -13
  251. package/build/contexts/conversation_context.d.ts.map +0 -1
  252. package/build/contexts/conversations_context.d.ts +0 -16
  253. package/build/contexts/conversations_context.d.ts.map +0 -1
  254. package/build/contexts/session_context.d.ts +0 -44
  255. package/build/contexts/session_context.d.ts.map +0 -1
  256. package/build/hooks/attachments/fallback_chat_configuration.d.ts +0 -5
  257. package/build/hooks/attachments/fallback_chat_configuration.d.ts.map +0 -1
  258. package/build/hooks/direct_messages/find_direct_message_conversation.d.ts +0 -14
  259. package/build/hooks/direct_messages/find_direct_message_conversation.d.ts.map +0 -1
  260. package/build/hooks/direct_messages/resolve_message_available_members_link.d.ts +0 -16
  261. package/build/hooks/direct_messages/resolve_message_available_members_link.d.ts.map +0 -1
  262. package/build/hooks/direct_messages/use_direct_message_affiliations.d.ts +0 -6
  263. package/build/hooks/direct_messages/use_direct_message_affiliations.d.ts.map +0 -1
  264. package/build/hooks/direct_messages/use_direct_message_candidates.d.ts +0 -4
  265. package/build/hooks/direct_messages/use_direct_message_candidates.d.ts.map +0 -1
  266. package/build/hooks/direct_messages/use_direct_message_conversation_validate.d.ts +0 -11
  267. package/build/hooks/direct_messages/use_direct_message_conversation_validate.d.ts.map +0 -1
  268. package/build/hooks/direct_messages/use_find_or_create_direct_message_conversation.d.ts +0 -13
  269. package/build/hooks/direct_messages/use_find_or_create_direct_message_conversation.d.ts.map +0 -1
  270. package/build/hooks/direct_messages/use_message_available_members.d.ts +0 -6
  271. package/build/hooks/direct_messages/use_message_available_members.d.ts.map +0 -1
  272. package/build/hooks/direct_messages/use_message_available_members_action.d.ts +0 -6
  273. package/build/hooks/direct_messages/use_message_available_members_action.d.ts.map +0 -1
  274. package/build/hooks/groups/use_group_chat_conversation_payload.d.ts +0 -168
  275. package/build/hooks/groups/use_group_chat_conversation_payload.d.ts.map +0 -1
  276. package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +0 -232
  277. package/build/hooks/groups/use_group_members_for_new_conversation.d.ts.map +0 -1
  278. package/build/hooks/groups/use_groups_conversation_create.d.ts +0 -10
  279. package/build/hooks/groups/use_groups_conversation_create.d.ts.map +0 -1
  280. package/build/hooks/index.d.ts +0 -33
  281. package/build/hooks/index.d.ts.map +0 -1
  282. package/build/hooks/paginator_meta.d.ts +0 -4
  283. package/build/hooks/paginator_meta.d.ts.map +0 -1
  284. package/build/hooks/services/use_find_or_create_services_conversation.d.ts +0 -138
  285. package/build/hooks/services/use_find_or_create_services_conversation.d.ts.map +0 -1
  286. package/build/hooks/services/use_services_chat_conversation_payload.d.ts +0 -164
  287. package/build/hooks/services/use_services_chat_conversation_payload.d.ts.map +0 -1
  288. package/build/hooks/services/use_services_team.d.ts +0 -4
  289. package/build/hooks/services/use_services_team.d.ts.map +0 -1
  290. package/build/hooks/services/use_team_members_for_new_conversation.d.ts +0 -176
  291. package/build/hooks/services/use_team_members_for_new_conversation.d.ts.map +0 -1
  292. package/build/hooks/services/use_team_plans.d.ts +0 -17
  293. package/build/hooks/services/use_team_plans.d.ts.map +0 -1
  294. package/build/hooks/use_animated_message_background_color.d.ts +0 -9
  295. package/build/hooks/use_animated_message_background_color.d.ts.map +0 -1
  296. package/build/hooks/use_api.d.ts +0 -391
  297. package/build/hooks/use_api.d.ts.map +0 -1
  298. package/build/hooks/use_api_client.d.ts +0 -7
  299. package/build/hooks/use_api_client.d.ts.map +0 -1
  300. package/build/hooks/use_app_name.d.ts +0 -3
  301. package/build/hooks/use_app_name.d.ts.map +0 -1
  302. package/build/hooks/use_app_state.d.ts +0 -2
  303. package/build/hooks/use_app_state.d.ts.map +0 -1
  304. package/build/hooks/use_async_storage.d.ts +0 -4
  305. package/build/hooks/use_async_storage.d.ts.map +0 -1
  306. package/build/hooks/use_at_font_scale_breakpoint.d.ts +0 -2
  307. package/build/hooks/use_at_font_scale_breakpoint.d.ts.map +0 -1
  308. package/build/hooks/use_attachment_uploader.d.ts +0 -22
  309. package/build/hooks/use_attachment_uploader.d.ts.map +0 -1
  310. package/build/hooks/use_broadcast_typing_status.d.ts +0 -9
  311. package/build/hooks/use_broadcast_typing_status.d.ts.map +0 -1
  312. package/build/hooks/use_can_browse_archived_conversations.d.ts +0 -2
  313. package/build/hooks/use_can_browse_archived_conversations.d.ts.map +0 -1
  314. package/build/hooks/use_chat_configuration.d.ts +0 -7
  315. package/build/hooks/use_chat_configuration.d.ts.map +0 -1
  316. package/build/hooks/use_chat_permissions.d.ts +0 -190
  317. package/build/hooks/use_chat_permissions.d.ts.map +0 -1
  318. package/build/hooks/use_clear_conversation_filters.d.ts +0 -2
  319. package/build/hooks/use_clear_conversation_filters.d.ts.map +0 -1
  320. package/build/hooks/use_conversation.d.ts +0 -275
  321. package/build/hooks/use_conversation.d.ts.map +0 -1
  322. package/build/hooks/use_conversation_avatar_update.d.ts +0 -26
  323. package/build/hooks/use_conversation_avatar_update.d.ts.map +0 -1
  324. package/build/hooks/use_conversation_jolt_events.d.ts +0 -6
  325. package/build/hooks/use_conversation_jolt_events.d.ts.map +0 -1
  326. package/build/hooks/use_conversation_membership.d.ts +0 -5
  327. package/build/hooks/use_conversation_membership.d.ts.map +0 -1
  328. package/build/hooks/use_conversation_message.d.ts +0 -12
  329. package/build/hooks/use_conversation_message.d.ts.map +0 -1
  330. package/build/hooks/use_conversation_messages.d.ts +0 -23
  331. package/build/hooks/use_conversation_messages.d.ts.map +0 -1
  332. package/build/hooks/use_conversation_messages_jolt_events.d.ts +0 -6
  333. package/build/hooks/use_conversation_messages_jolt_events.d.ts.map +0 -1
  334. package/build/hooks/use_conversation_validate.d.ts +0 -12
  335. package/build/hooks/use_conversation_validate.d.ts.map +0 -1
  336. package/build/hooks/use_conversations.d.ts +0 -12
  337. package/build/hooks/use_conversations.d.ts.map +0 -1
  338. package/build/hooks/use_conversations_actions.d.ts +0 -221
  339. package/build/hooks/use_conversations_actions.d.ts.map +0 -1
  340. package/build/hooks/use_conversations_cache.d.ts +0 -20
  341. package/build/hooks/use_conversations_cache.d.ts.map +0 -1
  342. package/build/hooks/use_conversations_jolt_events.d.ts +0 -2
  343. package/build/hooks/use_conversations_jolt_events.d.ts.map +0 -1
  344. package/build/hooks/use_create_android_ripple_color.d.ts +0 -4
  345. package/build/hooks/use_create_android_ripple_color.d.ts.map +0 -1
  346. package/build/hooks/use_current_person.d.ts +0 -18
  347. package/build/hooks/use_current_person.d.ts.map +0 -1
  348. package/build/hooks/use_debounced_search_term.d.ts +0 -2
  349. package/build/hooks/use_debounced_search_term.d.ts.map +0 -1
  350. package/build/hooks/use_deleting_ids.d.ts +0 -4
  351. package/build/hooks/use_deleting_ids.d.ts.map +0 -1
  352. package/build/hooks/use_direct_message_eligibility.d.ts +0 -14
  353. package/build/hooks/use_direct_message_eligibility.d.ts.map +0 -1
  354. package/build/hooks/use_direct_messages_eligible.d.ts +0 -2
  355. package/build/hooks/use_direct_messages_eligible.d.ts.map +0 -1
  356. package/build/hooks/use_enrich_people.d.ts +0 -13
  357. package/build/hooks/use_enrich_people.d.ts.map +0 -1
  358. package/build/hooks/use_features.d.ts +0 -38
  359. package/build/hooks/use_features.d.ts.map +0 -1
  360. package/build/hooks/use_filter_dropdown_enabled.d.ts +0 -2
  361. package/build/hooks/use_filter_dropdown_enabled.d.ts.map +0 -1
  362. package/build/hooks/use_font_scale.d.ts +0 -5
  363. package/build/hooks/use_font_scale.d.ts.map +0 -1
  364. package/build/hooks/use_giphy.d.ts +0 -9
  365. package/build/hooks/use_giphy.d.ts.map +0 -1
  366. package/build/hooks/use_groups.d.ts +0 -214
  367. package/build/hooks/use_groups.d.ts.map +0 -1
  368. package/build/hooks/use_groups_groups.d.ts +0 -208
  369. package/build/hooks/use_groups_groups.d.ts.map +0 -1
  370. package/build/hooks/use_has_direct_messages.d.ts +0 -2
  371. package/build/hooks/use_has_direct_messages.d.ts.map +0 -1
  372. package/build/hooks/use_interaction_tinted_background_color.d.ts +0 -2
  373. package/build/hooks/use_interaction_tinted_background_color.d.ts.map +0 -1
  374. package/build/hooks/use_jolt.d.ts +0 -11
  375. package/build/hooks/use_jolt.d.ts.map +0 -1
  376. package/build/hooks/use_live_relative_time.d.ts +0 -3
  377. package/build/hooks/use_live_relative_time.d.ts.map +0 -1
  378. package/build/hooks/use_manual_archiving_enabled.d.ts +0 -2
  379. package/build/hooks/use_manual_archiving_enabled.d.ts.map +0 -1
  380. package/build/hooks/use_mark_latest_message_read.d.ts +0 -9
  381. package/build/hooks/use_mark_latest_message_read.d.ts.map +0 -1
  382. package/build/hooks/use_message_create_or_update.d.ts +0 -110
  383. package/build/hooks/use_message_create_or_update.d.ts.map +0 -1
  384. package/build/hooks/use_message_draft.d.ts +0 -13
  385. package/build/hooks/use_message_draft.d.ts.map +0 -1
  386. package/build/hooks/use_message_reaction_toggle.d.ts +0 -21
  387. package/build/hooks/use_message_reaction_toggle.d.ts.map +0 -1
  388. package/build/hooks/use_my_gender.d.ts +0 -7
  389. package/build/hooks/use_my_gender.d.ts.map +0 -1
  390. package/build/hooks/use_new_conversation_entry.d.ts +0 -8
  391. package/build/hooks/use_new_conversation_entry.d.ts.map +0 -1
  392. package/build/hooks/use_new_conversation_from_filter.d.ts +0 -12
  393. package/build/hooks/use_new_conversation_from_filter.d.ts.map +0 -1
  394. package/build/hooks/use_organization.d.ts +0 -39
  395. package/build/hooks/use_organization.d.ts.map +0 -1
  396. package/build/hooks/use_people_person.d.ts +0 -18
  397. package/build/hooks/use_people_person.d.ts.map +0 -1
  398. package/build/hooks/use_person_settings.d.ts +0 -6
  399. package/build/hooks/use_person_settings.d.ts.map +0 -1
  400. package/build/hooks/use_preview_avatar_diameter.d.ts +0 -2
  401. package/build/hooks/use_preview_avatar_diameter.d.ts.map +0 -1
  402. package/build/hooks/use_product_analytics.d.ts +0 -24
  403. package/build/hooks/use_product_analytics.d.ts.map +0 -1
  404. package/build/hooks/use_qualified_by_age.d.ts +0 -2
  405. package/build/hooks/use_qualified_by_age.d.ts.map +0 -1
  406. package/build/hooks/use_read_receipts.d.ts +0 -40
  407. package/build/hooks/use_read_receipts.d.ts.map +0 -1
  408. package/build/hooks/use_reduce_motion.d.ts +0 -2
  409. package/build/hooks/use_reduce_motion.d.ts.map +0 -1
  410. package/build/hooks/use_report_bug_action.d.ts +0 -6
  411. package/build/hooks/use_report_bug_action.d.ts.map +0 -1
  412. package/build/hooks/use_report_message.d.ts +0 -6
  413. package/build/hooks/use_report_message.d.ts.map +0 -1
  414. package/build/hooks/use_rest_away_from_dismiss_edge.d.ts +0 -19
  415. package/build/hooks/use_rest_away_from_dismiss_edge.d.ts.map +0 -1
  416. package/build/hooks/use_scalable_number_of_lines.d.ts +0 -2
  417. package/build/hooks/use_scalable_number_of_lines.d.ts.map +0 -1
  418. package/build/hooks/use_search_enabled.d.ts +0 -2
  419. package/build/hooks/use_search_enabled.d.ts.map +0 -1
  420. package/build/hooks/use_search_results.d.ts +0 -19
  421. package/build/hooks/use_search_results.d.ts.map +0 -1
  422. package/build/hooks/use_selected_chip_background_color.d.ts +0 -2
  423. package/build/hooks/use_selected_chip_background_color.d.ts.map +0 -1
  424. package/build/hooks/use_storage.d.ts +0 -9
  425. package/build/hooks/use_storage.d.ts.map +0 -1
  426. package/build/hooks/use_submit_age_check.d.ts +0 -78
  427. package/build/hooks/use_submit_age_check.d.ts.map +0 -1
  428. package/build/hooks/use_suspense_api.d.ts +0 -86
  429. package/build/hooks/use_suspense_api.d.ts.map +0 -1
  430. package/build/hooks/use_teams.d.ts +0 -207
  431. package/build/hooks/use_teams.d.ts.map +0 -1
  432. package/build/hooks/use_theme.d.ts +0 -3
  433. package/build/hooks/use_theme.d.ts.map +0 -1
  434. package/build/hooks/use_typing_indicators.d.ts +0 -13
  435. package/build/hooks/use_typing_indicators.d.ts.map +0 -1
  436. package/build/hooks/use_typing_status_cache.d.ts +0 -14
  437. package/build/hooks/use_typing_status_cache.d.ts.map +0 -1
  438. package/build/hooks/use_unarchive_conversation_action.d.ts +0 -7
  439. package/build/hooks/use_unarchive_conversation_action.d.ts.map +0 -1
  440. package/build/hooks/use_upload_client.d.ts +0 -32
  441. package/build/hooks/use_upload_client.d.ts.map +0 -1
  442. package/build/hooks/use_video_moderation_jolt_events.d.ts +0 -4
  443. package/build/hooks/use_video_moderation_jolt_events.d.ts.map +0 -1
  444. package/build/icons/font_awesome.d.ts +0 -2
  445. package/build/icons/font_awesome.d.ts.map +0 -1
  446. package/build/index.d.ts +0 -20
  447. package/build/index.d.ts.map +0 -1
  448. package/build/jest.d.ts +0 -18
  449. package/build/jest.d.ts.map +0 -1
  450. package/build/navigation/chat_access_gate.d.ts +0 -3
  451. package/build/navigation/chat_access_gate.d.ts.map +0 -1
  452. package/build/navigation/index.d.ts +0 -392
  453. package/build/navigation/index.d.ts.map +0 -1
  454. package/build/navigation/page_error_fallbacks.d.ts +0 -7
  455. package/build/navigation/page_error_fallbacks.d.ts.map +0 -1
  456. package/build/navigation/page_error_fallbacks.js +0 -7
  457. package/build/navigation/page_error_fallbacks.js.map +0 -1
  458. package/build/navigation/screenLayout.d.ts +0 -8
  459. package/build/navigation/screenLayout.d.ts.map +0 -1
  460. package/build/polyfills/events/CustomEvent.d.ts +0 -21
  461. package/build/polyfills/events/CustomEvent.d.ts.map +0 -1
  462. package/build/polyfills/events/Event.d.ts +0 -45
  463. package/build/polyfills/events/Event.d.ts.map +0 -1
  464. package/build/polyfills/events/EventHandlerAttributes.d.ts +0 -8
  465. package/build/polyfills/events/EventHandlerAttributes.d.ts.map +0 -1
  466. package/build/polyfills/events/EventTarget.d.ts +0 -30
  467. package/build/polyfills/events/EventTarget.d.ts.map +0 -1
  468. package/build/polyfills/events/internals/EventInternals.d.ts +0 -30
  469. package/build/polyfills/events/internals/EventInternals.d.ts.map +0 -1
  470. package/build/polyfills/events/internals/EventTargetInternals.d.ts +0 -9
  471. package/build/polyfills/events/internals/EventTargetInternals.d.ts.map +0 -1
  472. package/build/polyfills/webidl/PlatformObjects.d.ts +0 -31
  473. package/build/polyfills/webidl/PlatformObjects.d.ts.map +0 -1
  474. package/build/screens/age_check/age_check_required_screen.d.ts +0 -2
  475. package/build/screens/age_check/age_check_required_screen.d.ts.map +0 -1
  476. package/build/screens/age_check/age_check_underage_screen.d.ts +0 -5
  477. package/build/screens/age_check/age_check_underage_screen.d.ts.map +0 -1
  478. package/build/screens/age_check/components/age_check_select_birthdate_modal.d.ts +0 -10
  479. package/build/screens/age_check/components/age_check_select_birthdate_modal.d.ts.map +0 -1
  480. package/build/screens/age_check/index.d.ts +0 -3
  481. package/build/screens/age_check/index.d.ts.map +0 -1
  482. package/build/screens/age_check/screen_props.d.ts +0 -5
  483. package/build/screens/age_check/screen_props.d.ts.map +0 -1
  484. package/build/screens/attachment_actions/attachment_actions_screen.d.ts +0 -12
  485. package/build/screens/attachment_actions/attachment_actions_screen.d.ts.map +0 -1
  486. package/build/screens/attachment_actions/hooks/useDeleteAttachment.d.ts +0 -10
  487. package/build/screens/attachment_actions/hooks/useDeleteAttachment.d.ts.map +0 -1
  488. package/build/screens/avatar_picker/avatar_picker_screen.d.ts +0 -11
  489. package/build/screens/avatar_picker/avatar_picker_screen.d.ts.map +0 -1
  490. package/build/screens/avatar_picker/avatar_picker_state.d.ts +0 -38
  491. package/build/screens/avatar_picker/avatar_picker_state.d.ts.map +0 -1
  492. package/build/screens/avatar_picker/avatar_preview.d.ts +0 -9
  493. package/build/screens/avatar_picker/avatar_preview.d.ts.map +0 -1
  494. package/build/screens/avatar_picker/color_picker.d.ts +0 -8
  495. package/build/screens/avatar_picker/color_picker.d.ts.map +0 -1
  496. package/build/screens/avatar_picker/constants.d.ts +0 -3
  497. package/build/screens/avatar_picker/constants.d.ts.map +0 -1
  498. package/build/screens/avatar_picker/emoji_tab.d.ts +0 -6
  499. package/build/screens/avatar_picker/emoji_tab.d.ts.map +0 -1
  500. package/build/screens/avatar_picker/icon_grid.d.ts +0 -7
  501. package/build/screens/avatar_picker/icon_grid.d.ts.map +0 -1
  502. package/build/screens/avatar_picker/upload_tab.d.ts +0 -8
  503. package/build/screens/avatar_picker/upload_tab.d.ts.map +0 -1
  504. package/build/screens/bug_report_screen.d.ts +0 -4
  505. package/build/screens/bug_report_screen.d.ts.map +0 -1
  506. package/build/screens/conversation/message_read_receipts_screen.d.ts +0 -8
  507. package/build/screens/conversation/message_read_receipts_screen.d.ts.map +0 -1
  508. package/build/screens/conversation_details_screen.d.ts +0 -6
  509. package/build/screens/conversation_details_screen.d.ts.map +0 -1
  510. package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts +0 -11
  511. package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts.map +0 -1
  512. package/build/screens/conversation_filter_recipients/components/header_row.d.ts +0 -11
  513. package/build/screens/conversation_filter_recipients/components/header_row.d.ts.map +0 -1
  514. package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts +0 -4
  515. package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +0 -1
  516. package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts +0 -10
  517. package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts.map +0 -1
  518. package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts +0 -176
  519. package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts.map +0 -1
  520. package/build/screens/conversation_filter_recipients/types.d.ts +0 -48
  521. package/build/screens/conversation_filter_recipients/types.d.ts.map +0 -1
  522. package/build/screens/conversation_filters/components/conversation_filters.d.ts +0 -2
  523. package/build/screens/conversation_filters/components/conversation_filters.d.ts.map +0 -1
  524. package/build/screens/conversation_filters/components/rows.d.ts +0 -42
  525. package/build/screens/conversation_filters/components/rows.d.ts.map +0 -1
  526. package/build/screens/conversation_filters/context/conversation_filter_context.d.ts +0 -27
  527. package/build/screens/conversation_filters/context/conversation_filter_context.d.ts.map +0 -1
  528. package/build/screens/conversation_filters/filter_types.d.ts +0 -9
  529. package/build/screens/conversation_filters/filter_types.d.ts.map +0 -1
  530. package/build/screens/conversation_filters/group_filters.d.ts +0 -5
  531. package/build/screens/conversation_filters/group_filters.d.ts.map +0 -1
  532. package/build/screens/conversation_filters/hooks/filters.d.ts +0 -415
  533. package/build/screens/conversation_filters/hooks/filters.d.ts.map +0 -1
  534. package/build/screens/conversation_filters/screen_props.d.ts +0 -16
  535. package/build/screens/conversation_filters/screen_props.d.ts.map +0 -1
  536. package/build/screens/conversation_filters/team_filters.d.ts +0 -5
  537. package/build/screens/conversation_filters/team_filters.d.ts.map +0 -1
  538. package/build/screens/conversation_filters_screen.d.ts +0 -5
  539. package/build/screens/conversation_filters_screen.d.ts.map +0 -1
  540. package/build/screens/conversation_new/components/avatar_selection_row.d.ts +0 -11
  541. package/build/screens/conversation_new/components/avatar_selection_row.d.ts.map +0 -1
  542. package/build/screens/conversation_new/components/filter_by_plan.d.ts +0 -22
  543. package/build/screens/conversation_new/components/filter_by_plan.d.ts.map +0 -1
  544. package/build/screens/conversation_new/components/form_list.d.ts +0 -13
  545. package/build/screens/conversation_new/components/form_list.d.ts.map +0 -1
  546. package/build/screens/conversation_new/components/gender_filter_toggle.d.ts +0 -9
  547. package/build/screens/conversation_new/components/gender_filter_toggle.d.ts.map +0 -1
  548. package/build/screens/conversation_new/components/groups_form.d.ts +0 -10
  549. package/build/screens/conversation_new/components/groups_form.d.ts.map +0 -1
  550. package/build/screens/conversation_new/components/services_form.d.ts +0 -11
  551. package/build/screens/conversation_new/components/services_form.d.ts.map +0 -1
  552. package/build/screens/conversation_new/components/source_app_error_card.d.ts +0 -2
  553. package/build/screens/conversation_new/components/source_app_error_card.d.ts.map +0 -1
  554. package/build/screens/conversation_new/conversation_new_screen.d.ts +0 -18
  555. package/build/screens/conversation_new/conversation_new_screen.d.ts.map +0 -1
  556. package/build/screens/conversation_notification_level_select_screen.d.ts +0 -7
  557. package/build/screens/conversation_notification_level_select_screen.d.ts.map +0 -1
  558. package/build/screens/conversation_screen.d.ts +0 -28
  559. package/build/screens/conversation_screen.d.ts.map +0 -1
  560. package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts +0 -8
  561. package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts.map +0 -1
  562. package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts +0 -11
  563. package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts.map +0 -1
  564. package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts +0 -7
  565. package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts.map +0 -1
  566. package/build/screens/conversation_select_recipients/components/results_heading.d.ts +0 -6
  567. package/build/screens/conversation_select_recipients/components/results_heading.d.ts.map +0 -1
  568. package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts +0 -8
  569. package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts.map +0 -1
  570. package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts +0 -8
  571. package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts.map +0 -1
  572. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts +0 -3
  573. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts.map +0 -1
  574. package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.d.ts +0 -3
  575. package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.d.ts.map +0 -1
  576. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts +0 -3
  577. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts.map +0 -1
  578. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts +0 -3
  579. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts.map +0 -1
  580. package/build/screens/conversation_select_recipients/types/screen_props.d.ts +0 -11
  581. package/build/screens/conversation_select_recipients/types/screen_props.d.ts.map +0 -1
  582. package/build/screens/conversation_select_type_screen.d.ts +0 -12
  583. package/build/screens/conversation_select_type_screen.d.ts.map +0 -1
  584. package/build/screens/conversations/components/chat_group_badge.d.ts +0 -4
  585. package/build/screens/conversations/components/chat_group_badge.d.ts.map +0 -1
  586. package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts +0 -2
  587. package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts.map +0 -1
  588. package/build/screens/conversations/components/list_header_action_button.d.ts +0 -19
  589. package/build/screens/conversations/components/list_header_action_button.d.ts.map +0 -1
  590. package/build/screens/conversations/components/list_header_component.d.ts +0 -2
  591. package/build/screens/conversations/components/list_header_component.d.ts.map +0 -1
  592. package/build/screens/conversations/components/search_list_header_component.d.ts +0 -2
  593. package/build/screens/conversations/components/search_list_header_component.d.ts.map +0 -1
  594. package/build/screens/conversations/conversations_screen.d.ts +0 -13
  595. package/build/screens/conversations/conversations_screen.d.ts.map +0 -1
  596. package/build/screens/design_system_screen.d.ts +0 -2
  597. package/build/screens/design_system_screen.d.ts.map +0 -1
  598. package/build/screens/get_help_screen.d.ts +0 -10
  599. package/build/screens/get_help_screen.d.ts.map +0 -1
  600. package/build/screens/group_notification_level_select_screen.d.ts +0 -7
  601. package/build/screens/group_notification_level_select_screen.d.ts.map +0 -1
  602. package/build/screens/group_notification_settings_screen.d.ts +0 -7
  603. package/build/screens/group_notification_settings_screen.d.ts.map +0 -1
  604. package/build/screens/index.d.ts +0 -25
  605. package/build/screens/index.d.ts.map +0 -1
  606. package/build/screens/message_actions_screen.d.ts +0 -12
  607. package/build/screens/message_actions_screen.d.ts.map +0 -1
  608. package/build/screens/message_report/components/message_preview.d.ts +0 -9
  609. package/build/screens/message_report/components/message_preview.d.ts.map +0 -1
  610. package/build/screens/message_report/components/report_reason_list.d.ts +0 -8
  611. package/build/screens/message_report/components/report_reason_list.d.ts.map +0 -1
  612. package/build/screens/message_report_screen.d.ts +0 -9
  613. package/build/screens/message_report_screen.d.ts.map +0 -1
  614. package/build/screens/not_found.d.ts +0 -2
  615. package/build/screens/not_found.d.ts.map +0 -1
  616. package/build/screens/notification_settings/hooks/groups.d.ts +0 -96
  617. package/build/screens/notification_settings/hooks/groups.d.ts.map +0 -1
  618. package/build/screens/notification_settings_screen.d.ts +0 -4
  619. package/build/screens/notification_settings_screen.d.ts.map +0 -1
  620. package/build/screens/preferred_app/hooks/use_chat_types.d.ts +0 -39
  621. package/build/screens/preferred_app/hooks/use_chat_types.d.ts.map +0 -1
  622. package/build/screens/preferred_app_selection_screen.d.ts +0 -9
  623. package/build/screens/preferred_app_selection_screen.d.ts.map +0 -1
  624. package/build/screens/reactions_screen.d.ts +0 -9
  625. package/build/screens/reactions_screen.d.ts.map +0 -1
  626. package/build/screens/search/components/conversation_result_row.d.ts +0 -8
  627. package/build/screens/search/components/conversation_result_row.d.ts.map +0 -1
  628. package/build/screens/search/components/conversation_results.d.ts +0 -8
  629. package/build/screens/search/components/conversation_results.d.ts.map +0 -1
  630. package/build/screens/search/components/message_result_row.d.ts +0 -8
  631. package/build/screens/search/components/message_result_row.d.ts.map +0 -1
  632. package/build/screens/search/components/result_row.d.ts +0 -10
  633. package/build/screens/search/components/result_row.d.ts.map +0 -1
  634. package/build/screens/search/components/results_section.d.ts +0 -9
  635. package/build/screens/search/components/results_section.d.ts.map +0 -1
  636. package/build/screens/search/components/search_blank_states.d.ts +0 -7
  637. package/build/screens/search/components/search_blank_states.d.ts.map +0 -1
  638. package/build/screens/search/components/search_field.d.ts +0 -7
  639. package/build/screens/search/components/search_field.d.ts.map +0 -1
  640. package/build/screens/search/components/search_results_list.d.ts +0 -16
  641. package/build/screens/search/components/search_results_list.d.ts.map +0 -1
  642. package/build/screens/search/components/snippet.d.ts +0 -8
  643. package/build/screens/search/components/snippet.d.ts.map +0 -1
  644. package/build/screens/search/search_screen.d.ts +0 -5
  645. package/build/screens/search/search_screen.d.ts.map +0 -1
  646. package/build/screens/send_giphy_screen.d.ts +0 -9
  647. package/build/screens/send_giphy_screen.d.ts.map +0 -1
  648. package/build/screens/settings_screen.d.ts +0 -4
  649. package/build/screens/settings_screen.d.ts.map +0 -1
  650. package/build/screens/system_message_people_screen.d.ts +0 -8
  651. package/build/screens/system_message_people_screen.d.ts.map +0 -1
  652. package/build/screens/team_conversation_screen.d.ts +0 -8
  653. package/build/screens/team_conversation_screen.d.ts.map +0 -1
  654. package/build/types/api_primitives.d.ts +0 -45
  655. package/build/types/api_primitives.d.ts.map +0 -1
  656. package/build/types/index.d.ts +0 -4
  657. package/build/types/index.d.ts.map +0 -1
  658. package/build/types/jolt_events/attachment_events.d.ts +0 -14
  659. package/build/types/jolt_events/attachment_events.d.ts.map +0 -1
  660. package/build/types/jolt_events/conversation_events.d.ts +0 -42
  661. package/build/types/jolt_events/conversation_events.d.ts.map +0 -1
  662. package/build/types/jolt_events/index.d.ts +0 -14
  663. package/build/types/jolt_events/index.d.ts.map +0 -1
  664. package/build/types/jolt_events/message_events.d.ts +0 -44
  665. package/build/types/jolt_events/message_events.d.ts.map +0 -1
  666. package/build/types/jolt_events/reaction_events.d.ts +0 -27
  667. package/build/types/jolt_events/reaction_events.d.ts.map +0 -1
  668. package/build/types/jolt_events/typing_events.d.ts +0 -16
  669. package/build/types/jolt_events/typing_events.d.ts.map +0 -1
  670. package/build/types/product_analytics.d.ts +0 -6
  671. package/build/types/product_analytics.d.ts.map +0 -1
  672. package/build/types/resources/analytics_metadata.d.ts +0 -5
  673. package/build/types/resources/analytics_metadata.d.ts.map +0 -1
  674. package/build/types/resources/app_grant.d.ts +0 -8
  675. package/build/types/resources/app_grant.d.ts.map +0 -1
  676. package/build/types/resources/app_name.d.ts +0 -2
  677. package/build/types/resources/app_name.d.ts.map +0 -1
  678. package/build/types/resources/chat_configuration_resource.d.ts +0 -9
  679. package/build/types/resources/chat_configuration_resource.d.ts.map +0 -1
  680. package/build/types/resources/conversation.d.ts +0 -48
  681. package/build/types/resources/conversation.d.ts.map +0 -1
  682. package/build/types/resources/conversation_badge.d.ts +0 -12
  683. package/build/types/resources/conversation_badge.d.ts.map +0 -1
  684. package/build/types/resources/conversation_membership.d.ts +0 -16
  685. package/build/types/resources/conversation_membership.d.ts.map +0 -1
  686. package/build/types/resources/conversation_validate.d.ts +0 -10
  687. package/build/types/resources/conversation_validate.d.ts.map +0 -1
  688. package/build/types/resources/denormalized_attachment_resource.d.ts +0 -65
  689. package/build/types/resources/denormalized_attachment_resource.d.ts.map +0 -1
  690. package/build/types/resources/denormalized_attachment_resource_for_create.d.ts +0 -53
  691. package/build/types/resources/denormalized_attachment_resource_for_create.d.ts.map +0 -1
  692. package/build/types/resources/direct_message_affiliations.d.ts +0 -9
  693. package/build/types/resources/direct_message_affiliations.d.ts.map +0 -1
  694. package/build/types/resources/direct_message_candidate.d.ts +0 -13
  695. package/build/types/resources/direct_message_candidate.d.ts.map +0 -1
  696. package/build/types/resources/feature_resource.d.ts +0 -7
  697. package/build/types/resources/feature_resource.d.ts.map +0 -1
  698. package/build/types/resources/group_membership.d.ts +0 -13
  699. package/build/types/resources/group_membership.d.ts.map +0 -1
  700. package/build/types/resources/group_resource.d.ts +0 -18
  701. package/build/types/resources/group_resource.d.ts.map +0 -1
  702. package/build/types/resources/groups/groups_group_resource.d.ts +0 -15
  703. package/build/types/resources/groups/groups_group_resource.d.ts.map +0 -1
  704. package/build/types/resources/groups/groups_member_resource_with_person.d.ts +0 -15
  705. package/build/types/resources/groups/groups_member_resource_with_person.d.ts.map +0 -1
  706. package/build/types/resources/groups/index.d.ts +0 -2
  707. package/build/types/resources/groups/index.d.ts.map +0 -1
  708. package/build/types/resources/index.d.ts +0 -18
  709. package/build/types/resources/index.d.ts.map +0 -1
  710. package/build/types/resources/member.d.ts +0 -16
  711. package/build/types/resources/member.d.ts.map +0 -1
  712. package/build/types/resources/member_ability.d.ts +0 -12
  713. package/build/types/resources/member_ability.d.ts.map +0 -1
  714. package/build/types/resources/message.d.ts +0 -44
  715. package/build/types/resources/message.d.ts.map +0 -1
  716. package/build/types/resources/message_report.d.ts +0 -19
  717. package/build/types/resources/message_report.d.ts.map +0 -1
  718. package/build/types/resources/oauth_token.d.ts +0 -9
  719. package/build/types/resources/oauth_token.d.ts.map +0 -1
  720. package/build/types/resources/organization.d.ts +0 -8
  721. package/build/types/resources/organization.d.ts.map +0 -1
  722. package/build/types/resources/person.d.ts +0 -24
  723. package/build/types/resources/person.d.ts.map +0 -1
  724. package/build/types/resources/reaction.d.ts +0 -10
  725. package/build/types/resources/reaction.d.ts.map +0 -1
  726. package/build/types/resources/read_receipt.d.ts +0 -7
  727. package/build/types/resources/read_receipt.d.ts.map +0 -1
  728. package/build/types/resources/search_result.d.ts +0 -29
  729. package/build/types/resources/search_result.d.ts.map +0 -1
  730. package/build/types/resources/services/chat_resource.d.ts +0 -53
  731. package/build/types/resources/services/chat_resource.d.ts.map +0 -1
  732. package/build/types/resources/services/index.d.ts +0 -3
  733. package/build/types/resources/services/index.d.ts.map +0 -1
  734. package/build/types/resources/services/team_resource.d.ts +0 -19
  735. package/build/types/resources/services/team_resource.d.ts.map +0 -1
  736. package/build/types/utils/index.d.ts +0 -5
  737. package/build/types/utils/index.d.ts.map +0 -1
  738. package/build/utils/archived_conversation.d.ts +0 -5
  739. package/build/utils/archived_conversation.d.ts.map +0 -1
  740. package/build/utils/assert_keys_are_numbers.d.ts +0 -2
  741. package/build/utils/assert_keys_are_numbers.d.ts.map +0 -1
  742. package/build/utils/attachment_kind.d.ts +0 -5
  743. package/build/utils/attachment_kind.d.ts.map +0 -1
  744. package/build/utils/auth_events.d.ts +0 -7
  745. package/build/utils/auth_events.d.ts.map +0 -1
  746. package/build/utils/cache/index.d.ts +0 -2
  747. package/build/utils/cache/index.d.ts.map +0 -1
  748. package/build/utils/cache/messages_cache.d.ts +0 -13
  749. package/build/utils/cache/messages_cache.d.ts.map +0 -1
  750. package/build/utils/cache/messages_window.d.ts +0 -11
  751. package/build/utils/cache/messages_window.d.ts.map +0 -1
  752. package/build/utils/cache/optimistically_create_message.d.ts +0 -12
  753. package/build/utils/cache/optimistically_create_message.d.ts.map +0 -1
  754. package/build/utils/cache/optimistically_update_message.d.ts +0 -8
  755. package/build/utils/cache/optimistically_update_message.d.ts.map +0 -1
  756. package/build/utils/cache/page_mutations.d.ts +0 -96
  757. package/build/utils/cache/page_mutations.d.ts.map +0 -1
  758. package/build/utils/can_submit_message.d.ts +0 -10
  759. package/build/utils/can_submit_message.d.ts.map +0 -1
  760. package/build/utils/chat_type_label.d.ts +0 -2
  761. package/build/utils/chat_type_label.d.ts.map +0 -1
  762. package/build/utils/client/client.d.ts +0 -30
  763. package/build/utils/client/client.d.ts.map +0 -1
  764. package/build/utils/client/index.d.ts +0 -3
  765. package/build/utils/client/index.d.ts.map +0 -1
  766. package/build/utils/client/instrumented_fetch.d.ts +0 -2
  767. package/build/utils/client/instrumented_fetch.d.ts.map +0 -1
  768. package/build/utils/client/request_helpers.d.ts +0 -28
  769. package/build/utils/client/request_helpers.d.ts.map +0 -1
  770. package/build/utils/client/transform_request_data.d.ts +0 -13
  771. package/build/utils/client/transform_request_data.d.ts.map +0 -1
  772. package/build/utils/client/transform_response.d.ts +0 -3
  773. package/build/utils/client/transform_response.d.ts.map +0 -1
  774. package/build/utils/client/types.d.ts +0 -62
  775. package/build/utils/client/types.d.ts.map +0 -1
  776. package/build/utils/client/utils.d.ts +0 -5
  777. package/build/utils/client/utils.d.ts.map +0 -1
  778. package/build/utils/conversation_safety_constants.d.ts +0 -2
  779. package/build/utils/conversation_safety_constants.d.ts.map +0 -1
  780. package/build/utils/convert_attachments_for_create.d.ts +0 -12
  781. package/build/utils/convert_attachments_for_create.d.ts.map +0 -1
  782. package/build/utils/date.d.ts +0 -11
  783. package/build/utils/date.d.ts.map +0 -1
  784. package/build/utils/dayjs.d.ts +0 -3
  785. package/build/utils/dayjs.d.ts.map +0 -1
  786. package/build/utils/deepCamelCaseKeys.d.ts +0 -4
  787. package/build/utils/deepCamelCaseKeys.d.ts.map +0 -1
  788. package/build/utils/deep_snake_case_keys.d.ts +0 -4
  789. package/build/utils/deep_snake_case_keys.d.ts.map +0 -1
  790. package/build/utils/destructure_chat_group_graph_id.d.ts +0 -10
  791. package/build/utils/destructure_chat_group_graph_id.d.ts.map +0 -1
  792. package/build/utils/gender_display_label.d.ts +0 -2
  793. package/build/utils/gender_display_label.d.ts.map +0 -1
  794. package/build/utils/generate_placeholder_ulid.d.ts +0 -10
  795. package/build/utils/generate_placeholder_ulid.d.ts.map +0 -1
  796. package/build/utils/group_messages.d.ts +0 -22
  797. package/build/utils/group_messages.d.ts.map +0 -1
  798. package/build/utils/host_bridge.d.ts +0 -20
  799. package/build/utils/host_bridge.d.ts.map +0 -1
  800. package/build/utils/index.d.ts +0 -21
  801. package/build/utils/index.d.ts.map +0 -1
  802. package/build/utils/is_input_editable.d.ts +0 -6
  803. package/build/utils/is_input_editable.d.ts.map +0 -1
  804. package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts +0 -7
  805. package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts.map +0 -1
  806. package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts +0 -12
  807. package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts.map +0 -1
  808. package/build/utils/liquid_glass.d.ts +0 -3
  809. package/build/utils/liquid_glass.d.ts.map +0 -1
  810. package/build/utils/membership_sync_info_text.d.ts +0 -2
  811. package/build/utils/membership_sync_info_text.d.ts.map +0 -1
  812. package/build/utils/message_text.d.ts +0 -3
  813. package/build/utils/message_text.d.ts.map +0 -1
  814. package/build/utils/native_adapters/audio.d.ts +0 -14
  815. package/build/utils/native_adapters/audio.d.ts.map +0 -1
  816. package/build/utils/native_adapters/clipboard.d.ts +0 -6
  817. package/build/utils/native_adapters/clipboard.d.ts.map +0 -1
  818. package/build/utils/native_adapters/configuration.d.ts +0 -36
  819. package/build/utils/native_adapters/configuration.d.ts.map +0 -1
  820. package/build/utils/native_adapters/document_picker.d.ts +0 -28
  821. package/build/utils/native_adapters/document_picker.d.ts.map +0 -1
  822. package/build/utils/native_adapters/haptic.d.ts +0 -23
  823. package/build/utils/native_adapters/haptic.d.ts.map +0 -1
  824. package/build/utils/native_adapters/image_picker.d.ts +0 -31
  825. package/build/utils/native_adapters/image_picker.d.ts.map +0 -1
  826. package/build/utils/native_adapters/index.d.ts +0 -12
  827. package/build/utils/native_adapters/index.d.ts.map +0 -1
  828. package/build/utils/native_adapters/linking.d.ts +0 -15
  829. package/build/utils/native_adapters/linking.d.ts.map +0 -1
  830. package/build/utils/native_adapters/log.d.ts +0 -26
  831. package/build/utils/native_adapters/log.d.ts.map +0 -1
  832. package/build/utils/native_adapters/menu.d.ts +0 -40
  833. package/build/utils/native_adapters/menu.d.ts.map +0 -1
  834. package/build/utils/native_adapters/storage_adapter.d.ts +0 -17
  835. package/build/utils/native_adapters/storage_adapter.d.ts.map +0 -1
  836. package/build/utils/native_adapters/video.d.ts +0 -22
  837. package/build/utils/native_adapters/video.d.ts.map +0 -1
  838. package/build/utils/package_version.d.ts +0 -2
  839. package/build/utils/package_version.d.ts.map +0 -1
  840. package/build/utils/parse_simple_markdown.d.ts +0 -7
  841. package/build/utils/parse_simple_markdown.d.ts.map +0 -1
  842. package/build/utils/performance_tracking.d.ts +0 -26
  843. package/build/utils/performance_tracking.d.ts.map +0 -1
  844. package/build/utils/pluralize.d.ts +0 -2
  845. package/build/utils/pluralize.d.ts.map +0 -1
  846. package/build/utils/reaction_constants.d.ts +0 -3
  847. package/build/utils/reaction_constants.d.ts.map +0 -1
  848. package/build/utils/replace_equal_by_id.d.ts +0 -6
  849. package/build/utils/replace_equal_by_id.d.ts.map +0 -1
  850. package/build/utils/request/conversation.d.ts +0 -12
  851. package/build/utils/request/conversation.d.ts.map +0 -1
  852. package/build/utils/request/get_chat_configuration.d.ts +0 -10
  853. package/build/utils/request/get_chat_configuration.d.ts.map +0 -1
  854. package/build/utils/request/get_features.d.ts +0 -17
  855. package/build/utils/request/get_features.d.ts.map +0 -1
  856. package/build/utils/request/get_message.d.ts +0 -20
  857. package/build/utils/request/get_message.d.ts.map +0 -1
  858. package/build/utils/request/get_messages.d.ts +0 -21
  859. package/build/utils/request/get_messages.d.ts.map +0 -1
  860. package/build/utils/request/get_search_results.d.ts +0 -13
  861. package/build/utils/request/get_search_results.d.ts.map +0 -1
  862. package/build/utils/request/messages_data_options.d.ts +0 -7
  863. package/build/utils/request/messages_data_options.d.ts.map +0 -1
  864. package/build/utils/response_error.d.ts +0 -11
  865. package/build/utils/response_error.d.ts.map +0 -1
  866. package/build/utils/session.d.ts +0 -38
  867. package/build/utils/session.d.ts.map +0 -1
  868. package/build/utils/session_manager.d.ts +0 -21
  869. package/build/utils/session_manager.d.ts.map +0 -1
  870. package/build/utils/sha_256.d.ts +0 -31
  871. package/build/utils/sha_256.d.ts.map +0 -1
  872. package/build/utils/styles.d.ts +0 -11
  873. package/build/utils/styles.d.ts.map +0 -1
  874. package/build/utils/system_messages.d.ts +0 -17
  875. package/build/utils/system_messages.d.ts.map +0 -1
  876. package/build/utils/theme.d.ts +0 -88
  877. package/build/utils/theme.d.ts.map +0 -1
  878. package/build/utils/time.d.ts +0 -9
  879. package/build/utils/time.d.ts.map +0 -1
  880. package/build/utils/upload_uri.d.ts +0 -24
  881. package/build/utils/upload_uri.d.ts.map +0 -1
  882. package/build/utils/uri.d.ts +0 -29
  883. package/build/utils/uri.d.ts.map +0 -1
  884. package/build/vendor/font_awesome_pro_solid_icons.d.ts +0 -53
  885. package/build/vendor/font_awesome_pro_solid_icons.d.ts.map +0 -1
  886. package/build/vendor/tapestry/alias_tokens_color_map.d.ts +0 -89
  887. package/build/vendor/tapestry/alias_tokens_color_map.d.ts.map +0 -1
  888. package/build/vendor/tapestry/tokens.d.ts +0 -121
  889. package/build/vendor/tapestry/tokens.d.ts.map +0 -1
  890. package/src/navigation/page_error_fallbacks.ts +0 -14
  891. package/src/screens/conversation_select_recipients/__tests__/conversation_select_direct_message_recipients_screen.test.tsx +0 -100
@@ -1,10 +1,11 @@
1
1
  import { PlatformPressable } from '@react-navigation/elements'
2
2
  import { StackActions, useNavigation } from '@react-navigation/native'
3
- import { ReactElement, RefObject, useRef, useState } from 'react'
3
+ import { RefObject, useRef, useState } from 'react'
4
4
  import { FlatList, Pressable, StyleSheet, TextInput, View } from 'react-native'
5
5
  import { Avatar, Badge, Banner, Icon, KeyboardView, Spinner, Text } from '../../components'
6
6
  import { ActionButton } from '../../components/display/action_button'
7
7
  import { AutoFocusAwareTextInput } from '../../components/display/text_input'
8
+ import { ComponentErrorBoundary } from '../../components/page/component_error_boundary'
8
9
  import { useTheme } from '../../hooks'
9
10
  import { useDirectMessageAffiliations } from '../../hooks/direct_messages/use_direct_message_affiliations'
10
11
  import { useDirectMessageCandidates } from '../../hooks/direct_messages/use_direct_message_candidates'
@@ -91,31 +92,38 @@ export function ConversationSelectDirectMessageRecipientsScreen({
91
92
 
92
93
  return (
93
94
  <KeyboardView>
95
+ {isError && (
96
+ <Banner
97
+ appearance="error"
98
+ description="There was an issue starting the conversation. Please try again."
99
+ style={styles.errorBanner}
100
+ />
101
+ )}
102
+ <ToField
103
+ selectedPeople={selectedPeople}
104
+ searchTerm={searchTerm}
105
+ onSearchChange={setSearchTerm}
106
+ onRemove={removePerson}
107
+ onClear={() => setSelectedPeople(new Map())}
108
+ searchInputRef={searchInputRef}
109
+ />
94
110
  <View style={styles.candidateResultsContainer}>
95
- <CandidateResults
96
- term={debouncedTerm}
97
- selectedPeople={selectedPeople}
98
- onSelect={selectPerson}
99
- header={
100
- <>
101
- {isError && (
102
- <Banner
103
- appearance="error"
104
- description="There was an issue starting the conversation. Please try again."
105
- style={styles.errorBanner}
106
- />
107
- )}
108
- <ToField
109
- selectedPeople={selectedPeople}
110
- searchTerm={searchTerm}
111
- onSearchChange={setSearchTerm}
112
- onRemove={removePerson}
113
- onClear={() => setSelectedPeople(new Map())}
114
- searchInputRef={searchInputRef}
115
- />
116
- </>
111
+ <ComponentErrorBoundary
112
+ key={debouncedTerm}
113
+ fallback={
114
+ <Banner
115
+ appearance="error"
116
+ description="Couldn't load people right now. Try again."
117
+ style={styles.errorBanner}
118
+ />
117
119
  }
118
- />
120
+ >
121
+ <CandidateResults
122
+ term={debouncedTerm}
123
+ selectedPeople={selectedPeople}
124
+ onSelect={selectPerson}
125
+ />
126
+ </ComponentErrorBoundary>
119
127
  </View>
120
128
  <ActionButton
121
129
  title={buttonText}
@@ -206,57 +214,53 @@ function CandidateResults({
206
214
  term,
207
215
  selectedPeople,
208
216
  onSelect,
209
- header,
210
217
  }: {
211
218
  term: string
212
219
  selectedPeople: Map<string, DirectMessageCandidateResource>
213
220
  onSelect: (candidate: DirectMessageCandidateResource) => void
214
- header: ReactElement
215
221
  }) {
216
222
  const styles = useStyles()
217
223
  const { data, isFetching } = useDirectMessageCandidates(term)
218
224
  const { groups, teams, resultsDescription } = useDirectMessageAffiliations()
219
225
 
220
- const unselectedCandidates = (data?.data ?? []).filter(c => !selectedPeople.has(c.id))
221
- const hasTruncated = (data?.meta.totalCount ?? 0) > (data?.data.length ?? 0)
222
- const isAtLimit = selectedPeople.size >= MAX_RECIPIENTS
223
- const showsResults = term.length >= 1 && !isAtLimit && unselectedCandidates.length > 0
226
+ if (term.length < 1) {
227
+ if (selectedPeople.size > 0) return null
224
228
 
225
- const emptyState = (() => {
226
- if (showsResults) return null
229
+ return (
230
+ <View style={styles.emptyState}>
231
+ <Icon name="churchCenter.people" size={40} style={styles.emptyStateIcon} />
232
+ <Text style={styles.emptyStateTitle}>Search for people to direct message</Text>
233
+ <Text variant="secondary" style={styles.emptyStateSubtitle}>
234
+ Start a conversation with people in your groups and teams.
235
+ </Text>
236
+ </View>
237
+ )
238
+ }
227
239
 
228
- if (term.length < 1) {
229
- if (selectedPeople.size > 0) return null
240
+ const isAtLimit = selectedPeople.size >= MAX_RECIPIENTS
230
241
 
231
- return (
232
- <View style={styles.emptyState}>
233
- <Icon name="churchCenter.people" size={40} style={styles.emptyStateIcon} />
234
- <Text style={styles.emptyStateTitle}>Search for people to direct message</Text>
235
- <Text variant="secondary" style={styles.emptyStateSubtitle}>
236
- Start a conversation with people in your groups and teams.
237
- </Text>
238
- </View>
239
- )
240
- }
242
+ if (isAtLimit) {
243
+ return (
244
+ <View style={styles.emptyState}>
245
+ <Text variant="secondary" style={styles.emptyStateSubtitle}>
246
+ You can add up to {MAX_RECIPIENTS} people to a direct message.
247
+ </Text>
248
+ </View>
249
+ )
250
+ }
241
251
 
242
- if (isAtLimit) {
243
- return (
244
- <View style={styles.emptyState}>
245
- <Text variant="secondary" style={styles.emptyStateSubtitle}>
246
- You can add up to {MAX_RECIPIENTS} people to a direct message.
247
- </Text>
248
- </View>
249
- )
250
- }
252
+ const unselectedCandidates = (data?.data ?? []).filter(c => !selectedPeople.has(c.id))
253
+ const hasTruncated = (data?.meta.totalCount ?? 0) > (data?.data.length ?? 0)
251
254
 
252
- if (isFetching) {
253
- return (
254
- <View style={styles.emptyState}>
255
- <Spinner />
256
- </View>
257
- )
258
- }
255
+ if (isFetching && unselectedCandidates.length === 0) {
256
+ return (
257
+ <View style={styles.emptyState}>
258
+ <Spinner />
259
+ </View>
260
+ )
261
+ }
259
262
 
263
+ if (!isFetching && unselectedCandidates.length === 0) {
260
264
  return (
261
265
  <View style={styles.emptyState}>
262
266
  <Icon name="general.search" size={32} style={styles.emptyStateIcon} />
@@ -266,15 +270,13 @@ function CandidateResults({
266
270
  </Text>
267
271
  </View>
268
272
  )
269
- })()
273
+ }
270
274
 
271
275
  return (
272
276
  <CandidateList
273
- header={header}
274
- candidates={showsResults ? unselectedCandidates : []}
277
+ candidates={unselectedCandidates}
275
278
  hasTruncated={hasTruncated}
276
279
  description={resultsDescription}
277
- emptyState={emptyState}
278
280
  groups={groups}
279
281
  teams={teams}
280
282
  onSelect={onSelect}
@@ -307,33 +309,27 @@ function candidateAffiliationNames(
307
309
  }
308
310
 
309
311
  function CandidateList({
310
- header,
311
312
  candidates,
312
313
  hasTruncated,
313
314
  description,
314
- emptyState,
315
315
  groups,
316
316
  teams,
317
317
  onSelect,
318
318
  }: {
319
- header: ReactElement
320
319
  candidates: DirectMessageCandidateResource[]
321
320
  hasTruncated: boolean
322
321
  description: string | null
323
- emptyState: ReactElement | null
324
322
  groups: Map<number, string>
325
323
  teams: Map<number, string>
326
324
  onSelect: (candidate: DirectMessageCandidateResource) => void
327
325
  }) {
328
326
  const styles = useStyles()
329
- const hasCandidates = candidates.length > 0
330
327
  const available = candidates.filter(c => !c.directMessagesDisabled)
331
328
  const dmDisabled = candidates.filter(c => c.directMessagesDisabled)
332
329
 
333
330
  return (
334
331
  <FlatList<DirectMessageCandidateResource>
335
332
  data={available}
336
- contentInsetAdjustmentBehavior="automatic"
337
333
  keyboardShouldPersistTaps="handled"
338
334
  keyExtractor={item => item.id}
339
335
  renderItem={({ item }) => (
@@ -344,13 +340,7 @@ function CandidateList({
344
340
  onSelect={() => onSelect(item)}
345
341
  />
346
342
  )}
347
- ListHeaderComponent={
348
- <>
349
- {header}
350
- {hasCandidates && <ResultsHeading description={description} />}
351
- </>
352
- }
353
- ListEmptyComponent={emptyState}
343
+ ListHeaderComponent={<ResultsHeading description={description} />}
354
344
  ListFooterComponent={
355
345
  <>
356
346
  {dmDisabled.length > 0 && (
@@ -371,7 +361,7 @@ function CandidateList({
371
361
  ))}
372
362
  </>
373
363
  )}
374
- {hasCandidates && hasTruncated && (
364
+ {hasTruncated && (
375
365
  <View style={styles.truncatedFooter}>
376
366
  <Text variant="secondary" style={styles.truncatedText}>
377
367
  Keep typing to narrow your results.
@@ -60,7 +60,6 @@ export const ConversationSelectGroupRecipientsScreen = ({
60
60
 
61
61
  return (
62
62
  <SectionList<GroupsGroupResource, GroupsSection>
63
- contentInsetAdjustmentBehavior="automatic"
64
63
  sections={sections}
65
64
  keyExtractor={item => item.id.toString()}
66
65
  stickySectionHeadersEnabled={false}
@@ -32,7 +32,6 @@ export const ConversationSelectTeamsILeadRecipientsScreen = ({
32
32
 
33
33
  return (
34
34
  <FlatList
35
- contentInsetAdjustmentBehavior="automatic"
36
35
  data={serviceTypes}
37
36
  keyExtractor={item => item.id.toString()}
38
37
  contentContainerStyle={styles.contentContainer}
@@ -1,6 +1,6 @@
1
1
  import { StaticScreenProps, useNavigation } from '@react-navigation/native'
2
2
  import { useCallback, useMemo } from 'react'
3
- import { Alert, ScrollView, StyleSheet, View } from 'react-native'
3
+ import { Alert, StyleSheet, View } from 'react-native'
4
4
  import { Heading, PressableRow, Text, TextInlineButton } from '../components'
5
5
  import { useApiGet, useTheme } from '../hooks'
6
6
  import { useAppName } from '../hooks/use_app_name'
@@ -56,7 +56,7 @@ export const GetHelpScreen = ({ route }: GetHelpScreenProps) => {
56
56
  }, [navigation])
57
57
 
58
58
  return (
59
- <ScrollView contentInsetAdjustmentBehavior="automatic" contentContainerStyle={styles.container}>
59
+ <View style={[styles.container]}>
60
60
  {appSpecificHelpUrls.length > 0 && (
61
61
  <Heading variant="h2" style={[styles.heading, styles.headingBottomBorder]}>
62
62
  How-to articles
@@ -90,7 +90,7 @@ export const GetHelpScreen = ({ route }: GetHelpScreenProps) => {
90
90
  to the development team.
91
91
  </Text>
92
92
  </View>
93
- </ScrollView>
93
+ </View>
94
94
  )
95
95
  }
96
96
 
@@ -145,7 +145,7 @@ const useStyles = () => {
145
145
 
146
146
  return StyleSheet.create({
147
147
  container: {
148
- flexGrow: 1,
148
+ flex: 1,
149
149
  },
150
150
  text: {
151
151
  paddingVertical: 4,
@@ -2,7 +2,7 @@ import { PlatformPressable } from '@react-navigation/elements'
2
2
  import { StaticScreenProps, useNavigation } from '@react-navigation/native'
3
3
  import type { NativeStackNavigationProp } from '@react-navigation/native-stack'
4
4
  import React, { useEffect } from 'react'
5
- import { Platform, ScrollView, StyleSheet, View } from 'react-native'
5
+ import { Platform, StyleSheet, View } from 'react-native'
6
6
  import { Heading, Icon, Text } from '../components'
7
7
  import { useTheme } from '../hooks'
8
8
  import { platformFontWeightBold } from '../utils/styles'
@@ -38,7 +38,7 @@ export function GroupNotificationSettingsScreen({ route }: GroupNotificationSett
38
38
  }
39
39
 
40
40
  return (
41
- <ScrollView contentInsetAdjustmentBehavior="automatic" style={styles.container}>
41
+ <View style={styles.container}>
42
42
  <View style={styles.sectionOuter}>
43
43
  <View style={styles.sectionInner}>
44
44
  <Heading variant="h2" style={styles.sectionHeading}>
@@ -76,7 +76,7 @@ export function GroupNotificationSettingsScreen({ route }: GroupNotificationSett
76
76
  )}
77
77
  </View>
78
78
  </PlatformPressable>
79
- </ScrollView>
79
+ </View>
80
80
  )
81
81
  }
82
82
 
@@ -123,7 +123,6 @@ export function NotificationSettingsScreen({}: NotificationSettingsScreenProps)
123
123
  return (
124
124
  <View style={styles.listContainer}>
125
125
  <FlatList
126
- contentInsetAdjustmentBehavior="automatic"
127
126
  data={listData as SectionListData}
128
127
  contentContainerStyle={styles.contentContainer}
129
128
  renderItem={({ item, index }) => {
@@ -2,7 +2,7 @@ import { PlatformPressable } from '@react-navigation/elements'
2
2
  import { StaticScreenProps } from '@react-navigation/native'
3
3
  import { useMutation } from '@tanstack/react-query'
4
4
  import React, { type PropsWithChildren } from 'react'
5
- import { Image, ScrollView, StyleSheet, View, type ViewStyle } from 'react-native'
5
+ import { Image, StyleSheet, View, type ViewStyle } from 'react-native'
6
6
  import { Heading, Icon, Text } from '../components'
7
7
  import { useApiClient, useTheme } from '../hooks'
8
8
  import { useAppName } from '../hooks/use_app_name'
@@ -45,7 +45,7 @@ export function PreferredAppSelectionScreen({ route }: PreferredAppSelectionScre
45
45
  const sectionTitle = chatType ? chatTypeLabel(chatType.title) : undefined
46
46
 
47
47
  return (
48
- <ScrollView contentInsetAdjustmentBehavior="automatic" contentContainerStyle={styles.container}>
48
+ <View style={styles.container}>
49
49
  <View style={styles.section}>
50
50
  <Heading variant="h2" style={styles.sectionHeading}>
51
51
  {sectionTitle}
@@ -64,7 +64,7 @@ export function PreferredAppSelectionScreen({ route }: PreferredAppSelectionScre
64
64
  </PressableRow>
65
65
  ))}
66
66
  </View>
67
- </ScrollView>
67
+ </View>
68
68
  )
69
69
  }
70
70
 
@@ -118,7 +118,7 @@ const PressableRow = ({
118
118
 
119
119
  const styles = StyleSheet.create({
120
120
  container: {
121
- flexGrow: 1,
121
+ flex: 1,
122
122
  },
123
123
  section: {
124
124
  paddingTop: 24,
@@ -106,13 +106,12 @@ describe('SearchScreen', () => {
106
106
  fireEvent.changeText(input, ' budget ')
107
107
 
108
108
  expect(view.getByText('Search chat')).toBeTruthy()
109
- const searchedTerms = () =>
110
- new Set(mockUseSearchResults.mock.calls.map(([term]) => term).filter(term => term.trim()))
111
- expect([...searchedTerms()]).toEqual([])
109
+ expect(mockUseSearchResults).not.toHaveBeenCalled()
112
110
 
113
111
  act(() => jest.advanceTimersByTime(200))
114
112
 
115
- expect([...searchedTerms()]).toEqual(['budget'])
113
+ const searchedTerms = new Set(mockUseSearchResults.mock.calls.map(([term]) => term))
114
+ expect([...searchedTerms]).toEqual(['budget'])
116
115
  expect(view.queryByText('Search chat')).toBeNull()
117
116
  expect(view.getByLabelText('Loading results')).toBeTruthy()
118
117
  })
@@ -122,7 +121,10 @@ describe('SearchScreen', () => {
122
121
 
123
122
  const scrollView = view.UNSAFE_getByType(ScrollView)
124
123
  expect(scrollView.props.keyboardShouldPersistTaps).toBe('handled')
125
- expect(scrollView.props.contentContainerStyle).toMatchObject({ flexGrow: 1 })
124
+ expect(scrollView.props.contentContainerStyle).toMatchObject({
125
+ flexGrow: 1,
126
+ justifyContent: 'center',
127
+ })
126
128
  expect(view.getByText('Search chat')).toBeTruthy()
127
129
  })
128
130
 
@@ -49,13 +49,9 @@ const messageResult = (id: string): MessageSearchResultResource => ({
49
49
  },
50
50
  })
51
51
 
52
- const slots = { header: <></>, prompt: <></> }
53
-
54
52
  const renderList = (state: Partial<SearchState>, onSettled = jest.fn()) => {
55
53
  mockUseSearchResults.mockReturnValue(searchState(state))
56
- const list = () => (
57
- <SearchResultsList term="potluck" onSelect={jest.fn()} onSettled={onSettled} {...slots} />
58
- )
54
+ const list = () => <SearchResultsList term="potluck" onSelect={jest.fn()} onSettled={onSettled} />
59
55
  const view = render(list())
60
56
  const rerenderWith = (next: Partial<SearchState>) => {
61
57
  mockUseSearchResults.mockReturnValue(searchState(next))
@@ -134,7 +130,7 @@ describe('SearchResultsList', () => {
134
130
  const results = [conversationResult('1'), messageResult('1'), messageResult('2')]
135
131
  mockUseSearchResults.mockReturnValue(searchState({ results }))
136
132
  const view = render(
137
- <SearchResultsList term="potluck" onSelect={onSelect} onSettled={jest.fn()} {...slots} />
133
+ <SearchResultsList term="potluck" onSelect={onSelect} onSettled={jest.fn()} />
138
134
  )
139
135
 
140
136
  fireEvent.press(view.getByLabelText(/^Message 2/))
@@ -1,4 +1,4 @@
1
- import React, { ReactElement, useEffect, useRef } from 'react'
1
+ import React, { useEffect, useRef } from 'react'
2
2
  import { FlatList, StyleSheet, View } from 'react-native'
3
3
  import { Banner, Spinner, Text, TextButton } from '../../../components'
4
4
  import { useSearchResults } from '../../../hooks/use_search_results'
@@ -23,17 +23,9 @@ interface SearchResultsListProps {
23
23
  term: string
24
24
  onSelect: (result: SearchResultResource, position: number) => void
25
25
  onSettled: (term: string, counts: SearchResultCounts) => void
26
- header: ReactElement
27
- prompt: ReactElement
28
26
  }
29
27
 
30
- export function SearchResultsList({
31
- term,
32
- onSelect,
33
- onSettled,
34
- header,
35
- prompt,
36
- }: SearchResultsListProps) {
28
+ export function SearchResultsList({ term, onSelect, onSettled }: SearchResultsListProps) {
37
29
  const {
38
30
  results,
39
31
  failedTypes,
@@ -44,10 +36,9 @@ export function SearchResultsList({
44
36
  hasNextPage,
45
37
  isFetchingNextPage,
46
38
  } = useSearchResults(term)
47
- const searching = term.trim().length > 0
48
- const conversationResults = searching ? results.filter(isConversationResult) : []
49
- const messageResults = searching ? results.filter(isMessageResult) : []
50
- const settled = searching && !isPending && !isError
39
+ const conversationResults = results.filter(isConversationResult)
40
+ const messageResults = results.filter(isMessageResult)
41
+ const settled = !isPending && !isError
51
42
 
52
43
  const settledTermRef = useRef<string | undefined>(undefined)
53
44
 
@@ -65,7 +56,6 @@ export function SearchResultsList({
65
56
  <FlatList
66
57
  data={messageResults}
67
58
  keyExtractor={item => item.id}
68
- contentInsetAdjustmentBehavior="automatic"
69
59
  keyboardShouldPersistTaps="handled"
70
60
  keyboardDismissMode="on-drag"
71
61
  contentContainerStyle={styles.content}
@@ -74,27 +64,20 @@ export function SearchResultsList({
74
64
  )}
75
65
  ListHeaderComponent={
76
66
  <>
77
- {header}
78
67
  {conversationResults.length > 0 && (
79
68
  <ConversationResults results={conversationResults} onSelect={onSelect} />
80
69
  )}
81
- {searching && failedTypes.includes('conversation') && (
82
- <SectionFailure type="conversation" />
83
- )}
70
+ {failedTypes.includes('conversation') && <SectionFailure type="conversation" />}
84
71
  {messageResults.length > 0 && <ResultsSection title="Messages" />}
85
72
  </>
86
73
  }
87
74
  ListEmptyComponent={
88
- searching ? (
89
- <ListEmpty
90
- term={term}
91
- isError={isError}
92
- isPending={isPending}
93
- noResults={results.length === 0 && failedTypes.length === 0}
94
- />
95
- ) : (
96
- <View style={styles.prompt}>{prompt}</View>
97
- )
75
+ <ListEmpty
76
+ term={term}
77
+ isError={isError}
78
+ isPending={isPending}
79
+ noResults={results.length === 0 && failedTypes.length === 0}
80
+ />
98
81
  }
99
82
  ListFooterComponent={
100
83
  <>
@@ -108,7 +91,7 @@ export function SearchResultsList({
108
91
  Try again
109
92
  </TextButton>
110
93
  )}
111
- {searching && failedTypes.includes('message') && <SectionFailure type="message" />}
94
+ {failedTypes.includes('message') && <SectionFailure type="message" />}
112
95
  </>
113
96
  }
114
97
  onEndReached={() => {
@@ -166,10 +149,6 @@ const styles = StyleSheet.create({
166
149
  content: {
167
150
  flexGrow: 1,
168
151
  },
169
- prompt: {
170
- flexGrow: 1,
171
- justifyContent: 'center',
172
- },
173
152
  banner: {
174
153
  margin: 16,
175
154
  },
@@ -4,7 +4,7 @@ import {
4
4
  NativeStackScreenProps,
5
5
  } from '@react-navigation/native-stack'
6
6
  import React, { useRef, useState } from 'react'
7
- import { Keyboard, StyleSheet, View } from 'react-native'
7
+ import { Keyboard, ScrollView, StyleSheet, View } from 'react-native'
8
8
  import { KeyboardView } from '../../components'
9
9
  import {
10
10
  composeOptions,
@@ -64,13 +64,19 @@ export function SearchScreen() {
64
64
  return (
65
65
  <KeyboardView>
66
66
  <View style={styles.container} testID="search-screen">
67
- <SearchResultsList
68
- term={debouncedTerm}
69
- onSelect={openResult}
70
- onSettled={publishSearch}
71
- header={<SearchField term={term} onChange={setTerm} />}
72
- prompt={<SearchPromptBlankState />}
73
- />
67
+ <SearchField term={term} onChange={setTerm} />
68
+ {debouncedTerm.length > 0 ? (
69
+ <SearchResultsList
70
+ key={debouncedTerm}
71
+ term={debouncedTerm}
72
+ onSelect={openResult}
73
+ onSettled={publishSearch}
74
+ />
75
+ ) : (
76
+ <ScrollView contentContainerStyle={styles.prompt} keyboardShouldPersistTaps="handled">
77
+ <SearchPromptBlankState />
78
+ </ScrollView>
79
+ )}
74
80
  </View>
75
81
  </KeyboardView>
76
82
  )
@@ -80,4 +86,8 @@ const styles = StyleSheet.create({
80
86
  container: {
81
87
  flex: 1,
82
88
  },
89
+ prompt: {
90
+ flexGrow: 1,
91
+ justifyContent: 'center',
92
+ },
83
93
  })
@@ -1,7 +1,7 @@
1
1
  import { PlatformPressable } from '@react-navigation/elements'
2
2
  import { StaticScreenProps, useNavigation } from '@react-navigation/native'
3
3
  import React, { useCallback } from 'react'
4
- import { Platform, ScrollView, StyleSheet, View } from 'react-native'
4
+ import { Platform, StyleSheet, View } from 'react-native'
5
5
  import { useSafeAreaInsets } from 'react-native-safe-area-context'
6
6
  import { Heading, Icon, Text, VersionFooter } from '../components'
7
7
  import { Switch } from '../components/display/switch'
@@ -28,31 +28,29 @@ export function SettingsScreen({}: SettingsScreenProps) {
28
28
 
29
29
  return (
30
30
  <View style={styles.container}>
31
- <ScrollView contentInsetAdjustmentBehavior="automatic">
32
- <View style={styles.sectionOuter}>
33
- <View style={styles.sectionHeader}>
34
- <Heading variant="h2">Messages</Heading>
35
- </View>
36
- {directMessagesEligible && (
37
- <View style={styles.settingRow}>
38
- <View style={styles.settingRowText}>
39
- <Text>Allow direct messages</Text>
40
- <Text variant="tertiary">
41
- When off, you can't be added to new direct messages, and any you're already in
42
- will be turned off.
43
- </Text>
44
- </View>
45
- <Switch
46
- value={!directMessagesDisabled}
47
- onValueChange={enabled => setDirectMessagesDisabled(!enabled)}
48
- disabled={isMutating}
49
- />
50
- </View>
51
- )}
52
- <NavRow label="Notification settings" onPress={handleNotificationSettings} />
53
- {appName !== 'services' && <NavRow label="Get help" onPress={handleGetHelp} />}
31
+ <View style={styles.sectionOuter}>
32
+ <View style={styles.sectionHeader}>
33
+ <Heading variant="h2">Messages</Heading>
54
34
  </View>
55
- </ScrollView>
35
+ {directMessagesEligible && (
36
+ <View style={styles.settingRow}>
37
+ <View style={styles.settingRowText}>
38
+ <Text>Allow direct messages</Text>
39
+ <Text variant="tertiary">
40
+ When off, you can't be added to new direct messages, and any you're already in will
41
+ be turned off.
42
+ </Text>
43
+ </View>
44
+ <Switch
45
+ value={!directMessagesDisabled}
46
+ onValueChange={enabled => setDirectMessagesDisabled(!enabled)}
47
+ disabled={isMutating}
48
+ />
49
+ </View>
50
+ )}
51
+ <NavRow label="Notification settings" onPress={handleNotificationSettings} />
52
+ {appName !== 'services' && <NavRow label="Get help" onPress={handleGetHelp} />}
53
+ </View>
56
54
  <View style={styles.footer}>
57
55
  <VersionFooter />
58
56
  </View>
@@ -92,6 +90,8 @@ const useStyles = () => {
92
90
  flex: 1,
93
91
  },
94
92
  footer: {
93
+ flex: 1,
94
+ justifyContent: 'flex-end',
95
95
  paddingBottom: Math.max(insets.bottom, 8),
96
96
  },
97
97
  sectionOuter: {
@@ -1,9 +0,0 @@
1
- import { ComponentProps, ReactNode } from 'react';
2
- import { View } from 'react-native';
3
- type AttachmentCardProps = ComponentProps<typeof View>;
4
- export declare function AttachmentCard({ children, ...props }: AttachmentCardProps): import("react/jsx-runtime").JSX.Element;
5
- export declare function AttachmentCardTitle({ children }: {
6
- children: ReactNode;
7
- }): import("react/jsx-runtime").JSX.Element;
8
- export {};
9
- //# sourceMappingURL=attachment_card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment_card.d.ts","sourceRoot":"","sources":["../../../../src/components/conversation/attachments/attachment_card.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACxD,OAAO,EAAc,IAAI,EAAE,MAAM,cAAc,CAAA;AAK/C,KAAK,mBAAmB,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAA;AAEtD,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,2CAQzE;AAED,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,2CAQxE"}
@@ -1,2 +0,0 @@
1
- export declare function AttachmentDeletingOverlay(): import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=attachment_deleting_overlay.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment_deleting_overlay.d.ts","sourceRoot":"","sources":["../../../../src/components/conversation/attachments/attachment_deleting_overlay.tsx"],"names":[],"mappings":"AAIA,wBAAgB,yBAAyB,4CASxC"}