You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added right-to-left (RTL) layout support for Arabic and other RTL languages. Set the direction for the whole UI Kit with the layoutDirection setting in UIKitSettings (auto, ltr or rtl), or change it at runtime with CometChatUIKit.setLayoutDirection(). Override it for a single component with the layoutDirection prop on CometChatConversations, CometChatUsers, CometChatGroups, CometChatGroupMembers, CometChatMessageHeader, CometChatMessageList, CometChatMessageComposer, CometChatCompactMessageComposer, CometChatThreadHeader, CometChatMessageInformation, CometChatPinnedMessages, CometChatSavedMessages, CometChatSearch, CometChatNotificationFeed, CometChatAIAssistantChatHistory, CometChatCallButtons, CometChatCallLogs, CometChatIncomingCall, and CometChatOutgoingCall.
Added Arabic translations.
Added the useCometChatLayoutDirection hook to read the UI Kit's layout direction in custom views, and exported the CometChatLayoutDirection type.
Enhancements
Dates, times and counts now use the UI Kit language's digits and plural forms, including Arabic-Indic digits for Arabic.
Messages now read in their own language's direction, with names, mentions, numbers and links kept in order. Code blocks always read left to right.
The message composer now follows the language being typed, and an empty composer places the cursor on the side of the keyboard's language. This needs an app rebuild.
Group action messages now say "You" for the logged-in user.
Translated the remaining built-in text across the UI Kit.