{"_id":"@mwvalen/stylis-plugin-rtl","_rev":"2-8a8f00c7281bfc8fdac3472bbcaba00b","name":"@mwvalen/stylis-plugin-rtl","dist-tags":{"latest":"2.1.3"},"versions":{"2.1.1":{"name":"@mwvalen/stylis-plugin-rtl","version":"2.1.1","description":"Fork of stylis-rtl, uses cssjanus under the hood to flip style orientations for RTL","module":"dist/stylis-rtl.js","main":"dist/cjs/stylis-rtl.js","types":"dist/stylis-rtl.d.ts","scripts":{"build":"tsc && tsc --module commonjs --outDir dist/cjs","prepublishOnly":"yarn build","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/mwvalen/stylis-plugin-rtl.git"},"keywords":["rtl","bidi","stylis","emotion","emotion-js","css","preprocessor","styled-components"],"author":{"name":"Jop de Klein"},"contributors":[{"name":"MWV","email":"mwillvalentine@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/styled-components/stylis-plugin-rtl/issues"},"homepage":"https://github.com/styled-components/stylis-plugin-rtl#readme","peerDependencies":{"stylis":"4.x"},"devDependencies":{"@types/jest":"^27.0.2","@types/stylis":"^4.0.2","jest":"^27.3.1","prettier":"^2.4.1","stylis":"^4.0.13","ts-jest":"^27.0.7","typescript":"^4.4.4"},"dependencies":{"cssjanus":"^2.0.1"},"gitHead":"b0de45d2049cd3c083ae1f5eadca37c32197a727","_id":"@mwvalen/stylis-plugin-rtl@2.1.1","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-BO716jfoAEfBAZpj8DFmQWjlirOPsBEy60zvNLu5ckl5NC4ZyVBzilxeR388hvYhpuVbu/0A9UAkPfYF7drNkw==","shasum":"9a60fcc275a727b230c0e4166c99479c07d5095a","tarball":"https://registry.npmjs.org/@mwvalen/stylis-plugin-rtl/-/stylis-plugin-rtl-2.1.1.tgz","fileCount":11,"unpackedSize":12496,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsCysHG9uthWnp2F/CABbH2QTn4j2Q+P7Bo/ffaEDhawIgBsWR2uKK9AgKWyoIZdA3iSwFN5V8w87Xw5GNGzRrH64="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5C8mACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp1iA//RJQ7kgVHdYB/xw5WS703BkGHTvLoe55U0SPHK+5tjAgXISBt\r\neVNmHJ/0piYcD2poByLKGS/WYHlSjTH0/PbNsnCialar3i9L58NBPaq2/aAb\r\nkK6SRDRQYRKs7imOKisSypdP0Otm7biddOlrFc+hrE0jAxFgD6eCIbJ7EI2T\r\nk/7PQydCQ/pFRbEBShtFsuxKUvVk59Ckx9eASYopL0S181+ftUDeh80cpkHp\r\n6BABUvfT5S0pSva6ozBZDiyESLbIxcjQdhnf7WSYC8miPf1T7yyWpoSIM2/f\r\nVbJ9XfT7eDfXyOmJ5O3Cb26n4IbVkHvK1IvuJhI10RzrxHGu9ye05QDolo3B\r\nIgRItj63CSOItfqQo5v1dg4BAUuOyL1r0z6fpHWRvzd+5qUyDWfr2VILC6r1\r\nGWAbD8ra7pbSfdqUNibG1VKhfYblIIfCtSKc8WBNyzHTDKsfyrp+FgmIjrOp\r\nUI60CeegcYdRCsT1CAKVURuc9pHvP3E25fHQCyH6JWFhsuLVCiBODbQcpcyr\r\nuitAPknw2NiLj7m/4bCP245583kIG77JwlcICNSoMlAtbIHJHNxpu70PFESq\r\nhd4s9GsTEgb5RHwK84k+5oYM+kXk0qIFsGY41rgD1be7E4BpfUwX6WRtz+6E\r\nmPu5cJTons5SzIBe4cbeUEiHN3NtTkViFW8=\r\n=JXol\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mwvalen","email":"mwillvalentine@gmail.com"},"directories":{},"maintainers":[{"name":"mwvalen","email":"mwillvalentine@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylis-plugin-rtl_2.1.1_1675898662716_0.20156654514456074"},"_hasShrinkwrap":false},"2.1.2":{"name":"@mwvalen/stylis-plugin-rtl","version":"2.1.2","description":"Fork of stylis-rtl, uses cssjanus under the hood to flip style orientations for RTL","module":"dist/stylis-rtl.js","main":"dist/cjs/stylis-rtl.js","types":"dist/stylis-rtl.d.ts","scripts":{"build":"tsc && tsc --module commonjs --outDir dist/cjs","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/mwvalen/stylis-plugin-rtl.git"},"keywords":["rtl","bidi","stylis","emotion","emotion-js","css","preprocessor","styled-components"],"author":{"name":"Jop de Klein"},"contributors":[{"name":"MWV","email":"mwillvalentine@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/styled-components/stylis-plugin-rtl/issues"},"homepage":"https://github.com/styled-components/stylis-plugin-rtl#readme","peerDependencies":{"stylis":"4.x"},"devDependencies":{"@types/jest":"^27.0.2","@types/stylis":"^4.0.2","jest":"^27.3.1","prettier":"^2.4.1","stylis":"^4.0.13","ts-jest":"^27.0.7","typescript":"^4.4.4"},"dependencies":{"cssjanus":"^2.0.1"},"gitHead":"b0de45d2049cd3c083ae1f5eadca37c32197a727","_id":"@mwvalen/stylis-plugin-rtl@2.1.2","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-/lakJnSpt5iG4BPy3sWu5Ulop/bTndpAf+264hwGBdmC9lj882TdE+BW4mYVM2sMWn0+i0GdIfbwZkTsMVKJfw==","shasum":"bc8d26b3a01680d83b56dc001431191532464392","tarball":"https://registry.npmjs.org/@mwvalen/stylis-plugin-rtl/-/stylis-plugin-rtl-2.1.2.tgz","fileCount":10,"unpackedSize":8803,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEuzOGCLUdm+jdkjZUc1nixl4NUl2jWSboerhBVacbbVAiBKUWMr0lANlupDhR+/56dkBk/GdYcWY7Wj/xCRfWvEkA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5DJJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqdSQ//ZS+sfQU9qVC6EmyiJ+dxehc6A1km1TgGreT2vJgMMvWwj572\r\n0J8bF8BQt2dMfozszGyFKtFnj8cmns1MdSy9K+p5BSJsEQP2COaxvM1nsoCC\r\ntvkKf6TodJxR/H6qseIj2ptR5vUpJKNYL5HJfbGWrTkG7aEH8SL6rXQ/WGdP\r\nQwJM20wnAohCfMWiELeUUjXQds+ku5fhsj2OfIuh4jeIxMnTuqNx6h6ncXUe\r\nxtMN4us26PRKiWnBHF1KRYMeVZI9ZFhfYAzQmOrAavJMx16bnIWGgbC+ft4/\r\nWnksD8mXhRrNyMhyqbyu9XDXYj/dfKzP6agCf7Yi3ODsTUJnmKEMi/NU55NJ\r\nQ+abatUx+6ODT/G4RGvMIT0DXhCh5W+yo/7cOLTks510P1slnrVOThP73sny\r\ntjACYkurNckqGNvnNxVJe3aJsr91xXpbnvfrUoVHgogLhLQnUNaAFH8y3t4f\r\noKM7280k2M8eEFEH6L9HKplZMBLh3czynNNV6b7XhL98TA7mu6+709uQZBmO\r\n+DzVIVOhLdkE3q25K/aBObGwcVnDZOFOq6YeR2vSbE0V3eRrKyL1+evh5hLQ\r\ncE5p7JrFroqoAC2EdWUKCK+rdVtVdUvDR/0Jq25wNb02ko6pH1Zc6JlWnd00\r\n9xfwOxf4UrgVByF8DTiDAwzr3uyB1Ny9h/0=\r\n=YQl0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mwvalen","email":"mwillvalentine@gmail.com"},"directories":{},"maintainers":[{"name":"mwvalen","email":"mwillvalentine@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylis-plugin-rtl_2.1.2_1675899465255_0.8580392534568504"},"_hasShrinkwrap":false},"2.1.3":{"name":"@mwvalen/stylis-plugin-rtl","version":"2.1.3","description":"Fork of stylis-rtl, uses cssjanus under the hood to flip style orientations for RTL","module":"dist/stylis-rtl.js","main":"dist/cjs/stylis-rtl.js","types":"dist/stylis-rtl.d.ts","scripts":{"build":"tsc && tsc --module commonjs --outDir dist/cjs","prepublishOnly":"yarn build","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/mwvalen/stylis-plugin-rtl.git"},"keywords":["rtl","bidi","stylis","emotion","emotion-js","css","preprocessor","styled-components"],"author":{"name":"Jop de Klein"},"contributors":[{"name":"MWV","email":"mwillvalentine@gmail.com"}],"license":"MIT","bugs":{"url":"https://github.com/styled-components/stylis-plugin-rtl/issues"},"homepage":"https://github.com/styled-components/stylis-plugin-rtl#readme","peerDependencies":{"stylis":"4.x"},"devDependencies":{"@types/jest":"^27.0.2","@types/stylis":"^4.0.2","jest":"^27.3.1","prettier":"^2.4.1","stylis":"^4.0.13","ts-jest":"^27.0.7","typescript":"^4.4.4"},"dependencies":{"cssjanus":"^2.0.1"},"gitHead":"b0de45d2049cd3c083ae1f5eadca37c32197a727","_id":"@mwvalen/stylis-plugin-rtl@2.1.3","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-39ZyP0y3YxuR4l3QKPHDnr0brfAU7/qrdaYU+sq+iqiXclFsavvCEhQacFOLS796ZLEQvaBdunUl2zel7bBvXg==","shasum":"1832dd4d75193cba7ef6cc45183eda662e8b95ed","tarball":"https://registry.npmjs.org/@mwvalen/stylis-plugin-rtl/-/stylis-plugin-rtl-2.1.3.tgz","fileCount":7,"unpackedSize":7922,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGQh6oi8xrYc86XC1eF2Tw1epWULDzZ4xQfCNHoeywt8AiAwmeMJTO75b05RkQnuU2EESuQBohGUeF0Ti9qCRFStVQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj5DTiACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6Mg/8DPxZYJfVUZ/EJYViTpLj20bZ25RxOheqhujBbGZvRkFTY+j7\r\n12HWt8YGVTF55Na1WELYryQPJ9ibPc/TNGWv8ceinPBGIRnYcfLL+1AmMDfZ\r\nxiF7Kf7/0cQx76Qd2wPpk4dPXrusz0IH+8sjP8OYC19R0CmhMxEDGA75cLbp\r\nFVb/y6cmG9aJYlQo3eNmh8Vh0b+kBu1/NKT7PZFIx7qo6CRLaAHj7b3AZjgA\r\nDh6UaL/Eczy4ECVps199+sjcH3Kc89MBEdLaBtx2GTJtmMKtD6aazQmPuH21\r\nsn+KACB7KFcZv/WRSgXQ8ZOysGOfGznPG0sZEFFBqczzvK2Uw5l756mSnpyn\r\nirRmnFzGEvZeipLni+32MsGJ+kxjKxp/asJjDQo12U6OoXW01W675xb00uIP\r\nHXV7lhA4/ydrLZbbX+ELhti5AN9f0yD4NRv5wBTWQ7OLKwJjk5U2nM6u62in\r\nVDVvIc/q9w+NOzOVLMbcS99zKKe2eKCVhvFhPfp2XfziMa4MjT9tS6jCMNU4\r\nKtFcyOKWFvXxlOS15WQ1I/IVAln2uqzDHAauz0jekxnvbEzDNedL+Zt63FyH\r\nd4JwvSd7COCywaThab2eYrMnnuoJzMohfbPOke3+ImrX8dydHIP99oG5Av3J\r\ntieTJu8k4T/T3WvQD3s8p8nqSk25oMiORRg=\r\n=03jB\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"mwvalen","email":"mwillvalentine@gmail.com"},"directories":{},"maintainers":[{"name":"mwvalen","email":"mwillvalentine@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylis-plugin-rtl_2.1.3_1675900130132_0.9492958345882221"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-08T23:24:22.638Z","2.1.1":"2023-02-08T23:24:22.882Z","modified":"2023-02-08T23:48:50.409Z","2.1.2":"2023-02-08T23:37:45.410Z","2.1.3":"2023-02-08T23:48:50.322Z"},"maintainers":[{"name":"mwvalen","email":"mwillvalentine@gmail.com"}],"description":"Fork of stylis-rtl, uses cssjanus under the hood to flip style orientations for RTL","homepage":"https://github.com/styled-components/stylis-plugin-rtl#readme","keywords":["rtl","bidi","stylis","emotion","emotion-js","css","preprocessor","styled-components"],"repository":{"type":"git","url":"git+https://github.com/mwvalen/stylis-plugin-rtl.git"},"contributors":[{"name":"MWV","email":"mwillvalentine@gmail.com"}],"author":{"name":"Jop de Klein"},"bugs":{"url":"https://github.com/styled-components/stylis-plugin-rtl/issues"},"license":"MIT","readme":"# stylis-plugin-rtl\n\nStylis RTL plugin based on CSSJanus\n\n> NOTE! Use v1 of this plugin for styled-components v5, NOT v2 (v2 is for libraries that have upgraded to stylis v4, which s-c has not yet. At the moment only emotion 11 is updated.)\n\n## Installation\n\n### v1\n\n```shell\nyarn add stylis-plugin-rtl@^1\n```\n\n### v2\n\n```shell\nyarn add stylis-plugin-rtl stylis\n```\n\n## Usage with styled-components v5+\n\n```javascript\nimport styled, { StyleSheetManager } from \"styled-components\";\nimport rtlPlugin from \"stylis-plugin-rtl\";\n\nconst Box = styled.div`\n  padding-left: 10px;\n`;\n\nfunction MakeItRTL() {\n  return (\n    <StyleSheetManager stylisPlugins={[rtlPlugin]}>\n      <Box>My padding will be on the right!</Box>\n    </StyleSheetManager>\n  );\n}\n```\n\n#### NOTE: Preventing flipping\n\nBecause minification removes all comments from your CSS before it passes to `<StyleSheetManager>`, `/* @noflip */` comment won't work. \nYou will have to either:\n- add an exclamation mark at the beginning of the comment, like this  `/*! @noflip */`, to prevent it from being removed\n- disable minification entirely by setting `minify` to `false` in `.babelrc` (see [styled-components documentation](https://styled-components.com/docs/tooling#minification)).\n\n<small>This is a fork of `stylis-rtl` for use with styled-components v5+</small>","readmeFilename":"README.md"}