- Add new directives to freeze rules and declarations
/*rtl:freeze*/
,/*rtl:begin:freeze*/
and/*rtl:end:freeze*/
- Remove references to the legacy package
- Small refactor to avoid a circular dependency between two parsers
- Support for nested at-rules
- Update
RTLCSS
to version4.3.0
- Update
RTLCSS
to version4.2.0
- Support specifying processors during processing CSS declarations
- Fix
raw
directive with universal selectors
- Add support for prefixes in
::view-transition
rules
- Remove preinstall script
- Fix: make aliases affect both-prefixed and safe-prefixed declarations
- New directives to set the option
processRuleNames
:/*rtl:rules*/
,/*rtl:begin:rules*/
, and/*rtl:end:rules*/
- Breaking change: removed
autoRename
option and/*rtl:rename*/
,/*rtl:begin:rename*/
, and/*rtl:end:rename*/
directives - Fixed a bug:
/*rtl:begin:urls*/
and/*rtl:end:urls*/
(previously/*rtl:begin:rename*/
and/*rtl:end:rename*/
) blocks didn't change the URL names inside rules if started outside - New option:
processRuleNames
, if this option istrue
, rules with no directional properties that match any entry in thestringMap
will be swapped when the direction changes - New directives:
/*rtl:urls*/
,/*rtl:begin:urls*/
, and/*rtl:end:urls*/
have replaced/*rtl:rename*/
,/*rtl:begin:rename*/
, and/*rtl:end:rename*/
and they only take effect in declarations' URLs
- Update RTLCSS to version 4.1.1
- Fix
margin-block
andpadding-block
properties not taken into account for thesafeBothPrefix
option.
- Fix ESM types
- Update RTLCSS to version 4.1.0
- Fixed an error related to empty atRules
- Fixed unwanted removal of empty rules
- Fixed a bug releated to overriden properties
- Fixed a bug related to overriden properties
- Upgrade RTLCSS to major version 4.0.0. This version brings these changes:
- Support flipping
justify-content
,justify-items
andjustify-self
- Support flipping length background position without using
calc
- Support flipping
- Update dependencies
- Fix a Vite 3 warning
- Improve the overriding logic to avoid edge cases with multiple overrides
- Add an option to have more control over the selector prefixing logic (
prefixSelectorTransformer
)
- Apply the safe prefix to logical declarations overridden by physical ones
- Fix a bug with
safeBothPrefix
andprocessKeyFrames
options indiff
mode
- Fix a bug with the cleaning method and @charset rules
- Improved the cleaning process
- Added a new diff mode to output only flipped rules with the intention of using them in a separate stylesheet file to override the main stylesheet
- Build the package bundle using rollup and created an ESM version of the package
- Fixed a bug that was removing rules without declarations but with atRules
- Move inside the both-rules-prefix, rules which override previous flipped rules
- Fix a bug in the cleanRuleRawsBefore utility method
- Upgraded the RTLCSS library to version 3.5.0 to support object-position
- Upgraded the RTLCSS library to the version 3.3.0 to support the processEnv option
- Added support for RTLCSS processEnv option
- Support for nested at-rules
- Added a new option to support declarations aliases
- Added a new option to ignore rules already prefixed
- Fix a bug with :root and html rules
- Fix multiple declarations overriding order
- Implemented
/*rtl:source:{source}*/
,/*rtl:begin:source:{source}*/
, and/*rtl:end:source*/
- Add basic support for nested rules (SCSS)
- In the override method change the
unset
value to override properties by the intial value of them to support the override method in Internet Explorer
- Export the plugin as the default module to increase its compatibility
- Export the options helpers in a separated options module
- Get rid of the dist folder to publish the package
- Updated packages to the latest versions and solved vulnerabilities
- Some minor changes in the README file
- Updated postcss package to version 8
- Created a vendor utility because it has been removed from postcss
- Updated multiple packages
- Solve dependencies vulnerabilities
- Implemented the safeBothPrefix option
- Fixed minor bugs
- Implemented RTL raw control directives for rules and declarations
- Implemented RTL rename control directives for rules and declarations
- The stringMap feature has been refactored to mimic RTLCSS behaviour
- Added autoRename option to rename rule selectors taking into account the string map
- Added greedy option dependant on autoRename
- Bug fix: flip animation names if they are surrounded by comas
- Bug fix: detect chainable override, e.g. border-bottom-color is overridden by border-bottom but also by border
- Introduced a new parameter (bothPrefix) to manage styles that can be overridden due to specificity
- Avoid duplicating the same declarations in the flipped rules
- Bug fix: avoid adding unset variables when both directions exist in the main rule
- Add support for multiple animation names
- Implemented an option to flip keyframes animations
- Flip rules inside media-queries
- Improve the output formatting
- Refactored multiple utility methods to make them simpler
- Created a CHANGELOG
- Refactored the exported module to be a named exported instead of a default one
- Created the postcss-rtlcss package