{"bugs":{"url":"https://github.com/material-components/material-components-web/issues"},"dist":{"shasum":"070a14ca64d672f312d1787f5140abffbf48b25e","tarball":"https://registry.npmjs.org/@material/rtl/-/rtl-15.0.0-canary.16fbd30ff.0.tgz","fileCount":16,"integrity":"sha512-1Ya0uj9YQEKMO7duW3+Vj7Bb71ijizLCBZXL/t5R0Stp2GffkZlNZG86OhNICC6uIe0EmXCcH71bklSIC/q8iw==","signatures":[{"sig":"MEQCIBjETmyd9zpJRq7bhY/6OhGv9nWioiGX2LX9tbJV3vpVAiArpkMy+Xw2H/8qQJ1fpmUEjwQZ2UwtWDTyF8zE2W0YkA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj0selACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqPcQ//eAQ0XOT0VjIloUwcxo/vAvuBcbnxDHiYwrNao9ElXZc+DK7T\r\ntt3i6/S6cqJwtlydcCuIhv8jqG5in7e/dwriVeon0ni+r3S8QmyK51mCtGZX\r\nRhicTcnxsTyufg//b5wR8faiK81pLmi5HSHI3x4xx02d6w3wS50zOPahChVP\r\nTaT3vAasyvoirH/lIl3VWzpDW+OfpIIrVW8rW6/fNEEPO/gcA7mnLdOnh8nH\r\nEKdxcESNEN9VYbt3OZ+ZRB22tOof79ikNEfA+xtD0bruqa+PKSUxxiU7j3PH\r\nsSaqFLF6T8McQHxxSbL21MU/4ri+PXEvDCgRSgp6ICgHrnJgh4NnYEMx/yf/\r\nMKqV6iEqki3Y7FBXRv94uHqH76eB2MYme0aXTOWNwviDD7+0gC8lYcAX8o5L\r\nlQID9LT2LYhI31LRkStI/A8ruYihs3sD4IQhRgv6QiLnOV7oBxz8Xfa8bmdJ\r\nHA9c53MAvziXnLs4ED31InsIGBlcGE8kSgJQnw93utjPc2/OkAwYds8ZiBj9\r\n99Y8f99wheeRoHpUQCSJebJLtkhTlVNASifO5Awo61QfT55BFOUyJuFLBd6B\r\nmlfUICMJmHdT60eGC1Cdktiy0elsoX9lG0UOCV79mMUxumCXOG9NeRFykEAX\r\ncmmJZC/XSMKrvNJt/2qrExrVFknnk2+MUhk=\r\n=oVWu\r\n-----END PGP SIGNATURE-----\r\n"},"name":"@material/rtl","readme":"<!--docs:\ntitle: \"RTL\"\nlayout: detail\nsection: components\nexcerpt: \"Right-to-left and bi-directional text layout via SCSS helpers.\"\npath: /catalog/rtl/\n-->\n\n# RTL\n\nUIs for languages that are read from right-to-left (RTL), such as Arabic and Hebrew, should be mirrored to ensure content is easy to understand.\n\n## Design & API Documentation\n\n<ul class=\"icon-list\">\n  <li class=\"icon-list-item icon-list-item--spec\">\n    <a href=\"https://material.io/go/design-bidirectionality\">Material Design guidelines: Bidirectionality</a>\n  </li>\n</ul>\n\n## Installation\n\n```\nnpm install @material/rtl\n```\n\n## Usage\n\n### Sass Mixins\n\n`rtl` is the most flexible mixin, because it can work with multiple CSS properties. All other RTL mixins logic could be engineered by only using `rtl`, but we provide these mixins for convenience.\n\nBoth `reflexive-property` and `reflexive-box` work with one base box-model property, e.g. margin, border, padding. But `reflexive-property` is more flexible because it accepts different left and right values. `reflexive-box` assumes the left and right values are the same, and therefore that the box-model is symmetrical.\n\n`reflexive-position` is the least flexible mixin. It only works with one horizontal position property, \"left\" or \"right\". It also assumes the left and right values are the same.\n\n| Mixin | Description |\n| ----------------------------------------------- | - |\n| `rtl($root-selector)` | Creates a rule that is applied when the root element is within an RTL context |\n| `reflexive-box($base-property, $default-direction, $value, $root-selector)` | Applies the value to the `#{$base-property}-#{$default-direction}` property  in a LTR context, and flips the direction in an RTL context. **This mixin zeros out the original value in an RTL context.**  |\n| `reflexive-property($base-property, $left-value, $right-value, $root-selector)` | Emits rules that assign `#{$base-property}`-left to `#{left-value}` and `#{base-property}`-right to `#{right-value}` in a LTR context, and vice versa in a RTL context. **Basically it flips values between a LTR and RTL context.** |\n| `reflexive-position($position-property, $value, $root-selector)` | Applies the value to the specified position in a LTR context, and flips the direction in an RTL context. `$position-property` is a horizontal position, either \"left\" or \"right\". |\n| `reflexive($left-property, $left-value, $right-property, $right-value, $root-selector)` | Applies the pair of property values to the specified position in a LTR context, and flips the direction in an RTL context. |\n\n**A note about [dir=\"rtl\"]**: `rtl($root-selector)` checks for `[dir=\"rtl\"]` on the ancestor element. This works in most cases, it will sometimes lead to false negatives for more complex layouts, e.g.\n\n```html\n<html dir=\"rtl\">\n  <!-- ... -->\n  <div dir=\"ltr\">\n    <div class=\"mdc-foo\">Styled incorrectly as RTL!</div>\n  </div>\n</html>\n```\n\nUnfortunately, we've found that this is the best we can do for now. In the future, selectors such as [:dir](http://mdn.io/:dir) will help us mitigate this.\n","gitHead":"f4c39ff05bbd1045563670b4ea50b0be51a91d01","license":"MIT","_npmUser":{"name":"abhiomkar","email":"abhiomkar@gmail.com"},"homepage":"https://github.com/material-components/material-components-web#readme","keywords":["material components","material design","rtl","right to left"],"repository":{"url":"git+https://github.com/material-components/material-components-web.git","type":"git","directory":"packages/mdc-rtl"},"_npmVersion":"lerna/3.20.2/node@v14.21.2+x64 (linux)","description":"Material Components for the web RTL Scss helpers","directories":{},"maintainers":[{"name":"material-admin","email":"aprigogin+npm@google.com"},{"name":"yefim","email":"hi@yef.im"},{"name":"abhiomkar","email":"abhiomkar@gmail.com"},{"name":"azakus","email":"dfreedm2@gmail.com"},{"name":"bicknellr","email":"bicknellr@gmail.com"},{"name":"aprigogin","email":"andrey.prigogin@gmail.com"},{"name":"patrickrodee","email":"prodee@google.com"},{"name":"aomarks","email":"aomarks@gmail.com"},{"name":"emarquez","email":"emarquez@google.com"},{"name":"esgonzalez","email":"esgonzalez@google.com"},{"name":"asyncliz","email":"asyncliz@gmail.com"},{"name":"candysonya","email":"wangchan518@gmail.com"},{"name":"ssuarez","email":"sayrisuarez@google.com"},{"name":"taylorv","email":"brian.t.vann@gmail.com"}],"sideEffects":false,"_nodeVersion":"14.21.2","dependencies":{"tslib":"^2.1.0","@material/theme":"15.0.0-canary.16fbd30ff.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/rtl_15.0.0-canary.16fbd30ff.0_1674758053040_0.037298604936896185","host":"s3://npm-registry-packages"},"_id":"@material/rtl@15.0.0-canary.16fbd30ff.0","version":"15.0.0-canary.16fbd30ff.0"}