Skip to content

Releases: mgcrea/react-native-tailwind

v0.12.1

24 Nov 08:40
0.12.1
3ca812c

Choose a tag to compare

  • feat: add custom fontSize support in tailwind.config (edfbbb9)
  • fix: support decimal values in arbitrary font-size and line-height (7a8c9e5)
  • fix: only remove tw/twStyle imports when transformations succeed (7a0a171)
  • fix: validate import kind before mutating react-native imports (db8158f)
  • feat: add arbitrary value support for tracking utilities (f1584d3)
  • fix: support Tailwind shorthand decimals in grow/shrink arbitrary values (28f4b2e)
  • feat: add flex-grow/flex-shrink support with arbitrary values (23ea6a7)

v0.12.0

23 Nov 20:41
0.12.0
32342b0

Choose a tag to compare

  • feat: add decimal support for arbitrary spacing values (3abc761)
  • feat: support className={"..."} syntax for static strings (6de1cf8)
  • test: add comprehensive tests for platform modifiers in tw/twStyle (07e0740)
  • chore: initialize platform import state flags per file (9e34de6)
  • feat: add platform modifier support to tw/twStyle calls (b8aa50f)
  • test: add comprehensive tests for tw/twStyle color-scheme modifiers (91db8c1)
  • fix: prevent state bleed and handle type-only imports correctly (eb23d6a)
  • feat: add color-scheme modifier support to tw/twStyle calls (8679f5a)

v0.11.1

23 Nov 14:24
0.11.1
ef0dcf0

Choose a tag to compare

  • fix: handle type-only imports and aliased identifiers for color scheme hook (3ca4cc1)
  • docs: add custom color scheme hook documentation (3ac9d4b)
  • test: add tests for custom color scheme hook import (75d77ae)
  • feat: add custom color scheme hook import option (115ed91)

v0.11.0

23 Nov 08:38
0.11.0
78a318e

Choose a tag to compare

  • docs: update for fontFamily extension and CustomTheme API (9e1dbf6)
  • feat: add runtime fontFamily support via setConfig (3541827)
  • refactor: update Babel plugin for CustomTheme object (275ae3a)
  • refactor: update parseClassName to accept CustomTheme object (13167c3)
  • feat: add fontFamily theme extension support (62bcd95)

v0.10.0

22 Nov 22:36
0.10.0
4dd016a

Choose a tag to compare

  • refactor: extract SchemeModifierConfig to types/config.ts (c4c24cf)
  • docs: add scheme modifier documentation (3b01bb1)
  • test: add test for color scheme modifiers outside component scope (1950626)
  • feat: integrate scheme modifier into Babel plugin (9ff6a3a)
  • feat: add scheme modifier for color variants (8edf202)
  • docs: update color scheme modifiers documentation (b73c8a2)
  • test: add comprehensive tests for color scheme modifier fixes (633a83a)
  • feat: add modifier support to dynamic className expressions (5c687d9)
  • fix: add component scope validation for color scheme modifiers (5af0a4e)
  • fix: support concise arrow functions for color scheme hook injection (12b9d06)
  • chore: bump version to 0.9.1 (3772277)
  • docs: document color scheme modifiers feature (293519f)
  • test: add comprehensive color scheme modifier tests (3870a2a)
  • feat: integrate color scheme modifiers into babel plugin (5f3cec1)
  • feat: add color scheme modifier processing utilities (f14c75a)
  • feat: add color scheme modifier types to parser (8463929)
  • test: add tests for merging className with style props in Pressable component (2a7ff24)
  • test: add config-loader unit tests (048aea4)
  • test: exclude types, components, and babel from coverage (a1b25f0)
  • docs: remove advanced customization example from README (1c559fe)
  • docs: add codecov coverage badge (deadd26)
  • ci: add codecov coverage upload (5186f67)

v0.9.1

21 Nov 21:36
0.9.1
1a7ec21

Choose a tag to compare

  • chore: update package.json files field (da38603)
  • feat: add support for negative margin utilities (8c367fe)
  • fix: only inject StyleSheet import when className is actually used (0da2730)
  • fix: preserve zero and empty string values in tw template literals (c75993a)
  • fix: aspect-auto now properly overrides previous aspect ratios (7281fc4)
  • chore: remove unnecessary files field from package.json (4ed76b5)

v0.9.0

21 Nov 21:18
0.9.0
306c55f

Choose a tag to compare

  • test: exclude dev warnings from coverage reports (5c1d11c)
  • test: add unit tests for tw stub functions (49414fc)
  • chore: configure coverage reporting with vitest v8 (09c3668)
  • chore: add coverage directory to gitignore (a1746e6)
  • docs: document platform modifiers feature (26eaad1)
  • test: add comprehensive platform modifier tests (00f59a3)
  • feat: integrate platform modifiers into babel plugin (3bb31f5)
  • feat: add platform modifier processing utilities (4bfdac3)
  • feat: add platform modifier types to parser (6beebf4)

v0.8.1

20 Nov 15:20
0.8.1
8b13014

Choose a tag to compare

  • style: add ts-expect-error for dynamic AST traversal (c0ac134)
  • style: apply array-simple type notation for consistency (9b308f2)
  • chore: enforce array-simple array type in eslint config (6e7f86e)
  • test: add comprehensive tests for componentSupport (38a6e88)
  • test: add comprehensive tests for DEFAULT key handling (497401a)
  • fix: handle DEFAULT key in flattenColors for custom colors (1fe4e49)
  • test: add comprehensive tests for attributeMatchers (ca90243)

v0.8.0

20 Nov 14:58
0.8.0
c526dfb

Choose a tag to compare

  • chore: fix eslint warnings (5f8c824)
  • test: add comprehensive tests for style merging (c740878)
  • fix: remove runtime typeof check for style prop merging (7613201)
  • refactor: extract findStyleAttribute helper to styleTransforms (ef44b02)
  • refactor: improve TypeScript types and add JSXIdentifier guard (43e7724)
  • refactor: improve TypeScript types in babel plugin utils (35610e4)
  • refactor: add helper function to extract JSX style expressions (bf7a704)
  • refactor: split babel plugin into modular utils structure (8a0ea2d)
  • test: add comprehensive tests for placeholder modifier (4afa7e6)
  • feat: add placeholder modifier support for TextInput (2c15969)
  • refactor: extract runtime types to separate module (34dc9a9)
  • refactor: reorganize types and rename color exports (8f36fcf)
  • fix: handle function-based style props when merging with className (69889cd)
  • feat: add numeric line-height scale (leading-3 to leading-10) (d3a70f8)

v0.7.0

19 Nov 17:42
0.7.0
c1e5d32

Choose a tag to compare

  • chore: add --run flag to vitest (1eb8459)
  • chore: remove pnpm-workspace.yaml (no longer needed) (f32c997)
  • docs: add compile-time tw template tag documentation (20f2f42)
  • test: add comprehensive Babel plugin tests for tw transformation (b41561d)
  • feat: add compile-time tw template tag and twStyle function support (4608f7e)
  • refactor: move tw stub to stubs directory for better organization (7839cea)
  • refactor(flattenColors): improve type signature to support arbitrary nesting (c13392a)
  • test: add comprehensive test suites for utils modules (9060fea)
  • feat(runtime): add generic type parameter to TwStyle and tw (14cea8c)
  • chore(runtime): export NativeStyle and TwStyle types (fe63316)
  • refactor(runtime): return TwStyle object with separate modifier properties (e68bf6d)
  • docs: add runtime module documentation to README (1ebb9ca)
  • build: add runtime module to build pipeline and exports (c995f0c)
  • feat: add runtime tw template tag for dynamic styling (6fcc3ca)
  • refactor: extract flattenColors into shared utility (50e7b0e)
  • docs: add documentation for custom attributes and styles identifier (41de69b)
  • feat: add configurable className-like attributes support (13ac749)