Skip to content

4.1.0

Latest

Choose a tag to compare

@NathanWalker NathanWalker released this 06 Oct 22:24
· 2 commits to main since this release

🚀 Features

  • Tailwind v4 parity with @nativescript/core 9.x (#227):
    • responsive and media variants (sm:–2xl:, max-*:, portrait:/landscape:, media-based dark:, arbitrary [@media(...)]) are rewritten into queries core evaluates instead of being dropped
    • gap-*, max-w-*/max-h-*, whitespace-*, text-ellipsis, corner-shape, and other core-supported properties are no longer stripped
    • translate-*/scale-* compose into transform:
    • logical spacing and border utilities (ps-*, pe-*, ms-*, me-*, border-s/e, border-x/y, divide-*) map to physical sides, flipping under .ns-rtl (core 9.0+)

🩹 Fixes

  • dark: and other :where() variants no longer match every descendant of .ns-dark (#227)
  • space-* and divide-* gaps sit between items (#227)
  • rem values with a multi-digit integer part convert correctly (12.5rem → 200) (#227)

⚠️ Behavior changes

  • Breakpoint, orientation, and media-based dark: variants now apply. Classes that were silently ignored before can change layouts.
  • invisible keeps the element's layout space (visibility: hidden), matching the web; use collapse to remove it from layout.

❤️ Thank You