Your guide on how to use and make the most out of RTLCSS
stdin is invalid. Thanks @lade-odootransform to safeguard functions inside values.transform-origin to not flip y-offset when x-offset is center. Thanks @skmanoharjustify-content, justify-items and justify-self. Thanks @mbehzadcalc.object-position.processEnv option to support flipping agent-defined environment variables (safe-area-inset-left, safe-area-inset-right).aliases option to support processing Custom Properties (CSS Variables). Thanks @elchininetREADME.md.TypeError when placing value directive before !important. #218strict mode across all files. Thanks @XhmikosR!important.perspective-origin (#167).--silent and --stdin flags are used together (Fixes #169).rotateY.rotate3d.useCalc to flip unit based transform-origin.console.log instead of the deprecated util.print(issue #156).useCalc (default: false) to flip unit based background-position using calc. Thanks @zoreetbackground-position having keywords only (Fixes #107).background-position edge offsets.node.value so changes will be picked up by other processors (Closes #85).calc values (Fixes #71).decl nodes inside atrules and autoRename enabled./*rtl:begin:ignore*/ ... /*rtl:end:ignore*/.autoRename is applied only when a pair exists.configoptionsrawremoveOptions and config settings have changed. However, you need not to worry about your CSS files as all directives are backward-compatible. This is a summary of what’s changed:
New Options:
autoRenameStrict (default: false) to apply auto rename only when a pair exists.blacklist to prevent execution of certain directives.clean (default: true), to remove directives from output CSS.processUrls (default: false) to control URL updates. You can also target specific node types using an object literal. e.g. {'atrule': true, 'decl': false}.Updated Options:
autoRename new default is false.stringMap:priority attribute to control maps execution order.exclusive attribute, which determines if a map execution should stop iterating over other maps.'west-east' map from the default map collection.Removed Options:
enableLogging, still warnings and errors are reported directly to postcss.minify, it wasn’t actual minification after all!swapLeftRightInUrl, swapLtrRtlInUrl and swapWestEastInUrl in favor of processUrls option.preserveComments, comments inside declaration values will always be preserved.preserveDirectives, in favor of clean option.Constructor arguments rules, declarations and properties are now replaced with plugins.
calc support.rename directive.matrix3d transform.-e,--ext to set output files extension when processing a directory.border-color, border-style and background-position-x@import rule.rtlcssConfig property.rtlcssrc or .rtlcssrc.jsonignore/rename rule level directives.autoRename to search for all swappable words.rotateZ.rotate3d.skew, skewX and skewY.cursor value.translate3d.0 as 0%