Skip to content

v0.2.204

Choose a tag to compare

@amirsaam amirsaam released this 30 Jul 15:24
· 27 commits to main since this release

Adds:

Output value exctraction helper

  • twValue() — global variadic function that extracts Tailwind class strings from modifier calls outside an HTML builder context. Accepts .translate(), .margin(), .text(), etc. and returns a space-joined String.
  • HTMLTag._twPhantom — phantom tag used to pin the generic MarkupAttribute<Tag> parameter, enabling the concrete return type of twValue().
  • .fillCurrent(), .fillInherit(), .fillTransparent() — dedicated modifier methods for SVG fill keyword values (fill-current, fill-inherit, fill-transparent)

Fix:

  • Update TWTTransform.none token value from old v3 to new v4 transform-none

Full Changelog: 0.2.100...0.2.204