@planningcenter/chat-react-native 4.8.0-qa-staging.9 → 4.8.0-qa-staging.11

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 (28) hide show
  1. package/build/components/conversations/app_update_banner.d.ts +2 -0
  2. package/build/components/conversations/app_update_banner.d.ts.map +1 -0
  3. package/build/components/conversations/app_update_banner.js +52 -0
  4. package/build/components/conversations/app_update_banner.js.map +1 -0
  5. package/build/components/conversations/conversation_actions.d.ts.map +1 -1
  6. package/build/components/conversations/conversation_actions.js +83 -47
  7. package/build/components/conversations/conversation_actions.js.map +1 -1
  8. package/build/components/conversations/swipeable_toggle_button.d.ts +5 -1
  9. package/build/components/conversations/swipeable_toggle_button.d.ts.map +1 -1
  10. package/build/components/conversations/swipeable_toggle_button.js +96 -67
  11. package/build/components/conversations/swipeable_toggle_button.js.map +1 -1
  12. package/build/components/primitive/banner_primitive.js +7 -3
  13. package/build/components/primitive/banner_primitive.js.map +1 -1
  14. package/build/screens/conversations/conversations_screen.d.ts.map +1 -1
  15. package/build/screens/conversations/conversations_screen.js +47 -29
  16. package/build/screens/conversations/conversations_screen.js.map +1 -1
  17. package/build/utils/theme.js +20 -21
  18. package/build/utils/theme.js.map +1 -1
  19. package/package.json +3 -3
  20. package/src/components/conversations/__tests__/app_update_banner.test.tsx +27 -0
  21. package/src/components/conversations/__tests__/conversation_actions.test.tsx +5 -2
  22. package/src/components/conversations/app_update_banner.tsx +36 -0
  23. package/src/components/conversations/conversation_actions.tsx +47 -31
  24. package/src/components/conversations/swipeable_toggle_button.tsx +45 -16
  25. package/src/components/primitive/banner_primitive.tsx +5 -1
  26. package/src/screens/conversations/__tests__/conversations_screen.test.tsx +2 -3
  27. package/src/screens/conversations/conversations_screen.tsx +9 -1
  28. package/src/utils/theme.ts +20 -21
@@ -142,20 +142,20 @@ const colorsChatLight: ChatColors = {
142
142
  statusErrorText: tokens.textColorStatusError,
143
143
  statusErrorBorder: tokens.borderColorStatusError,
144
144
  statusErrorFill: tokens.fillColorStatusErrorSolid,
145
- statusInfoComposedIcon: tokens.iconColorStatusInfoPrimary,
146
- statusInfoComposedText: tokens.textColorStatusInfo,
145
+ statusInfoComposedIcon: tokens.textColorStatusInfo,
146
+ statusInfoComposedText: tokens.colorNeutral24,
147
147
  statusInfoComposedBackground: tokens.fillColorStatusInfoGhost,
148
- statusSuccessComposedIcon: tokens.iconColorStatusSuccessPrimary,
149
- statusSuccessComposedText: tokens.textColorStatusSuccess,
148
+ statusSuccessComposedIcon: tokens.textColorStatusSuccess,
149
+ statusSuccessComposedText: tokens.colorNeutral24,
150
150
  statusSuccessComposedBackground: tokens.fillColorStatusSuccessGhost,
151
- statusWarningComposedIcon: tokens.iconColorStatusWarningPrimary,
152
- statusWarningComposedText: tokens.textColorStatusWarning,
151
+ statusWarningComposedIcon: tokens.textColorStatusWarning,
152
+ statusWarningComposedText: tokens.colorNeutral24,
153
153
  statusWarningComposedBackground: tokens.fillColorStatusWarningGhost,
154
- statusErrorComposedIcon: tokens.iconColorStatusErrorPrimary,
155
- statusErrorComposedText: tokens.textColorStatusError,
154
+ statusErrorComposedIcon: tokens.textColorStatusError,
155
+ statusErrorComposedText: tokens.colorNeutral24,
156
156
  statusErrorComposedBackground: tokens.fillColorStatusErrorGhost,
157
- statusNeutralComposedIcon: tokens.iconColorStatusNeutralPrimary,
158
- statusNeutralComposedText: tokens.textColorStatusNeutral,
157
+ statusNeutralComposedIcon: tokens.textColorStatusNeutral,
158
+ statusNeutralComposedText: tokens.colorNeutral24,
159
159
  statusNeutralComposedBackground: tokens.fillColorStatusNeutralGhost,
160
160
  borderColorChip: tokens.colorNeutral88,
161
161
  fillColorChip: 'transparent',
@@ -189,21 +189,20 @@ const colorsChatDark: ChatColors = {
189
189
  statusErrorBorder: tokens.borderColorStatusErrorDark,
190
190
  statusErrorFill: tokens.fillColorStatusErrorSolidDark,
191
191
 
192
- // Note: CCA inverts composed status colors in dark mode
193
- statusInfoComposedIcon: tokens.iconColorStatusInfoPrimaryDark,
194
- statusInfoComposedText: tokens.textColorStatusInfoDark,
192
+ statusInfoComposedIcon: tokens.textColorStatusInfoDark,
193
+ statusInfoComposedText: tokens.colorNeutral88,
195
194
  statusInfoComposedBackground: tokens.fillColorStatusInfoGhostDark,
196
- statusSuccessComposedIcon: tokens.iconColorStatusSuccessPrimaryDark,
197
- statusSuccessComposedText: tokens.textColorStatusSuccessDark,
195
+ statusSuccessComposedIcon: tokens.textColorStatusSuccessDark,
196
+ statusSuccessComposedText: tokens.colorNeutral88,
198
197
  statusSuccessComposedBackground: tokens.fillColorStatusSuccessGhostDark,
199
- statusWarningComposedIcon: tokens.iconColorStatusWarningPrimaryDark,
200
- statusWarningComposedText: tokens.textColorStatusWarningDark,
198
+ statusWarningComposedIcon: tokens.textColorStatusWarningDark,
199
+ statusWarningComposedText: tokens.colorNeutral88,
201
200
  statusWarningComposedBackground: tokens.fillColorStatusWarningGhostDark,
202
- statusErrorComposedIcon: tokens.iconColorStatusErrorPrimaryDark,
203
- statusErrorComposedText: tokens.textColorStatusErrorDark,
201
+ statusErrorComposedIcon: tokens.textColorStatusErrorDark,
202
+ statusErrorComposedText: tokens.colorNeutral88,
204
203
  statusErrorComposedBackground: tokens.fillColorStatusErrorGhostDark,
205
- statusNeutralComposedIcon: tokens.iconColorStatusNeutralPrimaryDark,
206
- statusNeutralComposedText: tokens.textColorStatusNeutralDark,
204
+ statusNeutralComposedIcon: tokens.textColorStatusNeutralDark,
205
+ statusNeutralComposedText: tokens.colorNeutral88,
207
206
  statusNeutralComposedBackground: tokens.fillColorStatusNeutralGhostDark,
208
207
  borderColorChip: tokens.colorNeutral24,
209
208
  fillColorChip: 'transparent',