Skip to content

v0.4.0: audit, fix and check RTL layouts

Latest

Choose a tag to compare

@Bosaj Bosaj released this 01 Nov 20:58
e963247

Added

  • rtl-audit, a CLI that reports right-to-left bugs in CSS, SCSS, HTML, JSX and TSX as file:line, including Tailwind classes, inline styles and icons that don't mirror.
  • --fix, a codemod that rewrites only exact equivalents to logical properties and classes.
  • rtl-audit check <url>, which renders a page in both directions and compares it with its mirror image, in a real browser.
  • isolate() for mixed Arabic and Latin text, React helpers and a CSS preset.

Changed

  • CI now fails when tests or the build fail.

Removed

  • The Python regex stub, which rewrote text inside any line.