@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.
Files changed (141) hide show
  1. package/build/components/conversation/jump_to_bottom_button.d.ts.map +1 -1
  2. package/build/components/conversation/jump_to_bottom_button.js +0 -2
  3. package/build/components/conversation/jump_to_bottom_button.js.map +1 -1
  4. package/build/components/conversation/message_reaction.d.ts.map +1 -1
  5. package/build/components/conversations/conversation_preview.d.ts.map +1 -1
  6. package/build/components/conversations/conversations.d.ts.map +1 -1
  7. package/build/components/conversations/mute_indicator.d.ts.map +1 -1
  8. package/build/components/conversations/unread_count_badge.d.ts.map +1 -1
  9. package/build/components/display/action_button.d.ts.map +1 -1
  10. package/build/components/display/badge.d.ts +1 -6
  11. package/build/components/display/badge.d.ts.map +1 -1
  12. package/build/components/display/badge.js +0 -8
  13. package/build/components/display/badge.js.map +1 -1
  14. package/build/components/display/button.d.ts +1 -5
  15. package/build/components/display/button.d.ts.map +1 -1
  16. package/build/components/display/button.js +0 -4
  17. package/build/components/display/button.js.map +1 -1
  18. package/build/components/display/image_attachment_preview.d.ts +1 -5
  19. package/build/components/display/image_attachment_preview.d.ts.map +1 -1
  20. package/build/components/display/image_attachment_preview.js +0 -4
  21. package/build/components/display/image_attachment_preview.js.map +1 -1
  22. package/build/components/display/platform_modal_header_buttons.d.ts.map +1 -1
  23. package/build/components/display/pressable_row.d.ts.map +1 -1
  24. package/build/components/display/video_attachment_preview.d.ts.map +1 -1
  25. package/build/components/group_conversation_list.d.ts.map +1 -1
  26. package/build/components/primitive/form_sheet.d.ts.map +1 -1
  27. package/build/contexts/chat_context.d.ts.map +1 -1
  28. package/build/contexts/conversation_context.d.ts.map +1 -1
  29. package/build/contexts/conversations_context.d.ts.map +1 -1
  30. package/build/contexts/session_context.js +1 -1
  31. package/build/contexts/session_context.js.map +1 -1
  32. package/build/hooks/groups/use_group_members_for_new_conversation.d.ts +3 -3
  33. package/build/hooks/services/use_find_or_create_services_conversation.d.ts.map +1 -1
  34. package/build/hooks/services/use_team_members_for_new_conversation.d.ts +20 -20
  35. package/build/hooks/services/use_team_plans.d.ts +1 -1
  36. package/build/hooks/use_api.d.ts +36 -36
  37. package/build/hooks/use_api.d.ts.map +1 -1
  38. package/build/hooks/use_at_font_scale_breakpoint.d.ts.map +1 -1
  39. package/build/hooks/use_chat_permissions.d.ts +20 -20
  40. package/build/hooks/use_conversation.d.ts +4 -4
  41. package/build/hooks/use_conversation.d.ts.map +1 -1
  42. package/build/hooks/use_conversation_avatar_update.d.ts.map +1 -1
  43. package/build/hooks/use_conversation_membership.d.ts.map +1 -1
  44. package/build/hooks/use_conversation_message.d.ts.map +1 -1
  45. package/build/hooks/use_conversation_messages.d.ts +2 -2
  46. package/build/hooks/use_conversation_messages.d.ts.map +1 -1
  47. package/build/hooks/use_conversations_actions.d.ts +18 -18
  48. package/build/hooks/use_conversations_actions.d.ts.map +1 -1
  49. package/build/hooks/use_create_android_ripple_color.d.ts.map +1 -1
  50. package/build/hooks/use_font_scale.d.ts.map +1 -1
  51. package/build/hooks/use_groups.d.ts.map +1 -1
  52. package/build/hooks/use_groups_groups.d.ts +32 -32
  53. package/build/hooks/use_organization.d.ts +3 -3
  54. package/build/hooks/use_people_person.d.ts.map +1 -1
  55. package/build/hooks/use_product_analytics.d.ts.map +1 -1
  56. package/build/hooks/use_product_analytics.js +6 -1
  57. package/build/hooks/use_product_analytics.js.map +1 -1
  58. package/build/hooks/use_report_message.d.ts.map +1 -1
  59. package/build/hooks/use_scalable_number_of_lines.d.ts.map +1 -1
  60. package/build/hooks/use_suspense_api.d.ts +6 -6
  61. package/build/hooks/use_suspense_api.d.ts.map +1 -1
  62. package/build/hooks/use_typing_indicators.d.ts.map +1 -1
  63. package/build/hooks/use_typing_status_cache.d.ts.map +1 -1
  64. package/build/navigation/index.d.ts +46 -46
  65. package/build/navigation/index.d.ts.map +1 -1
  66. package/build/screens/bug_report_screen.d.ts.map +1 -1
  67. package/build/screens/conversation_filter_recipients/components/checkbox_row.d.ts.map +1 -1
  68. package/build/screens/conversation_filter_recipients/components/header_row.d.ts.map +1 -1
  69. package/build/screens/conversation_filter_recipients/conversation_filter_recipients_screen.d.ts.map +1 -1
  70. package/build/screens/conversation_filter_recipients/hooks/use_service_types_with_teams.d.ts +20 -20
  71. package/build/screens/conversation_filters/components/rows.d.ts.map +1 -1
  72. package/build/screens/conversation_filters/context/conversation_filter_context.d.ts.map +1 -1
  73. package/build/screens/conversation_filters/hooks/filters.d.ts +52 -52
  74. package/build/screens/conversation_filters_screen.d.ts.map +1 -1
  75. package/build/screens/conversation_new/components/form_list.d.ts.map +1 -1
  76. package/build/screens/conversation_new/components/groups_form.d.ts.map +1 -1
  77. package/build/screens/conversation_new/components/services_form.d.ts.map +1 -1
  78. package/build/screens/conversation_new/conversation_new_screen.d.ts.map +1 -1
  79. package/build/screens/conversation_notification_level_select_screen.d.ts.map +1 -1
  80. package/build/screens/conversation_notification_level_select_screen.js +0 -1
  81. package/build/screens/conversation_notification_level_select_screen.js.map +1 -1
  82. package/build/screens/conversation_screen.d.ts.map +1 -1
  83. package/build/screens/conversation_select_recipients/components/groups_recipient_row.d.ts.map +1 -1
  84. package/build/screens/conversation_select_recipients/components/recipient_link_row.d.ts.map +1 -1
  85. package/build/screens/conversation_select_recipients/components/restricted_group_row.d.ts.map +1 -1
  86. package/build/screens/conversation_select_recipients/components/team_recipient_row.d.ts.map +1 -1
  87. package/build/screens/conversation_select_recipients/components/view_more_link_row.d.ts.map +1 -1
  88. package/build/screens/conversation_select_recipients/conversation_new_entry_screen.d.ts.map +1 -1
  89. package/build/screens/conversation_select_recipients/conversation_select_group_recipients_screen.d.ts.map +1 -1
  90. package/build/screens/conversation_select_recipients/conversation_select_teams_i_lead_recipients_screen.d.ts.map +1 -1
  91. package/build/screens/conversations/components/chat_group_badge.d.ts.map +1 -1
  92. package/build/screens/get_help_screen.d.ts.map +1 -1
  93. package/build/screens/message_report_screen.d.ts.map +1 -1
  94. package/build/screens/notification_settings/hooks/groups.d.ts +8 -8
  95. package/build/screens/notification_settings/hooks/groups.d.ts.map +1 -1
  96. package/build/screens/preferred_app/hooks/use_chat_types.d.ts +3 -3
  97. package/build/screens/team_conversation_screen.d.ts.map +1 -1
  98. package/build/utils/assert_keys_are_numbers.d.ts.map +1 -1
  99. package/build/utils/cache/messages_cache.d.ts +1 -1
  100. package/build/utils/cache/messages_cache.d.ts.map +1 -1
  101. package/build/utils/cache/page_mutations.d.ts +4 -4
  102. package/build/utils/client/client.d.ts.map +1 -1
  103. package/build/utils/client/request_helpers.d.ts.map +1 -1
  104. package/build/utils/client/transform_request_data.d.ts.map +1 -1
  105. package/build/utils/client/utils.d.ts.map +1 -1
  106. package/build/utils/parse_simple_markdown.d.ts.map +1 -1
  107. package/build/utils/performance_tracking.js +1 -1
  108. package/build/utils/performance_tracking.js.map +1 -1
  109. package/build/utils/request/conversation.d.ts.map +1 -1
  110. package/build/utils/request/get_chat_configuration.d.ts +1 -1
  111. package/build/utils/request/get_chat_configuration.d.ts.map +1 -1
  112. package/build/utils/request/get_features.d.ts +1 -1
  113. package/build/utils/request/get_features.d.ts.map +1 -1
  114. package/build/utils/request/get_message.d.ts +1 -1
  115. package/build/utils/request/get_message.d.ts.map +1 -1
  116. package/build/utils/request/get_messages.d.ts +1 -1
  117. package/build/utils/request/get_messages.d.ts.map +1 -1
  118. package/build/utils/response_error.d.ts.map +1 -1
  119. package/build/utils/session.d.ts.map +1 -1
  120. package/build/utils/session.js +1 -1
  121. package/build/utils/session.js.map +1 -1
  122. package/build/utils/session_manager.js +1 -1
  123. package/build/utils/session_manager.js.map +1 -1
  124. package/build/utils/system_messages.d.ts.map +1 -1
  125. package/build/utils/theme.d.ts.map +1 -1
  126. package/build/utils/theme.js +1 -1
  127. package/build/utils/theme.js.map +1 -1
  128. package/build/utils/uri.d.ts.map +1 -1
  129. package/package.json +6 -6
  130. package/src/__tests__/utils/theme.ts +23 -0
  131. package/src/components/conversation/jump_to_bottom_button.tsx +0 -2
  132. package/src/components/display/badge.tsx +1 -7
  133. package/src/components/display/button.tsx +1 -6
  134. package/src/components/display/image_attachment_preview.tsx +1 -5
  135. package/src/contexts/session_context.tsx +1 -1
  136. package/src/hooks/use_product_analytics.ts +6 -1
  137. package/src/screens/conversation_notification_level_select_screen.tsx +1 -2
  138. package/src/utils/performance_tracking.ts +1 -1
  139. package/src/utils/session.ts +1 -1
  140. package/src/utils/session_manager.ts +1 -1
  141. package/src/utils/theme.ts +1 -1
@@ -31,7 +31,7 @@ export interface DefaultTheme {
31
31
  }
32
32
 
33
33
  export const defaultTheme = (colorScheme: ColorSchemeName): ChatTheme => {
34
- const scheme = colorScheme || 'light'
34
+ const scheme: 'light' | 'dark' = colorScheme === 'dark' ? 'dark' : 'light'
35
35
 
36
36
  const defaultColors = {
37
37
  ...chatThemeColorMap[scheme],