Skip to content

Components: Document RTL handling in package readme #69966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mirka opened this issue Apr 22, 2025 · 0 comments · May be fixed by #69967
Open

Components: Document RTL handling in package readme #69966

mirka opened this issue Apr 22, 2025 · 0 comments · May be fixed by #69967
Labels
[Package] Components /packages/components [Status] In Progress Tracking issues with work in progress [Type] Developer Documentation Documentation for developers [Type] Enhancement A suggestion for improvement.

Comments

@mirka
Copy link
Member

mirka commented Apr 22, 2025

What problem does this address?

The components package readme doesn't mention that in non-WordPress projects, the consumer needs to add their own RTL handling.

What is your proposed solution?

We should note that in RTL contexts they should be loading the node_modules/@wordpress/components/build-style/style-rtl.css stylesheet instead.

@mirka mirka added [Package] Components /packages/components [Type] Developer Documentation Documentation for developers [Type] Enhancement A suggestion for improvement. labels Apr 22, 2025
@Debarghya-Banerjee Debarghya-Banerjee linked a pull request Apr 22, 2025 that will close this issue
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components [Status] In Progress Tracking issues with work in progress [Type] Developer Documentation Documentation for developers [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant