@planningcenter/chat-react-native 4.5.1-qa-1062.0 → 4.5.1-qa-staging.12
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.d.ts +9 -0
- package/build/components/conversation/attachments/attachment_card.d.ts.map +1 -0
- package/build/components/conversation/attachments/attachment_deleting_overlay.d.ts +2 -0
- package/build/components/conversation/attachments/attachment_deleting_overlay.d.ts.map +1 -0
- package/build/components/conversation/attachments/audio_attachment.d.ts +7 -0
- package/build/components/conversation/attachments/audio_attachment.d.ts.map +1 -0
- package/build/components/conversation/attachments/constants.d.ts +3 -0
- package/build/components/conversation/attachments/constants.d.ts.map +1 -0
- package/build/components/conversation/attachments/expanded_link.d.ts +6 -0
- package/build/components/conversation/attachments/expanded_link.d.ts.map +1 -0
- package/build/components/conversation/attachments/generic_file_attachment.d.ts +7 -0
- package/build/components/conversation/attachments/generic_file_attachment.d.ts.map +1 -0
- package/build/components/conversation/attachments/giphy_attachment.d.ts +6 -0
- package/build/components/conversation/attachments/giphy_attachment.d.ts.map +1 -0
- package/build/components/conversation/attachments/image_attachment.d.ts +14 -0
- package/build/components/conversation/attachments/image_attachment.d.ts.map +1 -0
- package/build/components/conversation/attachments/video_attachment.d.ts +7 -0
- package/build/components/conversation/attachments/video_attachment.d.ts.map +1 -0
- package/build/components/conversation/conversation_start_banner.d.ts +9 -0
- package/build/components/conversation/conversation_start_banner.d.ts.map +1 -0
- package/build/components/conversation/empty_conversation_blank_state.d.ts +2 -0
- package/build/components/conversation/empty_conversation_blank_state.d.ts.map +1 -0
- package/build/components/conversation/jump_to_bottom_button.d.ts +7 -0
- package/build/components/conversation/jump_to_bottom_button.d.ts.map +1 -0
- package/build/components/conversation/message.d.ts +17 -0
- package/build/components/conversation/message.d.ts.map +1 -0
- package/build/components/conversation/message_attachments.d.ts +9 -0
- package/build/components/conversation/message_attachments.d.ts.map +1 -0
- package/build/components/conversation/message_form/message_form_attachment_file.d.ts +10 -0
- package/build/components/conversation/message_form/message_form_attachment_file.d.ts.map +1 -0
- package/build/components/conversation/message_form/message_form_attachment_image.d.ts +12 -0
- package/build/components/conversation/message_form/message_form_attachment_image.d.ts.map +1 -0
- package/build/components/conversation/message_form/message_form_attachment_video.d.ts +9 -0
- package/build/components/conversation/message_form/message_form_attachment_video.d.ts.map +1 -0
- package/build/components/conversation/message_form.d.ts +24 -0
- package/build/components/conversation/message_form.d.ts.map +1 -0
- package/build/components/conversation/message_list.d.ts +24 -0
- package/build/components/conversation/message_list.d.ts.map +1 -0
- package/build/components/conversation/message_list.js +155 -123
- package/build/components/conversation/message_list.js.map +1 -1
- package/build/components/conversation/message_markdown.d.ts +6 -0
- package/build/components/conversation/message_markdown.d.ts.map +1 -0
- package/build/components/conversation/message_reaction.d.ts +34 -0
- package/build/components/conversation/message_reaction.d.ts.map +1 -0
- package/build/components/conversation/message_read_receipts.d.ts +6 -0
- package/build/components/conversation/message_read_receipts.d.ts.map +1 -0
- package/build/components/conversation/messages_disabled_banners.d.ts +14 -0
- package/build/components/conversation/messages_disabled_banners.d.ts.map +1 -0
- package/build/components/conversation/missing_message.d.ts +2 -0
- package/build/components/conversation/missing_message.d.ts.map +1 -0
- package/build/components/conversation/reply_connectors.d.ts +10 -0
- package/build/components/conversation/reply_connectors.d.ts.map +1 -0
- package/build/components/conversation/reply_shadow_message.d.ts +12 -0
- package/build/components/conversation/reply_shadow_message.d.ts.map +1 -0
- package/build/components/conversation/system_message.d.ts +9 -0
- package/build/components/conversation/system_message.d.ts.map +1 -0
- package/build/components/conversation/typing_indicator.d.ts +6 -0
- package/build/components/conversation/typing_indicator.d.ts.map +1 -0
- package/build/components/conversations/archived_results_footer.d.ts +6 -0
- package/build/components/conversations/archived_results_footer.d.ts.map +1 -0
- package/build/components/conversations/conversation_actions.d.ts +11 -0
- package/build/components/conversations/conversation_actions.d.ts.map +1 -0
- package/build/components/conversations/conversation_preview.d.ts +12 -0
- package/build/components/conversations/conversation_preview.d.ts.map +1 -0
- package/build/components/conversations/conversations.d.ts +7 -0
- package/build/components/conversations/conversations.d.ts.map +1 -0
- package/build/components/conversations/conversations.js +1 -0
- package/build/components/conversations/conversations.js.map +1 -1
- package/build/components/conversations/conversations_blank_state.d.ts +7 -0
- package/build/components/conversations/conversations_blank_state.d.ts.map +1 -0
- package/build/components/conversations/filtered_results_footer.d.ts +2 -0
- package/build/components/conversations/filtered_results_footer.d.ts.map +1 -0
- package/build/components/conversations/mute_indicator.d.ts +4 -0
- package/build/components/conversations/mute_indicator.d.ts.map +1 -0
- package/build/components/conversations/swipeable_toggle_button.d.ts +20 -0
- package/build/components/conversations/swipeable_toggle_button.d.ts.map +1 -0
- package/build/components/conversations/unread_count_badge.d.ts +6 -0
- package/build/components/conversations/unread_count_badge.d.ts.map +1 -0
- package/build/components/display/action_button.d.ts +15 -0
- package/build/components/display/action_button.d.ts.map +1 -0
- package/build/components/display/adult_requirement_notice.d.ts +7 -0
- package/build/components/display/adult_requirement_notice.d.ts.map +1 -0
- package/build/components/display/avatar.d.ts +15 -0
- package/build/components/display/avatar.d.ts.map +1 -0
- package/build/components/display/avatar_group.d.ts +14 -0
- package/build/components/display/avatar_group.d.ts.map +1 -0
- package/build/components/display/badge.d.ts +55 -0
- package/build/components/display/badge.d.ts.map +1 -0
- package/build/components/display/banner.d.ts +38 -0
- package/build/components/display/banner.d.ts.map +1 -0
- package/build/components/display/banner_collapsible.d.ts +11 -0
- package/build/components/display/banner_collapsible.d.ts.map +1 -0
- package/build/components/display/button.d.ts +67 -0
- package/build/components/display/button.d.ts.map +1 -0
- package/build/components/display/child_notice.d.ts +10 -0
- package/build/components/display/child_notice.d.ts.map +1 -0
- package/build/components/display/conversation_avatar.d.ts +17 -0
- package/build/components/display/conversation_avatar.d.ts.map +1 -0
- package/build/components/display/conversation_avatar.js +77 -66
- package/build/components/display/conversation_avatar.js.map +1 -1
- package/build/components/display/emoji_avatar.d.ts +11 -0
- package/build/components/display/emoji_avatar.d.ts.map +1 -0
- package/build/components/display/file_attachment_preview.d.ts +11 -0
- package/build/components/display/file_attachment_preview.d.ts.map +1 -0
- package/build/components/display/filter_dropdown.d.ts +36 -0
- package/build/components/display/filter_dropdown.d.ts.map +1 -0
- package/build/components/display/heading.d.ts +10 -0
- package/build/components/display/heading.d.ts.map +1 -0
- package/build/components/display/icon.d.ts +64 -0
- package/build/components/display/icon.d.ts.map +1 -0
- package/build/components/display/icon_avatar.d.ts +11 -0
- package/build/components/display/icon_avatar.d.ts.map +1 -0
- package/build/components/display/icon_button.d.ts +56 -0
- package/build/components/display/icon_button.d.ts.map +1 -0
- package/build/components/display/icon_tile.d.ts +13 -0
- package/build/components/display/icon_tile.d.ts.map +1 -0
- package/build/components/display/image.d.ts +39 -0
- package/build/components/display/image.d.ts.map +1 -0
- package/build/components/display/image.js +47 -44
- package/build/components/display/image.js.map +1 -1
- package/build/components/display/image_attachment_preview.d.ts +13 -0
- package/build/components/display/image_attachment_preview.d.ts.map +1 -0
- package/build/components/display/index.d.ts +34 -0
- package/build/components/display/index.d.ts.map +1 -0
- package/build/components/display/keyboard_scroll_view.d.ts +5 -0
- package/build/components/display/keyboard_scroll_view.d.ts.map +1 -0
- package/build/components/display/keyboard_scroll_view.js +1 -0
- package/build/components/display/keyboard_scroll_view.js.map +1 -1
- package/build/components/display/keyboard_view.d.ts +5 -0
- package/build/components/display/keyboard_view.d.ts.map +1 -0
- package/build/components/display/person.d.ts +9 -0
- package/build/components/display/person.d.ts.map +1 -0
- package/build/components/display/platform_modal_header_buttons.d.ts +61 -0
- package/build/components/display/platform_modal_header_buttons.d.ts.map +1 -0
- package/build/components/display/popover_menu_view.d.ts +8 -0
- package/build/components/display/popover_menu_view.d.ts.map +1 -0
- package/build/components/display/pressable_row.d.ts +14 -0
- package/build/components/display/pressable_row.d.ts.map +1 -0
- package/build/components/display/spinner.d.ts +22 -0
- package/build/components/display/spinner.d.ts.map +1 -0
- package/build/components/display/switch.d.ts +3 -0
- package/build/components/display/switch.d.ts.map +1 -0
- package/build/components/display/tabs.d.ts +17 -0
- package/build/components/display/tabs.d.ts.map +1 -0
- package/build/components/display/text.d.ts +25 -0
- package/build/components/display/text.d.ts.map +1 -0
- package/build/components/display/text_button.d.ts +39 -0
- package/build/components/display/text_button.d.ts.map +1 -0
- package/build/components/display/text_inline_button.d.ts +11 -0
- package/build/components/display/text_inline_button.d.ts.map +1 -0
- package/build/components/display/text_input.d.ts +8 -0
- package/build/components/display/text_input.d.ts.map +1 -0
- package/build/components/display/toggle_button.d.ts +55 -0
- package/build/components/display/toggle_button.d.ts.map +1 -0
- package/build/components/display/utils/avatar_gradient_colors.d.ts +17 -0
- package/build/components/display/utils/avatar_gradient_colors.d.ts.map +1 -0
- package/build/components/display/utils/button_colors.d.ts +39 -0
- package/build/components/display/utils/button_colors.d.ts.map +1 -0
- package/build/components/display/utils/status_colors.d.ts +17 -0
- package/build/components/display/utils/status_colors.d.ts.map +1 -0
- package/build/components/display/version_footer.d.ts +2 -0
- package/build/components/display/version_footer.d.ts.map +1 -0
- package/build/components/display/video_attachment_preview.d.ts +11 -0
- package/build/components/display/video_attachment_preview.d.ts.map +1 -0
- package/build/components/group_conversation_list.d.ts +23 -0
- package/build/components/group_conversation_list.d.ts.map +1 -0
- package/build/components/index.d.ts +7 -0
- package/build/components/index.d.ts.map +1 -0
- package/build/components/page/component_error_boundary.d.ts +4 -0
- package/build/components/page/component_error_boundary.d.ts.map +1 -0
- package/build/components/page/error_boundary.d.ts +20 -0
- package/build/components/page/error_boundary.d.ts.map +1 -0
- package/build/components/page/loading.d.ts +2 -0
- package/build/components/page/loading.d.ts.map +1 -0
- package/build/components/page/page_error_boundary.d.ts +12 -0
- package/build/components/page/page_error_boundary.d.ts.map +1 -0
- package/build/components/page/page_error_boundary.js +56 -31
- package/build/components/page/page_error_boundary.js.map +1 -1
- package/build/components/primitive/avatar_primitive.d.ts +51 -0
- package/build/components/primitive/avatar_primitive.d.ts.map +1 -0
- package/build/components/primitive/banner_primitive.d.ts +48 -0
- package/build/components/primitive/banner_primitive.d.ts.map +1 -0
- package/build/components/primitive/blank_state_primitive.d.ts +41 -0
- package/build/components/primitive/blank_state_primitive.d.ts.map +1 -0
- package/build/components/primitive/form_sheet.d.ts +75 -0
- package/build/components/primitive/form_sheet.d.ts.map +1 -0
- package/build/components/safe_area_modal.d.ts +7 -0
- package/build/components/safe_area_modal.d.ts.map +1 -0
- package/build/contexts/api_provider.d.ts +7 -0
- package/build/contexts/api_provider.d.ts.map +1 -0
- package/build/contexts/api_provider.js +11 -5
- package/build/contexts/api_provider.js.map +1 -1
- package/build/contexts/chat_context.d.ts +37 -0
- package/build/contexts/chat_context.d.ts.map +1 -0
- package/build/contexts/conversation_context.d.ts +13 -0
- package/build/contexts/conversation_context.d.ts.map +1 -0
- package/build/contexts/conversations_context.d.ts +16 -0
- package/build/contexts/conversations_context.d.ts.map +1 -0
- package/build/contexts/session_context.d.ts +44 -0
- package/build/contexts/session_context.d.ts.map +1 -0
- package/build/hooks/attachments/fallback_chat_configuration.d.ts +5 -0
- package/build/hooks/attachments/fallback_chat_configuration.d.ts.map +1 -0
- package/build/hooks/direct_messages/find_direct_message_conversation.d.ts +14 -0
- package/build/hooks/direct_messages/find_direct_message_conversation.d.ts.map +1 -0
- package/build/hooks/direct_messages/resolve_message_available_members_link.d.ts +16 -0
- package/build/hooks/direct_messages/resolve_message_available_members_link.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_direct_message_affiliations.d.ts +6 -0
- package/build/hooks/direct_messages/use_direct_message_affiliations.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_direct_message_candidates.d.ts +4 -0
- package/build/hooks/direct_messages/use_direct_message_candidates.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_direct_message_conversation_validate.d.ts +11 -0
- package/build/hooks/direct_messages/use_direct_message_conversation_validate.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_find_or_create_direct_message_conversation.d.ts +13 -0
- package/build/hooks/direct_messages/use_find_or_create_direct_message_conversation.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_message_available_members.d.ts +6 -0
- package/build/hooks/direct_messages/use_message_available_members.d.ts.map +1 -0
- package/build/hooks/direct_messages/use_message_available_members_action.d.ts +6 -0
- package/build/hooks/direct_messages/use_message_available_members_action.d.ts.map +1 -0
- package/build/hooks/groups/use_group_chat_conversation_payload.d.ts +168 -0
- package/build/hooks/groups/use_group_chat_conversation_payload.d.ts.map +1 -0
- package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +232 -0
- package/build/hooks/groups/use_group_members_for_new_conversation.d.ts.map +1 -0
- package/build/hooks/groups/use_groups_conversation_create.d.ts +10 -0
- package/build/hooks/groups/use_groups_conversation_create.d.ts.map +1 -0
- package/build/hooks/index.d.ts +34 -0
- package/build/hooks/index.d.ts.map +1 -0
- package/build/hooks/index.js +1 -0
- package/build/hooks/index.js.map +1 -1
- package/build/hooks/paginator_meta.d.ts +4 -0
- package/build/hooks/paginator_meta.d.ts.map +1 -0
- package/build/hooks/services/use_find_or_create_services_conversation.d.ts +138 -0
- package/build/hooks/services/use_find_or_create_services_conversation.d.ts.map +1 -0
- package/build/hooks/services/use_services_chat_conversation_payload.d.ts +164 -0
- package/build/hooks/services/use_services_chat_conversation_payload.d.ts.map +1 -0
- package/build/hooks/services/use_services_team.d.ts +4 -0
- package/build/hooks/services/use_services_team.d.ts.map +1 -0
- package/build/hooks/services/use_team_members_for_new_conversation.d.ts +176 -0
- package/build/hooks/services/use_team_members_for_new_conversation.d.ts.map +1 -0
- package/build/hooks/services/use_team_plans.d.ts +17 -0
- package/build/hooks/services/use_team_plans.d.ts.map +1 -0
- package/build/hooks/use_animated_message_background_color.d.ts +9 -0
- package/build/hooks/use_animated_message_background_color.d.ts.map +1 -0
- package/build/hooks/use_api.d.ts +391 -0
- package/build/hooks/use_api.d.ts.map +1 -0
- package/build/hooks/use_api_client.d.ts +7 -0
- package/build/hooks/use_api_client.d.ts.map +1 -0
- package/build/hooks/use_app_name.d.ts +3 -0
- package/build/hooks/use_app_name.d.ts.map +1 -0
- package/build/hooks/use_app_state.d.ts +2 -0
- package/build/hooks/use_app_state.d.ts.map +1 -0
- package/build/hooks/use_async_storage.d.ts +4 -0
- package/build/hooks/use_async_storage.d.ts.map +1 -0
- package/build/hooks/use_at_font_scale_breakpoint.d.ts +2 -0
- package/build/hooks/use_at_font_scale_breakpoint.d.ts.map +1 -0
- package/build/hooks/use_attachment_uploader.d.ts +22 -0
- package/build/hooks/use_attachment_uploader.d.ts.map +1 -0
- package/build/hooks/use_broadcast_typing_status.d.ts +9 -0
- package/build/hooks/use_broadcast_typing_status.d.ts.map +1 -0
- package/build/hooks/use_can_browse_archived_conversations.d.ts +2 -0
- package/build/hooks/use_can_browse_archived_conversations.d.ts.map +1 -0
- package/build/hooks/use_chat_configuration.d.ts +7 -0
- package/build/hooks/use_chat_configuration.d.ts.map +1 -0
- package/build/hooks/use_chat_permissions.d.ts +190 -0
- package/build/hooks/use_chat_permissions.d.ts.map +1 -0
- package/build/hooks/use_clear_conversation_filters.d.ts +2 -0
- package/build/hooks/use_clear_conversation_filters.d.ts.map +1 -0
- package/build/hooks/use_conversation.d.ts +275 -0
- package/build/hooks/use_conversation.d.ts.map +1 -0
- package/build/hooks/use_conversation_avatar_update.d.ts +27 -0
- package/build/hooks/use_conversation_avatar_update.d.ts.map +1 -0
- package/build/hooks/use_conversation_avatar_update.js +146 -48
- package/build/hooks/use_conversation_avatar_update.js.map +1 -1
- package/build/hooks/use_conversation_jolt_events.d.ts +6 -0
- package/build/hooks/use_conversation_jolt_events.d.ts.map +1 -0
- package/build/hooks/use_conversation_membership.d.ts +5 -0
- package/build/hooks/use_conversation_membership.d.ts.map +1 -0
- package/build/hooks/use_conversation_message.d.ts +12 -0
- package/build/hooks/use_conversation_message.d.ts.map +1 -0
- package/build/hooks/use_conversation_messages.d.ts +23 -0
- package/build/hooks/use_conversation_messages.d.ts.map +1 -0
- package/build/hooks/use_conversation_messages_jolt_events.d.ts +6 -0
- package/build/hooks/use_conversation_messages_jolt_events.d.ts.map +1 -0
- package/build/hooks/use_conversation_validate.d.ts +12 -0
- package/build/hooks/use_conversation_validate.d.ts.map +1 -0
- package/build/hooks/use_conversations.d.ts +12 -0
- package/build/hooks/use_conversations.d.ts.map +1 -0
- package/build/hooks/use_conversations_actions.d.ts +221 -0
- package/build/hooks/use_conversations_actions.d.ts.map +1 -0
- package/build/hooks/use_conversations_cache.d.ts +20 -0
- package/build/hooks/use_conversations_cache.d.ts.map +1 -0
- package/build/hooks/use_conversations_jolt_events.d.ts +2 -0
- package/build/hooks/use_conversations_jolt_events.d.ts.map +1 -0
- package/build/hooks/use_create_android_ripple_color.d.ts +4 -0
- package/build/hooks/use_create_android_ripple_color.d.ts.map +1 -0
- package/build/hooks/use_current_person.d.ts +18 -0
- package/build/hooks/use_current_person.d.ts.map +1 -0
- package/build/hooks/use_debounced_search_term.d.ts +2 -0
- package/build/hooks/use_debounced_search_term.d.ts.map +1 -0
- package/build/hooks/use_deleting_ids.d.ts +4 -0
- package/build/hooks/use_deleting_ids.d.ts.map +1 -0
- package/build/hooks/use_direct_message_eligibility.d.ts +14 -0
- package/build/hooks/use_direct_message_eligibility.d.ts.map +1 -0
- package/build/hooks/use_direct_messages_eligible.d.ts +2 -0
- package/build/hooks/use_direct_messages_eligible.d.ts.map +1 -0
- package/build/hooks/use_enrich_people.d.ts +13 -0
- package/build/hooks/use_enrich_people.d.ts.map +1 -0
- package/build/hooks/use_features.d.ts +38 -0
- package/build/hooks/use_features.d.ts.map +1 -0
- package/build/hooks/use_filter_dropdown_enabled.d.ts +2 -0
- package/build/hooks/use_filter_dropdown_enabled.d.ts.map +1 -0
- package/build/hooks/use_font_scale.d.ts +5 -0
- package/build/hooks/use_font_scale.d.ts.map +1 -0
- package/build/hooks/use_giphy.d.ts +9 -0
- package/build/hooks/use_giphy.d.ts.map +1 -0
- package/build/hooks/use_groups.d.ts +214 -0
- package/build/hooks/use_groups.d.ts.map +1 -0
- package/build/hooks/use_groups_groups.d.ts +208 -0
- package/build/hooks/use_groups_groups.d.ts.map +1 -0
- package/build/hooks/use_has_direct_messages.d.ts +2 -0
- package/build/hooks/use_has_direct_messages.d.ts.map +1 -0
- package/build/hooks/use_interaction_tinted_background_color.d.ts +2 -0
- package/build/hooks/use_interaction_tinted_background_color.d.ts.map +1 -0
- package/build/hooks/use_jolt.d.ts +11 -0
- package/build/hooks/use_jolt.d.ts.map +1 -0
- package/build/hooks/use_live_relative_time.d.ts +3 -0
- package/build/hooks/use_live_relative_time.d.ts.map +1 -0
- package/build/hooks/use_manual_archiving_enabled.d.ts +2 -0
- package/build/hooks/use_manual_archiving_enabled.d.ts.map +1 -0
- package/build/hooks/use_mark_latest_message_read.d.ts +9 -0
- package/build/hooks/use_mark_latest_message_read.d.ts.map +1 -0
- package/build/hooks/use_message_create_or_update.d.ts +110 -0
- package/build/hooks/use_message_create_or_update.d.ts.map +1 -0
- package/build/hooks/use_message_draft.d.ts +13 -0
- package/build/hooks/use_message_draft.d.ts.map +1 -0
- package/build/hooks/use_message_reaction_toggle.d.ts +21 -0
- package/build/hooks/use_message_reaction_toggle.d.ts.map +1 -0
- package/build/hooks/use_my_gender.d.ts +7 -0
- package/build/hooks/use_my_gender.d.ts.map +1 -0
- package/build/hooks/use_new_conversation_entry.d.ts +8 -0
- package/build/hooks/use_new_conversation_entry.d.ts.map +1 -0
- package/build/hooks/use_new_conversation_from_filter.d.ts +12 -0
- package/build/hooks/use_new_conversation_from_filter.d.ts.map +1 -0
- package/build/hooks/use_organization.d.ts +39 -0
- package/build/hooks/use_organization.d.ts.map +1 -0
- package/build/hooks/use_people_person.d.ts +18 -0
- package/build/hooks/use_people_person.d.ts.map +1 -0
- package/build/hooks/use_person_settings.d.ts +6 -0
- package/build/hooks/use_person_settings.d.ts.map +1 -0
- package/build/hooks/use_preview_avatar_diameter.d.ts +2 -0
- package/build/hooks/use_preview_avatar_diameter.d.ts.map +1 -0
- package/build/hooks/use_product_analytics.d.ts +24 -0
- package/build/hooks/use_product_analytics.d.ts.map +1 -0
- package/build/hooks/use_qualified_by_age.d.ts +2 -0
- package/build/hooks/use_qualified_by_age.d.ts.map +1 -0
- package/build/hooks/use_read_receipts.d.ts +40 -0
- package/build/hooks/use_read_receipts.d.ts.map +1 -0
- package/build/hooks/use_reduce_motion.d.ts +2 -0
- package/build/hooks/use_reduce_motion.d.ts.map +1 -0
- package/build/hooks/use_report_bug_action.d.ts +6 -0
- package/build/hooks/use_report_bug_action.d.ts.map +1 -0
- package/build/hooks/use_report_message.d.ts +6 -0
- package/build/hooks/use_report_message.d.ts.map +1 -0
- package/build/hooks/use_rest_away_from_dismiss_edge.d.ts +19 -0
- package/build/hooks/use_rest_away_from_dismiss_edge.d.ts.map +1 -0
- package/build/hooks/use_scalable_number_of_lines.d.ts +2 -0
- package/build/hooks/use_scalable_number_of_lines.d.ts.map +1 -0
- package/build/hooks/use_search_enabled.d.ts +2 -0
- package/build/hooks/use_search_enabled.d.ts.map +1 -0
- package/build/hooks/use_search_results.d.ts +19 -0
- package/build/hooks/use_search_results.d.ts.map +1 -0
- package/build/hooks/use_selected_chip_background_color.d.ts +2 -0
- package/build/hooks/use_selected_chip_background_color.d.ts.map +1 -0
- package/build/hooks/use_storage.d.ts +9 -0
- package/build/hooks/use_storage.d.ts.map +1 -0
- package/build/hooks/use_submit_age_check.d.ts +78 -0
- package/build/hooks/use_submit_age_check.d.ts.map +1 -0
- package/build/hooks/use_suspense_api.d.ts +86 -0
- package/build/hooks/use_suspense_api.d.ts.map +1 -0
- package/build/hooks/use_system_message_people.d.ts +14 -0
- package/build/hooks/use_system_message_people.d.ts.map +1 -0
- package/build/hooks/use_system_message_people.js +101 -0
- package/build/hooks/use_system_message_people.js.map +1 -0
- package/build/hooks/use_teams.d.ts +207 -0
- package/build/hooks/use_teams.d.ts.map +1 -0
- package/build/hooks/use_theme.d.ts +3 -0
- package/build/hooks/use_theme.d.ts.map +1 -0
- package/build/hooks/use_typing_indicators.d.ts +13 -0
- package/build/hooks/use_typing_indicators.d.ts.map +1 -0
- package/build/hooks/use_typing_status_cache.d.ts +14 -0
- package/build/hooks/use_typing_status_cache.d.ts.map +1 -0
- package/build/hooks/use_unarchive_conversation_action.d.ts +7 -0
- package/build/hooks/use_unarchive_conversation_action.d.ts.map +1 -0
- package/build/hooks/use_upload_client.d.ts +32 -0
- package/build/hooks/use_upload_client.d.ts.map +1 -0
- package/build/hooks/use_video_moderation_jolt_events.d.ts +4 -0
- package/build/hooks/use_video_moderation_jolt_events.d.ts.map +1 -0
- package/build/icons/font_awesome.d.ts +2 -0
- package/build/icons/font_awesome.d.ts.map +1 -0
- package/build/index.d.ts +20 -0
- package/build/index.d.ts.map +1 -0
- package/build/jest.d.ts +18 -0
- package/build/jest.d.ts.map +1 -0
- package/build/navigation/chat_access_gate.d.ts +3 -0
- package/build/navigation/chat_access_gate.d.ts.map +1 -0
- package/build/navigation/index.d.ts +392 -0
- package/build/navigation/index.d.ts.map +1 -0
- package/build/navigation/index.js +3 -1
- package/build/navigation/index.js.map +1 -1
- package/build/navigation/page_error_fallbacks.d.ts +7 -0
- package/build/navigation/page_error_fallbacks.d.ts.map +1 -0
- package/build/navigation/page_error_fallbacks.js +7 -0
- package/build/navigation/page_error_fallbacks.js.map +1 -0
- package/build/navigation/screenLayout.d.ts +8 -0
- package/build/navigation/screenLayout.d.ts.map +1 -0
- package/build/navigation/screenLayout.js +10 -6
- package/build/navigation/screenLayout.js.map +1 -1
- package/build/polyfills/events/CustomEvent.d.ts +21 -0
- package/build/polyfills/events/CustomEvent.d.ts.map +1 -0
- package/build/polyfills/events/Event.d.ts +45 -0
- package/build/polyfills/events/Event.d.ts.map +1 -0
- package/build/polyfills/events/EventHandlerAttributes.d.ts +8 -0
- package/build/polyfills/events/EventHandlerAttributes.d.ts.map +1 -0
- package/build/polyfills/events/EventTarget.d.ts +30 -0
- package/build/polyfills/events/EventTarget.d.ts.map +1 -0
- package/build/polyfills/events/internals/EventInternals.d.ts +30 -0
- package/build/polyfills/events/internals/EventInternals.d.ts.map +1 -0
- package/build/polyfills/events/internals/EventTargetInternals.d.ts +9 -0
- package/build/polyfills/events/internals/EventTargetInternals.d.ts.map +1 -0
- package/build/polyfills/webidl/PlatformObjects.d.ts +31 -0
- package/build/polyfills/webidl/PlatformObjects.d.ts.map +1 -0
- package/build/screens/age_check/age_check_required_screen.d.ts +2 -0
- package/build/screens/age_check/age_check_required_screen.d.ts.map +1 -0
- package/build/screens/age_check/age_check_required_screen.js +1 -0
- package/build/screens/age_check/age_check_required_screen.js.map +1 -1
- package/build/screens/age_check/age_check_underage_screen.d.ts +5 -0
- package/build/screens/age_check/age_check_underage_screen.d.ts.map +1 -0
- package/build/screens/age_check/components/age_check_select_birthdate_modal.d.ts +10 -0
- package/build/screens/age_check/components/age_check_select_birthdate_modal.d.ts.map +1 -0
- package/build/screens/age_check/index.d.ts +3 -0
- package/build/screens/age_check/index.d.ts.map +1 -0
- package/build/screens/age_check/screen_props.d.ts +5 -0
- package/build/screens/age_check/screen_props.d.ts.map +1 -0
- package/build/screens/attachment_actions/attachment_actions_screen.d.ts +12 -0
- package/build/screens/attachment_actions/attachment_actions_screen.d.ts.map +1 -0
- package/build/screens/attachment_actions/hooks/useDeleteAttachment.d.ts +10 -0
- package/build/screens/attachment_actions/hooks/useDeleteAttachment.d.ts.map +1 -0
- package/build/screens/avatar_picker/avatar_picker_screen.d.ts +11 -0
- package/build/screens/avatar_picker/avatar_picker_screen.d.ts.map +1 -0
- package/build/screens/avatar_picker/avatar_picker_screen.js +76 -66
- package/build/screens/avatar_picker/avatar_picker_screen.js.map +1 -1
- package/build/screens/avatar_picker/avatar_picker_state.d.ts +38 -0
- package/build/screens/avatar_picker/avatar_picker_state.d.ts.map +1 -0
- package/build/screens/avatar_picker/avatar_preview.d.ts +9 -0
- package/build/screens/avatar_picker/avatar_preview.d.ts.map +1 -0
- package/build/screens/avatar_picker/color_picker.d.ts +8 -0
- package/build/screens/avatar_picker/color_picker.d.ts.map +1 -0
- package/build/screens/avatar_picker/constants.d.ts +3 -0
- package/build/screens/avatar_picker/constants.d.ts.map +1 -0
- package/build/screens/avatar_picker/emoji_tab.d.ts +6 -0
- package/build/screens/avatar_picker/emoji_tab.d.ts.map +1 -0
- package/build/screens/avatar_picker/icon_grid.d.ts +7 -0
- package/build/screens/avatar_picker/icon_grid.d.ts.map +1 -0
- package/build/screens/avatar_picker/upload_tab.d.ts +8 -0
- package/build/screens/avatar_picker/upload_tab.d.ts.map +1 -0
- package/build/screens/bug_report_screen.d.ts +4 -0
- package/build/screens/bug_report_screen.d.ts.map +1 -0
- package/build/screens/conversation/message_read_receipts_screen.d.ts +8 -0
- package/build/screens/conversation/message_read_receipts_screen.d.ts.map +1 -0
- package/build/screens/conversation_details_screen.d.ts +6 -0
- package/build/screens/conversation_details_screen.d.ts.map +1 -0
- package/build/screens/conversation_details_screen.js +1 -0
- package/build/screens/conversation_details_screen.js.map +1 -1
- package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts +11 -0
- package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/components/header_row.d.ts +11 -0
- package/build/screens/conversation_filter_recipients/components/header_row.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts +4 -0
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts +10 -0
- package/build/screens/conversation_filter_recipients/hooks/use_flattened_array_of_service_types_with_teams.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts +176 -0
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts.map +1 -0
- package/build/screens/conversation_filter_recipients/types.d.ts +48 -0
- package/build/screens/conversation_filter_recipients/types.d.ts.map +1 -0
- package/build/screens/conversation_filters/components/conversation_filters.d.ts +2 -0
- package/build/screens/conversation_filters/components/conversation_filters.d.ts.map +1 -0
- package/build/screens/conversation_filters/components/rows.d.ts +42 -0
- package/build/screens/conversation_filters/components/rows.d.ts.map +1 -0
- package/build/screens/conversation_filters/context/conversation_filter_context.d.ts +27 -0
- package/build/screens/conversation_filters/context/conversation_filter_context.d.ts.map +1 -0
- package/build/screens/conversation_filters/filter_types.d.ts +9 -0
- package/build/screens/conversation_filters/filter_types.d.ts.map +1 -0
- package/build/screens/conversation_filters/group_filters.d.ts +5 -0
- package/build/screens/conversation_filters/group_filters.d.ts.map +1 -0
- package/build/screens/conversation_filters/hooks/filters.d.ts +415 -0
- package/build/screens/conversation_filters/hooks/filters.d.ts.map +1 -0
- package/build/screens/conversation_filters/screen_props.d.ts +16 -0
- package/build/screens/conversation_filters/screen_props.d.ts.map +1 -0
- package/build/screens/conversation_filters/team_filters.d.ts +5 -0
- package/build/screens/conversation_filters/team_filters.d.ts.map +1 -0
- package/build/screens/conversation_filters_screen.d.ts +5 -0
- package/build/screens/conversation_filters_screen.d.ts.map +1 -0
- package/build/screens/conversation_new/components/avatar_selection_row.d.ts +11 -0
- package/build/screens/conversation_new/components/avatar_selection_row.d.ts.map +1 -0
- package/build/screens/conversation_new/components/filter_by_plan.d.ts +22 -0
- package/build/screens/conversation_new/components/filter_by_plan.d.ts.map +1 -0
- package/build/screens/conversation_new/components/form_list.d.ts +13 -0
- package/build/screens/conversation_new/components/form_list.d.ts.map +1 -0
- package/build/screens/conversation_new/components/form_list.js +1 -0
- package/build/screens/conversation_new/components/form_list.js.map +1 -1
- package/build/screens/conversation_new/components/gender_filter_toggle.d.ts +9 -0
- package/build/screens/conversation_new/components/gender_filter_toggle.d.ts.map +1 -0
- package/build/screens/conversation_new/components/groups_form.d.ts +10 -0
- package/build/screens/conversation_new/components/groups_form.d.ts.map +1 -0
- package/build/screens/conversation_new/components/services_form.d.ts +11 -0
- package/build/screens/conversation_new/components/services_form.d.ts.map +1 -0
- package/build/screens/conversation_new/components/source_app_error_card.d.ts +2 -0
- package/build/screens/conversation_new/components/source_app_error_card.d.ts.map +1 -0
- package/build/screens/conversation_new/conversation_new_screen.d.ts +18 -0
- package/build/screens/conversation_new/conversation_new_screen.d.ts.map +1 -0
- package/build/screens/conversation_notification_level_select_screen.d.ts +7 -0
- package/build/screens/conversation_notification_level_select_screen.d.ts.map +1 -0
- package/build/screens/conversation_screen.d.ts +28 -0
- package/build/screens/conversation_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts +8 -0
- package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts +11 -0
- package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts +7 -0
- package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/results_heading.d.ts +6 -0
- package/build/screens/conversation_select_recipients/components/results_heading.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts +8 -0
- package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts +8 -0
- package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts +3 -0
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js +1 -0
- package/build/screens/conversation_select_recipients/conversation_new_entry_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.d.ts +3 -0
- package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.js +332 -291
- package/build/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.js.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts +3 -0
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.js +1 -0
- 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 +3 -0
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts.map +1 -0
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.js +1 -0
- 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 +11 -0
- package/build/screens/conversation_select_recipients/types/screen_props.d.ts.map +1 -0
- package/build/screens/conversation_select_type_screen.d.ts +12 -0
- package/build/screens/conversation_select_type_screen.d.ts.map +1 -0
- package/build/screens/conversations/components/chat_group_badge.d.ts +4 -0
- package/build/screens/conversations/components/chat_group_badge.d.ts.map +1 -0
- package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts +2 -0
- package/build/screens/conversations/components/filter_dropdown_list_header_component.d.ts.map +1 -0
- package/build/screens/conversations/components/list_header_action_button.d.ts +19 -0
- package/build/screens/conversations/components/list_header_action_button.d.ts.map +1 -0
- package/build/screens/conversations/components/list_header_component.d.ts +2 -0
- package/build/screens/conversations/components/list_header_component.d.ts.map +1 -0
- package/build/screens/conversations/components/search_list_header_component.d.ts +2 -0
- package/build/screens/conversations/components/search_list_header_component.d.ts.map +1 -0
- package/build/screens/conversations/conversations_screen.d.ts +13 -0
- package/build/screens/conversations/conversations_screen.d.ts.map +1 -0
- package/build/screens/design_system_screen.d.ts +2 -0
- package/build/screens/design_system_screen.d.ts.map +1 -0
- package/build/screens/get_help_screen.d.ts +10 -0
- package/build/screens/get_help_screen.d.ts.map +1 -0
- package/build/screens/get_help_screen.js +56 -62
- package/build/screens/get_help_screen.js.map +1 -1
- package/build/screens/group_notification_level_select_screen.d.ts +7 -0
- package/build/screens/group_notification_level_select_screen.d.ts.map +1 -0
- package/build/screens/group_notification_settings_screen.d.ts +7 -0
- package/build/screens/group_notification_settings_screen.d.ts.map +1 -0
- package/build/screens/group_notification_settings_screen.js +3 -2
- package/build/screens/group_notification_settings_screen.js.map +1 -1
- package/build/screens/index.d.ts +25 -0
- package/build/screens/index.d.ts.map +1 -0
- package/build/screens/message_actions_screen.d.ts +12 -0
- package/build/screens/message_actions_screen.d.ts.map +1 -0
- package/build/screens/message_report/components/message_preview.d.ts +9 -0
- package/build/screens/message_report/components/message_preview.d.ts.map +1 -0
- package/build/screens/message_report/components/report_reason_list.d.ts +8 -0
- package/build/screens/message_report/components/report_reason_list.d.ts.map +1 -0
- package/build/screens/message_report_screen.d.ts +9 -0
- package/build/screens/message_report_screen.d.ts.map +1 -0
- package/build/screens/not_found.d.ts +2 -0
- package/build/screens/not_found.d.ts.map +1 -0
- package/build/screens/notification_settings/hooks/groups.d.ts +96 -0
- package/build/screens/notification_settings/hooks/groups.d.ts.map +1 -0
- package/build/screens/notification_settings_screen.d.ts +4 -0
- package/build/screens/notification_settings_screen.d.ts.map +1 -0
- package/build/screens/notification_settings_screen.js +1 -0
- package/build/screens/notification_settings_screen.js.map +1 -1
- package/build/screens/preferred_app/hooks/use_chat_types.d.ts +39 -0
- package/build/screens/preferred_app/hooks/use_chat_types.d.ts.map +1 -0
- package/build/screens/preferred_app_selection_screen.d.ts +9 -0
- package/build/screens/preferred_app_selection_screen.d.ts.map +1 -0
- package/build/screens/preferred_app_selection_screen.js +45 -39
- package/build/screens/preferred_app_selection_screen.js.map +1 -1
- package/build/screens/reactions_screen.d.ts +9 -0
- package/build/screens/reactions_screen.d.ts.map +1 -0
- package/build/screens/search/components/conversation_result_row.d.ts +8 -0
- package/build/screens/search/components/conversation_result_row.d.ts.map +1 -0
- package/build/screens/search/components/conversation_results.d.ts +8 -0
- package/build/screens/search/components/conversation_results.d.ts.map +1 -0
- package/build/screens/search/components/message_result_row.d.ts +8 -0
- package/build/screens/search/components/message_result_row.d.ts.map +1 -0
- package/build/screens/search/components/result_row.d.ts +10 -0
- package/build/screens/search/components/result_row.d.ts.map +1 -0
- package/build/screens/search/components/results_section.d.ts +9 -0
- package/build/screens/search/components/results_section.d.ts.map +1 -0
- package/build/screens/search/components/search_blank_states.d.ts +7 -0
- package/build/screens/search/components/search_blank_states.d.ts.map +1 -0
- package/build/screens/search/components/search_field.d.ts +7 -0
- package/build/screens/search/components/search_field.d.ts.map +1 -0
- package/build/screens/search/components/search_results_list.d.ts +16 -0
- package/build/screens/search/components/search_results_list.d.ts.map +1 -0
- package/build/screens/search/components/search_results_list.js +136 -110
- package/build/screens/search/components/search_results_list.js.map +1 -1
- package/build/screens/search/components/snippet.d.ts +8 -0
- package/build/screens/search/components/snippet.d.ts.map +1 -0
- package/build/screens/search/search_screen.d.ts +5 -0
- package/build/screens/search/search_screen.d.ts.map +1 -0
- package/build/screens/search/search_screen.js +21 -28
- package/build/screens/search/search_screen.js.map +1 -1
- package/build/screens/send_giphy_screen.d.ts +9 -0
- package/build/screens/send_giphy_screen.d.ts.map +1 -0
- package/build/screens/settings_screen.d.ts +4 -0
- package/build/screens/settings_screen.d.ts.map +1 -0
- package/build/screens/settings_screen.js +7 -6
- package/build/screens/settings_screen.js.map +1 -1
- package/build/screens/system_message_people_screen.d.ts +8 -0
- package/build/screens/system_message_people_screen.d.ts.map +1 -0
- package/build/screens/system_message_people_screen.js +33 -96
- package/build/screens/system_message_people_screen.js.map +1 -1
- package/build/screens/team_conversation_screen.d.ts +8 -0
- package/build/screens/team_conversation_screen.d.ts.map +1 -0
- package/build/types/api_primitives.d.ts +45 -0
- package/build/types/api_primitives.d.ts.map +1 -0
- package/build/types/index.d.ts +4 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/jolt_events/attachment_events.d.ts +14 -0
- package/build/types/jolt_events/attachment_events.d.ts.map +1 -0
- package/build/types/jolt_events/conversation_events.d.ts +42 -0
- package/build/types/jolt_events/conversation_events.d.ts.map +1 -0
- package/build/types/jolt_events/index.d.ts +14 -0
- package/build/types/jolt_events/index.d.ts.map +1 -0
- package/build/types/jolt_events/message_events.d.ts +44 -0
- package/build/types/jolt_events/message_events.d.ts.map +1 -0
- package/build/types/jolt_events/reaction_events.d.ts +27 -0
- package/build/types/jolt_events/reaction_events.d.ts.map +1 -0
- package/build/types/jolt_events/typing_events.d.ts +16 -0
- package/build/types/jolt_events/typing_events.d.ts.map +1 -0
- package/build/types/product_analytics.d.ts +6 -0
- package/build/types/product_analytics.d.ts.map +1 -0
- package/build/types/resources/analytics_metadata.d.ts +5 -0
- package/build/types/resources/analytics_metadata.d.ts.map +1 -0
- package/build/types/resources/app_grant.d.ts +8 -0
- package/build/types/resources/app_grant.d.ts.map +1 -0
- package/build/types/resources/app_name.d.ts +2 -0
- package/build/types/resources/app_name.d.ts.map +1 -0
- package/build/types/resources/chat_configuration_resource.d.ts +9 -0
- package/build/types/resources/chat_configuration_resource.d.ts.map +1 -0
- package/build/types/resources/conversation.d.ts +48 -0
- package/build/types/resources/conversation.d.ts.map +1 -0
- package/build/types/resources/conversation_badge.d.ts +12 -0
- package/build/types/resources/conversation_badge.d.ts.map +1 -0
- package/build/types/resources/conversation_membership.d.ts +16 -0
- package/build/types/resources/conversation_membership.d.ts.map +1 -0
- package/build/types/resources/conversation_validate.d.ts +10 -0
- package/build/types/resources/conversation_validate.d.ts.map +1 -0
- package/build/types/resources/denormalized_attachment_resource.d.ts +65 -0
- package/build/types/resources/denormalized_attachment_resource.d.ts.map +1 -0
- package/build/types/resources/denormalized_attachment_resource_for_create.d.ts +53 -0
- package/build/types/resources/denormalized_attachment_resource_for_create.d.ts.map +1 -0
- package/build/types/resources/direct_message_affiliations.d.ts +9 -0
- package/build/types/resources/direct_message_affiliations.d.ts.map +1 -0
- package/build/types/resources/direct_message_candidate.d.ts +13 -0
- package/build/types/resources/direct_message_candidate.d.ts.map +1 -0
- package/build/types/resources/feature_resource.d.ts +7 -0
- package/build/types/resources/feature_resource.d.ts.map +1 -0
- package/build/types/resources/group_membership.d.ts +13 -0
- package/build/types/resources/group_membership.d.ts.map +1 -0
- package/build/types/resources/group_resource.d.ts +18 -0
- package/build/types/resources/group_resource.d.ts.map +1 -0
- package/build/types/resources/groups/groups_group_resource.d.ts +15 -0
- package/build/types/resources/groups/groups_group_resource.d.ts.map +1 -0
- package/build/types/resources/groups/groups_member_resource_with_person.d.ts +15 -0
- package/build/types/resources/groups/groups_member_resource_with_person.d.ts.map +1 -0
- package/build/types/resources/groups/index.d.ts +2 -0
- package/build/types/resources/groups/index.d.ts.map +1 -0
- package/build/types/resources/index.d.ts +18 -0
- package/build/types/resources/index.d.ts.map +1 -0
- package/build/types/resources/member.d.ts +16 -0
- package/build/types/resources/member.d.ts.map +1 -0
- package/build/types/resources/member_ability.d.ts +12 -0
- package/build/types/resources/member_ability.d.ts.map +1 -0
- package/build/types/resources/message.d.ts +44 -0
- package/build/types/resources/message.d.ts.map +1 -0
- package/build/types/resources/message_report.d.ts +19 -0
- package/build/types/resources/message_report.d.ts.map +1 -0
- package/build/types/resources/oauth_token.d.ts +9 -0
- package/build/types/resources/oauth_token.d.ts.map +1 -0
- package/build/types/resources/organization.d.ts +8 -0
- package/build/types/resources/organization.d.ts.map +1 -0
- package/build/types/resources/person.d.ts +24 -0
- package/build/types/resources/person.d.ts.map +1 -0
- package/build/types/resources/reaction.d.ts +10 -0
- package/build/types/resources/reaction.d.ts.map +1 -0
- package/build/types/resources/read_receipt.d.ts +7 -0
- package/build/types/resources/read_receipt.d.ts.map +1 -0
- package/build/types/resources/search_result.d.ts +29 -0
- package/build/types/resources/search_result.d.ts.map +1 -0
- package/build/types/resources/services/chat_resource.d.ts +53 -0
- package/build/types/resources/services/chat_resource.d.ts.map +1 -0
- package/build/types/resources/services/index.d.ts +3 -0
- package/build/types/resources/services/index.d.ts.map +1 -0
- package/build/types/resources/services/team_resource.d.ts +19 -0
- package/build/types/resources/services/team_resource.d.ts.map +1 -0
- package/build/types/utils/index.d.ts +5 -0
- package/build/types/utils/index.d.ts.map +1 -0
- package/build/utils/archived_conversation.d.ts +5 -0
- package/build/utils/archived_conversation.d.ts.map +1 -0
- package/build/utils/assert_keys_are_numbers.d.ts +2 -0
- package/build/utils/assert_keys_are_numbers.d.ts.map +1 -0
- package/build/utils/attachment_kind.d.ts +5 -0
- package/build/utils/attachment_kind.d.ts.map +1 -0
- package/build/utils/auth_events.d.ts +7 -0
- package/build/utils/auth_events.d.ts.map +1 -0
- package/build/utils/cache/index.d.ts +2 -0
- package/build/utils/cache/index.d.ts.map +1 -0
- package/build/utils/cache/messages_cache.d.ts +13 -0
- package/build/utils/cache/messages_cache.d.ts.map +1 -0
- package/build/utils/cache/messages_window.d.ts +11 -0
- package/build/utils/cache/messages_window.d.ts.map +1 -0
- package/build/utils/cache/optimistically_create_message.d.ts +12 -0
- package/build/utils/cache/optimistically_create_message.d.ts.map +1 -0
- package/build/utils/cache/optimistically_update_message.d.ts +8 -0
- package/build/utils/cache/optimistically_update_message.d.ts.map +1 -0
- package/build/utils/cache/page_mutations.d.ts +96 -0
- package/build/utils/cache/page_mutations.d.ts.map +1 -0
- package/build/utils/can_submit_message.d.ts +10 -0
- package/build/utils/can_submit_message.d.ts.map +1 -0
- package/build/utils/chat_type_label.d.ts +2 -0
- package/build/utils/chat_type_label.d.ts.map +1 -0
- package/build/utils/client/client.d.ts +30 -0
- package/build/utils/client/client.d.ts.map +1 -0
- package/build/utils/client/index.d.ts +3 -0
- package/build/utils/client/index.d.ts.map +1 -0
- package/build/utils/client/instrumented_fetch.d.ts +2 -0
- package/build/utils/client/instrumented_fetch.d.ts.map +1 -0
- package/build/utils/client/request_helpers.d.ts +28 -0
- package/build/utils/client/request_helpers.d.ts.map +1 -0
- package/build/utils/client/transform_request_data.d.ts +13 -0
- package/build/utils/client/transform_request_data.d.ts.map +1 -0
- package/build/utils/client/transform_response.d.ts +3 -0
- package/build/utils/client/transform_response.d.ts.map +1 -0
- package/build/utils/client/types.d.ts +62 -0
- package/build/utils/client/types.d.ts.map +1 -0
- package/build/utils/client/utils.d.ts +5 -0
- package/build/utils/client/utils.d.ts.map +1 -0
- package/build/utils/conversation_safety_constants.d.ts +2 -0
- package/build/utils/conversation_safety_constants.d.ts.map +1 -0
- package/build/utils/convert_attachments_for_create.d.ts +12 -0
- package/build/utils/convert_attachments_for_create.d.ts.map +1 -0
- package/build/utils/date.d.ts +11 -0
- package/build/utils/date.d.ts.map +1 -0
- package/build/utils/dayjs.d.ts +3 -0
- package/build/utils/dayjs.d.ts.map +1 -0
- package/build/utils/deepCamelCaseKeys.d.ts +4 -0
- package/build/utils/deepCamelCaseKeys.d.ts.map +1 -0
- package/build/utils/deep_snake_case_keys.d.ts +4 -0
- package/build/utils/deep_snake_case_keys.d.ts.map +1 -0
- package/build/utils/destructure_chat_group_graph_id.d.ts +10 -0
- package/build/utils/destructure_chat_group_graph_id.d.ts.map +1 -0
- package/build/utils/gender_display_label.d.ts +2 -0
- package/build/utils/gender_display_label.d.ts.map +1 -0
- package/build/utils/generate_placeholder_ulid.d.ts +10 -0
- package/build/utils/generate_placeholder_ulid.d.ts.map +1 -0
- package/build/utils/group_messages.d.ts +22 -0
- package/build/utils/group_messages.d.ts.map +1 -0
- package/build/utils/host_bridge.d.ts +20 -0
- package/build/utils/host_bridge.d.ts.map +1 -0
- package/build/utils/index.d.ts +21 -0
- package/build/utils/index.d.ts.map +1 -0
- package/build/utils/is_input_editable.d.ts +6 -0
- package/build/utils/is_input_editable.d.ts.map +1 -0
- package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts +7 -0
- package/build/utils/jolt/transform_message_event_data_to_message_resource.d.ts.map +1 -0
- package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts +12 -0
- package/build/utils/jolt/transform_reaction_event_data_to_reaction_count_resource.d.ts.map +1 -0
- package/build/utils/liquid_glass.d.ts +3 -0
- package/build/utils/liquid_glass.d.ts.map +1 -0
- package/build/utils/membership_sync_info_text.d.ts +2 -0
- package/build/utils/membership_sync_info_text.d.ts.map +1 -0
- package/build/utils/message_text.d.ts +3 -0
- package/build/utils/message_text.d.ts.map +1 -0
- package/build/utils/native_adapters/audio.d.ts +14 -0
- package/build/utils/native_adapters/audio.d.ts.map +1 -0
- package/build/utils/native_adapters/clipboard.d.ts +6 -0
- package/build/utils/native_adapters/clipboard.d.ts.map +1 -0
- package/build/utils/native_adapters/configuration.d.ts +36 -0
- package/build/utils/native_adapters/configuration.d.ts.map +1 -0
- package/build/utils/native_adapters/document_picker.d.ts +28 -0
- package/build/utils/native_adapters/document_picker.d.ts.map +1 -0
- package/build/utils/native_adapters/haptic.d.ts +23 -0
- package/build/utils/native_adapters/haptic.d.ts.map +1 -0
- package/build/utils/native_adapters/image_picker.d.ts +31 -0
- package/build/utils/native_adapters/image_picker.d.ts.map +1 -0
- package/build/utils/native_adapters/index.d.ts +12 -0
- package/build/utils/native_adapters/index.d.ts.map +1 -0
- package/build/utils/native_adapters/linking.d.ts +15 -0
- package/build/utils/native_adapters/linking.d.ts.map +1 -0
- package/build/utils/native_adapters/log.d.ts +26 -0
- package/build/utils/native_adapters/log.d.ts.map +1 -0
- package/build/utils/native_adapters/menu.d.ts +40 -0
- package/build/utils/native_adapters/menu.d.ts.map +1 -0
- package/build/utils/native_adapters/storage_adapter.d.ts +17 -0
- package/build/utils/native_adapters/storage_adapter.d.ts.map +1 -0
- package/build/utils/native_adapters/video.d.ts +22 -0
- package/build/utils/native_adapters/video.d.ts.map +1 -0
- package/build/utils/package_version.d.ts +2 -0
- package/build/utils/package_version.d.ts.map +1 -0
- package/build/utils/parse_simple_markdown.d.ts +7 -0
- package/build/utils/parse_simple_markdown.d.ts.map +1 -0
- package/build/utils/performance_tracking.d.ts +26 -0
- package/build/utils/performance_tracking.d.ts.map +1 -0
- package/build/utils/pluralize.d.ts +2 -0
- package/build/utils/pluralize.d.ts.map +1 -0
- package/build/utils/reaction_constants.d.ts +3 -0
- package/build/utils/reaction_constants.d.ts.map +1 -0
- package/build/utils/replace_equal_by_id.d.ts +6 -0
- package/build/utils/replace_equal_by_id.d.ts.map +1 -0
- package/build/utils/request/conversation.d.ts +12 -0
- package/build/utils/request/conversation.d.ts.map +1 -0
- package/build/utils/request/get_chat_configuration.d.ts +10 -0
- package/build/utils/request/get_chat_configuration.d.ts.map +1 -0
- package/build/utils/request/get_features.d.ts +17 -0
- package/build/utils/request/get_features.d.ts.map +1 -0
- package/build/utils/request/get_message.d.ts +20 -0
- package/build/utils/request/get_message.d.ts.map +1 -0
- package/build/utils/request/get_messages.d.ts +21 -0
- package/build/utils/request/get_messages.d.ts.map +1 -0
- package/build/utils/request/get_search_results.d.ts +13 -0
- package/build/utils/request/get_search_results.d.ts.map +1 -0
- package/build/utils/request/messages_data_options.d.ts +7 -0
- package/build/utils/request/messages_data_options.d.ts.map +1 -0
- package/build/utils/response_error.d.ts +11 -0
- package/build/utils/response_error.d.ts.map +1 -0
- package/build/utils/session.d.ts +38 -0
- package/build/utils/session.d.ts.map +1 -0
- package/build/utils/session_manager.d.ts +21 -0
- package/build/utils/session_manager.d.ts.map +1 -0
- package/build/utils/sha_256.d.ts +31 -0
- package/build/utils/sha_256.d.ts.map +1 -0
- package/build/utils/styles.d.ts +11 -0
- package/build/utils/styles.d.ts.map +1 -0
- package/build/utils/system_messages.d.ts +17 -0
- package/build/utils/system_messages.d.ts.map +1 -0
- package/build/utils/theme.d.ts +88 -0
- package/build/utils/theme.d.ts.map +1 -0
- package/build/utils/time.d.ts +9 -0
- package/build/utils/time.d.ts.map +1 -0
- package/build/utils/upload_uri.d.ts +24 -0
- package/build/utils/upload_uri.d.ts.map +1 -0
- package/build/utils/uri.d.ts +29 -0
- package/build/utils/uri.d.ts.map +1 -0
- package/build/vendor/font_awesome_pro_solid_icons.d.ts +53 -0
- package/build/vendor/font_awesome_pro_solid_icons.d.ts.map +1 -0
- package/build/vendor/tapestry/alias_tokens_color_map.d.ts +89 -0
- package/build/vendor/tapestry/alias_tokens_color_map.d.ts.map +1 -0
- package/build/vendor/tapestry/tokens.d.ts +121 -0
- package/build/vendor/tapestry/tokens.d.ts.map +1 -0
- package/package.json +8 -12
- package/src/__tests__/utils/theme.ts +2 -5
- package/src/__utils__/render_with_query_client.tsx +13 -0
- package/src/components/conversation/__tests__/message_list.test.tsx +4 -0
- package/src/components/conversation/message_list.tsx +6 -0
- package/src/components/conversations/__tests__/conversation_preview.test.tsx +2 -2
- package/src/components/conversations/conversations.tsx +1 -0
- package/src/components/display/__tests__/conversation_avatar.test.tsx +94 -0
- package/src/components/display/conversation_avatar.tsx +9 -2
- package/src/components/display/image.tsx +10 -19
- package/src/components/display/keyboard_scroll_view.tsx +1 -0
- package/src/components/page/__tests__/page_error_boundary.test.tsx +33 -0
- package/src/components/page/page_error_boundary.tsx +43 -12
- package/src/contexts/__tests__/configured_retry.test.ts +39 -0
- package/src/contexts/api_provider.tsx +12 -5
- package/src/hooks/__tests__/use_conversation_avatar_update.test.tsx +40 -0
- package/src/hooks/__tests__/use_system_message_people.test.tsx +79 -0
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use_conversation_avatar_update.ts +67 -11
- package/src/hooks/use_system_message_people.ts +55 -0
- package/src/navigation/index.tsx +6 -2
- package/src/navigation/page_error_fallbacks.ts +14 -0
- package/src/navigation/screenLayout.tsx +3 -1
- package/src/screens/age_check/age_check_required_screen.tsx +5 -1
- package/src/screens/avatar_picker/__tests__/avatar_picker_screen.test.tsx +67 -0
- package/src/screens/avatar_picker/avatar_picker_screen.tsx +7 -1
- package/src/screens/conversation_details_screen.tsx +1 -0
- package/src/screens/conversation_new/components/form_list.tsx +1 -0
- package/src/screens/conversation_select_recipients/__tests__/conversation_select_direct_message_recipients_screen.test.tsx +100 -0
- package/src/screens/conversation_select_recipients/conversation_new_entry_screen.tsx +4 -1
- package/src/screens/conversation_select_recipients/conversation_select_direct_message_recipients_screen.tsx +78 -68
- package/src/screens/conversation_select_recipients/conversation_select_group_recipients_screen.tsx +1 -0
- package/src/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.tsx +1 -0
- package/src/screens/get_help_screen.tsx +4 -4
- package/src/screens/group_notification_settings_screen.tsx +3 -3
- package/src/screens/notification_settings_screen.tsx +1 -0
- package/src/screens/preferred_app_selection_screen.tsx +4 -4
- package/src/screens/search/__tests__/search_screen.test.tsx +11 -12
- package/src/screens/search/components/__tests__/conversation_results.test.tsx +14 -5
- package/src/screens/search/components/__tests__/message_result_row.test.tsx +5 -4
- package/src/screens/search/components/__tests__/search_results_list.test.tsx +10 -5
- package/src/screens/search/components/search_results_list.tsx +34 -13
- package/src/screens/search/search_screen.tsx +8 -18
- package/src/screens/settings_screen.tsx +25 -25
- package/src/screens/system_message_people_screen.tsx +6 -20
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { c as _c } from "react/compiler-runtime";
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { applyAvatarUpdate, usePendingConversationAvatarUpdate } from '../../hooks/use_conversation_avatar_update';
|
|
3
4
|
import AvatarPrimitive from '../primitive/avatar_primitive';
|
|
4
5
|
import { AvatarGroup } from './avatar_group';
|
|
5
6
|
import { EmojiAvatar } from './emoji_avatar';
|
|
@@ -32,7 +33,7 @@ function resolveAvatar(conversation) {
|
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
35
|
export function ConversationAvatar(t0) {
|
|
35
|
-
const $ = _c(
|
|
36
|
+
const $ = _c(29);
|
|
36
37
|
const {
|
|
37
38
|
conversation,
|
|
38
39
|
size: t1,
|
|
@@ -44,123 +45,133 @@ export function ConversationAvatar(t0) {
|
|
|
44
45
|
const size = t1 === undefined ? "lg" : t1;
|
|
45
46
|
const showFallback = t2 === undefined ? false : t2;
|
|
46
47
|
const fallbackIconName = t3 === undefined ? "general.person" : t3;
|
|
48
|
+
const pendingUpdate = usePendingConversationAvatarUpdate(conversation.id);
|
|
47
49
|
let t4;
|
|
48
|
-
if ($[0] !== conversation) {
|
|
49
|
-
t4 =
|
|
50
|
+
if ($[0] !== conversation || $[1] !== pendingUpdate) {
|
|
51
|
+
t4 = pendingUpdate ? applyAvatarUpdate(conversation, pendingUpdate) : conversation;
|
|
50
52
|
$[0] = conversation;
|
|
51
|
-
$[1] =
|
|
53
|
+
$[1] = pendingUpdate;
|
|
54
|
+
$[2] = t4;
|
|
52
55
|
} else {
|
|
53
|
-
t4 = $[
|
|
56
|
+
t4 = $[2];
|
|
54
57
|
}
|
|
55
|
-
const avatar = t4;
|
|
56
58
|
let t5;
|
|
57
|
-
if ($[
|
|
58
|
-
t5 =
|
|
59
|
+
if ($[3] !== t4) {
|
|
60
|
+
t5 = resolveAvatar(t4);
|
|
61
|
+
$[3] = t4;
|
|
62
|
+
$[4] = t5;
|
|
63
|
+
} else {
|
|
64
|
+
t5 = $[4];
|
|
65
|
+
}
|
|
66
|
+
const avatar = t5;
|
|
67
|
+
let t6;
|
|
68
|
+
if ($[5] !== maxFontSizeMultiplier || $[6] !== size || $[7] !== style) {
|
|
69
|
+
t6 = {
|
|
59
70
|
size,
|
|
60
71
|
maxFontSizeMultiplier,
|
|
61
72
|
style
|
|
62
73
|
};
|
|
63
|
-
$[
|
|
64
|
-
$[
|
|
65
|
-
$[
|
|
66
|
-
$[
|
|
74
|
+
$[5] = maxFontSizeMultiplier;
|
|
75
|
+
$[6] = size;
|
|
76
|
+
$[7] = style;
|
|
77
|
+
$[8] = t6;
|
|
67
78
|
} else {
|
|
68
|
-
|
|
79
|
+
t6 = $[8];
|
|
69
80
|
}
|
|
70
|
-
const sizeProps =
|
|
81
|
+
const sizeProps = t6;
|
|
71
82
|
switch (avatar.kind) {
|
|
72
83
|
case "image":
|
|
73
84
|
{
|
|
74
|
-
let
|
|
75
|
-
if ($[
|
|
76
|
-
|
|
85
|
+
let t7;
|
|
86
|
+
if ($[9] !== avatar.url) {
|
|
87
|
+
t7 = /*#__PURE__*/_jsx(AvatarPrimitive.Mask, {
|
|
77
88
|
children: /*#__PURE__*/_jsx(AvatarPrimitive.Image, {
|
|
78
89
|
sourceUri: avatar.url
|
|
79
90
|
})
|
|
80
91
|
});
|
|
81
|
-
$[
|
|
82
|
-
$[
|
|
92
|
+
$[9] = avatar.url;
|
|
93
|
+
$[10] = t7;
|
|
83
94
|
} else {
|
|
84
|
-
|
|
95
|
+
t7 = $[10];
|
|
85
96
|
}
|
|
86
|
-
let
|
|
87
|
-
if ($[
|
|
88
|
-
|
|
97
|
+
let t8;
|
|
98
|
+
if ($[11] !== sizeProps || $[12] !== t7) {
|
|
99
|
+
t8 = /*#__PURE__*/_jsx(AvatarPrimitive.Root, {
|
|
89
100
|
...sizeProps,
|
|
90
|
-
children:
|
|
101
|
+
children: t7
|
|
91
102
|
});
|
|
92
|
-
$[
|
|
93
|
-
$[
|
|
94
|
-
$[
|
|
103
|
+
$[11] = sizeProps;
|
|
104
|
+
$[12] = t7;
|
|
105
|
+
$[13] = t8;
|
|
95
106
|
} else {
|
|
96
|
-
|
|
107
|
+
t8 = $[13];
|
|
97
108
|
}
|
|
98
|
-
return
|
|
109
|
+
return t8;
|
|
99
110
|
}
|
|
100
111
|
case "icon":
|
|
101
112
|
{
|
|
102
|
-
let
|
|
103
|
-
if ($[
|
|
104
|
-
|
|
113
|
+
let t7;
|
|
114
|
+
if ($[14] !== avatar.color || $[15] !== avatar.iconKey || $[16] !== sizeProps) {
|
|
115
|
+
t7 = /*#__PURE__*/_jsx(IconAvatar, {
|
|
105
116
|
iconKey: avatar.iconKey,
|
|
106
117
|
color: avatar.color,
|
|
107
118
|
...sizeProps
|
|
108
119
|
});
|
|
109
|
-
$[
|
|
110
|
-
$[
|
|
111
|
-
$[
|
|
112
|
-
$[
|
|
120
|
+
$[14] = avatar.color;
|
|
121
|
+
$[15] = avatar.iconKey;
|
|
122
|
+
$[16] = sizeProps;
|
|
123
|
+
$[17] = t7;
|
|
113
124
|
} else {
|
|
114
|
-
|
|
125
|
+
t7 = $[17];
|
|
115
126
|
}
|
|
116
|
-
return
|
|
127
|
+
return t7;
|
|
117
128
|
}
|
|
118
129
|
case "emoji":
|
|
119
130
|
{
|
|
120
|
-
let
|
|
121
|
-
if ($[
|
|
122
|
-
|
|
131
|
+
let t7;
|
|
132
|
+
if ($[18] !== avatar.color || $[19] !== avatar.emoji || $[20] !== sizeProps) {
|
|
133
|
+
t7 = /*#__PURE__*/_jsx(EmojiAvatar, {
|
|
123
134
|
emoji: avatar.emoji,
|
|
124
135
|
color: avatar.color,
|
|
125
136
|
...sizeProps
|
|
126
137
|
});
|
|
127
|
-
$[
|
|
128
|
-
$[
|
|
129
|
-
$[
|
|
130
|
-
$[
|
|
138
|
+
$[18] = avatar.color;
|
|
139
|
+
$[19] = avatar.emoji;
|
|
140
|
+
$[20] = sizeProps;
|
|
141
|
+
$[21] = t7;
|
|
131
142
|
} else {
|
|
132
|
-
|
|
143
|
+
t7 = $[21];
|
|
133
144
|
}
|
|
134
|
-
return
|
|
145
|
+
return t7;
|
|
135
146
|
}
|
|
136
147
|
case "group":
|
|
137
148
|
{
|
|
138
|
-
let
|
|
139
|
-
if ($[
|
|
140
|
-
|
|
141
|
-
$[
|
|
142
|
-
$[
|
|
149
|
+
let t7;
|
|
150
|
+
if ($[22] !== avatar.sources) {
|
|
151
|
+
t7 = avatar.sources || [];
|
|
152
|
+
$[22] = avatar.sources;
|
|
153
|
+
$[23] = t7;
|
|
143
154
|
} else {
|
|
144
|
-
|
|
155
|
+
t7 = $[23];
|
|
145
156
|
}
|
|
146
|
-
const
|
|
147
|
-
let
|
|
148
|
-
if ($[
|
|
149
|
-
|
|
150
|
-
sourceUris:
|
|
151
|
-
showFallback:
|
|
157
|
+
const t8 = showFallback || !avatar.sources || avatar.sources.length === 0;
|
|
158
|
+
let t9;
|
|
159
|
+
if ($[24] !== fallbackIconName || $[25] !== sizeProps || $[26] !== t7 || $[27] !== t8) {
|
|
160
|
+
t9 = /*#__PURE__*/_jsx(AvatarGroup, {
|
|
161
|
+
sourceUris: t7,
|
|
162
|
+
showFallback: t8,
|
|
152
163
|
fallbackIconName: fallbackIconName,
|
|
153
164
|
...sizeProps
|
|
154
165
|
});
|
|
155
|
-
$[
|
|
156
|
-
$[
|
|
157
|
-
$[
|
|
158
|
-
$[
|
|
159
|
-
$[
|
|
166
|
+
$[24] = fallbackIconName;
|
|
167
|
+
$[25] = sizeProps;
|
|
168
|
+
$[26] = t7;
|
|
169
|
+
$[27] = t8;
|
|
170
|
+
$[28] = t9;
|
|
160
171
|
} else {
|
|
161
|
-
|
|
172
|
+
t9 = $[28];
|
|
162
173
|
}
|
|
163
|
-
return
|
|
174
|
+
return t9;
|
|
164
175
|
}
|
|
165
176
|
}
|
|
166
177
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation_avatar.js","names":["React","AvatarPrimitive","AvatarGroup","EmojiAvatar","IconAvatar","jsx","_jsx","resolveAvatar","conversation","customAvatarType","customAvatarImageUrl","kind","url","customAvatarKey","iconKey","color","customAvatarColor","emoji","sources","previewAvatarUrls","ConversationAvatar","t0","$","_c","size","t1","showFallback","t2","fallbackIconName","t3","style","maxFontSizeMultiplier","undefined","t4","avatar","
|
|
1
|
+
{"version":3,"file":"conversation_avatar.js","names":["React","applyAvatarUpdate","usePendingConversationAvatarUpdate","AvatarPrimitive","AvatarGroup","EmojiAvatar","IconAvatar","jsx","_jsx","resolveAvatar","conversation","customAvatarType","customAvatarImageUrl","kind","url","customAvatarKey","iconKey","color","customAvatarColor","emoji","sources","previewAvatarUrls","ConversationAvatar","t0","$","_c","size","t1","showFallback","t2","fallbackIconName","t3","style","maxFontSizeMultiplier","undefined","pendingUpdate","id","t4","t5","avatar","t6","sizeProps","t7","Mask","children","Image","sourceUri","t8","Root","length","t9","sourceUris"],"sources":["../../../src/components/display/conversation_avatar.tsx"],"sourcesContent":["import React from 'react'\nimport type { ViewStyle } from 'react-native'\nimport {\n applyAvatarUpdate,\n usePendingConversationAvatarUpdate,\n} from '../../hooks/use_conversation_avatar_update'\nimport type { ConversationAvatarData } from '../../types'\nimport AvatarPrimitive, { type AvatarRootProps } from '../primitive/avatar_primitive'\nimport { AvatarGroup } from './avatar_group'\nimport { EmojiAvatar } from './emoji_avatar'\nimport { type IconString } from './icon'\nimport { IconAvatar } from './icon_avatar'\n\ntype ResolvedAvatar =\n | { kind: 'image'; url: string }\n | { kind: 'icon'; iconKey: string; color: string | null }\n | { kind: 'emoji'; emoji: string; color: string | null }\n | { kind: 'group'; sources: string[] | undefined }\n\nfunction resolveAvatar(conversation: ConversationAvatarData): ResolvedAvatar {\n if (conversation.customAvatarType === 'image' && conversation.customAvatarImageUrl) {\n return { kind: 'image', url: conversation.customAvatarImageUrl }\n }\n\n if (conversation.customAvatarType === 'icon' && conversation.customAvatarKey) {\n return {\n kind: 'icon',\n iconKey: conversation.customAvatarKey,\n color: conversation.customAvatarColor ?? null,\n }\n }\n\n if (conversation.customAvatarType === 'emoji' && conversation.customAvatarKey) {\n return {\n kind: 'emoji',\n emoji: conversation.customAvatarKey,\n color: conversation.customAvatarColor ?? null,\n }\n }\n\n return { kind: 'group', sources: conversation.previewAvatarUrls }\n}\n\ninterface ConversationAvatarProps {\n conversation: ConversationAvatarData & { id?: number }\n size?: AvatarRootProps['size']\n showFallback?: boolean\n fallbackIconName?: IconString\n style?: ViewStyle\n maxFontSizeMultiplier?: AvatarRootProps['maxFontSizeMultiplier']\n}\n\nexport function ConversationAvatar({\n conversation,\n size = 'lg',\n showFallback = false,\n fallbackIconName = 'general.person',\n style,\n maxFontSizeMultiplier,\n}: ConversationAvatarProps) {\n const pendingUpdate = usePendingConversationAvatarUpdate(conversation.id)\n const avatar = resolveAvatar(\n pendingUpdate ? applyAvatarUpdate(conversation, pendingUpdate) : conversation\n )\n const sizeProps = { size, maxFontSizeMultiplier, style }\n\n switch (avatar.kind) {\n case 'image':\n return (\n <AvatarPrimitive.Root {...sizeProps}>\n <AvatarPrimitive.Mask>\n <AvatarPrimitive.Image sourceUri={avatar.url} />\n </AvatarPrimitive.Mask>\n </AvatarPrimitive.Root>\n )\n case 'icon':\n return <IconAvatar iconKey={avatar.iconKey} color={avatar.color} {...sizeProps} />\n case 'emoji':\n return <EmojiAvatar emoji={avatar.emoji} color={avatar.color} {...sizeProps} />\n case 'group':\n return (\n <AvatarGroup\n sourceUris={avatar.sources || []}\n showFallback={showFallback || !avatar.sources || avatar.sources.length === 0}\n fallbackIconName={fallbackIconName}\n {...sizeProps}\n />\n )\n }\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type AvatarRootProps } from '../primitive/avatar_primitive';
|
|
2
|
+
interface EmojiAvatarProps {
|
|
3
|
+
emoji: string;
|
|
4
|
+
color?: string | null;
|
|
5
|
+
size?: AvatarRootProps['size'];
|
|
6
|
+
maxFontSizeMultiplier?: AvatarRootProps['maxFontSizeMultiplier'];
|
|
7
|
+
style?: AvatarRootProps['style'];
|
|
8
|
+
}
|
|
9
|
+
export declare function EmojiAvatar({ emoji, color, size, maxFontSizeMultiplier, style, }: EmojiAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=emoji_avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emoji_avatar.d.ts","sourceRoot":"","sources":["../../../src/components/display/emoji_avatar.tsx"],"names":[],"mappings":"AAGA,OAAwB,EACtB,KAAK,eAAe,EAErB,MAAM,+BAA+B,CAAA;AAYtC,UAAU,gBAAgB;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,qBAAqB,CAAC,EAAE,eAAe,CAAC,uBAAuB,CAAC,CAAA;IAChE,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;CACjC;AAED,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,KAAK,EACL,IAAW,EACX,qBAAqB,EACrB,KAAK,GACN,EAAE,gBAAgB,2CAgBlB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface FileAttachmentPreviewProps {
|
|
2
|
+
name: string;
|
|
3
|
+
contentType?: string;
|
|
4
|
+
onRemovePress: () => void;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
error?: boolean;
|
|
7
|
+
hideRemoveButton?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const FileAttachmentPreview: ({ name, contentType, onRemovePress, loading, error, hideRemoveButton, }: FileAttachmentPreviewProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=file_attachment_preview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file_attachment_preview.d.ts","sourceRoot":"","sources":["../../../src/components/display/file_attachment_preview.tsx"],"names":[],"mappings":"AAUA,UAAU,0BAA0B;IAClC,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B;AAED,eAAO,MAAM,qBAAqB,GAAI,yEAOnC,0BAA0B,4CA2C5B,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { LayoutChangeEvent } from 'react-native';
|
|
2
|
+
export interface FilterDropdownOption {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export interface FilterDropdownProps {
|
|
7
|
+
options: FilterDropdownOption[];
|
|
8
|
+
selectedId: string;
|
|
9
|
+
onSelect: (id: string) => void;
|
|
10
|
+
onMoreFilters: () => void;
|
|
11
|
+
triggerLabel: string;
|
|
12
|
+
showMoreFilters?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Widest the trigger may render, in points. Hosts that measure the trigger at its intrinsic
|
|
15
|
+
* width need this for the label to truncate.
|
|
16
|
+
*/
|
|
17
|
+
maxWidth?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare function FilterDropdown({ options, selectedId, onSelect, onMoreFilters, triggerLabel, showMoreFilters, maxWidth, }: FilterDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export interface FilterDropdownTriggerProps {
|
|
21
|
+
label: string;
|
|
22
|
+
maxWidth?: number;
|
|
23
|
+
accessible?: boolean;
|
|
24
|
+
accessibilityRole?: 'button';
|
|
25
|
+
accessibilityHint?: string;
|
|
26
|
+
accessibilityElementsHidden?: boolean;
|
|
27
|
+
importantForAccessibility?: 'no-hide-descendants';
|
|
28
|
+
onLayout?: (event: LayoutChangeEvent) => void;
|
|
29
|
+
testID?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* The label and chevron the dropdown opens from. Exported so a screen can render a hidden copy
|
|
33
|
+
* to measure how wide a label is at the current font scale.
|
|
34
|
+
*/
|
|
35
|
+
export declare function FilterDropdownTrigger({ label, maxWidth, ...viewProps }: FilterDropdownTriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
//# sourceMappingURL=filter_dropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filter_dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/display/filter_dropdown.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAoB,MAAM,cAAc,CAAA;AAyBlE,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,oBAAoB,EAAE,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9B,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,UAAU,EACV,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,eAAsB,EACtB,QAAQ,GACT,EAAE,mBAAmB,2CAoCrB;AAMD,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,QAAQ,CAAA;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,2BAA2B,CAAC,EAAE,OAAO,CAAA;IACrC,yBAAyB,CAAC,EAAE,qBAAqB,CAAA;IACjD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAA;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,KAAK,EACL,QAAQ,EACR,GAAG,SAAS,EACb,EAAE,0BAA0B,2CAoB5B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TextProps as ReactNativeTextProps } from 'react-native';
|
|
2
|
+
export interface HeadingProps extends ReactNativeTextProps {
|
|
3
|
+
/**
|
|
4
|
+
* Changes the styles and size of the text.
|
|
5
|
+
* Semantically all React Native headings have the same 'hierarchical' level.
|
|
6
|
+
*/
|
|
7
|
+
variant?: 'h1' | 'h2' | 'h3' | 'h4';
|
|
8
|
+
}
|
|
9
|
+
export declare function Heading({ style, variant, children, ...props }: HeadingProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=heading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.d.ts","sourceRoot":"","sources":["../../../src/components/display/heading.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,SAAS,IAAI,oBAAoB,EAClC,MAAM,cAAc,CAAA;AASrB,MAAM,WAAW,YAAa,SAAQ,oBAAoB;IACxD;;;OAGG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CACpC;AAED,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,OAAc,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,YAAY,2CAkBlF"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as accounts from '@planningcenter/icons/paths/accounts';
|
|
2
|
+
import * as api from '@planningcenter/icons/paths/api';
|
|
3
|
+
import * as brand from '@planningcenter/icons/paths/brand';
|
|
4
|
+
import * as calendar from '@planningcenter/icons/paths/calendar';
|
|
5
|
+
import * as chat from '@planningcenter/icons/paths/chat';
|
|
6
|
+
import * as churchCenter from '@planningcenter/icons/paths/church-center';
|
|
7
|
+
import * as general from '@planningcenter/icons/paths/general';
|
|
8
|
+
import * as groups from '@planningcenter/icons/paths/groups';
|
|
9
|
+
import * as logomark from '@planningcenter/icons/paths/logomark';
|
|
10
|
+
import * as people from '@planningcenter/icons/paths/people';
|
|
11
|
+
import * as publishing from '@planningcenter/icons/paths/publishing';
|
|
12
|
+
import * as registrations from '@planningcenter/icons/paths/registrations';
|
|
13
|
+
import * as services from '@planningcenter/icons/paths/services';
|
|
14
|
+
import type { ColorValue, StyleProp, ViewStyle } from 'react-native';
|
|
15
|
+
import type { XmlProps } from 'react-native-svg';
|
|
16
|
+
declare const ICONS: {
|
|
17
|
+
readonly accounts: typeof accounts;
|
|
18
|
+
readonly api: typeof api;
|
|
19
|
+
readonly brand: typeof brand;
|
|
20
|
+
readonly calendar: typeof calendar;
|
|
21
|
+
readonly chat: typeof chat;
|
|
22
|
+
readonly churchCenter: typeof churchCenter;
|
|
23
|
+
readonly general: typeof general;
|
|
24
|
+
readonly groups: typeof groups;
|
|
25
|
+
readonly logomark: typeof logomark;
|
|
26
|
+
readonly people: typeof people;
|
|
27
|
+
readonly services: typeof services;
|
|
28
|
+
readonly publishing: typeof publishing;
|
|
29
|
+
readonly registrations: typeof registrations;
|
|
30
|
+
};
|
|
31
|
+
export type IconStyle = ViewStyle & {
|
|
32
|
+
fontSize?: number;
|
|
33
|
+
color?: string;
|
|
34
|
+
};
|
|
35
|
+
export type IconSetName = keyof typeof ICONS;
|
|
36
|
+
type IconName<T extends IconSetName> = keyof (typeof ICONS)[T] & string;
|
|
37
|
+
export type IconString = `accounts.${IconName<'accounts'>}` | `api.${IconName<'api'>}` | `brand.${IconName<'brand'>}` | `calendar.${IconName<'calendar'>}` | `chat.${IconName<'chat'>}` | `churchCenter.${IconName<'churchCenter'>}` | `general.${IconName<'general'>}` | `groups.${IconName<'groups'>}` | `logomark.${IconName<'logomark'>}` | `people.${IconName<'people'>}` | `services.${IconName<'services'>}` | `publishing.${IconName<'publishing'>}` | `registrations.${IconName<'registrations'>}`;
|
|
38
|
+
export interface IconProps extends Omit<XmlProps, 'xml' | 'fontSize'> {
|
|
39
|
+
/**
|
|
40
|
+
* Made up of the set.iconName.
|
|
41
|
+
* Example: "general.textMessage"
|
|
42
|
+
*/
|
|
43
|
+
name: IconString;
|
|
44
|
+
/**
|
|
45
|
+
* This sets a static size for the icon.
|
|
46
|
+
* Providing a fontSize style will allow the icon to scale with the device's text a11y size.
|
|
47
|
+
*/
|
|
48
|
+
size?: number;
|
|
49
|
+
/**
|
|
50
|
+
* Specifies the maximum size a font can reach when allowFontScaling is enabled.
|
|
51
|
+
*/
|
|
52
|
+
maxFontSizeMultiplier?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Changes the color of the icon. Most cases should use a theme color to support light/dark mode.
|
|
55
|
+
*/
|
|
56
|
+
color?: ColorValue;
|
|
57
|
+
/**
|
|
58
|
+
* Icon can handle ViewStyle, color, and fontSize.
|
|
59
|
+
*/
|
|
60
|
+
style?: StyleProp<IconStyle>;
|
|
61
|
+
}
|
|
62
|
+
export declare function Icon({ color, name, size, style, accessibilityElementsHidden, accessibilityLabel, maxFontSizeMultiplier, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/display/icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAA;AAChE,OAAO,KAAK,GAAG,MAAM,iCAAiC,CAAA;AACtD,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAA;AAC1D,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAA;AAChE,OAAO,KAAK,IAAI,MAAM,kCAAkC,CAAA;AACxD,OAAO,KAAK,YAAY,MAAM,2CAA2C,CAAA;AACzE,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAA;AAC9D,OAAO,KAAK,MAAM,MAAM,oCAAoC,CAAA;AAC5D,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAA;AAChE,OAAO,KAAK,MAAM,MAAM,oCAAoC,CAAA;AAC5D,OAAO,KAAK,UAAU,MAAM,wCAAwC,CAAA;AACpE,OAAO,KAAK,aAAa,MAAM,2CAA2C,CAAA;AAC1E,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAA;AAEhE,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAEpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAUhD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;CAcD,CAAA;AAEV,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,KAAK,CAAA;AAE5C,KAAK,QAAQ,CAAC,CAAC,SAAS,WAAW,IAAI,MAAM,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAA;AAEvE,MAAM,MAAM,UAAU,GAClB,YAAY,QAAQ,CAAC,UAAU,CAAC,EAAE,GAClC,OAAO,QAAQ,CAAC,KAAK,CAAC,EAAE,GACxB,SAAS,QAAQ,CAAC,OAAO,CAAC,EAAE,GAC5B,YAAY,QAAQ,CAAC,UAAU,CAAC,EAAE,GAClC,QAAQ,QAAQ,CAAC,MAAM,CAAC,EAAE,GAC1B,gBAAgB,QAAQ,CAAC,cAAc,CAAC,EAAE,GAC1C,WAAW,QAAQ,CAAC,SAAS,CAAC,EAAE,GAChC,UAAU,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAC9B,YAAY,QAAQ,CAAC,UAAU,CAAC,EAAE,GAClC,UAAU,QAAQ,CAAC,QAAQ,CAAC,EAAE,GAC9B,YAAY,QAAQ,CAAC,UAAU,CAAC,EAAE,GAClC,cAAc,QAAQ,CAAC,YAAY,CAAC,EAAE,GACtC,iBAAiB,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAA;AAMhD,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,EAAE,KAAK,GAAG,UAAU,CAAC;IACnE;;;OAGG;IACH,IAAI,EAAE,UAAU,CAAA;IAChB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAA;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED,wBAAgB,IAAI,CAAC,EACnB,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,2BAA2B,EAC3B,kBAAkB,EAClB,qBAAqB,EACrB,GAAG,KAAK,EACT,EAAE,SAAS,2CA0BX"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type AvatarRootProps } from '../primitive/avatar_primitive';
|
|
2
|
+
interface IconAvatarProps {
|
|
3
|
+
iconKey: string;
|
|
4
|
+
color?: string | null;
|
|
5
|
+
size?: AvatarRootProps['size'];
|
|
6
|
+
maxFontSizeMultiplier?: AvatarRootProps['maxFontSizeMultiplier'];
|
|
7
|
+
style?: AvatarRootProps['style'];
|
|
8
|
+
}
|
|
9
|
+
export declare function IconAvatar({ iconKey, color, size, maxFontSizeMultiplier, style, }: IconAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=icon_avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon_avatar.d.ts","sourceRoot":"","sources":["../../../src/components/display/icon_avatar.tsx"],"names":[],"mappings":"AASA,OAAwB,EACtB,KAAK,eAAe,EAErB,MAAM,+BAA+B,CAAA;AAYtC,UAAU,eAAe;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,qBAAqB,CAAC,EAAE,eAAe,CAAC,uBAAuB,CAAC,CAAA;IAChE,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;CACjC;AAMD,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,KAAK,EACL,IAAW,EACX,qBAAqB,EACrB,KAAK,GACN,EAAE,eAAe,2CA6BjB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type StyleProp } from 'react-native';
|
|
2
|
+
import type { PressableProps, ViewStyle } from 'react-native';
|
|
3
|
+
import type { IconProps, IconString } from './icon';
|
|
4
|
+
import type { IconButtonAppearanceUnion } from './utils/button_colors';
|
|
5
|
+
declare const SIZES: {
|
|
6
|
+
readonly xxxs: "xxxs";
|
|
7
|
+
readonly xxs: "xxs";
|
|
8
|
+
readonly xs: "xs";
|
|
9
|
+
readonly sm: "sm";
|
|
10
|
+
readonly md: "md";
|
|
11
|
+
readonly lg: "lg";
|
|
12
|
+
readonly xl: "xl";
|
|
13
|
+
readonly xxl: "xxl";
|
|
14
|
+
readonly xxxl: "xxxl";
|
|
15
|
+
};
|
|
16
|
+
type SizeUnion = (typeof SIZES)[keyof typeof SIZES];
|
|
17
|
+
interface IconButtonProps extends PressableProps {
|
|
18
|
+
/**
|
|
19
|
+
* Provides context to screen readers about what the button does.
|
|
20
|
+
* This is required as Icons don't inherently provide non-visual context like text does.
|
|
21
|
+
*/
|
|
22
|
+
accessibilityLabel: string;
|
|
23
|
+
/**
|
|
24
|
+
* Updates the icon's colors. Defaults to 'neutral'.
|
|
25
|
+
*/
|
|
26
|
+
appearance?: IconButtonAppearanceUnion;
|
|
27
|
+
/**
|
|
28
|
+
* Styles the icon itself.
|
|
29
|
+
* `fontSize` allows for a custom size that also responds to the device's text scale.
|
|
30
|
+
* `color` changes the color of the icon.
|
|
31
|
+
*/
|
|
32
|
+
iconStyle?: IconProps['style'];
|
|
33
|
+
/**
|
|
34
|
+
* Disables the button and replaces its content with a spinner
|
|
35
|
+
*/
|
|
36
|
+
loading?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the maximum size a font can reach when allowFontScaling is enabled.
|
|
39
|
+
*/
|
|
40
|
+
maxFontSizeMultiplier?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Generates an icon from `@planningcenter/icons`
|
|
43
|
+
*/
|
|
44
|
+
name: IconString;
|
|
45
|
+
/**
|
|
46
|
+
* Changes the overall size of the button and its contents
|
|
47
|
+
*/
|
|
48
|
+
size?: SizeUnion;
|
|
49
|
+
/**
|
|
50
|
+
* Styles the `Pressable` wrapper
|
|
51
|
+
*/
|
|
52
|
+
style?: StyleProp<ViewStyle>;
|
|
53
|
+
}
|
|
54
|
+
export declare function IconButton({ accessibilityLabel, appearance, disabled, iconStyle, loading, maxFontSizeMultiplier, name, size, style, ...props }: IconButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export {};
|
|
56
|
+
//# sourceMappingURL=icon_button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon_button.d.ts","sourceRoot":"","sources":["../../../src/components/display/icon_button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AACpE,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAI7D,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AAGnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAMtE,QAAA,MAAM,KAAK;;;;;;;;;;CAUD,CAAA;AAEV,KAAK,SAAS,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,OAAO,KAAK,CAAC,CAAA;AAmBnD,UAAU,eAAgB,SAAQ,cAAc;IAC9C;;;OAGG;IACH,kBAAkB,EAAE,MAAM,CAAA;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,yBAAyB,CAAA;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAA;IAChB;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED,wBAAgB,UAAU,CAAC,EACzB,kBAAkB,EAClB,UAAsB,EACtB,QAAgB,EAChB,SAAS,EACT,OAAO,EACP,qBAAqB,EACrB,IAAI,EACJ,IAAW,EACX,KAAK,EACL,GAAG,KAAK,EACT,EAAE,eAAe,2CAoEjB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
2
|
+
import { type AvatarRootProps } from '../primitive/avatar_primitive';
|
|
3
|
+
interface IconTileProps {
|
|
4
|
+
icon: IconDefinition;
|
|
5
|
+
shape: 'circle' | 'square';
|
|
6
|
+
size?: AvatarRootProps['size'];
|
|
7
|
+
maxFontSizeMultiplier?: AvatarRootProps['maxFontSizeMultiplier'];
|
|
8
|
+
style?: AvatarRootProps['style'];
|
|
9
|
+
testID?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function IconTile({ icon, shape, size, maxFontSizeMultiplier, style, testID, }: IconTileProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=icon_tile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon_tile.d.ts","sourceRoot":"","sources":["../../../src/components/display/icon_tile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAA;AAMvE,OAAwB,EAAE,KAAK,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAKrF,UAAU,aAAa;IACrB,IAAI,EAAE,cAAc,CAAA;IACpB,KAAK,EAAE,QAAQ,GAAG,QAAQ,CAAA;IAC1B,IAAI,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;IAC9B,qBAAqB,CAAC,EAAE,eAAe,CAAC,uBAAuB,CAAC,CAAA;IAChE,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,IAAW,EACX,qBAAgD,EAChD,KAAK,EACL,MAAM,GACP,EAAE,aAAa,2CAmBf"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ImageStyle, ImageProps as ReactNativeImageProps, ViewStyle } from 'react-native';
|
|
2
|
+
import { AnimatedStyle } from 'react-native-reanimated';
|
|
3
|
+
export interface ImageProps extends ReactNativeImageProps {
|
|
4
|
+
/**
|
|
5
|
+
* Describes the image to screen-readers and marks the image as `accessible`.
|
|
6
|
+
* Passing an empty string will hide the image from screen-readers.
|
|
7
|
+
*/
|
|
8
|
+
alt: string;
|
|
9
|
+
/**
|
|
10
|
+
* Shows the image's loading spinner right away. Enabled by default.
|
|
11
|
+
*/
|
|
12
|
+
defaultLoading?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Externally controls the loading state of the image.
|
|
15
|
+
*/
|
|
16
|
+
loading?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Hide the loading spinner, regardless of the loading state.
|
|
19
|
+
*/
|
|
20
|
+
hideLoader?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Size of the loading spinner.
|
|
23
|
+
*/
|
|
24
|
+
loaderSize?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Style object for the preload background.
|
|
27
|
+
*/
|
|
28
|
+
loadingBackgroundStyles?: ViewStyle;
|
|
29
|
+
/**
|
|
30
|
+
* Style the outer View of the image.
|
|
31
|
+
*/
|
|
32
|
+
wrapperStyle?: ViewStyle;
|
|
33
|
+
/**
|
|
34
|
+
* Style the image if animated.
|
|
35
|
+
*/
|
|
36
|
+
animatedImageStyle?: AnimatedStyle<ImageStyle>;
|
|
37
|
+
}
|
|
38
|
+
export declare function Image({ source, onLoad, defaultLoading, loading, hideLoader, loaderSize, loadingBackgroundStyles, style, wrapperStyle, alt, animatedImageStyle, ...props }: ImageProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
//# sourceMappingURL=image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/display/image.tsx"],"names":[],"mappings":"AAEA,OAAO,EAGL,UAAU,EAEV,UAAU,IAAI,qBAAqB,EAGnC,SAAS,EACV,MAAM,cAAc,CAAA;AACrB,OAAiB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AAQjE,MAAM,WAAW,UAAW,SAAQ,qBAAqB;IACvD;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAA;IACX;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,uBAAuB,CAAC,EAAE,SAAS,CAAA;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;;OAEG;IACH,kBAAkB,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAA;CAC/C;AAED,wBAAgB,KAAK,CAAC,EACpB,MAAM,EACN,MAAa,EACb,cAAqB,EACrB,OAAe,EACf,UAAkB,EAClB,UAAe,EACf,uBAAuB,EACvB,KAAU,EACV,YAAiB,EACjB,GAAG,EACH,kBAAuB,EACvB,GAAG,KAAK,EACT,EAAE,UAAU,2CA2CZ"}
|