@planningcenter/chat-react-native 3.30.0-rc.0 → 3.30.0-rc.2
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 +4 -4
- 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 +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 +8 -8
- 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 +6 -6
- 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 +14 -14
- 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 +4 -4
- 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 +13 -13
- 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 +8 -8
- 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 +4 -4
- 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 +4 -4
- 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.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 +3 -3
- package/build/components/display/child_notice.js.map +1 -1
- package/build/components/display/heading.d.ts.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.d.ts +4 -4
- package/build/components/display/icon.d.ts.map +1 -1
- package/build/components/display/icon.js +5 -5
- 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 +4 -4
- 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 +2 -2
- package/build/components/display/person.js.map +1 -1
- package/build/components/display/platform_modal_header_buttons.d.ts +1 -1
- package/build/components/display/platform_modal_header_buttons.d.ts.map +1 -1
- package/build/components/display/platform_modal_header_buttons.js +3 -3
- 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.d.ts.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 +3 -3
- 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 +5 -5
- 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 +5 -5
- 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 +3 -3
- 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 +3 -3
- 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 +2 -2
- 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 +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 +8 -8
- 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_create_android_ripple_color.js +1 -1
- package/build/hooks/use_create_android_ripple_color.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_font_scale.js +1 -1
- package/build/hooks/use_font_scale.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_interaction_ghost_color.js +1 -1
- package/build/hooks/use_interaction_ghost_color.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 +2 -2
- 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/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.js +1 -1
- package/build/polyfills/events/Event.js.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.d.ts.map +1 -1
- package/build/screens/age_check/age_check_required_screen.js +9 -9
- package/build/screens/age_check/age_check_required_screen.js.map +1 -1
- package/build/screens/age_check/age_check_underage_screen.d.ts.map +1 -1
- package/build/screens/age_check/age_check_underage_screen.js +4 -4
- package/build/screens/age_check/age_check_underage_screen.js.map +1 -1
- package/build/screens/age_check/components/age_check_select_birthdate_modal.d.ts.map +1 -1
- package/build/screens/age_check/components/age_check_select_birthdate_modal.js +4 -4
- 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 +4 -4
- package/build/screens/attachment_actions/hooks/useDeleteAttachment.js.map +1 -1
- package/build/screens/bug_report_screen.d.ts +1 -1
- package/build/screens/bug_report_screen.d.ts.map +1 -1
- package/build/screens/bug_report_screen.js +13 -13
- package/build/screens/bug_report_screen.js.map +1 -1
- package/build/screens/conversation/message_read_receipts_screen.js +5 -5
- 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 +4 -4
- 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 +5 -5
- 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 +2 -2
- 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 +2 -2
- package/build/screens/conversation_filters/context/conversation_filter_context.js.map +1 -1
- package/build/screens/conversation_filters/group_filters.d.ts +1 -1
- package/build/screens/conversation_filters/group_filters.d.ts.map +1 -1
- package/build/screens/conversation_filters/group_filters.js +2 -2
- 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.js +2 -2
- package/build/screens/conversation_filters_screen.js.map +1 -1
- package/build/screens/conversation_new/components/filter_by_plan.d.ts.map +1 -1
- package/build/screens/conversation_new/components/filter_by_plan.js +8 -8
- 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 +10 -10
- 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 +3 -3
- package/build/screens/conversation_select_type_screen.d.ts.map +1 -1
- package/build/screens/conversation_select_type_screen.js +3 -3
- 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.js +6 -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 +5 -5
- package/build/screens/message_report/components/report_reason_list.js.map +1 -1
- package/build/screens/message_report_screen.d.ts +2 -2
- package/build/screens/message_report_screen.d.ts.map +1 -1
- package/build/screens/message_report_screen.js +8 -8
- package/build/screens/message_report_screen.js.map +1 -1
- package/build/screens/not_found.d.ts.map +1 -1
- package/build/screens/not_found.js +1 -1
- package/build/screens/not_found.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 +4 -4
- 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/client/transform_request_data.d.ts.map +1 -1
- package/build/utils/client/transform_request_data.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/native_adapters/configuration.d.ts +3 -3
- package/build/utils/native_adapters/configuration.d.ts.map +1 -1
- package/build/utils/native_adapters/configuration.js +5 -5
- package/build/utils/native_adapters/configuration.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 +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/package.json +3 -2
- package/src/__tests__/contexts/session_context.tsx +7 -7
- package/src/__tests__/event-polyfill.test.ts +3 -4
- package/src/__tests__/hooks/useTheme.tsx +3 -3
- package/src/__tests__/hooks/use_async_storage.test.tsx +3 -3
- 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 +5 -5
- package/src/components/conversation/attachments/expanded_link.tsx +5 -5
- package/src/components/conversation/attachments/generic_file_attachment.tsx +6 -6
- package/src/components/conversation/attachments/giphy_attachment.tsx +6 -6
- package/src/components/conversation/attachments/image_attachment.tsx +9 -9
- package/src/components/conversation/attachments/video_attachment.tsx +7 -7
- 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 +21 -21
- package/src/components/conversation/message_attachments.tsx +8 -8
- 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 +21 -23
- 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 +12 -12
- 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 +5 -10
- 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 +5 -5
- 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 +2 -2
- package/src/components/display/banner_collapsible.tsx +1 -1
- package/src/components/display/button.tsx +3 -3
- package/src/components/display/child_notice.tsx +4 -4
- package/src/components/display/heading.tsx +3 -3
- package/src/components/display/icon.tsx +7 -8
- 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 +4 -4
- package/src/components/display/keyboard_view.tsx +1 -1
- package/src/components/display/person.tsx +3 -3
- package/src/components/display/platform_modal_header_buttons.tsx +4 -4
- 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 +3 -3
- package/src/components/display/toggle_button.tsx +5 -5
- 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 +5 -5
- package/src/components/group_conversation_list.tsx +3 -3
- 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 +8 -8
- 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 +7 -7
- package/src/contexts/conversations_context.tsx +4 -4
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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_create_android_ripple_color.ts +1 -1
- package/src/hooks/use_current_person.ts +2 -2
- package/src/hooks/use_features.ts +4 -4
- package/src/hooks/use_font_scale.ts +1 -1
- 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_interaction_ghost_color.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 +10 -10
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- package/src/hooks/use_typing_status_cache.ts +1 -1
- package/src/hooks/use_upload_client.ts +3 -3
- package/src/navigation/chat_access_gate.tsx +7 -7
- package/src/navigation/index.tsx +34 -37
- 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 +9 -9
- package/src/screens/age_check/age_check_underage_screen.tsx +4 -4
- package/src/screens/age_check/components/age_check_select_birthdate_modal.tsx +4 -4
- package/src/screens/attachment_actions/attachment_actions_screen.tsx +1 -1
- package/src/screens/attachment_actions/hooks/useDeleteAttachment.tsx +4 -4
- package/src/screens/bug_report_screen.tsx +18 -18
- package/src/screens/conversation/message_read_receipts_screen.tsx +6 -6
- package/src/screens/conversation_details_screen.tsx +47 -13
- package/src/screens/conversation_filter_recipients/components/checkbox_row.tsx +9 -5
- package/src/screens/conversation_filter_recipients/components/header_row.tsx +6 -6
- 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 +2 -2
- 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 +6 -3
- package/src/screens/conversation_filters/group_filters.tsx +4 -4
- 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 +2 -2
- package/src/screens/conversation_new/components/filter_by_plan.tsx +8 -8
- 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 +12 -12
- 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 +4 -4
- package/src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx +8 -5
- package/src/screens/conversation_select_recipients/types/screen_props.tsx +2 -2
- package/src/screens/conversation_select_type_screen.tsx +5 -5
- 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 +6 -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 +4 -4
- 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 +5 -8
- package/src/screens/message_report_screen.tsx +15 -15
- package/src/screens/not_found.tsx +1 -1
- 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 +6 -6
- 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 -2
- package/src/utils/client/transform_request_data.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/native_adapters/configuration.ts +5 -5
- package/src/utils/performance_tracking.ts +2 -2
- 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
|
@@ -34,22 +34,22 @@ import {
|
|
|
34
34
|
Text,
|
|
35
35
|
TextButton,
|
|
36
36
|
type TextStyle,
|
|
37
|
-
} from '
|
|
38
|
-
import { HeaderTextButton } from '
|
|
39
|
-
import { ButtonAppearanceUnion } from '
|
|
40
|
-
import { useSuspensePaginator, useTheme } from '
|
|
37
|
+
} from '@/components'
|
|
38
|
+
import { HeaderTextButton } from '@/components/display/platform_modal_header_buttons'
|
|
39
|
+
import { ButtonAppearanceUnion } from '@/components/display/utils/button_colors'
|
|
40
|
+
import { useSuspensePaginator, useTheme } from '@/hooks'
|
|
41
41
|
import {
|
|
42
42
|
useConversation,
|
|
43
43
|
useConversationDelete,
|
|
44
44
|
useConversationDisableReplies,
|
|
45
45
|
useConversationMute,
|
|
46
46
|
useConversationUpdate,
|
|
47
|
-
} from '
|
|
48
|
-
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import { tokens } from '
|
|
47
|
+
} from '@/hooks/use_conversation'
|
|
48
|
+
import { availableFeatures, useFeatures } from '@/hooks/use_features'
|
|
49
|
+
import { MemberResource, isDefined } from '@/types'
|
|
50
|
+
import { GroupResource } from '@/types/resources/group_resource'
|
|
51
|
+
import { genderDisplayLabel } from '@/utils/gender_display_label'
|
|
52
|
+
import { tokens } from '@/vendor/tapestry/tokens'
|
|
53
53
|
// =========================================
|
|
54
54
|
// ====== Factory Constants & Types ========
|
|
55
55
|
// =========================================
|
|
@@ -65,7 +65,7 @@ enum SectionTypes {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
type SectionListData = Array<
|
|
68
|
-
| DataItem<{ title: string }, SectionTypes.header>
|
|
68
|
+
| DataItem<{ title: string; badge?: ReactNode }, SectionTypes.header>
|
|
69
69
|
| DataItem<MemberResource, SectionTypes.members>
|
|
70
70
|
| DataItem<any, SectionTypes.loadingMembers>
|
|
71
71
|
| DataItem<NavigableSettingRowProps, SectionTypes.navigableSetting>
|
|
@@ -102,6 +102,9 @@ export function ConversationDetailsScreen({ route }: ConversationDetailsScreenPr
|
|
|
102
102
|
const { mutate: deleteConversation } = useConversationDelete(route.params)
|
|
103
103
|
const { featureEnabled } = useFeatures()
|
|
104
104
|
const granularNotificationsEnabled = featureEnabled(availableFeatures.granular_notifications_ui)
|
|
105
|
+
const showGenderFilter =
|
|
106
|
+
featureEnabled(availableFeatures.gender_specific_conversations) && !!conversation.genderOption
|
|
107
|
+
const genderLabel = conversation.genderOption ? genderDisplayLabel(conversation.genderOption) : ''
|
|
105
108
|
const { muted, setMuted } = useConversationMute({ conversation_id })
|
|
106
109
|
|
|
107
110
|
const trimmedTitle = title.trim()
|
|
@@ -302,9 +305,24 @@ export function ConversationDetailsScreen({ route }: ConversationDetailsScreenPr
|
|
|
302
305
|
},
|
|
303
306
|
{
|
|
304
307
|
type: SectionTypes.header,
|
|
305
|
-
data: {
|
|
308
|
+
data: {
|
|
309
|
+
title: 'People',
|
|
310
|
+
badge: showGenderFilter ? <Badge label={`${genderLabel}-only`} /> : undefined,
|
|
311
|
+
},
|
|
306
312
|
sectionInnerStyle: styles.sectionInnerHeader,
|
|
307
313
|
},
|
|
314
|
+
{
|
|
315
|
+
type: showGenderFilter ? SectionTypes.view : SectionTypes.hidden,
|
|
316
|
+
data: {
|
|
317
|
+
children: (
|
|
318
|
+
<Text variant="tertiary">
|
|
319
|
+
This conversation will be automatically updated if any {genderLabel.toLowerCase()} are
|
|
320
|
+
added or removed from this group.
|
|
321
|
+
</Text>
|
|
322
|
+
),
|
|
323
|
+
},
|
|
324
|
+
sectionInnerStyle: styles.sectionInnerGenderNotice,
|
|
325
|
+
},
|
|
308
326
|
{
|
|
309
327
|
type: hasChildren && isLeader ? SectionTypes.view : SectionTypes.hidden,
|
|
310
328
|
data: {
|
|
@@ -341,7 +359,14 @@ export function ConversationDetailsScreen({ route }: ConversationDetailsScreenPr
|
|
|
341
359
|
outerStyle={item?.sectionOuterStyle}
|
|
342
360
|
innerStyle={item?.sectionInnerStyle}
|
|
343
361
|
>
|
|
344
|
-
|
|
362
|
+
{item.data.badge ? (
|
|
363
|
+
<View style={styles.sectionHeaderRow}>
|
|
364
|
+
<Heading variant="h3">{item.data.title}</Heading>
|
|
365
|
+
{item.data.badge}
|
|
366
|
+
</View>
|
|
367
|
+
) : (
|
|
368
|
+
<Heading variant="h3">{item.data.title}</Heading>
|
|
369
|
+
)}
|
|
345
370
|
</ListSection>
|
|
346
371
|
)
|
|
347
372
|
case SectionTypes.members:
|
|
@@ -618,6 +643,15 @@ const useStyles = ({ isStart, isEnd }: { isStart?: boolean; isEnd?: boolean } =
|
|
|
618
643
|
sectionInnerHeader: {
|
|
619
644
|
paddingBottom: headerBottomPadding,
|
|
620
645
|
},
|
|
646
|
+
sectionInnerGenderNotice: {
|
|
647
|
+
paddingTop: 0,
|
|
648
|
+
paddingBottom: headerBottomPadding,
|
|
649
|
+
},
|
|
650
|
+
sectionHeaderRow: {
|
|
651
|
+
flexDirection: 'row' as const,
|
|
652
|
+
alignItems: 'center' as const,
|
|
653
|
+
gap: 8,
|
|
654
|
+
},
|
|
621
655
|
sectionInnerHeaderWithBottomBorder: {
|
|
622
656
|
paddingBottom: 16,
|
|
623
657
|
},
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { Pressable, View, StyleSheet, type ViewStyle } from 'react-native'
|
|
2
|
-
import { useTheme } from '../../../hooks'
|
|
3
|
-
import { Icon, Text } from '../../../components'
|
|
4
|
-
import { tokens } from '../../../vendor/tapestry/tokens'
|
|
5
|
-
import { ConversationFilterRecipientsScreenProps, SetTeamFilters, TeamProps } from '../types'
|
|
6
1
|
import { type RouteProp, useRoute } from '@react-navigation/native'
|
|
2
|
+
import { Pressable, View, StyleSheet, type ViewStyle } from 'react-native'
|
|
3
|
+
import { Icon, Text } from '@/components'
|
|
4
|
+
import { useTheme } from '@/hooks'
|
|
5
|
+
import {
|
|
6
|
+
ConversationFilterRecipientsScreenProps,
|
|
7
|
+
SetTeamFilters,
|
|
8
|
+
TeamProps,
|
|
9
|
+
} from '@/screens/conversation_filter_recipients/types'
|
|
10
|
+
import { tokens } from '@/vendor/tapestry/tokens'
|
|
7
11
|
|
|
8
12
|
interface TeamRowProps {
|
|
9
13
|
data: TeamProps
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { useRoute, type RouteProp } from '@react-navigation/native'
|
|
1
2
|
import { View, StyleSheet, type ViewStyle } from 'react-native'
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
3
|
+
import { Icon, Heading, TextButton } from '@/components'
|
|
4
|
+
import { useTheme } from '@/hooks'
|
|
4
5
|
import type {
|
|
5
6
|
ConversationFilterRecipientsScreenProps,
|
|
6
7
|
ServiceTypeProps,
|
|
7
8
|
SetTeamFilters,
|
|
8
|
-
} from '
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { useRoute, type RouteProp } from '@react-navigation/native'
|
|
9
|
+
} from '@/screens/conversation_filter_recipients/types'
|
|
10
|
+
import { pluralize } from '@/utils'
|
|
11
|
+
import { tokens } from '@/vendor/tapestry/tokens'
|
|
12
12
|
|
|
13
13
|
const BULK_SELECT_LIMIT = 10
|
|
14
14
|
|
package/src/screens/conversation_filter_recipients/conversation_filter_recipients_screen.tsx
CHANGED
|
@@ -4,17 +4,17 @@ import React, { useCallback, useMemo, useState } from 'react'
|
|
|
4
4
|
import { LayoutChangeEvent, Platform, ScrollView, StyleSheet, View } from 'react-native'
|
|
5
5
|
import { FlatList, TextInput } from 'react-native-gesture-handler'
|
|
6
6
|
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
|
7
|
-
import { Heading, ToggleButton } from '../../components'
|
|
8
|
-
import BlankState from '../../components/primitive/blank_state_primitive'
|
|
9
|
-
import FormSheet, { getFormSheetScreenOptions } from '../../components/primitive/form_sheet'
|
|
10
|
-
import { useFontScale, useTheme } from '../../hooks'
|
|
11
|
-
import { tokens } from '../../vendor/tapestry/tokens'
|
|
12
7
|
import { CheckboxRow } from './components/checkbox_row'
|
|
13
8
|
import { HeaderRow } from './components/header_row'
|
|
14
9
|
import { useFlattenedArrayOfServiceTypesWithTeams } from './hooks/use_flattened_array_of_service_types_with_teams'
|
|
15
10
|
import { useServiceTypesWithTeams } from './hooks/use_service_types_with_teams'
|
|
16
11
|
import { ConversationFilterRecipientsScreenProps, SectionTypes, TeamFilterTypes } from './types'
|
|
17
|
-
import {
|
|
12
|
+
import { Heading, ToggleButton } from '@/components'
|
|
13
|
+
import { DefaultLoading } from '@/components/page/loading'
|
|
14
|
+
import BlankState from '@/components/primitive/blank_state_primitive'
|
|
15
|
+
import FormSheet, { getFormSheetScreenOptions } from '@/components/primitive/form_sheet'
|
|
16
|
+
import { useFontScale, useTheme } from '@/hooks'
|
|
17
|
+
import { tokens } from '@/vendor/tapestry/tokens'
|
|
18
18
|
|
|
19
19
|
const SERVICE_TYPE_LABELLED_BY_PREFIX = 'header-'
|
|
20
20
|
const SPACE_UNDER_ROW = 16
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { useMemo } from 'react'
|
|
2
2
|
import { type ViewStyle } from 'react-native'
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
SectionTypes,
|
|
5
|
+
type SectionListData,
|
|
6
|
+
type ServiceTypeWithTeams,
|
|
7
|
+
} from '@/screens/conversation_filter_recipients/types'
|
|
4
8
|
|
|
5
9
|
interface Props {
|
|
6
10
|
data: ServiceTypeWithTeams[]
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { uniqBy } from 'lodash'
|
|
2
2
|
import { useMemo } from 'react'
|
|
3
|
-
import { useApiGet } from '
|
|
4
|
-
import {
|
|
5
|
-
|
|
3
|
+
import { useApiGet } from '@/hooks/use_api'
|
|
4
|
+
import {
|
|
5
|
+
ServiceTypeWithTeams,
|
|
6
|
+
TeamFilterTypes,
|
|
7
|
+
} from '@/screens/conversation_filter_recipients/types'
|
|
8
|
+
import { ServicesChatResource, TeamResponseItem } from '@/types'
|
|
6
9
|
|
|
7
10
|
export function useServiceTypesWithTeams({
|
|
8
11
|
filterType = TeamFilterTypes.TeamsIlead,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type ViewStyle } from 'react-native'
|
|
2
|
-
import { AppName } from '../../types/resources/app_name'
|
|
3
1
|
import { StaticScreenProps } from '@react-navigation/native'
|
|
2
|
+
import { type ViewStyle } from 'react-native'
|
|
3
|
+
import { AppName } from '@/types/resources/app_name'
|
|
4
4
|
|
|
5
5
|
export interface ServiceTypeWithTeams {
|
|
6
6
|
id: number
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import React, { useContext, useMemo } from 'react'
|
|
2
2
|
import { StyleSheet, View, ViewStyle } from 'react-native'
|
|
3
3
|
import { FlatList } from 'react-native-gesture-handler'
|
|
4
|
-
import { Heading } from '../../../components'
|
|
5
|
-
import { useAtFontScaleBreakpoint, useTheme } from '../../../hooks'
|
|
6
|
-
import { FilterContext, useFilterContext } from '../context/conversation_filter_context'
|
|
7
|
-
import { FilterTypes } from '../filter_types'
|
|
8
|
-
import { useGroupsToFilter, useTeamsToFilter } from '../hooks/filters'
|
|
9
4
|
import {
|
|
10
5
|
FilterProps,
|
|
11
6
|
FilterRow,
|
|
@@ -16,6 +11,14 @@ import {
|
|
|
16
11
|
ViewMore,
|
|
17
12
|
ViewMoreRowProps,
|
|
18
13
|
} from './rows'
|
|
14
|
+
import { Heading } from '@/components'
|
|
15
|
+
import { useAtFontScaleBreakpoint, useTheme } from '@/hooks'
|
|
16
|
+
import {
|
|
17
|
+
FilterContext,
|
|
18
|
+
useFilterContext,
|
|
19
|
+
} from '@/screens/conversation_filters/context/conversation_filter_context'
|
|
20
|
+
import { FilterTypes } from '@/screens/conversation_filters/filter_types'
|
|
21
|
+
import { useGroupsToFilter, useTeamsToFilter } from '@/screens/conversation_filters/hooks/filters'
|
|
19
22
|
|
|
20
23
|
// =========================================
|
|
21
24
|
// ====== Factory Constants & Types ========
|
|
@@ -2,20 +2,15 @@ import { PlatformPressable } from '@react-navigation/elements'
|
|
|
2
2
|
import { NavigationProp, useNavigation } from '@react-navigation/native'
|
|
3
3
|
import React, { PropsWithChildren, useContext } from 'react'
|
|
4
4
|
import { StyleSheet, View, ViewStyle } from 'react-native'
|
|
5
|
-
import { Heading, Icon, Image, Text, TextButton } from '
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from '
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { FilterContext } from '../context/conversation_filter_context'
|
|
15
|
-
import { FilterTypes } from '../filter_types'
|
|
16
|
-
import { FilteredGroup } from '../hooks/filters'
|
|
17
|
-
import { ConversationFilterStackParamList } from '../screen_props'
|
|
18
|
-
import { MAX_FONT_SIZE_MULTIPLIER, platformFontWeightBold } from '../../../utils/styles'
|
|
5
|
+
import { Heading, Icon, Image, Text, TextButton } from '@/components'
|
|
6
|
+
import { useAtFontScaleBreakpoint, useFontScale, useScalableNumberOfLines, useTheme } from '@/hooks'
|
|
7
|
+
import { useServicesTeamsMap } from '@/hooks/services/use_services_team'
|
|
8
|
+
import { FilterContext } from '@/screens/conversation_filters/context/conversation_filter_context'
|
|
9
|
+
import { FilterTypes } from '@/screens/conversation_filters/filter_types'
|
|
10
|
+
import { FilteredGroup } from '@/screens/conversation_filters/hooks/filters'
|
|
11
|
+
import { ConversationFilterStackParamList } from '@/screens/conversation_filters/screen_props'
|
|
12
|
+
import { GroupResource } from '@/types/resources/group_resource'
|
|
13
|
+
import { MAX_FONT_SIZE_MULTIPLIER, platformFontWeightBold } from '@/utils/styles'
|
|
19
14
|
|
|
20
15
|
export type FilterProps = { group_source_app_name?: string; isActive: boolean; filter: FilterTypes }
|
|
21
16
|
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { RouteProp, StackActions, useNavigation, useRoute } from '@react-navigation/native'
|
|
1
2
|
import React from 'react'
|
|
2
3
|
import { createContext, PropsWithChildren, useState } from 'react'
|
|
3
|
-
import { ConversationFiltersParams, ConversationFiltersScreenProps } from '../screen_props'
|
|
4
|
-
import { RouteProp, StackActions, useNavigation, useRoute } from '@react-navigation/native'
|
|
5
|
-
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
|
6
4
|
import { Platform } from 'react-native'
|
|
5
|
+
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
|
6
|
+
import {
|
|
7
|
+
ConversationFiltersParams,
|
|
8
|
+
ConversationFiltersScreenProps,
|
|
9
|
+
} from '@/screens/conversation_filters/screen_props'
|
|
7
10
|
|
|
8
11
|
const DEFAULT_LIST_PADDING_BOTTOM = 64
|
|
9
12
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { StaticScreenProps } from '@react-navigation/native'
|
|
1
2
|
import React from 'react'
|
|
2
3
|
import { RefreshControl, StyleSheet } from 'react-native'
|
|
3
4
|
import { FlatList } from 'react-native-gesture-handler'
|
|
4
|
-
import { Text } from '../../components/display'
|
|
5
|
-
import { ConversationFiltersParams } from './screen_props'
|
|
6
|
-
import { StaticScreenProps } from '@react-navigation/native'
|
|
7
|
-
import { useGroupsToFilter } from './hooks/filters'
|
|
8
5
|
import { GroupRow } from './components/rows'
|
|
9
6
|
import { useFilterContext } from './context/conversation_filter_context'
|
|
7
|
+
import { useGroupsToFilter } from './hooks/filters'
|
|
8
|
+
import { ConversationFiltersParams } from './screen_props'
|
|
9
|
+
import { Text } from '@/components/display'
|
|
10
10
|
|
|
11
11
|
export type GroupFiltersScreenProps = StaticScreenProps<ConversationFiltersParams>
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useMemo } from 'react'
|
|
2
|
-
import { useGroups } from '
|
|
3
|
-
import { useGroupsGroups } from '
|
|
4
|
-
import { useTeams } from '
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { useGroups } from '@/hooks/use_groups'
|
|
3
|
+
import { useGroupsGroups } from '@/hooks/use_groups_groups'
|
|
4
|
+
import { useTeams } from '@/hooks/use_teams'
|
|
5
|
+
import { GroupsGroupResource } from '@/types'
|
|
6
|
+
import { GroupResource } from '@/types/resources/group_resource'
|
|
7
7
|
|
|
8
8
|
export const useTeamsToFilter = () => {
|
|
9
9
|
const { data: teams = [], ...rest } = useTeams()
|
|
@@ -2,11 +2,11 @@ import { StaticScreenProps } from '@react-navigation/native'
|
|
|
2
2
|
import React from 'react'
|
|
3
3
|
import { RefreshControl, StyleSheet } from 'react-native'
|
|
4
4
|
import { FlatList } from 'react-native-gesture-handler'
|
|
5
|
-
import { Text } from '../../components/display'
|
|
6
5
|
import { TeamRow } from './components/rows'
|
|
7
6
|
import { useFilterContext } from './context/conversation_filter_context'
|
|
8
7
|
import { useTeamsToFilter } from './hooks/filters'
|
|
9
8
|
import { ConversationFiltersParams } from './screen_props'
|
|
9
|
+
import { Text } from '@/components/display'
|
|
10
10
|
|
|
11
11
|
export type GroupFiltersScreenProps = StaticScreenProps<ConversationFiltersParams>
|
|
12
12
|
|
|
@@ -4,18 +4,18 @@ import { createNativeStackNavigator } from '@react-navigation/native-stack'
|
|
|
4
4
|
import React, { useCallback } from 'react'
|
|
5
5
|
import { LayoutChangeEvent, Platform, StyleSheet, useWindowDimensions, View } from 'react-native'
|
|
6
6
|
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
|
7
|
+
import { ConversationFilters } from './conversation_filters/components/conversation_filters'
|
|
7
8
|
import {
|
|
8
9
|
FilterProvider,
|
|
9
10
|
useFilterContext,
|
|
10
11
|
} from './conversation_filters/context/conversation_filter_context'
|
|
11
|
-
import { ConversationFilters } from './conversation_filters/components/conversation_filters'
|
|
12
12
|
import { GroupFilters } from './conversation_filters/group_filters'
|
|
13
13
|
import {
|
|
14
14
|
ConversationFiltersScreenProps,
|
|
15
15
|
ConversationFilterStackParamList,
|
|
16
16
|
} from './conversation_filters/screen_props'
|
|
17
17
|
import { TeamFilters } from './conversation_filters/team_filters'
|
|
18
|
-
import FormSheet, { getFormSheetScreenOptions } from '
|
|
18
|
+
import FormSheet, { getFormSheetScreenOptions } from '@/components/primitive/form_sheet'
|
|
19
19
|
|
|
20
20
|
export const ConversationFiltersScreenOptions = getFormSheetScreenOptions({
|
|
21
21
|
presentation: Platform.select({ android: 'modal', ios: 'formSheet' }),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { Header, PlatformPressable } from '@react-navigation/elements'
|
|
1
2
|
import React, { useState } from 'react'
|
|
2
3
|
import { StyleSheet, View, FlatList, Platform } from 'react-native'
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { useTheme } from '
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { SafeAreaModal } from '../../../components/safe_area_modal'
|
|
4
|
+
import { Banner, Icon, Spinner, Text, Heading } from '@/components'
|
|
5
|
+
import { HeaderDismissButton } from '@/components/display/platform_modal_header_buttons'
|
|
6
|
+
import { DefaultLoading } from '@/components/page/loading'
|
|
7
|
+
import { SafeAreaModal } from '@/components/safe_area_modal'
|
|
8
|
+
import { useTheme } from '@/hooks'
|
|
9
|
+
import { useTeamPlans } from '@/hooks/services/use_team_plans'
|
|
10
|
+
import { tokens } from '@/vendor/tapestry/tokens'
|
|
11
11
|
|
|
12
12
|
// ==========================================
|
|
13
13
|
// Interfaces
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { FlatList, type FlatListProps, StyleSheet, View } from 'react-native'
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Person, Text } from '@/components/display'
|
|
4
|
+
import { useTheme } from '@/hooks'
|
|
5
|
+
import { MemberResource } from '@/types'
|
|
6
6
|
|
|
7
7
|
interface FormListProps {
|
|
8
8
|
memberData: MemberResource[]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
import { ActivityIndicator, StyleSheet, View } from 'react-native'
|
|
3
|
-
import { Heading, Switch, Text } from '
|
|
4
|
-
import { useTheme } from '
|
|
5
|
-
import { genderDisplayLabel } from '
|
|
3
|
+
import { Heading, Switch, Text } from '@/components'
|
|
4
|
+
import { useTheme } from '@/hooks'
|
|
5
|
+
import { genderDisplayLabel } from '@/utils/gender_display_label'
|
|
6
6
|
|
|
7
7
|
interface FilterableGenderContentProps {
|
|
8
8
|
genderValue: string
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { StackActions, useNavigation } from '@react-navigation/native'
|
|
2
2
|
import React, { useCallback, useMemo, useRef, useState } from 'react'
|
|
3
3
|
import { Platform, Pressable, StyleSheet, TextInput, View } from 'react-native'
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { Divider, FormList } from './form_list'
|
|
5
|
+
import { GenderFilterToggle } from './gender_filter_toggle'
|
|
6
|
+
import { Banner, ChildNotice, Heading, Text } from '@/components'
|
|
7
|
+
import { ActionButton } from '@/components/display/action_button'
|
|
8
|
+
import { KeyboardView } from '@/components/display/keyboard_view'
|
|
9
|
+
import { useCurrentPerson, useSuspenseGet, useTheme } from '@/hooks'
|
|
8
10
|
import {
|
|
9
11
|
GroupMembersForNewConversationResult,
|
|
10
12
|
useGroupMembersForNewConversation,
|
|
11
|
-
} from '
|
|
12
|
-
import { useGroupsConversationCreate } from '
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { Haptic } from '../../../utils/native_adapters'
|
|
20
|
-
import { useMyGender } from '../../../hooks/use_my_gender'
|
|
13
|
+
} from '@/hooks/groups/use_group_members_for_new_conversation'
|
|
14
|
+
import { useGroupsConversationCreate } from '@/hooks/groups/use_groups_conversation_create'
|
|
15
|
+
import { useMyGender } from '@/hooks/use_my_gender'
|
|
16
|
+
import { GroupsGroupResource } from '@/types'
|
|
17
|
+
import { GraphId } from '@/types/resources/group_resource'
|
|
18
|
+
import { pluralize } from '@/utils'
|
|
19
|
+
import { genderDisplayLabel } from '@/utils/gender_display_label'
|
|
20
|
+
import { Haptic } from '@/utils/native_adapters'
|
|
21
21
|
|
|
22
22
|
type GroupsFormProps = {
|
|
23
23
|
groupId: number
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { StackActions, useNavigation } from '@react-navigation/native'
|
|
2
|
+
import { uniq } from 'lodash'
|
|
2
3
|
import React, { useCallback, useEffect, useMemo, useState } from 'react'
|
|
3
4
|
import { StyleSheet, View } from 'react-native'
|
|
4
|
-
import { Badge, Banner, ChildNotice, Heading, Switch, TextButton } from '../../../components'
|
|
5
|
-
import { ActionButton } from '../../../components/display/action_button'
|
|
6
|
-
import { Divider, FormList } from './form_list'
|
|
7
|
-
import { pluralize } from '../../../utils'
|
|
8
|
-
import { uniq } from 'lodash'
|
|
9
5
|
import { FilterByPlan } from './filter_by_plan'
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
6
|
+
import { Divider, FormList } from './form_list'
|
|
7
|
+
import { Badge, Banner, ChildNotice, Heading, Switch, TextButton } from '@/components'
|
|
8
|
+
import { ActionButton } from '@/components/display/action_button'
|
|
9
|
+
import { useFindOrCreateServicesConversation } from '@/hooks/services/use_find_or_create_services_conversation'
|
|
10
|
+
import { useServicesTeams } from '@/hooks/services/use_services_team'
|
|
11
|
+
import { useTeamMembersForNewConversation } from '@/hooks/services/use_team_members_for_new_conversation'
|
|
12
|
+
import { TeamFilterTypes } from '@/screens/conversation_filter_recipients/types'
|
|
13
|
+
import { ConversationResource, MemberResource } from '@/types'
|
|
14
|
+
import { pluralize } from '@/utils'
|
|
15
|
+
import { Haptic } from '@/utils/native_adapters'
|
|
16
|
+
import { tokens } from '@/vendor/tapestry/tokens'
|
|
17
17
|
|
|
18
18
|
type ServicesFormProps = {
|
|
19
19
|
initialTeamIds?: number[]
|
|
@@ -3,9 +3,9 @@ import React from 'react'
|
|
|
3
3
|
import { GroupsForm } from './components/groups_form'
|
|
4
4
|
import { ServicesForm } from './components/services_form'
|
|
5
5
|
import { SourceAppErrorCard } from './components/source_app_error_card'
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { TeamFilterTypes } from '@/screens/conversation_filter_recipients/types'
|
|
7
|
+
import { AppName } from '@/types/resources/app_name'
|
|
8
|
+
import { GraphId } from '@/types/resources/group_resource'
|
|
9
9
|
|
|
10
10
|
type ConversationNewScreenProps = StaticScreenProps<{
|
|
11
11
|
group_id?: number
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { StaticScreenProps, useNavigation } from '@react-navigation/native'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
import { StyleSheet } from 'react-native'
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { useTheme } from '
|
|
7
|
-
import { useConversation } from '
|
|
8
|
-
import { useConversationMembershipUpdate } from '
|
|
9
|
-
import { NotificationLevelValue } from '
|
|
4
|
+
import { PressableRow } from '@/components'
|
|
5
|
+
import FormSheet, { getFormSheetScreenOptions } from '@/components/primitive/form_sheet'
|
|
6
|
+
import { useTheme } from '@/hooks'
|
|
7
|
+
import { useConversation } from '@/hooks/use_conversation'
|
|
8
|
+
import { useConversationMembershipUpdate } from '@/hooks/use_conversation_membership'
|
|
9
|
+
import { NotificationLevelValue } from '@/types'
|
|
10
10
|
|
|
11
11
|
export const ConversationNotificationLevelSelectScreenOptions = getFormSheetScreenOptions({
|
|
12
12
|
headerTitle: 'Notification level',
|
|
@@ -8,38 +8,38 @@ import {
|
|
|
8
8
|
useTheme as useNavigationTheme,
|
|
9
9
|
useRoute,
|
|
10
10
|
} from '@react-navigation/native'
|
|
11
|
-
import dayjs from '../utils/dayjs'
|
|
12
11
|
import React, { useCallback, useEffect, useRef, useState } from 'react'
|
|
13
12
|
import { FlatList, Platform, StyleSheet, View } from 'react-native'
|
|
14
13
|
import { useSafeAreaInsets } from 'react-native-safe-area-context'
|
|
15
|
-
import { Badge, Icon, Text } from '
|
|
14
|
+
import { Badge, Icon, Text } from '@/components'
|
|
15
|
+
import { EmptyConversationBlankState } from '@/components/conversation/empty_conversation_blank_state'
|
|
16
|
+
import { JumpToBottomButton } from '@/components/conversation/jump_to_bottom_button'
|
|
17
|
+
import { Message } from '@/components/conversation/message'
|
|
18
|
+
import { MessageForm } from '@/components/conversation/message_form'
|
|
16
19
|
import {
|
|
17
20
|
LeaderMessagesDisabledBanner,
|
|
18
21
|
MemberMessagesDisabledBanner,
|
|
19
|
-
} from '
|
|
20
|
-
import {
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
22
|
+
} from '@/components/conversation/messages_disabled_banners'
|
|
23
|
+
import { ReplyShadowMessage } from '@/components/conversation/reply_shadow_message'
|
|
24
|
+
import { TypingIndicator } from '@/components/conversation/typing_indicator'
|
|
25
|
+
import { KeyboardView } from '@/components/display/keyboard_view'
|
|
26
|
+
import BlankState from '@/components/primitive/blank_state_primitive'
|
|
27
|
+
import { ConversationContextProvider } from '@/contexts/conversation_context'
|
|
28
|
+
import { useTheme } from '@/hooks'
|
|
29
|
+
import { useConversation } from '@/hooks/use_conversation'
|
|
30
|
+
import { useConversationJoltEvents } from '@/hooks/use_conversation_jolt_events'
|
|
31
|
+
import { useConversationMessages } from '@/hooks/use_conversation_messages'
|
|
32
|
+
import { useConversationMessagesJoltEvents } from '@/hooks/use_conversation_messages_jolt_events'
|
|
33
|
+
import { useMarkLatestMessageRead } from '@/hooks/use_mark_latest_message_read'
|
|
27
34
|
import {
|
|
28
35
|
normalizeAnalyticsMetadata,
|
|
29
36
|
usePublishProductAnalyticsEvent,
|
|
30
|
-
} from '
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import
|
|
35
|
-
import {
|
|
36
|
-
import { getRelativeDateStatus } from '../utils/date'
|
|
37
|
-
import { useMarkLatestMessageRead } from '../hooks/use_mark_latest_message_read'
|
|
38
|
-
import { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL } from '../utils/styles'
|
|
39
|
-
import { useConversationJoltEvents } from '../hooks/use_conversation_jolt_events'
|
|
40
|
-
import { JumpToBottomButton } from '../components/conversation/jump_to_bottom_button'
|
|
41
|
-
import { ReplyShadowMessage } from '../components/conversation/reply_shadow_message'
|
|
42
|
-
import { ConversationContextProvider } from '../contexts/conversation_context'
|
|
37
|
+
} from '@/hooks/use_product_analytics'
|
|
38
|
+
import { MessageResource } from '@/types'
|
|
39
|
+
import { ConversationBadgeResource } from '@/types/resources/conversation_badge'
|
|
40
|
+
import { getRelativeDateStatus } from '@/utils/date'
|
|
41
|
+
import dayjs from '@/utils/dayjs'
|
|
42
|
+
import { CONVERSATION_MESSAGE_LIST_PADDING_HORIZONTAL } from '@/utils/styles'
|
|
43
43
|
|
|
44
44
|
export type ConversationRouteProps = {
|
|
45
45
|
conversation_id: number
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GroupsGroupResource } from '../../../types'
|
|
2
|
-
import { pluralize } from '../../../utils'
|
|
3
1
|
import { RecipientLinkRow } from './recipient_link_row'
|
|
2
|
+
import { GroupsGroupResource } from '@/types'
|
|
3
|
+
import { pluralize } from '@/utils'
|
|
4
4
|
|
|
5
5
|
interface GroupsRecipientRowProps {
|
|
6
6
|
group: GroupsGroupResource
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PlatformPressable } from '@react-navigation/elements'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
import { Platform, StyleSheet, View } from 'react-native'
|
|
4
|
-
import { Icon, Image, Text } from '
|
|
5
|
-
import { useTheme } from '
|
|
6
|
-
import { platformFontWeightMedium } from '
|
|
4
|
+
import { Icon, Image, Text } from '@/components'
|
|
5
|
+
import { useTheme } from '@/hooks'
|
|
6
|
+
import { platformFontWeightMedium } from '@/utils'
|
|
7
7
|
|
|
8
8
|
interface RecipientLinkRowProps {
|
|
9
9
|
onPress: () => void
|