Repository navigation
docs(rtl): right-to-left pages for the React and Angular UI Kits - #618
Draft
aanshisingh-cometchat wants to merge 2 commits into
Draft
aanshisingh-cometchat wants to merge 2 commits into
aanshisingh-cometchat wants to merge 2 commits into
Conversation
Add "Right-to-Left Layout" pages for React v7 (ui-kit/react/right-to-left)
and Angular v5 (ui-kit/angular/customization/right-to-left), each listed in
the navigation after Localization and in the kit's LLM index.
They cover the global layoutDirection setting ('auto' / 'ltr' / 'rtl') and
the per-component setting, how a component resolves its direction,
CometChatUIKit.setLayoutDirection(), why a dir wrapper doesn't override a
global setting, switching the app to Arabic with
CometChatLocalize.getDirection(), what mirrors (including directional
icons), players staying left to right, text direction, custom views and
CSS (logical properties, :dir(rtl), overlays), and common scenarios.
ENG-41248
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SrArYbCcFrjPgxyVD3keU2
…ChatProvider - React v7 and Angular v5 localization: add Arabic (ar), update the language count to 20, and link to the Right-to-Left Layout page where the layout direction is mentioned. - React CometChatProvider: document the layoutDirection prop next to locale. When passed, it overrides the init setting, and changing it updates components already on screen. ENG-41248 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SrArYbCcFrjPgxyVD3keU2
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A "Right-to-Left Layout" page for the React v7 and Angular v5 UI Kits, plus Arabic in their localization pages:
ui-kit/react/right-to-left.mdx: React v7 › Customization, after Localization.ui-kit/angular/customization/right-to-left.mdx: Angular v5 › Theming, after Localization.ar) added, 19 → 20 languages, with links to the new page.ui-kit/react/cometchat-provider.mdx: thelayoutDirectionprop.llms-*.mdxpage lists: include the new pages.Each page covers:
auto/ltr/rtlat init and per component, and how they resolvedirwrapper doesn't override a global settingCometChatLocalize.getDirection(); the kit never writes<html dir>):dir(rtl), overlaysNames follow the locked direction-setting contract (ENG-41244) and the developer-experience doc.
Draft until the kits ship. The pages describe features in open PRs, so merge this once those are released:
Related Issue(s)
Linear ENG-41248 (Full RTL Support, task X1). This covers the React and Angular pages; the other kits' pages are separate.
Type of Change
Checklist
Additional Information
mint broken-linkspasses.docs.jsonis valid JSON.mint validatereports only the OpenAPI warning ondocs.jsonthatmainalready reports.🤖 Generated with Claude Code
https://claude.ai/code/session_01SrArYbCcFrjPgxyVD3keU2