Releases: mgcrea/react-native-tailwind
Releases · mgcrea/react-native-tailwind
v0.12.1
- 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
- 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
v0.11.0
- 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
- 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
- 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
- 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
- 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
- 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
- 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)