@planningcenter/chat-react-native 3.33.0 → 3.33.1-rc.1
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/jump_to_bottom_button.d.ts.map +1 -1
- package/build/components/conversation/jump_to_bottom_button.js +0 -2
- package/build/components/conversation/jump_to_bottom_button.js.map +1 -1
- package/build/components/conversation/message_reaction.d.ts.map +1 -1
- package/build/components/conversations/conversation_preview.d.ts.map +1 -1
- package/build/components/conversations/conversations.d.ts.map +1 -1
- package/build/components/conversations/mute_indicator.d.ts.map +1 -1
- package/build/components/conversations/unread_count_badge.d.ts.map +1 -1
- package/build/components/display/action_button.d.ts.map +1 -1
- package/build/components/display/badge.d.ts +1 -6
- package/build/components/display/badge.d.ts.map +1 -1
- package/build/components/display/badge.js +0 -8
- package/build/components/display/badge.js.map +1 -1
- package/build/components/display/button.d.ts +1 -5
- package/build/components/display/button.d.ts.map +1 -1
- package/build/components/display/button.js +0 -4
- package/build/components/display/button.js.map +1 -1
- package/build/components/display/image_attachment_preview.d.ts +1 -5
- package/build/components/display/image_attachment_preview.d.ts.map +1 -1
- package/build/components/display/image_attachment_preview.js +0 -4
- package/build/components/display/image_attachment_preview.js.map +1 -1
- package/build/components/display/platform_modal_header_buttons.d.ts.map +1 -1
- package/build/components/display/pressable_row.d.ts.map +1 -1
- package/build/components/display/video_attachment_preview.d.ts.map +1 -1
- package/build/components/group_conversation_list.d.ts.map +1 -1
- package/build/components/primitive/form_sheet.d.ts.map +1 -1
- package/build/contexts/chat_context.d.ts.map +1 -1
- package/build/contexts/conversation_context.d.ts.map +1 -1
- package/build/contexts/conversations_context.d.ts.map +1 -1
- package/build/contexts/session_context.js +1 -1
- package/build/contexts/session_context.js.map +1 -1
- package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +3 -3
- package/build/hooks/services/use_find_or_create_services_conversation.d.ts.map +1 -1
- package/build/hooks/services/use_team_members_for_new_conversation.d.ts +20 -20
- package/build/hooks/services/use_team_plans.d.ts +1 -1
- package/build/hooks/use_api.d.ts +36 -36
- package/build/hooks/use_api.d.ts.map +1 -1
- package/build/hooks/use_at_font_scale_breakpoint.d.ts.map +1 -1
- package/build/hooks/use_chat_permissions.d.ts +20 -20
- package/build/hooks/use_conversation.d.ts +4 -4
- package/build/hooks/use_conversation.d.ts.map +1 -1
- package/build/hooks/use_conversation_avatar_update.d.ts.map +1 -1
- package/build/hooks/use_conversation_membership.d.ts.map +1 -1
- package/build/hooks/use_conversation_message.d.ts.map +1 -1
- package/build/hooks/use_conversation_messages.d.ts +2 -2
- package/build/hooks/use_conversation_messages.d.ts.map +1 -1
- package/build/hooks/use_conversations_actions.d.ts +18 -18
- package/build/hooks/use_conversations_actions.d.ts.map +1 -1
- package/build/hooks/use_create_android_ripple_color.d.ts.map +1 -1
- package/build/hooks/use_font_scale.d.ts.map +1 -1
- package/build/hooks/use_groups.d.ts.map +1 -1
- package/build/hooks/use_groups_groups.d.ts +32 -32
- package/build/hooks/use_organization.d.ts +3 -3
- package/build/hooks/use_people_person.d.ts.map +1 -1
- package/build/hooks/use_product_analytics.d.ts.map +1 -1
- package/build/hooks/use_product_analytics.js +6 -1
- package/build/hooks/use_product_analytics.js.map +1 -1
- package/build/hooks/use_report_message.d.ts.map +1 -1
- package/build/hooks/use_scalable_number_of_lines.d.ts.map +1 -1
- package/build/hooks/use_suspense_api.d.ts +6 -6
- package/build/hooks/use_suspense_api.d.ts.map +1 -1
- package/build/hooks/use_typing_indicators.d.ts.map +1 -1
- package/build/hooks/use_typing_status_cache.d.ts.map +1 -1
- package/build/navigation/index.d.ts +46 -46
- package/build/navigation/index.d.ts.map +1 -1
- package/build/screens/bug_report_screen.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/components/header_row.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +1 -1
- package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts +20 -20
- package/build/screens/conversation_filters/components/rows.d.ts.map +1 -1
- package/build/screens/conversation_filters/context/conversation_filter_context.d.ts.map +1 -1
- package/build/screens/conversation_filters/hooks/filters.d.ts +52 -52
- package/build/screens/conversation_filters_screen.d.ts.map +1 -1
- package/build/screens/conversation_new/components/form_list.d.ts.map +1 -1
- package/build/screens/conversation_new/components/groups_form.d.ts.map +1 -1
- package/build/screens/conversation_new/components/services_form.d.ts.map +1 -1
- package/build/screens/conversation_new/conversation_new_screen.d.ts.map +1 -1
- package/build/screens/conversation_notification_level_select_screen.d.ts.map +1 -1
- package/build/screens/conversation_notification_level_select_screen.js +0 -1
- package/build/screens/conversation_notification_level_select_screen.js.map +1 -1
- package/build/screens/conversation_screen.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts.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_select_group_recipients_screen.d.ts.map +1 -1
- package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts.map +1 -1
- package/build/screens/conversations/components/chat_group_badge.d.ts.map +1 -1
- package/build/screens/get_help_screen.d.ts.map +1 -1
- package/build/screens/message_report_screen.d.ts.map +1 -1
- package/build/screens/notification_settings/hooks/groups.d.ts +8 -8
- package/build/screens/notification_settings/hooks/groups.d.ts.map +1 -1
- package/build/screens/preferred_app/hooks/use_chat_types.d.ts +3 -3
- package/build/screens/team_conversation_screen.d.ts.map +1 -1
- package/build/utils/assert_keys_are_numbers.d.ts.map +1 -1
- package/build/utils/cache/messages_cache.d.ts +1 -1
- package/build/utils/cache/messages_cache.d.ts.map +1 -1
- package/build/utils/cache/page_mutations.d.ts +4 -4
- package/build/utils/client/client.d.ts.map +1 -1
- package/build/utils/client/request_helpers.d.ts.map +1 -1
- package/build/utils/client/transform_request_data.d.ts.map +1 -1
- package/build/utils/client/utils.d.ts.map +1 -1
- package/build/utils/parse_simple_markdown.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/request/conversation.d.ts.map +1 -1
- package/build/utils/request/get_chat_configuration.d.ts +1 -1
- package/build/utils/request/get_chat_configuration.d.ts.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_message.d.ts +1 -1
- package/build/utils/request/get_message.d.ts.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/response_error.d.ts.map +1 -1
- package/build/utils/session.d.ts.map +1 -1
- package/build/utils/session.js +1 -1
- package/build/utils/session.js.map +1 -1
- package/build/utils/session_manager.js +1 -1
- package/build/utils/session_manager.js.map +1 -1
- package/build/utils/system_messages.d.ts.map +1 -1
- package/build/utils/theme.d.ts.map +1 -1
- package/build/utils/theme.js +1 -1
- package/build/utils/theme.js.map +1 -1
- package/build/utils/uri.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/__tests__/utils/theme.ts +23 -0
- package/src/components/conversation/jump_to_bottom_button.tsx +0 -2
- package/src/components/display/badge.tsx +1 -7
- package/src/components/display/button.tsx +1 -6
- package/src/components/display/image_attachment_preview.tsx +1 -5
- package/src/contexts/session_context.tsx +1 -1
- package/src/hooks/use_product_analytics.ts +6 -1
- package/src/screens/conversation_notification_level_select_screen.tsx +1 -2
- package/src/utils/performance_tracking.ts +1 -1
- package/src/utils/session.ts +1 -1
- package/src/utils/session_manager.ts +1 -1
- package/src/utils/theme.ts +1 -1
package/src/utils/theme.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface DefaultTheme {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export const defaultTheme = (colorScheme: ColorSchemeName): ChatTheme => {
|
|
34
|
-
const scheme = colorScheme
|
|
34
|
+
const scheme: 'light' | 'dark' = colorScheme === 'dark' ? 'dark' : 'light'
|
|
35
35
|
|
|
36
36
|
const defaultColors = {
|
|
37
37
|
...chatThemeColorMap[scheme],
|