@planningcenter/chat-react-native 3.30.0-rc.1 → 3.30.0-rc.3
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.
- package/build/components/conversation/attachments/attachment_card.js +3 -3
- package/build/components/conversation/attachments/attachment_card.js.map +1 -1
- package/build/components/conversation/attachments/attachment_deleting_overlay.js +2 -2
- package/build/components/conversation/attachments/attachment_deleting_overlay.js.map +1 -1
- package/build/components/conversation/attachments/audio_attachment.d.ts +1 -1
- package/build/components/conversation/attachments/audio_attachment.d.ts.map +1 -1
- package/build/components/conversation/attachments/audio_attachment.js +3 -3
- package/build/components/conversation/attachments/audio_attachment.js.map +1 -1
- package/build/components/conversation/attachments/expanded_link.d.ts +1 -1
- package/build/components/conversation/attachments/expanded_link.d.ts.map +1 -1
- package/build/components/conversation/attachments/expanded_link.js +3 -3
- package/build/components/conversation/attachments/expanded_link.js.map +1 -1
- package/build/components/conversation/attachments/generic_file_attachment.d.ts +1 -1
- package/build/components/conversation/attachments/generic_file_attachment.d.ts.map +1 -1
- package/build/components/conversation/attachments/generic_file_attachment.js +4 -4
- package/build/components/conversation/attachments/generic_file_attachment.js.map +1 -1
- package/build/components/conversation/attachments/giphy_attachment.d.ts +1 -1
- package/build/components/conversation/attachments/giphy_attachment.d.ts.map +1 -1
- package/build/components/conversation/attachments/giphy_attachment.js +4 -4
- package/build/components/conversation/attachments/giphy_attachment.js.map +1 -1
- package/build/components/conversation/attachments/image_attachment.d.ts +1 -1
- package/build/components/conversation/attachments/image_attachment.d.ts.map +1 -1
- package/build/components/conversation/attachments/image_attachment.js +5 -5
- package/build/components/conversation/attachments/image_attachment.js.map +1 -1
- package/build/components/conversation/attachments/video_attachment.d.ts +1 -1
- package/build/components/conversation/attachments/video_attachment.d.ts.map +1 -1
- package/build/components/conversation/attachments/video_attachment.js +4 -4
- package/build/components/conversation/attachments/video_attachment.js.map +1 -1
- package/build/components/conversation/empty_conversation_blank_state.js +1 -1
- package/build/components/conversation/empty_conversation_blank_state.js.map +1 -1
- package/build/components/conversation/jump_to_bottom_button.js +3 -3
- package/build/components/conversation/jump_to_bottom_button.js.map +1 -1
- package/build/components/conversation/message.d.ts +1 -1
- package/build/components/conversation/message.d.ts.map +1 -1
- package/build/components/conversation/message.js +12 -12
- package/build/components/conversation/message.js.map +1 -1
- package/build/components/conversation/message_attachments.d.ts +1 -1
- package/build/components/conversation/message_attachments.d.ts.map +1 -1
- package/build/components/conversation/message_attachments.js +1 -1
- package/build/components/conversation/message_attachments.js.map +1 -1
- package/build/components/conversation/message_form/message_form_attachment_image.d.ts +1 -1
- package/build/components/conversation/message_form/message_form_attachment_image.d.ts.map +1 -1
- package/build/components/conversation/message_form/message_form_attachment_image.js +1 -1
- package/build/components/conversation/message_form/message_form_attachment_image.js.map +1 -1
- package/build/components/conversation/message_form/message_form_attachment_video.d.ts +1 -1
- package/build/components/conversation/message_form/message_form_attachment_video.d.ts.map +1 -1
- package/build/components/conversation/message_form/message_form_attachment_video.js +1 -1
- package/build/components/conversation/message_form/message_form_attachment_video.js.map +1 -1
- package/build/components/conversation/message_form.d.ts +1 -1
- package/build/components/conversation/message_form.d.ts.map +1 -1
- package/build/components/conversation/message_form.js +12 -12
- package/build/components/conversation/message_form.js.map +1 -1
- package/build/components/conversation/message_markdown.js +3 -3
- package/build/components/conversation/message_markdown.js.map +1 -1
- package/build/components/conversation/message_reaction.d.ts +2 -2
- package/build/components/conversation/message_reaction.d.ts.map +1 -1
- package/build/components/conversation/message_reaction.js +6 -6
- package/build/components/conversation/message_reaction.js.map +1 -1
- package/build/components/conversation/message_read_receipts.d.ts +1 -1
- package/build/components/conversation/message_read_receipts.d.ts.map +1 -1
- package/build/components/conversation/message_read_receipts.js +2 -2
- package/build/components/conversation/message_read_receipts.js.map +1 -1
- package/build/components/conversation/messages_disabled_banners.js +2 -2
- package/build/components/conversation/messages_disabled_banners.js.map +1 -1
- package/build/components/conversation/reply_connectors.d.ts +1 -1
- package/build/components/conversation/reply_connectors.d.ts.map +1 -1
- package/build/components/conversation/reply_connectors.js +2 -2
- package/build/components/conversation/reply_connectors.js.map +1 -1
- package/build/components/conversation/reply_shadow_message.d.ts +1 -1
- package/build/components/conversation/reply_shadow_message.d.ts.map +1 -1
- package/build/components/conversation/reply_shadow_message.js +6 -6
- package/build/components/conversation/reply_shadow_message.js.map +1 -1
- package/build/components/conversation/typing_indicator.js +3 -3
- package/build/components/conversation/typing_indicator.js.map +1 -1
- package/build/components/conversations/conversation_actions.d.ts +1 -1
- package/build/components/conversations/conversation_actions.d.ts.map +1 -1
- package/build/components/conversations/conversation_actions.js +5 -5
- package/build/components/conversations/conversation_actions.js.map +1 -1
- package/build/components/conversations/conversation_preview.d.ts +1 -1
- package/build/components/conversations/conversation_preview.d.ts.map +1 -1
- package/build/components/conversations/conversation_preview.js +3 -3
- package/build/components/conversations/conversation_preview.js.map +1 -1
- package/build/components/conversations/conversations.js +5 -5
- package/build/components/conversations/conversations.js.map +1 -1
- package/build/components/conversations/mute_indicator.js +3 -3
- package/build/components/conversations/mute_indicator.js.map +1 -1
- package/build/components/conversations/swipeable_toggle_button.d.ts +1 -1
- package/build/components/conversations/swipeable_toggle_button.d.ts.map +1 -1
- package/build/components/conversations/swipeable_toggle_button.js +5 -5
- package/build/components/conversations/swipeable_toggle_button.js.map +1 -1
- package/build/components/conversations/unread_count_badge.js +3 -3
- package/build/components/conversations/unread_count_badge.js.map +1 -1
- package/build/components/display/action_button.d.ts.map +1 -1
- package/build/components/display/action_button.js +2 -2
- package/build/components/display/action_button.js.map +1 -1
- package/build/components/display/avatar.d.ts +1 -1
- package/build/components/display/avatar.d.ts.map +1 -1
- package/build/components/display/avatar.js +1 -1
- package/build/components/display/avatar.js.map +1 -1
- package/build/components/display/avatar_group.d.ts +1 -1
- package/build/components/display/avatar_group.d.ts.map +1 -1
- package/build/components/display/avatar_group.js +1 -1
- package/build/components/display/avatar_group.js.map +1 -1
- package/build/components/display/badge.d.ts.map +1 -1
- package/build/components/display/badge.js +3 -3
- package/build/components/display/badge.js.map +1 -1
- package/build/components/display/banner.d.ts +1 -1
- package/build/components/display/banner.d.ts.map +1 -1
- package/build/components/display/banner.js +1 -1
- package/build/components/display/banner.js.map +1 -1
- package/build/components/display/banner_collapsible.d.ts.map +1 -1
- package/build/components/display/banner_collapsible.js +1 -1
- package/build/components/display/banner_collapsible.js.map +1 -1
- package/build/components/display/button.d.ts.map +1 -1
- package/build/components/display/button.js +3 -3
- package/build/components/display/button.js.map +1 -1
- package/build/components/display/child_notice.d.ts +1 -1
- package/build/components/display/child_notice.d.ts.map +1 -1
- package/build/components/display/child_notice.js +2 -2
- package/build/components/display/child_notice.js.map +1 -1
- package/build/components/display/heading.js +3 -3
- package/build/components/display/heading.js.map +1 -1
- package/build/components/display/icon.js +1 -1
- package/build/components/display/icon.js.map +1 -1
- package/build/components/display/icon_button.d.ts.map +1 -1
- package/build/components/display/icon_button.js +2 -2
- package/build/components/display/icon_button.js.map +1 -1
- package/build/components/display/image.js +1 -1
- package/build/components/display/image.js.map +1 -1
- package/build/components/display/image_attachment_preview.js +2 -2
- package/build/components/display/image_attachment_preview.js.map +1 -1
- package/build/components/display/keyboard_view.js +1 -1
- package/build/components/display/keyboard_view.js.map +1 -1
- package/build/components/display/person.d.ts +1 -1
- package/build/components/display/person.d.ts.map +1 -1
- package/build/components/display/person.js +1 -1
- package/build/components/display/person.js.map +1 -1
- package/build/components/display/platform_modal_header_buttons.js +1 -1
- package/build/components/display/platform_modal_header_buttons.js.map +1 -1
- package/build/components/display/pressable_row.d.ts.map +1 -1
- package/build/components/display/pressable_row.js +1 -1
- package/build/components/display/pressable_row.js.map +1 -1
- package/build/components/display/spinner.js +1 -1
- package/build/components/display/spinner.js.map +1 -1
- package/build/components/display/switch.js +1 -1
- package/build/components/display/switch.js.map +1 -1
- package/build/components/display/tabs.js +1 -1
- package/build/components/display/tabs.js.map +1 -1
- package/build/components/display/text.js +2 -2
- package/build/components/display/text.js.map +1 -1
- package/build/components/display/text_button.d.ts.map +1 -1
- package/build/components/display/text_button.js +2 -2
- package/build/components/display/text_button.js.map +1 -1
- package/build/components/display/text_inline_button.d.ts.map +1 -1
- package/build/components/display/text_inline_button.js +2 -2
- package/build/components/display/text_inline_button.js.map +1 -1
- package/build/components/display/toggle_button.d.ts.map +1 -1
- package/build/components/display/toggle_button.js +4 -4
- package/build/components/display/toggle_button.js.map +1 -1
- package/build/components/display/utils/button_colors.js +1 -1
- package/build/components/display/utils/button_colors.js.map +1 -1
- package/build/components/display/utils/status_colors.js +1 -1
- package/build/components/display/utils/status_colors.js.map +1 -1
- package/build/components/display/video_attachment_preview.js +3 -3
- package/build/components/display/video_attachment_preview.js.map +1 -1
- package/build/components/group_conversation_list.d.ts +1 -1
- package/build/components/group_conversation_list.d.ts.map +1 -1
- package/build/components/group_conversation_list.js +2 -2
- package/build/components/group_conversation_list.js.map +1 -1
- package/build/components/page/error_boundary.d.ts +1 -1
- package/build/components/page/error_boundary.d.ts.map +1 -1
- package/build/components/page/error_boundary.js +2 -2
- package/build/components/page/error_boundary.js.map +1 -1
- package/build/components/page/loading.js +1 -1
- package/build/components/page/loading.js.map +1 -1
- package/build/components/primitive/avatar_primitive.d.ts +2 -2
- package/build/components/primitive/avatar_primitive.d.ts.map +1 -1
- package/build/components/primitive/avatar_primitive.js +5 -5
- package/build/components/primitive/avatar_primitive.js.map +1 -1
- package/build/components/primitive/banner_primitive.d.ts +2 -2
- package/build/components/primitive/banner_primitive.d.ts.map +1 -1
- package/build/components/primitive/banner_primitive.js +8 -8
- package/build/components/primitive/banner_primitive.js.map +1 -1
- package/build/components/primitive/blank_state_primitive.d.ts +1 -1
- package/build/components/primitive/blank_state_primitive.d.ts.map +1 -1
- package/build/components/primitive/blank_state_primitive.js +2 -2
- package/build/components/primitive/blank_state_primitive.js.map +1 -1
- package/build/components/primitive/form_sheet.d.ts +2 -2
- package/build/components/primitive/form_sheet.d.ts.map +1 -1
- package/build/components/primitive/form_sheet.js +3 -3
- package/build/components/primitive/form_sheet.js.map +1 -1
- package/build/components/safe_area_modal.js +1 -1
- package/build/components/safe_area_modal.js.map +1 -1
- package/build/contexts/api_provider.js +4 -4
- package/build/contexts/api_provider.js.map +1 -1
- package/build/contexts/chat_context.d.ts +6 -6
- package/build/contexts/chat_context.d.ts.map +1 -1
- package/build/contexts/chat_context.js +2 -2
- package/build/contexts/chat_context.js.map +1 -1
- package/build/contexts/conversations_context.d.ts +2 -2
- package/build/contexts/conversations_context.d.ts.map +1 -1
- package/build/contexts/conversations_context.js +1 -1
- package/build/contexts/conversations_context.js.map +1 -1
- package/build/contexts/session_context.d.ts +3 -3
- package/build/contexts/session_context.d.ts.map +1 -1
- package/build/contexts/session_context.js +6 -6
- package/build/contexts/session_context.js.map +1 -1
- package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +7 -7
- package/build/hooks/groups/use_group_members_for_new_conversation.d.ts.map +1 -1
- package/build/hooks/groups/use_group_members_for_new_conversation.js +2 -2
- package/build/hooks/groups/use_group_members_for_new_conversation.js.map +1 -1
- package/build/hooks/groups/use_groups_conversation_create.d.ts +1 -1
- package/build/hooks/groups/use_groups_conversation_create.d.ts.map +1 -1
- package/build/hooks/groups/use_groups_conversation_create.js +2 -2
- package/build/hooks/groups/use_groups_conversation_create.js.map +1 -1
- package/build/hooks/services/use_find_or_create_services_conversation.d.ts +2 -2
- package/build/hooks/services/use_find_or_create_services_conversation.d.ts.map +1 -1
- package/build/hooks/services/use_find_or_create_services_conversation.js +2 -2
- package/build/hooks/services/use_find_or_create_services_conversation.js.map +1 -1
- package/build/hooks/services/use_services_team.d.ts +1 -1
- package/build/hooks/services/use_services_team.d.ts.map +1 -1
- package/build/hooks/services/use_services_team.js +1 -1
- package/build/hooks/services/use_services_team.js.map +1 -1
- package/build/hooks/services/use_team_members_for_new_conversation.d.ts +21 -21
- package/build/hooks/services/use_team_members_for_new_conversation.d.ts.map +1 -1
- package/build/hooks/services/use_team_members_for_new_conversation.js +1 -1
- package/build/hooks/services/use_team_members_for_new_conversation.js.map +1 -1
- package/build/hooks/services/use_team_plans.d.ts +1 -1
- package/build/hooks/services/use_team_plans.js +1 -1
- package/build/hooks/services/use_team_plans.js.map +1 -1
- package/build/hooks/use_api.d.ts +2 -2
- package/build/hooks/use_api.d.ts.map +1 -1
- package/build/hooks/use_api.js.map +1 -1
- package/build/hooks/use_api_client.d.ts +1 -1
- package/build/hooks/use_api_client.d.ts.map +1 -1
- package/build/hooks/use_api_client.js +3 -3
- package/build/hooks/use_api_client.js.map +1 -1
- package/build/hooks/use_async_storage.js +1 -1
- package/build/hooks/use_async_storage.js.map +1 -1
- package/build/hooks/use_attachment_uploader.d.ts +1 -1
- package/build/hooks/use_attachment_uploader.d.ts.map +1 -1
- package/build/hooks/use_attachment_uploader.js.map +1 -1
- package/build/hooks/use_broadcast_typing_status.js +1 -1
- package/build/hooks/use_broadcast_typing_status.js.map +1 -1
- package/build/hooks/use_chat_permissions.d.ts +21 -21
- package/build/hooks/use_chat_permissions.d.ts.map +1 -1
- package/build/hooks/use_chat_permissions.js.map +1 -1
- package/build/hooks/use_conversation.d.ts +5 -5
- package/build/hooks/use_conversation.d.ts.map +1 -1
- package/build/hooks/use_conversation.js +4 -3
- package/build/hooks/use_conversation.js.map +1 -1
- package/build/hooks/use_conversation_jolt_events.js +1 -1
- package/build/hooks/use_conversation_jolt_events.js.map +1 -1
- package/build/hooks/use_conversation_membership.d.ts +1 -1
- package/build/hooks/use_conversation_membership.d.ts.map +1 -1
- package/build/hooks/use_conversation_membership.js +2 -2
- package/build/hooks/use_conversation_membership.js.map +1 -1
- package/build/hooks/use_conversation_message.d.ts +1 -1
- package/build/hooks/use_conversation_message.d.ts.map +1 -1
- package/build/hooks/use_conversation_message.js +1 -1
- package/build/hooks/use_conversation_message.js.map +1 -1
- package/build/hooks/use_conversation_messages.d.ts +3 -3
- package/build/hooks/use_conversation_messages.d.ts.map +1 -1
- package/build/hooks/use_conversation_messages.js +1 -1
- package/build/hooks/use_conversation_messages.js.map +1 -1
- package/build/hooks/use_conversation_messages_jolt_events.js +6 -6
- package/build/hooks/use_conversation_messages_jolt_events.js.map +1 -1
- package/build/hooks/use_conversations.d.ts +2 -2
- package/build/hooks/use_conversations.d.ts.map +1 -1
- package/build/hooks/use_conversations.js +1 -1
- package/build/hooks/use_conversations.js.map +1 -1
- package/build/hooks/use_conversations_actions.d.ts +19 -19
- package/build/hooks/use_conversations_actions.d.ts.map +1 -1
- package/build/hooks/use_conversations_actions.js +1 -1
- package/build/hooks/use_conversations_actions.js.map +1 -1
- package/build/hooks/use_conversations_cache.d.ts +2 -2
- package/build/hooks/use_conversations_cache.d.ts.map +1 -1
- package/build/hooks/use_conversations_cache.js +2 -2
- package/build/hooks/use_conversations_cache.js.map +1 -1
- package/build/hooks/use_conversations_jolt_events.js +2 -2
- package/build/hooks/use_conversations_jolt_events.js.map +1 -1
- package/build/hooks/use_current_person.d.ts +1 -1
- package/build/hooks/use_current_person.d.ts.map +1 -1
- package/build/hooks/use_current_person.js.map +1 -1
- package/build/hooks/use_features.d.ts +2 -2
- package/build/hooks/use_features.d.ts.map +1 -1
- package/build/hooks/use_features.js +2 -2
- package/build/hooks/use_features.js.map +1 -1
- package/build/hooks/use_giphy.d.ts +1 -1
- package/build/hooks/use_giphy.d.ts.map +1 -1
- package/build/hooks/use_giphy.js +1 -1
- package/build/hooks/use_giphy.js.map +1 -1
- package/build/hooks/use_groups.d.ts +2 -2
- package/build/hooks/use_groups.d.ts.map +1 -1
- package/build/hooks/use_groups.js.map +1 -1
- package/build/hooks/use_groups_groups.d.ts +33 -33
- package/build/hooks/use_groups_groups.d.ts.map +1 -1
- package/build/hooks/use_groups_groups.js.map +1 -1
- package/build/hooks/use_jolt.js +2 -2
- package/build/hooks/use_jolt.js.map +1 -1
- package/build/hooks/use_live_relative_time.d.ts +1 -1
- package/build/hooks/use_live_relative_time.d.ts.map +1 -1
- package/build/hooks/use_live_relative_time.js +2 -2
- package/build/hooks/use_live_relative_time.js.map +1 -1
- package/build/hooks/use_mark_latest_message_read.d.ts +1 -1
- package/build/hooks/use_mark_latest_message_read.d.ts.map +1 -1
- package/build/hooks/use_mark_latest_message_read.js.map +1 -1
- package/build/hooks/use_message_create_or_update.d.ts +2 -2
- package/build/hooks/use_message_create_or_update.d.ts.map +1 -1
- package/build/hooks/use_message_create_or_update.js +7 -7
- package/build/hooks/use_message_create_or_update.js.map +1 -1
- package/build/hooks/use_message_draft.d.ts +1 -1
- package/build/hooks/use_message_draft.d.ts.map +1 -1
- package/build/hooks/use_message_draft.js +1 -1
- package/build/hooks/use_message_draft.js.map +1 -1
- package/build/hooks/use_message_reaction_toggle.d.ts +2 -2
- package/build/hooks/use_message_reaction_toggle.d.ts.map +1 -1
- package/build/hooks/use_message_reaction_toggle.js +2 -2
- package/build/hooks/use_message_reaction_toggle.js.map +1 -1
- package/build/hooks/use_my_gender.js.map +1 -1
- package/build/hooks/use_organization.d.ts +5 -5
- package/build/hooks/use_organization.d.ts.map +1 -1
- package/build/hooks/use_organization.js.map +1 -1
- package/build/hooks/use_people_person.d.ts +1 -1
- package/build/hooks/use_people_person.d.ts.map +1 -1
- package/build/hooks/use_people_person.js.map +1 -1
- package/build/hooks/use_product_analytics.d.ts +1 -1
- package/build/hooks/use_product_analytics.d.ts.map +1 -1
- package/build/hooks/use_product_analytics.js +3 -3
- package/build/hooks/use_product_analytics.js.map +1 -1
- package/build/hooks/use_qualified_by_age.js +1 -1
- package/build/hooks/use_qualified_by_age.js.map +1 -1
- package/build/hooks/use_read_receipts.d.ts +2 -2
- package/build/hooks/use_read_receipts.d.ts.map +1 -1
- package/build/hooks/use_read_receipts.js.map +1 -1
- package/build/hooks/use_report_message.d.ts +1 -1
- package/build/hooks/use_report_message.d.ts.map +1 -1
- package/build/hooks/use_report_message.js +1 -1
- package/build/hooks/use_report_message.js.map +1 -1
- package/build/hooks/use_storage.d.ts +1 -1
- package/build/hooks/use_storage.d.ts.map +1 -1
- package/build/hooks/use_storage.js.map +1 -1
- package/build/hooks/use_submit_age_check.d.ts +1 -1
- package/build/hooks/use_submit_age_check.d.ts.map +1 -1
- package/build/hooks/use_submit_age_check.js +1 -1
- package/build/hooks/use_submit_age_check.js.map +1 -1
- package/build/hooks/use_suspense_api.d.ts +5 -5
- package/build/hooks/use_suspense_api.d.ts.map +1 -1
- package/build/hooks/use_suspense_api.js +2 -2
- package/build/hooks/use_suspense_api.js.map +1 -1
- package/build/hooks/use_teams.d.ts +1 -1
- package/build/hooks/use_teams.d.ts.map +1 -1
- package/build/hooks/use_teams.js.map +1 -1
- package/build/hooks/use_theme.d.ts +1 -1
- package/build/hooks/use_theme.d.ts.map +1 -1
- package/build/hooks/use_theme.js +1 -1
- package/build/hooks/use_theme.js.map +1 -1
- package/build/hooks/use_typing_indicators.d.ts.map +1 -1
- package/build/hooks/use_typing_indicators.js +1 -1
- package/build/hooks/use_typing_indicators.js.map +1 -1
- package/build/hooks/use_typing_status_cache.d.ts +1 -1
- package/build/hooks/use_typing_status_cache.d.ts.map +1 -1
- package/build/hooks/use_typing_status_cache.js.map +1 -1
- package/build/hooks/use_upload_client.d.ts +1 -1
- package/build/hooks/use_upload_client.d.ts.map +1 -1
- package/build/hooks/use_upload_client.js +3 -3
- package/build/hooks/use_upload_client.js.map +1 -1
- package/build/icons/font_awesome.d.ts +2 -0
- package/build/icons/font_awesome.d.ts.map +1 -0
- package/build/icons/font_awesome.js +16 -0
- package/build/icons/font_awesome.js.map +1 -0
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/navigation/chat_access_gate.js +7 -7
- package/build/navigation/chat_access_gate.js.map +1 -1
- package/build/navigation/index.d.ts +25 -25
- package/build/navigation/index.d.ts.map +1 -1
- package/build/navigation/index.js +28 -28
- package/build/navigation/index.js.map +1 -1
- package/build/navigation/screenLayout.js +2 -2
- package/build/navigation/screenLayout.js.map +1 -1
- package/build/polyfills/events/Event.d.ts +4 -0
- package/build/polyfills/events/Event.d.ts.map +1 -1
- package/build/polyfills/events/Event.js +1 -5
- package/build/polyfills/events/Event.js.map +1 -1
- package/build/polyfills/events/EventTarget.d.ts +3 -0
- package/build/polyfills/events/EventTarget.d.ts.map +1 -1
- package/build/polyfills/events/EventTarget.js +1 -1
- package/build/polyfills/events/EventTarget.js.map +1 -1
- package/build/polyfills/events/internals/EventInternals.d.ts +2 -2
- package/build/polyfills/events/internals/EventInternals.d.ts.map +1 -1
- package/build/polyfills/events/internals/EventInternals.js.map +1 -1
- package/build/polyfills/events/internals/EventTargetInternals.d.ts +2 -2
- package/build/polyfills/events/internals/EventTargetInternals.d.ts.map +1 -1
- package/build/polyfills/events/internals/EventTargetInternals.js.map +1 -1
- package/build/screens/age_check/age_check_required_screen.js +8 -8
- package/build/screens/age_check/age_check_required_screen.js.map +1 -1
- package/build/screens/age_check/age_check_underage_screen.js +3 -3
- package/build/screens/age_check/age_check_underage_screen.js.map +1 -1
- package/build/screens/age_check/components/age_check_select_birthdate_modal.js +3 -3
- package/build/screens/age_check/components/age_check_select_birthdate_modal.js.map +1 -1
- package/build/screens/attachment_actions/attachment_actions_screen.js +1 -1
- package/build/screens/attachment_actions/attachment_actions_screen.js.map +1 -1
- package/build/screens/attachment_actions/hooks/useDeleteAttachment.js +3 -3
- package/build/screens/attachment_actions/hooks/useDeleteAttachment.js.map +1 -1
- package/build/screens/bug_report_screen.js +11 -11
- package/build/screens/bug_report_screen.js.map +1 -1
- package/build/screens/conversation/message_read_receipts_screen.js +4 -4
- package/build/screens/conversation/message_read_receipts_screen.js.map +1 -1
- package/build/screens/conversation_details_screen.d.ts.map +1 -1
- package/build/screens/conversation_details_screen.js +37 -9
- package/build/screens/conversation_details_screen.js.map +1 -1
- package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts +1 -1
- package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/components/checkbox_row.js +3 -3
- package/build/screens/conversation_filter_recipients/components/checkbox_row.js.map +1 -1
- package/build/screens/conversation_filter_recipients/components/header_row.d.ts +1 -1
- package/build/screens/conversation_filter_recipients/components/header_row.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/components/header_row.js +4 -4
- package/build/screens/conversation_filter_recipients/components/header_row.js.map +1 -1
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.js +6 -6
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.js.map +1 -1
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts +1 -1
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.js +1 -1
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.js.map +1 -1
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts +22 -22
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.js +2 -2
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.js.map +1 -1
- package/build/screens/conversation_filter_recipients/types.d.ts +1 -1
- package/build/screens/conversation_filter_recipients/types.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/types.js.map +1 -1
- package/build/screens/conversation_filters/components/conversation_filters.d.ts.map +1 -1
- package/build/screens/conversation_filters/components/conversation_filters.js +5 -5
- package/build/screens/conversation_filters/components/conversation_filters.js.map +1 -1
- package/build/screens/conversation_filters/components/rows.d.ts +4 -4
- package/build/screens/conversation_filters/components/rows.d.ts.map +1 -1
- package/build/screens/conversation_filters/components/rows.js +5 -5
- package/build/screens/conversation_filters/components/rows.js.map +1 -1
- package/build/screens/conversation_filters/context/conversation_filter_context.d.ts +1 -1
- package/build/screens/conversation_filters/context/conversation_filter_context.d.ts.map +1 -1
- package/build/screens/conversation_filters/context/conversation_filter_context.js.map +1 -1
- package/build/screens/conversation_filters/group_filters.d.ts.map +1 -1
- package/build/screens/conversation_filters/group_filters.js +1 -1
- package/build/screens/conversation_filters/group_filters.js.map +1 -1
- package/build/screens/conversation_filters/hooks/filters.d.ts +54 -54
- package/build/screens/conversation_filters/hooks/filters.d.ts.map +1 -1
- package/build/screens/conversation_filters/hooks/filters.js +3 -3
- package/build/screens/conversation_filters/hooks/filters.js.map +1 -1
- package/build/screens/conversation_filters/screen_props.d.ts +1 -1
- package/build/screens/conversation_filters/screen_props.d.ts.map +1 -1
- package/build/screens/conversation_filters/screen_props.js.map +1 -1
- package/build/screens/conversation_filters/team_filters.d.ts.map +1 -1
- package/build/screens/conversation_filters/team_filters.js +1 -1
- package/build/screens/conversation_filters/team_filters.js.map +1 -1
- package/build/screens/conversation_filters_screen.d.ts.map +1 -1
- package/build/screens/conversation_filters_screen.js +1 -1
- package/build/screens/conversation_filters_screen.js.map +1 -1
- package/build/screens/conversation_new/components/filter_by_plan.js +7 -7
- package/build/screens/conversation_new/components/filter_by_plan.js.map +1 -1
- package/build/screens/conversation_new/components/form_list.d.ts +1 -1
- package/build/screens/conversation_new/components/form_list.d.ts.map +1 -1
- package/build/screens/conversation_new/components/form_list.js +2 -2
- package/build/screens/conversation_new/components/form_list.js.map +1 -1
- package/build/screens/conversation_new/components/gender_filter_toggle.js +3 -3
- package/build/screens/conversation_new/components/gender_filter_toggle.js.map +1 -1
- package/build/screens/conversation_new/components/groups_form.d.ts +1 -1
- package/build/screens/conversation_new/components/groups_form.d.ts.map +1 -1
- package/build/screens/conversation_new/components/groups_form.js +10 -10
- package/build/screens/conversation_new/components/groups_form.js.map +1 -1
- package/build/screens/conversation_new/components/services_form.d.ts +1 -1
- package/build/screens/conversation_new/components/services_form.d.ts.map +1 -1
- package/build/screens/conversation_new/components/services_form.js +8 -8
- package/build/screens/conversation_new/components/services_form.js.map +1 -1
- package/build/screens/conversation_new/components/source_app_error_card.js +1 -1
- package/build/screens/conversation_new/components/source_app_error_card.js.map +1 -1
- package/build/screens/conversation_new/conversation_new_screen.d.ts +3 -3
- package/build/screens/conversation_new/conversation_new_screen.d.ts.map +1 -1
- package/build/screens/conversation_new/conversation_new_screen.js.map +1 -1
- package/build/screens/conversation_notification_level_select_screen.js +5 -5
- package/build/screens/conversation_notification_level_select_screen.js.map +1 -1
- package/build/screens/conversation_screen.d.ts +3 -3
- package/build/screens/conversation_screen.d.ts.map +1 -1
- package/build/screens/conversation_screen.js +21 -21
- package/build/screens/conversation_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts +1 -1
- package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/components/groups_recipient_row.js +1 -1
- package/build/screens/conversation_select_recipients/components/groups_recipient_row.js.map +1 -1
- package/build/screens/conversation_select_recipients/components/recipient_link_row.js +3 -3
- package/build/screens/conversation_select_recipients/components/recipient_link_row.js.map +1 -1
- package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts +1 -1
- package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/components/restricted_group_row.js +3 -3
- package/build/screens/conversation_select_recipients/components/restricted_group_row.js.map +1 -1
- package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts +1 -1
- package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/components/team_recipient_row.js +1 -1
- package/build/screens/conversation_select_recipients/components/team_recipient_row.js.map +1 -1
- package/build/screens/conversation_select_recipients/components/view_more_link_row.js +1 -1
- package/build/screens/conversation_select_recipients/components/view_more_link_row.js.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js +4 -4
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js +2 -2
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js +4 -4
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/types/screen_props.d.ts +2 -2
- package/build/screens/conversation_select_recipients/types/screen_props.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/types/screen_props.js.map +1 -1
- package/build/screens/conversation_select_type_screen.d.ts +2 -2
- package/build/screens/conversation_select_type_screen.d.ts.map +1 -1
- package/build/screens/conversation_select_type_screen.js +2 -2
- package/build/screens/conversation_select_type_screen.js.map +1 -1
- package/build/screens/conversations/components/chat_group_badge.js +2 -2
- package/build/screens/conversations/components/chat_group_badge.js.map +1 -1
- package/build/screens/conversations/components/list_header_action_button.d.ts +1 -1
- package/build/screens/conversations/components/list_header_action_button.d.ts.map +1 -1
- package/build/screens/conversations/components/list_header_action_button.js +4 -4
- package/build/screens/conversations/components/list_header_action_button.js.map +1 -1
- package/build/screens/conversations/components/list_header_component.js +9 -9
- package/build/screens/conversations/components/list_header_component.js.map +1 -1
- package/build/screens/conversations/conversations_screen.d.ts +2 -2
- package/build/screens/conversations/conversations_screen.d.ts.map +1 -1
- package/build/screens/conversations/conversations_screen.js +3 -3
- package/build/screens/conversations/conversations_screen.js.map +1 -1
- package/build/screens/design_system_screen.d.ts.map +1 -1
- package/build/screens/design_system_screen.js +98 -6
- package/build/screens/design_system_screen.js.map +1 -1
- package/build/screens/get_help_screen.js +4 -4
- package/build/screens/get_help_screen.js.map +1 -1
- package/build/screens/group_notification_level_select_screen.js +3 -3
- package/build/screens/group_notification_level_select_screen.js.map +1 -1
- package/build/screens/group_notification_settings_screen.js +3 -3
- package/build/screens/group_notification_settings_screen.js.map +1 -1
- package/build/screens/message_actions_screen.js +10 -10
- package/build/screens/message_actions_screen.js.map +1 -1
- package/build/screens/message_report/components/message_preview.d.ts +1 -1
- package/build/screens/message_report/components/message_preview.d.ts.map +1 -1
- package/build/screens/message_report/components/message_preview.js +2 -2
- package/build/screens/message_report/components/message_preview.js.map +1 -1
- package/build/screens/message_report/components/report_reason_list.d.ts +1 -1
- package/build/screens/message_report/components/report_reason_list.d.ts.map +1 -1
- package/build/screens/message_report/components/report_reason_list.js +4 -4
- package/build/screens/message_report/components/report_reason_list.js.map +1 -1
- package/build/screens/message_report_screen.js +7 -7
- package/build/screens/message_report_screen.js.map +1 -1
- package/build/screens/notification_settings/hooks/groups.d.ts +7 -7
- package/build/screens/notification_settings/hooks/groups.d.ts.map +1 -1
- package/build/screens/notification_settings/hooks/groups.js +4 -4
- package/build/screens/notification_settings/hooks/groups.js.map +1 -1
- package/build/screens/notification_settings_screen.js +4 -4
- package/build/screens/notification_settings_screen.js.map +1 -1
- package/build/screens/preferred_app/hooks/use_chat_types.d.ts +5 -5
- package/build/screens/preferred_app/hooks/use_chat_types.d.ts.map +1 -1
- package/build/screens/preferred_app/hooks/use_chat_types.js +1 -1
- package/build/screens/preferred_app/hooks/use_chat_types.js.map +1 -1
- package/build/screens/preferred_app_selection_screen.d.ts.map +1 -1
- package/build/screens/preferred_app_selection_screen.js +7 -7
- package/build/screens/preferred_app_selection_screen.js.map +1 -1
- package/build/screens/reactions_screen.js +7 -7
- package/build/screens/reactions_screen.js.map +1 -1
- package/build/screens/send_giphy_screen.js +8 -8
- package/build/screens/send_giphy_screen.js.map +1 -1
- package/build/screens/team_conversation_screen.js +3 -3
- package/build/screens/team_conversation_screen.js.map +1 -1
- package/build/types/jolt_events/message_events.d.ts +1 -1
- package/build/types/jolt_events/message_events.d.ts.map +1 -1
- package/build/types/jolt_events/message_events.js.map +1 -1
- package/build/types/jolt_events/reaction_events.d.ts +1 -1
- package/build/types/jolt_events/reaction_events.d.ts.map +1 -1
- package/build/types/jolt_events/reaction_events.js.map +1 -1
- package/build/types/resources/app_grant.d.ts +1 -1
- package/build/types/resources/app_grant.d.ts.map +1 -1
- package/build/types/resources/app_grant.js.map +1 -1
- package/build/types/resources/conversation.d.ts +1 -0
- package/build/types/resources/conversation.d.ts.map +1 -1
- package/build/types/resources/conversation.js.map +1 -1
- package/build/types/resources/conversation_membership.d.ts +1 -1
- package/build/types/resources/conversation_membership.d.ts.map +1 -1
- package/build/types/resources/conversation_membership.js.map +1 -1
- package/build/types/resources/group_membership.d.ts +1 -1
- package/build/types/resources/group_membership.d.ts.map +1 -1
- package/build/types/resources/group_membership.js.map +1 -1
- package/build/types/resources/groups/groups_group_resource.d.ts +1 -1
- package/build/types/resources/groups/groups_group_resource.d.ts.map +1 -1
- package/build/types/resources/groups/groups_group_resource.js.map +1 -1
- package/build/types/resources/organization.d.ts +1 -1
- package/build/types/resources/organization.d.ts.map +1 -1
- package/build/types/resources/organization.js.map +1 -1
- package/build/types/resources/person.d.ts +1 -1
- package/build/types/resources/person.d.ts.map +1 -1
- package/build/types/resources/person.js.map +1 -1
- package/build/types/resources/services/chat_resource.d.ts +1 -1
- package/build/types/resources/services/chat_resource.d.ts.map +1 -1
- package/build/types/resources/services/chat_resource.js.map +1 -1
- package/build/types/resources/services/team_resource.d.ts +1 -1
- package/build/types/resources/services/team_resource.d.ts.map +1 -1
- package/build/types/resources/services/team_resource.js.map +1 -1
- package/build/utils/cache/messages_cache.d.ts +3 -3
- package/build/utils/cache/messages_cache.d.ts.map +1 -1
- package/build/utils/cache/messages_cache.js +3 -3
- package/build/utils/cache/messages_cache.js.map +1 -1
- package/build/utils/cache/optimistically_create_message.d.ts +2 -2
- package/build/utils/cache/optimistically_create_message.d.ts.map +1 -1
- package/build/utils/cache/optimistically_create_message.js +4 -4
- package/build/utils/cache/optimistically_create_message.js.map +1 -1
- package/build/utils/cache/optimistically_update_message.d.ts +1 -1
- package/build/utils/cache/optimistically_update_message.d.ts.map +1 -1
- package/build/utils/cache/optimistically_update_message.js +2 -2
- package/build/utils/cache/optimistically_update_message.js.map +1 -1
- package/build/utils/cache/page_mutations.d.ts +5 -5
- package/build/utils/cache/page_mutations.d.ts.map +1 -1
- package/build/utils/cache/page_mutations.js.map +1 -1
- package/build/utils/client/client.d.ts +1 -1
- package/build/utils/client/client.d.ts.map +1 -1
- package/build/utils/client/client.js.map +1 -1
- package/build/utils/convert_attachments_for_create.d.ts +2 -2
- package/build/utils/convert_attachments_for_create.d.ts.map +1 -1
- package/build/utils/convert_attachments_for_create.js.map +1 -1
- package/build/utils/destructure_chat_group_graph_id.d.ts +2 -2
- package/build/utils/destructure_chat_group_graph_id.d.ts.map +1 -1
- package/build/utils/destructure_chat_group_graph_id.js.map +1 -1
- package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts +2 -2
- package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts.map +1 -1
- package/build/utils/jolt/transform_message_event_data_to_message_resource.js +1 -1
- package/build/utils/jolt/transform_message_event_data_to_message_resource.js.map +1 -1
- package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts +3 -3
- package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts.map +1 -1
- package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.js.map +1 -1
- package/build/utils/performance_tracking.d.ts +1 -1
- package/build/utils/performance_tracking.d.ts.map +1 -1
- package/build/utils/performance_tracking.js.map +1 -1
- package/build/utils/reaction_constants.d.ts +1 -1
- package/build/utils/reaction_constants.d.ts.map +1 -1
- package/build/utils/reaction_constants.js.map +1 -1
- package/build/utils/request/conversation.d.ts +2 -2
- package/build/utils/request/conversation.d.ts.map +1 -1
- package/build/utils/request/conversation.js.map +1 -1
- package/build/utils/request/get_features.d.ts +1 -1
- package/build/utils/request/get_features.d.ts.map +1 -1
- package/build/utils/request/get_features.js +1 -1
- package/build/utils/request/get_features.js.map +1 -1
- package/build/utils/request/get_message.d.ts +1 -1
- package/build/utils/request/get_message.d.ts.map +1 -1
- package/build/utils/request/get_message.js +1 -1
- package/build/utils/request/get_message.js.map +1 -1
- package/build/utils/request/get_messages.d.ts +1 -1
- package/build/utils/request/get_messages.d.ts.map +1 -1
- package/build/utils/request/get_messages.js +1 -1
- package/build/utils/request/get_messages.js.map +1 -1
- package/build/utils/response_error.d.ts +1 -1
- package/build/utils/response_error.d.ts.map +1 -1
- package/build/utils/response_error.js.map +1 -1
- package/build/utils/session.d.ts +1 -1
- package/build/utils/session.d.ts.map +1 -1
- package/build/utils/session.js.map +1 -1
- package/build/utils/session_manager.d.ts +1 -1
- package/build/utils/session_manager.d.ts.map +1 -1
- package/build/utils/session_manager.js.map +1 -1
- package/build/utils/styles.js +1 -1
- package/build/utils/styles.js.map +1 -1
- package/build/utils/theme.d.ts +1 -1
- package/build/utils/theme.d.ts.map +1 -1
- package/build/utils/theme.js +2 -2
- package/build/utils/theme.js.map +1 -1
- package/build/utils/upload_uri.d.ts +1 -1
- package/build/vendor/font_awesome_pro_solid_icons.d.ts +48 -0
- package/build/vendor/font_awesome_pro_solid_icons.d.ts.map +1 -0
- package/build/vendor/font_awesome_pro_solid_icons.js +513 -0
- package/build/vendor/font_awesome_pro_solid_icons.js.map +1 -0
- package/package.json +9 -3
- package/src/__tests__/contexts/session_context.tsx +5 -5
- package/src/__tests__/event-polyfill.test.ts +3 -3
- package/src/__tests__/hooks/useTheme.tsx +2 -2
- package/src/__tests__/hooks/use_async_storage.test.tsx +1 -1
- package/src/__tests__/hooks/use_conversation_messages.ts +2 -2
- package/src/__tests__/hooks/use_font_scale.test.ts +1 -1
- package/src/__tests__/utils/cache/page_mutations.ts +1 -1
- package/src/__tests__/utils/client.ts +5 -5
- package/src/__tests__/utils/native_adapters/configuration.ts +4 -4
- package/src/__tests__/utils/parse_simple_markdown.ts +1 -1
- package/src/__tests__/utils/pluralize.tsx +1 -1
- package/src/__tests__/utils/session.ts +2 -2
- package/src/__tests__/utils/uri.ts +1 -1
- package/src/__utils__/handlers.ts +1 -1
- package/src/components/conversation/attachments/attachment_card.tsx +3 -3
- package/src/components/conversation/attachments/attachment_deleting_overlay.tsx +2 -2
- package/src/components/conversation/attachments/audio_attachment.tsx +4 -4
- package/src/components/conversation/attachments/expanded_link.tsx +4 -4
- package/src/components/conversation/attachments/generic_file_attachment.tsx +5 -5
- package/src/components/conversation/attachments/giphy_attachment.tsx +5 -5
- package/src/components/conversation/attachments/image_attachment.tsx +6 -6
- package/src/components/conversation/attachments/video_attachment.tsx +5 -5
- package/src/components/conversation/empty_conversation_blank_state.tsx +1 -1
- package/src/components/conversation/jump_to_bottom_button.tsx +3 -3
- package/src/components/conversation/message.tsx +19 -19
- package/src/components/conversation/message_attachments.tsx +5 -5
- package/src/components/conversation/message_form/message_form_attachment_image.tsx +2 -2
- package/src/components/conversation/message_form/message_form_attachment_video.tsx +2 -2
- package/src/components/conversation/message_form.tsx +17 -17
- package/src/components/conversation/message_markdown.tsx +3 -3
- package/src/components/conversation/message_reaction.tsx +8 -8
- package/src/components/conversation/message_read_receipts.tsx +3 -3
- package/src/components/conversation/messages_disabled_banners.tsx +2 -2
- package/src/components/conversation/reply_connectors.tsx +3 -3
- package/src/components/conversation/reply_shadow_message.tsx +9 -9
- package/src/components/conversation/typing_indicator.tsx +3 -3
- package/src/components/conversations/conversation_actions.tsx +6 -9
- package/src/components/conversations/conversation_preview.tsx +4 -9
- package/src/components/conversations/conversations.tsx +6 -6
- package/src/components/conversations/mute_indicator.tsx +3 -3
- package/src/components/conversations/swipeable_toggle_button.tsx +5 -5
- package/src/components/conversations/unread_count_badge.tsx +3 -3
- package/src/components/display/action_button.tsx +2 -2
- package/src/components/display/avatar.tsx +2 -2
- package/src/components/display/avatar_group.tsx +2 -2
- package/src/components/display/badge.tsx +3 -3
- package/src/components/display/banner.tsx +1 -1
- package/src/components/display/banner_collapsible.tsx +1 -1
- package/src/components/display/button.tsx +3 -3
- package/src/components/display/child_notice.tsx +3 -3
- package/src/components/display/heading.tsx +3 -3
- package/src/components/display/icon.tsx +1 -1
- package/src/components/display/icon_button.tsx +2 -2
- package/src/components/display/image.tsx +1 -1
- package/src/components/display/image_attachment_preview.tsx +2 -2
- package/src/components/display/keyboard_view.tsx +1 -1
- package/src/components/display/person.tsx +2 -2
- package/src/components/display/platform_modal_header_buttons.tsx +1 -1
- package/src/components/display/pressable_row.tsx +1 -1
- package/src/components/display/spinner.tsx +1 -1
- package/src/components/display/switch.tsx +1 -1
- package/src/components/display/tabs.tsx +1 -1
- package/src/components/display/text.tsx +2 -2
- package/src/components/display/text_button.tsx +2 -2
- package/src/components/display/text_inline_button.tsx +2 -2
- package/src/components/display/toggle_button.tsx +6 -6
- package/src/components/display/utils/button_colors.ts +1 -1
- package/src/components/display/utils/status_colors.ts +1 -1
- package/src/components/display/video_attachment_preview.tsx +3 -3
- package/src/components/group_conversation_list.tsx +5 -5
- package/src/components/page/error_boundary.tsx +2 -2
- package/src/components/page/loading.tsx +1 -1
- package/src/components/primitive/avatar_primitive.tsx +5 -5
- package/src/components/primitive/banner_primitive.tsx +11 -11
- package/src/components/primitive/blank_state_primitive.tsx +2 -2
- package/src/components/primitive/form_sheet.tsx +4 -4
- package/src/components/safe_area_modal.tsx +1 -1
- package/src/contexts/api_provider.tsx +4 -4
- package/src/contexts/chat_context.tsx +6 -6
- package/src/contexts/conversations_context.tsx +3 -3
- package/src/contexts/session_context.tsx +9 -9
- package/src/hooks/groups/use_group_members_for_new_conversation.ts +4 -4
- package/src/hooks/groups/use_groups_conversation_create.ts +3 -3
- package/src/hooks/services/use_find_or_create_services_conversation.ts +3 -3
- package/src/hooks/services/use_services_team.ts +2 -2
- package/src/hooks/services/use_team_members_for_new_conversation.ts +2 -2
- package/src/hooks/services/use_team_plans.ts +2 -2
- package/src/hooks/use_api.ts +2 -2
- package/src/hooks/use_api_client.ts +3 -3
- package/src/hooks/use_async_storage.ts +1 -1
- package/src/hooks/use_attachment_uploader.ts +5 -5
- package/src/hooks/use_broadcast_typing_status.ts +1 -1
- package/src/hooks/use_chat_permissions.ts +1 -1
- package/src/hooks/use_conversation.ts +5 -4
- package/src/hooks/use_conversation_jolt_events.ts +3 -3
- package/src/hooks/use_conversation_membership.ts +3 -3
- package/src/hooks/use_conversation_message.ts +2 -2
- package/src/hooks/use_conversation_messages.ts +2 -2
- package/src/hooks/use_conversation_messages_jolt_events.ts +14 -14
- package/src/hooks/use_conversations.ts +2 -2
- package/src/hooks/use_conversations_actions.ts +2 -2
- package/src/hooks/use_conversations_cache.ts +5 -5
- package/src/hooks/use_conversations_jolt_events.ts +4 -4
- package/src/hooks/use_current_person.ts +2 -2
- package/src/hooks/use_features.ts +4 -4
- package/src/hooks/use_giphy.ts +2 -2
- package/src/hooks/use_groups.ts +2 -2
- package/src/hooks/use_groups_groups.ts +1 -1
- package/src/hooks/use_jolt.ts +3 -3
- package/src/hooks/use_live_relative_time.ts +2 -2
- package/src/hooks/use_mark_latest_message_read.ts +1 -1
- package/src/hooks/use_message_create_or_update.ts +11 -11
- package/src/hooks/use_message_draft.ts +2 -2
- package/src/hooks/use_message_reaction_toggle.ts +4 -4
- package/src/hooks/use_my_gender.ts +1 -1
- package/src/hooks/use_organization.ts +1 -1
- package/src/hooks/use_people_person.ts +1 -1
- package/src/hooks/use_product_analytics.ts +5 -5
- package/src/hooks/use_qualified_by_age.ts +1 -1
- package/src/hooks/use_read_receipts.ts +1 -1
- package/src/hooks/use_report_message.ts +2 -2
- package/src/hooks/use_storage.ts +1 -1
- package/src/hooks/use_submit_age_check.ts +2 -2
- package/src/hooks/use_suspense_api.ts +5 -5
- package/src/hooks/use_teams.ts +1 -1
- package/src/hooks/use_theme.tsx +2 -2
- package/src/hooks/use_typing_indicators.ts +1 -1
- package/src/hooks/use_typing_status_cache.ts +1 -1
- package/src/hooks/use_upload_client.ts +3 -3
- package/src/icons/font_awesome.ts +104 -0
- package/src/index.tsx +2 -0
- package/src/navigation/chat_access_gate.tsx +7 -7
- package/src/navigation/index.tsx +31 -34
- package/src/navigation/screenLayout.tsx +2 -2
- package/src/polyfills/events/Event.ts +1 -1
- package/src/polyfills/events/EventTarget.ts +1 -1
- package/src/polyfills/events/internals/EventInternals.ts +2 -2
- package/src/polyfills/events/internals/EventTargetInternals.ts +2 -2
- package/src/screens/age_check/age_check_required_screen.tsx +8 -8
- package/src/screens/age_check/age_check_underage_screen.tsx +3 -3
- package/src/screens/age_check/components/age_check_select_birthdate_modal.tsx +3 -3
- package/src/screens/attachment_actions/attachment_actions_screen.tsx +1 -1
- package/src/screens/attachment_actions/hooks/useDeleteAttachment.tsx +3 -3
- package/src/screens/bug_report_screen.tsx +11 -11
- package/src/screens/conversation/message_read_receipts_screen.tsx +5 -5
- package/src/screens/conversation_details_screen.tsx +47 -12
- package/src/screens/conversation_filter_recipients/components/checkbox_row.tsx +8 -4
- package/src/screens/conversation_filter_recipients/components/header_row.tsx +5 -5
- package/src/screens/conversation_filter_recipients/conversation_filter_recipients_screen.tsx +6 -6
- package/src/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.tsx +5 -1
- package/src/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.ts +6 -3
- package/src/screens/conversation_filter_recipients/types.tsx +1 -1
- package/src/screens/conversation_filters/components/conversation_filters.tsx +8 -5
- package/src/screens/conversation_filters/components/rows.tsx +9 -14
- package/src/screens/conversation_filters/context/conversation_filter_context.tsx +4 -1
- package/src/screens/conversation_filters/group_filters.tsx +1 -1
- package/src/screens/conversation_filters/hooks/filters.ts +5 -5
- package/src/screens/conversation_filters/screen_props.ts +1 -1
- package/src/screens/conversation_filters/team_filters.tsx +1 -1
- package/src/screens/conversation_filters_screen.tsx +1 -1
- package/src/screens/conversation_new/components/filter_by_plan.tsx +7 -7
- package/src/screens/conversation_new/components/form_list.tsx +3 -3
- package/src/screens/conversation_new/components/gender_filter_toggle.tsx +3 -3
- package/src/screens/conversation_new/components/groups_form.tsx +14 -14
- package/src/screens/conversation_new/components/services_form.tsx +10 -10
- package/src/screens/conversation_new/components/source_app_error_card.tsx +1 -1
- package/src/screens/conversation_new/conversation_new_screen.tsx +3 -3
- package/src/screens/conversation_notification_level_select_screen.tsx +6 -6
- package/src/screens/conversation_screen.tsx +23 -23
- package/src/screens/conversation_select_recipients/components/groups_recipient_row.tsx +2 -2
- package/src/screens/conversation_select_recipients/components/recipient_link_row.tsx +3 -3
- package/src/screens/conversation_select_recipients/components/restricted_group_row.tsx +4 -4
- package/src/screens/conversation_select_recipients/components/team_recipient_row.tsx +2 -2
- package/src/screens/conversation_select_recipients/components/view_more_link_row.tsx +1 -1
- package/src/screens/conversation_select_recipients/conversation_new_entry_screen.tsx +4 -4
- package/src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx +3 -3
- package/src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx +7 -4
- package/src/screens/conversation_select_recipients/types/screen_props.tsx +2 -2
- package/src/screens/conversation_select_type_screen.tsx +4 -4
- package/src/screens/conversations/components/chat_group_badge.tsx +4 -4
- package/src/screens/conversations/components/list_header_action_button.tsx +4 -4
- package/src/screens/conversations/components/list_header_component.tsx +10 -10
- package/src/screens/conversations/conversations_screen.tsx +5 -5
- package/src/screens/design_system_screen.tsx +113 -6
- package/src/screens/get_help_screen.tsx +5 -5
- package/src/screens/group_notification_level_select_screen.tsx +3 -3
- package/src/screens/group_notification_settings_screen.tsx +3 -3
- package/src/screens/message_actions_screen.tsx +12 -12
- package/src/screens/message_report/components/message_preview.tsx +3 -3
- package/src/screens/message_report/components/report_reason_list.tsx +4 -7
- package/src/screens/message_report_screen.tsx +11 -11
- package/src/screens/notification_settings/hooks/groups.ts +6 -6
- package/src/screens/notification_settings_screen.tsx +4 -4
- package/src/screens/preferred_app/hooks/use_chat_types.ts +2 -2
- package/src/screens/preferred_app_selection_screen.tsx +7 -7
- package/src/screens/reactions_screen.tsx +9 -9
- package/src/screens/send_giphy_screen.tsx +8 -8
- package/src/screens/team_conversation_screen.tsx +3 -3
- package/src/types/jolt_events/message_events.ts +1 -1
- package/src/types/jolt_events/reaction_events.ts +1 -1
- package/src/types/resources/app_grant.ts +1 -1
- package/src/types/resources/conversation.ts +1 -0
- package/src/types/resources/conversation_membership.ts +1 -1
- package/src/types/resources/group_membership.ts +1 -1
- package/src/types/resources/groups/groups_group_resource.ts +1 -1
- package/src/types/resources/organization.ts +1 -1
- package/src/types/resources/person.ts +1 -1
- package/src/types/resources/services/chat_resource.ts +1 -1
- package/src/types/resources/services/team_resource.ts +1 -1
- package/src/utils/__tests__/convert_attachments_for_create.test.ts +3 -3
- package/src/utils/__tests__/session_manager.test.ts +3 -3
- package/src/utils/__tests__/sha_256.test.ts +1 -1
- package/src/utils/cache/messages_cache.ts +5 -5
- package/src/utils/cache/optimistically_create_message.ts +7 -7
- package/src/utils/cache/optimistically_update_message.ts +3 -3
- package/src/utils/cache/page_mutations.ts +1 -1
- package/src/utils/client/client.ts +1 -1
- package/src/utils/convert_attachments_for_create.ts +2 -2
- package/src/utils/destructure_chat_group_graph_id.ts +2 -2
- package/src/utils/jolt/transform_message_event_data_to_message_resource.ts +4 -4
- package/src/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.ts +3 -3
- package/src/utils/performance_tracking.ts +1 -1
- package/src/utils/reaction_constants.ts +1 -1
- package/src/utils/request/conversation.ts +2 -2
- package/src/utils/request/get_features.ts +1 -1
- package/src/utils/request/get_message.ts +1 -1
- package/src/utils/request/get_messages.ts +1 -1
- package/src/utils/response_error.ts +1 -1
- package/src/utils/session.ts +1 -1
- package/src/utils/session_manager.ts +1 -1
- package/src/utils/styles.ts +1 -1
- package/src/utils/theme.ts +2 -2
- package/src/vendor/font_awesome_pro_solid_icons.ts +560 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ResourceObject } from '../types/api_primitives'
|
|
2
1
|
import { useApiGet } from './use_api'
|
|
3
2
|
import { availableFeatures, useFeatures } from './use_features'
|
|
3
|
+
import { ResourceObject } from '@/types/api_primitives'
|
|
4
4
|
|
|
5
5
|
interface GenderResource extends ResourceObject {
|
|
6
6
|
type: 'Gender'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useCallback, useEffect, useMemo, useRef } from 'react'
|
|
2
|
-
import { useChatContext } from '
|
|
3
|
-
import { ProductAnalyticsConfig } from '
|
|
4
|
-
import { AnalyticsMetadataResource } from '
|
|
5
|
-
import { keysToSnakeCase } from '
|
|
6
|
-
import { SHA256, enc } from '
|
|
2
|
+
import { useChatContext } from '@/contexts/chat_context'
|
|
3
|
+
import { ProductAnalyticsConfig } from '@/types/product_analytics'
|
|
4
|
+
import { AnalyticsMetadataResource } from '@/types/resources/analytics_metadata'
|
|
5
|
+
import { keysToSnakeCase } from '@/utils/client/utils'
|
|
6
|
+
import { SHA256, enc } from '@/utils/sha_256'
|
|
7
7
|
|
|
8
8
|
export interface EventMetadata {
|
|
9
9
|
[key: string]: string | number | boolean | null | undefined
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AgeQualificationStatus, CurrentPersonResource } from '../types'
|
|
2
1
|
import { useApiGet } from './use_api'
|
|
3
2
|
import { currentPersonRequestArgs } from './use_current_person'
|
|
3
|
+
import { AgeQualificationStatus, CurrentPersonResource } from '@/types'
|
|
4
4
|
|
|
5
5
|
export const useQualifiedByAge = (): boolean => {
|
|
6
6
|
const { data: person, isFetched } = useApiGet<CurrentPersonResource>(currentPersonRequestArgs)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMutation } from '@tanstack/react-query'
|
|
2
|
-
import { MessageReportReason, MessageReportPayload } from '../types/resources/message_report'
|
|
3
|
-
import { Haptic } from '../utils/native_adapters'
|
|
4
2
|
import { useApiClient } from './use_api_client'
|
|
3
|
+
import { MessageReportReason, MessageReportPayload } from '@/types/resources/message_report'
|
|
4
|
+
import { Haptic } from '@/utils/native_adapters'
|
|
5
5
|
|
|
6
6
|
export const useReportMessage = (conversationId: number, messageId: string) => {
|
|
7
7
|
const apiClient = useApiClient()
|
package/src/hooks/use_storage.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useSuspenseQuery } from '@tanstack/react-query'
|
|
2
2
|
import { noop } from 'lodash'
|
|
3
3
|
import { useCallback } from 'react'
|
|
4
|
-
import { StorageAdapter } from '
|
|
4
|
+
import { StorageAdapter } from '@/utils/native_adapters'
|
|
5
5
|
|
|
6
6
|
const cacheKeyGenerator = (key: string) => [`StorageResource:${key}`]
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useMutation, useQueryClient } from '@tanstack/react-query'
|
|
2
2
|
import { Alert } from 'react-native'
|
|
3
|
-
import { ApiResource } from '../types/api_primitives'
|
|
4
|
-
import { Haptic } from '../utils/native_adapters'
|
|
5
3
|
import { useApiClient } from './use_api_client'
|
|
6
4
|
import { currentPersonQueryKey } from './use_current_person'
|
|
5
|
+
import { ApiResource } from '@/types/api_primitives'
|
|
6
|
+
import { Haptic } from '@/utils/native_adapters'
|
|
7
7
|
|
|
8
8
|
interface AgeCheckResource {
|
|
9
9
|
type: 'AgeCheck'
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
useSuspenseQuery,
|
|
6
6
|
UseSuspenseQueryOptions,
|
|
7
7
|
} from '@tanstack/react-query'
|
|
8
|
-
import { ApiCollection, ApiResource, ResourceObject } from '../types'
|
|
9
|
-
import { FailedResponse } from '../types/api_primitives'
|
|
10
|
-
import { Log } from '../utils'
|
|
11
|
-
import { GetRequest, RequestData } from '../utils/client'
|
|
12
|
-
import { ResponseError } from '../utils/response_error'
|
|
13
8
|
import { App, useApiClient } from './use_api_client'
|
|
9
|
+
import { ApiCollection, ApiResource, ResourceObject } from '@/types'
|
|
10
|
+
import { FailedResponse } from '@/types/api_primitives'
|
|
11
|
+
import { Log } from '@/utils'
|
|
12
|
+
import { GetRequest, RequestData } from '@/utils/client'
|
|
13
|
+
import { ResponseError } from '@/utils/response_error'
|
|
14
14
|
|
|
15
15
|
interface SuspenseGetOptions extends GetRequest {
|
|
16
16
|
app?: App
|
package/src/hooks/use_teams.ts
CHANGED
package/src/hooks/use_theme.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from 'react'
|
|
2
|
-
import { ChatContext } from '
|
|
3
|
-
import { ChatTheme } from '
|
|
2
|
+
import { ChatContext } from '@/contexts/chat_context'
|
|
3
|
+
import { ChatTheme } from '@/utils/theme'
|
|
4
4
|
|
|
5
5
|
export const useTheme = (): ChatTheme => {
|
|
6
6
|
const { theme } = useContext(ChatContext)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useQuery } from '@tanstack/react-query'
|
|
2
2
|
import { useMemo } from 'react'
|
|
3
|
-
import { useConversationContext } from '../contexts/conversation_context'
|
|
4
3
|
import { useCurrentPerson } from './use_current_person'
|
|
5
4
|
import { PersonTyping } from './use_typing_status_cache'
|
|
5
|
+
import { useConversationContext } from '@/contexts/conversation_context'
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Hook for getting people currently typing in a conversation
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useQueryClient } from '@tanstack/react-query'
|
|
2
2
|
import { useCallback, useMemo } from 'react'
|
|
3
|
-
import { TypingBroadcastDataAttributes } from '
|
|
3
|
+
import { TypingBroadcastDataAttributes } from '@/types/jolt_events/typing_events'
|
|
4
4
|
|
|
5
5
|
export const TYPING_TIMEOUT_INTERVAL = 6000 // 6 seconds
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useContext, useMemo } from 'react'
|
|
2
|
-
import { ChatContext } from '
|
|
3
|
-
import { Client } from '
|
|
4
|
-
import { UploadUri } from '
|
|
2
|
+
import { ChatContext } from '@/contexts/chat_context'
|
|
3
|
+
import { Client } from '@/utils'
|
|
4
|
+
import { UploadUri } from '@/utils/upload_uri'
|
|
5
5
|
|
|
6
6
|
export interface FileForUploadClient {
|
|
7
7
|
uri: string
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
2
|
+
import {
|
|
3
|
+
// Church
|
|
4
|
+
faBookBible,
|
|
5
|
+
faChurch,
|
|
6
|
+
faCross,
|
|
7
|
+
faDove,
|
|
8
|
+
faHandsHeart,
|
|
9
|
+
faPersonRays,
|
|
10
|
+
faPrayingHands,
|
|
11
|
+
faPodium,
|
|
12
|
+
faDroplet,
|
|
13
|
+
faPersonDrowning,
|
|
14
|
+
faLighthouse,
|
|
15
|
+
// Services
|
|
16
|
+
faGuitar,
|
|
17
|
+
faGuitarElectric,
|
|
18
|
+
faViolin,
|
|
19
|
+
faCalendarHeart,
|
|
20
|
+
faHandHeart,
|
|
21
|
+
faHandWave,
|
|
22
|
+
faBaby,
|
|
23
|
+
faChildren,
|
|
24
|
+
faMugHot,
|
|
25
|
+
faVideoCamera,
|
|
26
|
+
faMusic,
|
|
27
|
+
faPianoKeyboard,
|
|
28
|
+
faDrum,
|
|
29
|
+
faUserGraduate,
|
|
30
|
+
faCommentsQuestion,
|
|
31
|
+
faPresentation,
|
|
32
|
+
faMicrophoneStand,
|
|
33
|
+
faIdBadge,
|
|
34
|
+
faBookUser,
|
|
35
|
+
faHandHoldingHeart,
|
|
36
|
+
faGuitars,
|
|
37
|
+
faAmpGuitar,
|
|
38
|
+
faSchoolFlag,
|
|
39
|
+
faShieldCheck,
|
|
40
|
+
faProjector,
|
|
41
|
+
// Groups
|
|
42
|
+
faPeople,
|
|
43
|
+
faPeopleGroup,
|
|
44
|
+
faPersonDress,
|
|
45
|
+
faPerson,
|
|
46
|
+
faSeedling,
|
|
47
|
+
faCommentsAlt,
|
|
48
|
+
faGlobe,
|
|
49
|
+
faBookOpenReader,
|
|
50
|
+
faRunning,
|
|
51
|
+
faLeaf,
|
|
52
|
+
} from '@/vendor/font_awesome_pro_solid_icons'
|
|
53
|
+
|
|
54
|
+
library.add(
|
|
55
|
+
// Church
|
|
56
|
+
faBookBible,
|
|
57
|
+
faChurch,
|
|
58
|
+
faCross,
|
|
59
|
+
faDove,
|
|
60
|
+
faHandsHeart,
|
|
61
|
+
faPersonRays,
|
|
62
|
+
faPrayingHands,
|
|
63
|
+
faPodium,
|
|
64
|
+
faDroplet,
|
|
65
|
+
faPersonDrowning,
|
|
66
|
+
faLighthouse,
|
|
67
|
+
// Services
|
|
68
|
+
faGuitar,
|
|
69
|
+
faGuitarElectric,
|
|
70
|
+
faViolin,
|
|
71
|
+
faCalendarHeart,
|
|
72
|
+
faHandHeart,
|
|
73
|
+
faHandWave,
|
|
74
|
+
faBaby,
|
|
75
|
+
faChildren,
|
|
76
|
+
faMugHot,
|
|
77
|
+
faVideoCamera,
|
|
78
|
+
faMusic,
|
|
79
|
+
faPianoKeyboard,
|
|
80
|
+
faDrum,
|
|
81
|
+
faUserGraduate,
|
|
82
|
+
faCommentsQuestion,
|
|
83
|
+
faPresentation,
|
|
84
|
+
faMicrophoneStand,
|
|
85
|
+
faIdBadge,
|
|
86
|
+
faBookUser,
|
|
87
|
+
faHandHoldingHeart,
|
|
88
|
+
faGuitars,
|
|
89
|
+
faAmpGuitar,
|
|
90
|
+
faSchoolFlag,
|
|
91
|
+
faShieldCheck,
|
|
92
|
+
faProjector,
|
|
93
|
+
// Groups
|
|
94
|
+
faPeople,
|
|
95
|
+
faPeopleGroup,
|
|
96
|
+
faPersonDress,
|
|
97
|
+
faPerson,
|
|
98
|
+
faSeedling,
|
|
99
|
+
faCommentsAlt,
|
|
100
|
+
faGlobe,
|
|
101
|
+
faBookOpenReader,
|
|
102
|
+
faRunning,
|
|
103
|
+
faLeaf
|
|
104
|
+
)
|
package/src/index.tsx
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { PropsWithChildren, useEffect, useRef } from 'react'
|
|
2
|
-
import { DefaultLoading } from '
|
|
3
|
-
import { useChatContext } from '
|
|
4
|
-
import { useApiGet, useOrganization } from '
|
|
5
|
-
import { currentPersonRequestArgs } from '
|
|
6
|
-
import { AgeCheckRequiredScreen } from '
|
|
7
|
-
import { AgeCheckUnderageScreen } from '
|
|
8
|
-
import { AgeQualificationStatus, CurrentPersonResource } from '
|
|
2
|
+
import { DefaultLoading } from '@/components/page/loading'
|
|
3
|
+
import { useChatContext } from '@/contexts/chat_context'
|
|
4
|
+
import { useApiGet, useOrganization } from '@/hooks'
|
|
5
|
+
import { currentPersonRequestArgs } from '@/hooks/use_current_person'
|
|
6
|
+
import { AgeCheckRequiredScreen } from '@/screens/age_check/age_check_required_screen'
|
|
7
|
+
import { AgeCheckUnderageScreen } from '@/screens/age_check/age_check_underage_screen'
|
|
8
|
+
import { AgeQualificationStatus, CurrentPersonResource } from '@/types'
|
|
9
9
|
|
|
10
10
|
export function ChatAccessGate({ children }: PropsWithChildren) {
|
|
11
11
|
const { data: person, isFetched } = useApiGet<CurrentPersonResource>(currentPersonRequestArgs)
|
package/src/navigation/index.tsx
CHANGED
|
@@ -7,68 +7,65 @@ import {
|
|
|
7
7
|
import { CardStyleInterpolators } from '@react-navigation/stack'
|
|
8
8
|
import React from 'react'
|
|
9
9
|
import { Platform } from 'react-native'
|
|
10
|
-
import {
|
|
10
|
+
import { ScreenLayoutWithChatAccessGate } from './screenLayout'
|
|
11
|
+
import { Icon } from '@/components'
|
|
11
12
|
import {
|
|
12
13
|
HeaderDoneButton,
|
|
13
14
|
HeaderTextButton,
|
|
14
|
-
} from '
|
|
15
|
-
import { useQualifiedByAge } from '
|
|
15
|
+
} from '@/components/display/platform_modal_header_buttons'
|
|
16
|
+
import { useQualifiedByAge } from '@/hooks'
|
|
16
17
|
import {
|
|
17
18
|
AttachmentActionsScreen,
|
|
18
19
|
AttachmentActionsScreenOptions,
|
|
19
|
-
} from '
|
|
20
|
-
import { BugReportScreen, BugReportScreenOptions } from '
|
|
20
|
+
} from '@/screens/attachment_actions/attachment_actions_screen'
|
|
21
|
+
import { BugReportScreen, BugReportScreenOptions } from '@/screens/bug_report_screen'
|
|
21
22
|
import {
|
|
22
23
|
MessageReadReceiptsScreen,
|
|
23
24
|
MessageReadReceiptsScreenOptions,
|
|
24
|
-
} from '
|
|
25
|
-
import { ConversationDetailsScreen } from '
|
|
25
|
+
} from '@/screens/conversation/message_read_receipts_screen'
|
|
26
|
+
import { ConversationDetailsScreen } from '@/screens/conversation_details_screen'
|
|
26
27
|
import {
|
|
27
28
|
ConversationFilterReceipientsScreenOptions,
|
|
28
29
|
ConversationFilterRecipientsScreen,
|
|
29
|
-
} from '
|
|
30
|
-
import { ConversationFiltersParams } from '
|
|
30
|
+
} from '@/screens/conversation_filter_recipients/conversation_filter_recipients_screen'
|
|
31
|
+
import { ConversationFiltersParams } from '@/screens/conversation_filters/screen_props'
|
|
31
32
|
import {
|
|
32
33
|
ConversationFiltersScreen,
|
|
33
34
|
ConversationFiltersScreenOptions,
|
|
34
|
-
} from '
|
|
35
|
-
import { ConversationNewScreen } from '
|
|
35
|
+
} from '@/screens/conversation_filters_screen'
|
|
36
|
+
import { ConversationNewScreen } from '@/screens/conversation_new/conversation_new_screen'
|
|
36
37
|
import {
|
|
37
38
|
ConversationNotificationLevelSelectScreen,
|
|
38
39
|
ConversationNotificationLevelSelectScreenOptions,
|
|
39
|
-
} from '
|
|
40
|
+
} from '@/screens/conversation_notification_level_select_screen'
|
|
40
41
|
import {
|
|
41
42
|
ConversationRouteProps,
|
|
42
43
|
ConversationScreen,
|
|
43
44
|
ConversationScreenTitle,
|
|
44
|
-
} from '
|
|
45
|
-
import { ConversationNewEntryScreen } from '
|
|
46
|
-
import { ConversationSelectGroupRecipientsScreen } from '
|
|
47
|
-
import { ConversationSelectTeamsILeadRecipientsScreen } from '
|
|
48
|
-
import { ConversationSelectRecipientsParams } from '
|
|
45
|
+
} from '@/screens/conversation_screen'
|
|
46
|
+
import { ConversationNewEntryScreen } from '@/screens/conversation_select_recipients/conversation_new_entry_screen'
|
|
47
|
+
import { ConversationSelectGroupRecipientsScreen } from '@/screens/conversation_select_recipients/conversation_select_group_recipients_screen'
|
|
48
|
+
import { ConversationSelectTeamsILeadRecipientsScreen } from '@/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen'
|
|
49
|
+
import { ConversationSelectRecipientsParams } from '@/screens/conversation_select_recipients/types/screen_props'
|
|
49
50
|
import {
|
|
50
51
|
ConversationSelectTypeScreen,
|
|
51
52
|
ConversationSelectTypeScreenOptions,
|
|
52
|
-
} from '
|
|
53
|
-
import { ConversationsScreen } from '
|
|
54
|
-
import { GetHelpScreen } from '
|
|
53
|
+
} from '@/screens/conversation_select_type_screen'
|
|
54
|
+
import { ConversationsScreen } from '@/screens/conversations/conversations_screen'
|
|
55
|
+
import { GetHelpScreen } from '@/screens/get_help_screen'
|
|
55
56
|
import {
|
|
56
57
|
GroupNotificationLevelSelectScreen,
|
|
57
58
|
GroupNotificationLevelSelectScreenOptions,
|
|
58
|
-
} from '
|
|
59
|
-
import { GroupNotificationSettingsScreen } from '
|
|
60
|
-
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from '
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import { ReactionsScreen, ReactionsScreenOptions } from '../screens/reactions_screen'
|
|
69
|
-
import { SendGiphyScreen, SendGiphyScreenOptions } from '../screens/send_giphy_screen'
|
|
70
|
-
import { TeamConversationScreen } from '../screens/team_conversation_screen'
|
|
71
|
-
import { ScreenLayoutWithChatAccessGate } from './screenLayout'
|
|
59
|
+
} from '@/screens/group_notification_level_select_screen'
|
|
60
|
+
import { GroupNotificationSettingsScreen } from '@/screens/group_notification_settings_screen'
|
|
61
|
+
import { MessageActionsScreen, MessageActionsScreenOptions } from '@/screens/message_actions_screen'
|
|
62
|
+
import { MessageReportScreen, MessageReportScreenOptions } from '@/screens/message_report_screen'
|
|
63
|
+
import { NotFound } from '@/screens/not_found'
|
|
64
|
+
import { NotificationSettingsScreen } from '@/screens/notification_settings_screen'
|
|
65
|
+
import { PreferredAppSelectionScreen } from '@/screens/preferred_app_selection_screen'
|
|
66
|
+
import { ReactionsScreen, ReactionsScreenOptions } from '@/screens/reactions_screen'
|
|
67
|
+
import { SendGiphyScreen, SendGiphyScreenOptions } from '@/screens/send_giphy_screen'
|
|
68
|
+
import { TeamConversationScreen } from '@/screens/team_conversation_screen'
|
|
72
69
|
|
|
73
70
|
const HEADER_BACK_BUTTON_LAYOUT_RESET_STYLES = {
|
|
74
71
|
marginLeft: Platform.select({ ios: -8, default: -3 }),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { Suspense } from 'react'
|
|
3
|
-
import ErrorBoundary from '../components/page/error_boundary'
|
|
4
|
-
import { DefaultLoading } from '../components/page/loading'
|
|
5
3
|
import { ChatAccessGate } from './chat_access_gate'
|
|
4
|
+
import ErrorBoundary from '@/components/page/error_boundary'
|
|
5
|
+
import { DefaultLoading } from '@/components/page/loading'
|
|
6
6
|
|
|
7
7
|
export function ScreenLayout({ children }: { children: React.ReactElement }) {
|
|
8
8
|
return (
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* See https://dom.spec.whatwg.org/#interface-event.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { setPlatformObject } from '../webidl/PlatformObjects'
|
|
14
13
|
import type RNEventTarget from './EventTarget'
|
|
15
14
|
import {
|
|
16
15
|
getComposedPath,
|
|
@@ -24,6 +23,7 @@ import {
|
|
|
24
23
|
setIsTrusted,
|
|
25
24
|
setEventPhase,
|
|
26
25
|
} from './internals/EventInternals'
|
|
26
|
+
import { setPlatformObject } from '@/polyfills/webidl/PlatformObjects'
|
|
27
27
|
|
|
28
28
|
export interface EventInit {
|
|
29
29
|
bubbles?: boolean
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* Implements the `EventTarget` interface from the DOM.
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import { setPlatformObject } from '../webidl/PlatformObjects'
|
|
13
12
|
import Event from './Event'
|
|
14
13
|
import {
|
|
15
14
|
getStopImmediatePropagationFlag,
|
|
@@ -27,6 +26,7 @@ import {
|
|
|
27
26
|
EVENT_TARGET_GET_THE_PARENT_KEY,
|
|
28
27
|
INTERNAL_DISPATCH_METHOD_KEY,
|
|
29
28
|
} from './internals/EventTargetInternals'
|
|
29
|
+
import { setPlatformObject } from '@/polyfills/webidl/PlatformObjects'
|
|
30
30
|
|
|
31
31
|
export type EventCallback = (event: Event) => void
|
|
32
32
|
export type EventHandler = { handleEvent(event: Event): void }
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Internal implementation details for the `Event` module.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type Event from '
|
|
6
|
-
import type EventTarget from '
|
|
5
|
+
import type Event from '@/polyfills/events/Event'
|
|
6
|
+
import type EventTarget from '@/polyfills/events/EventTarget'
|
|
7
7
|
|
|
8
8
|
export const COMPOSED_PATH_KEY: unique symbol = Symbol('composedPath')
|
|
9
9
|
export const CURRENT_TARGET_KEY: unique symbol = Symbol('currentTarget')
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Internal implementation details for the `EventTarget` module.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type Event from '../Event'
|
|
6
|
-
import type EventTarget from '../EventTarget'
|
|
7
5
|
import { setIsTrusted } from './EventInternals'
|
|
6
|
+
import type Event from '@/polyfills/events/Event'
|
|
7
|
+
import type EventTarget from '@/polyfills/events/EventTarget'
|
|
8
8
|
|
|
9
9
|
export const EVENT_TARGET_GET_THE_PARENT_KEY: unique symbol = Symbol('EventTarget[get the parent]')
|
|
10
10
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { date as formatDate } from '@planningcenter/datetime-fmt'
|
|
2
2
|
import React, { useState } from 'react'
|
|
3
3
|
import { StyleSheet, View, ScrollView } from 'react-native'
|
|
4
|
-
import { Heading } from '../../components'
|
|
5
|
-
import { Avatar } from '../../components/display/avatar'
|
|
6
|
-
import { Banner } from '../../components/display/banner'
|
|
7
|
-
import { Button } from '../../components/display/button'
|
|
8
|
-
import { Icon } from '../../components/display/icon'
|
|
9
|
-
import { Text } from '../../components/display/text'
|
|
10
|
-
import { useCurrentPerson, useTheme, useSubmitAgeCheck, useOrganization } from '../../hooks'
|
|
11
|
-
import { platformFontWeightBold } from '../../utils/styles'
|
|
12
4
|
import { AgeCheckSelectBirthdateModal } from './components/age_check_select_birthdate_modal'
|
|
5
|
+
import { Heading } from '@/components'
|
|
6
|
+
import { Avatar } from '@/components/display/avatar'
|
|
7
|
+
import { Banner } from '@/components/display/banner'
|
|
8
|
+
import { Button } from '@/components/display/button'
|
|
9
|
+
import { Icon } from '@/components/display/icon'
|
|
10
|
+
import { Text } from '@/components/display/text'
|
|
11
|
+
import { useCurrentPerson, useTheme, useSubmitAgeCheck, useOrganization } from '@/hooks'
|
|
12
|
+
import { platformFontWeightBold } from '@/utils/styles'
|
|
13
13
|
|
|
14
14
|
function calculateAge(birthdate: Date) {
|
|
15
15
|
const today = new Date()
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useRoute, RouteProp } from '@react-navigation/native'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
import { Linking, StyleSheet, View, ScrollView } from 'react-native'
|
|
4
|
-
import { Heading } from '../../components'
|
|
5
|
-
import { Icon, Text, TextInlineButton } from '../../components/display'
|
|
6
|
-
import { useTheme } from '../../hooks'
|
|
7
4
|
import type { AgeCheckParams } from './screen_props'
|
|
5
|
+
import { Heading } from '@/components'
|
|
6
|
+
import { Icon, Text, TextInlineButton } from '@/components/display'
|
|
7
|
+
import { useTheme } from '@/hooks'
|
|
8
8
|
|
|
9
9
|
export interface AgeCheckUnderageScreenProps {
|
|
10
10
|
contactEmail?: string
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import DateTimePicker, { DateTimePickerEvent } from '@react-native-community/datetimepicker'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
import { Modal, Platform, StyleSheet, View } from 'react-native'
|
|
4
|
-
import { Text } from '
|
|
5
|
-
import FormSheet from '
|
|
6
|
-
import { useTheme } from '
|
|
4
|
+
import { Text } from '@/components/display/text'
|
|
5
|
+
import FormSheet from '@/components/primitive/form_sheet'
|
|
6
|
+
import { useTheme } from '@/hooks'
|
|
7
7
|
|
|
8
8
|
export type AgeCheckSelectBirthdateProps = {
|
|
9
9
|
onChange: (date: Date) => void
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { StaticScreenProps, useNavigation } from '@react-navigation/native'
|
|
2
2
|
import React, { useCallback } from 'react'
|
|
3
3
|
import { Alert, Linking, StyleSheet } from 'react-native'
|
|
4
|
-
import FormSheet, { getFormSheetScreenOptions } from '../../components/primitive/form_sheet'
|
|
5
4
|
import { useDeleteAttachment } from './hooks/useDeleteAttachment'
|
|
5
|
+
import FormSheet, { getFormSheetScreenOptions } from '@/components/primitive/form_sheet'
|
|
6
6
|
|
|
7
7
|
export const AttachmentActionsScreenOptions = getFormSheetScreenOptions({
|
|
8
8
|
headerTitle: 'Attachment actions',
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useMutation } from '@tanstack/react-query'
|
|
2
2
|
import { useCallback } from 'react'
|
|
3
3
|
import { Alert } from 'react-native'
|
|
4
|
-
import { useApiClient } from '
|
|
5
|
-
import { useConversationMessages } from '
|
|
6
|
-
import { Haptic } from '
|
|
4
|
+
import { useApiClient } from '@/hooks/use_api_client'
|
|
5
|
+
import { useConversationMessages } from '@/hooks/use_conversation_messages'
|
|
6
|
+
import { Haptic } from '@/utils/native_adapters'
|
|
7
7
|
|
|
8
8
|
type UseDeleteAttachmentProps = {
|
|
9
9
|
conversation_id: number
|
|
@@ -23,20 +23,20 @@ import {
|
|
|
23
23
|
ImageAttachmentPreview,
|
|
24
24
|
Icon,
|
|
25
25
|
KeyboardView,
|
|
26
|
-
} from '
|
|
26
|
+
} from '@/components'
|
|
27
27
|
import {
|
|
28
28
|
HeaderDismissButton,
|
|
29
29
|
HeaderTextButton,
|
|
30
|
-
} from '
|
|
31
|
-
import { VideoAttachmentPreview } from '
|
|
32
|
-
import { DefaultLoading } from '
|
|
33
|
-
import BlankState from '
|
|
34
|
-
import { SafeAreaModal } from '
|
|
35
|
-
import { useTheme } from '
|
|
36
|
-
import { useAppName } from '
|
|
37
|
-
import { useReportBugAction } from '
|
|
38
|
-
import { useUploadClient } from '
|
|
39
|
-
import { ImagePicker, ImagePickerResult, platformFontWeightBold } from '
|
|
30
|
+
} from '@/components/display/platform_modal_header_buttons'
|
|
31
|
+
import { VideoAttachmentPreview } from '@/components/display/video_attachment_preview'
|
|
32
|
+
import { DefaultLoading } from '@/components/page/loading'
|
|
33
|
+
import BlankState from '@/components/primitive/blank_state_primitive'
|
|
34
|
+
import { SafeAreaModal } from '@/components/safe_area_modal'
|
|
35
|
+
import { useTheme } from '@/hooks'
|
|
36
|
+
import { useAppName } from '@/hooks/use_app_name'
|
|
37
|
+
import { useReportBugAction } from '@/hooks/use_report_bug_action'
|
|
38
|
+
import { useUploadClient } from '@/hooks/use_upload_client'
|
|
39
|
+
import { ImagePicker, ImagePickerResult, platformFontWeightBold } from '@/utils'
|
|
40
40
|
|
|
41
41
|
const MAX_DESCRIPTION_LENGTH = 2000
|
|
42
42
|
|
|
@@ -3,11 +3,11 @@ import React, { memo, useCallback, useMemo, useState } from 'react'
|
|
|
3
3
|
import { LayoutChangeEvent, Platform, StyleSheet, View } from 'react-native'
|
|
4
4
|
import { FlatList } from 'react-native-gesture-handler'
|
|
5
5
|
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
|
6
|
-
import { Avatar, Text } from '
|
|
7
|
-
import FormSheet, { getFormSheetScreenOptions } from '
|
|
8
|
-
import { useTheme } from '
|
|
9
|
-
import { useReadReceipts } from '
|
|
10
|
-
import { ReadReceiptResource } from '
|
|
6
|
+
import { Avatar, Text } from '@/components'
|
|
7
|
+
import FormSheet, { getFormSheetScreenOptions } from '@/components/primitive/form_sheet'
|
|
8
|
+
import { useTheme } from '@/hooks'
|
|
9
|
+
import { useReadReceipts } from '@/hooks/use_read_receipts'
|
|
10
|
+
import { ReadReceiptResource } from '@/types/resources/read_receipt'
|
|
11
11
|
|
|
12
12
|
const LIST_BOTTOM_PADDING = 24
|
|
13
13
|
|