-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
[mui-plugin-rtl] fix RTL does not work with CSS layer with a new package #46230
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
aa58fb4
switch to mui-plugin-rtl
siriwatknp 3a969f4
fix rtl style recalculation override layer order
siriwatknp 2d68ecf
add a comment
siriwatknp 28af48f
remove mui-plugin-rtl
siriwatknp 2fef199
create mui-plugin-rtl package
siriwatknp aa23cb0
replace with @mui/plugin-rtl
siriwatknp 8836983
add eslint-disable
siriwatknp a06a28b
add alias @mui/plugin-rtl for regressions
siriwatknp cdc0937
remove cssjanus typings
siriwatknp 5de19d7
pnpm dedupe
siriwatknp 7eb5e40
fix attw script
siriwatknp 39744fd
remove unnecessary references
siriwatknp 41eff74
rename to @mui/stylis-plugin-rtl
siriwatknp 34bee83
rename folder to mui-stylis-plugin-rtl
siriwatknp 0578819
update readme
siriwatknp 946921c
restore
siriwatknp ae0fc29
pnpm install
siriwatknp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# @mui/plugin-rtl | ||
|
||
A fork of [stylis-plugin-rtl](https://github.com/styled-components/stylis-plugin-rtl) to fix issues with CSS layers and to support the latest version of Stylis. | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{ | ||
"name": "@mui/plugin-rtl", | ||
"version": "7.1.0", | ||
"author": "MUI Team", | ||
"description": "A plugin for Material UI that provides RTL (right-to-left) support.", | ||
"main": "./src/index.ts", | ||
"keywords": [ | ||
"react", | ||
"react-component", | ||
"mui", | ||
"rtl" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/mui/material-ui.git", | ||
"directory": "packages/mui-plugin-rtl" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/mui/material-ui/issues" | ||
}, | ||
"homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-utils", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/mui-org" | ||
}, | ||
"scripts": { | ||
"build": "pnpm build:node && pnpm build:stable && pnpm build:types && pnpm build:copy-files", | ||
"build:node": "node ../../scripts/build.mjs node", | ||
"build:stable": "node ../../scripts/build.mjs stable", | ||
"build:copy-files": "node ../../scripts/copyFiles.mjs", | ||
"build:types": "tsx ../../scripts/buildTypes.mts", | ||
"prebuild": "rimraf build tsconfig.build.tsbuildinfo", | ||
"release": "pnpm build && pnpm publish", | ||
"test": "cd ../../ && cross-env NODE_ENV=test mocha 'packages/mui-utils/**/*.test.?(c|m)[jt]s?(x)'", | ||
"typescript": "tsc -p tsconfig.json", | ||
"attw": "attw --pack ./build --exclude-entrypoints esm modern" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.27.1", | ||
"cssjanus": "^2.0.1" | ||
}, | ||
"devDependencies": { | ||
"@mui/internal-test-utils": "workspace:^", | ||
"@types/chai": "^4.3.20", | ||
"@types/mocha": "^10.0.10", | ||
"@types/node": "^20.17.50", | ||
"@types/sinon": "^17.0.4", | ||
"@types/stylis": "4.2.7", | ||
"chai": "^4.5.0", | ||
"sinon": "^19.0.5", | ||
"stylis": "4.3.6" | ||
}, | ||
"peerDependencies": { | ||
"stylis": "4.x" | ||
}, | ||
"sideEffects": false, | ||
"publishConfig": { | ||
"access": "public", | ||
"directory": "build" | ||
}, | ||
"engines": { | ||
"node": ">=14.0.0" | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.