{"versions":{"2.0.0":{"name":"@types/postcss-rtl","version":"2.0.0","description":"TypeScript definitions for postcss-rtl","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-rtl","license":"MIT","contributors":[{"name":"Adam Thompson-Sharpe","githubUsername":"MysteryBlokHed","url":"https://github.com/MysteryBlokHed"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/postcss-rtl"},"scripts":{},"dependencies":{"postcss":"^8.0.0"},"typesPublisherContentHash":"6e833347e527d3dba0b8eb1a3ce18067abce9aa40a42c12a4ea9b511f2ef06ad","typeScriptVersion":"4.6","_id":"@types/postcss-rtl@2.0.0","dist":{"integrity":"sha512-SrAVZ8rZ5vC2LWdA+jQkpVsp8sxw8i6NIZulgRXXywnqKciKbezRRakdC6ReUxohaDSyaEIg0jxdZ1vQ0YvuVA==","shasum":"d5cfc4635eed65297213e8675780ed16e8710f8a","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/postcss-rtl/-/postcss-rtl-2.0.0.tgz","fileCount":5,"unpackedSize":6325,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCL0VuCfbRevMQr/xYWtcbLcm54fxgoyE0FMdzwm4+QXAIhAKUeoDVFyLfABJlGlklAx4QiOa0SIZq1NoKNxVLdPAVZ"}],"size":2229},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-rtl_2.0.0_1708970925584_0.4139922670388716"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-26T18:08:45.731Z","publish_time":1708970925731,"_source_registry_name":"default"}},"dist-tags":{"latest":"2.0.0","ts4.6":"2.0.0","ts4.7":"2.0.0","ts4.8":"2.0.0","ts4.9":"2.0.0","ts5.0":"2.0.0","ts5.1":"2.0.0","ts5.2":"2.0.0","ts5.3":"2.0.0","ts5.4":"2.0.0","ts5.5":"2.0.0","ts5.6":"2.0.0","ts5.7":"2.0.0","ts5.8":"2.0.0","ts5.9":"2.0.0","ts6.0":"2.0.0"},"name":"@types/postcss-rtl","time":{"created":"2024-02-26T19:57:24.187Z","modified":"2025-08-03T07:30:27.840Z","2.0.0":"2024-02-26T18:08:45.731Z"},"readme":"# Installation\r\n> `npm install --save @types/postcss-rtl`\r\n\r\n# Summary\r\nThis package contains type definitions for postcss-rtl (https://github.com/vkalinichev/postcss-rtl).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-rtl.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/postcss-rtl/index.d.ts)\r\n````ts\r\nimport { PluginCreator } from \"postcss\";\n\ndeclare namespace postcssRtl {\n    interface Options {\n        /**\n         * Custom function to add prefixes to selectors\n         * @example\n         * function addPrefixToSelector(selector, prefix) {\n         *     // Make selectors like [dir=rtl] > .selector\n         *     return `${prefix} > ${selector}`;\n         * }\n         */\n        addPrefixToSelector?: ((selector: string, prefix: string) => string) | undefined;\n        /** Generate for only the specified direction */\n        onlyDirection?: \"ltr\" | \"rtl\" | undefined;\n        /**\n         * Whether to add attributes or classes.\n         *\n         * Attributes: `.foo` -> `[dir=rtl] .foo`\\\n         * Classes: `.foo` -> `.dir-rtl .foo`\n         * @default 'attribute'\n         */\n        prefixType?: \"attribute\" | \"class\" | undefined;\n        /**\n         * The prefix to use for added attributes/class selectors\n         * @default 'dir'\n         */\n        prefix?: string | undefined;\n        /**\n         * Remove `rtl:*` comments after processing them\n         * @default true\n         */\n        removeComments?: boolean | undefined;\n        /**\n         * Assume all styles are written in _RTL_, and generate _LTR_ styles\n         * @default false\n         */\n        fromRTL?: boolean | undefined;\n        /** An array of CSS properties to ignore */\n        blacklist?: readonly string[] | undefined;\n        /** An array of CSS properties to include (only these will be processed) */\n        whitelist?: readonly string[] | undefined;\n        /**\n         * Aliases, passed to rtlcss\n         * @see {@link https://rtlcss.com/learn/usage-guide/aliases/}\n         */\n        aliases?: Record<string, string> | undefined;\n    }\n}\n\ndeclare const postcssRtl: PluginCreator<postcssRtl.Options>;\n\nexport = postcssRtl;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Mon, 26 Feb 2024 18:07:24 GMT\r\n * Dependencies: [postcss](https://npmjs.com/package/postcss)\r\n\r\n# Credits\r\nThese definitions were written by [Adam Thompson-Sharpe](https://github.com/MysteryBlokHed).","users":{}}