npm tamagui 2.0.0-rc.13
v2.0.0-rc.13

8 hours ago

Features

  • add max-height media queries (remove a couple regular height), move pointerTouch => touch (natew)
  • animations: support transition prop inside pseudo-style props (natew)
  • web: support CSS custom properties in $platform-web without type casting (natew)
  • select: add lazyMount prop for faster initial render (natew)
  • dismissable: add global layer tracking and query hooks (natew)
  • select: wrap content in Dismissable for layer stacking (natew)

Bug Fixes

  • animations-css: wait for all properties to finish in exit animations (natew)
  • animations-reanimated: use max duration across all properties for exit timing (natew)
  • animations-motion: handle undefined animation config in withInferredType (natew)
  • animations-motion: apply transparent->rgba fix to all animate calls (natew)
  • animations-reanimated: deterministic exit completion tracking (natew)
  • animations-motion: deterministic exit completion tracking (natew)
  • animations-css: deterministic exit completion tracking (natew)
  • animations-react-native: deterministic exit completion tracking (natew)
  • animations-css: use actual enter/exit styles for interrupted restart (natew)
  • address type errors and formatting in pseudo-style transitions (natew)
  • config: order max-height media queries large-to-small so smaller wins (natew)
  • menu: make MenuContent and MenuSubContent styleable for proper styled() support (natew)
  • select: use internal Dismissable so we properly handle escape management when nested in other layers (natew)
  • menu: default Menu.Sub placement to right-start on desktop, bottom on touch (natew)
  • core: use 'use no memo' directive instead of Math.random hack for React Compiler opt-out (natew)
  • menu: add RTL-aware default placement for Menu and Menu.Sub (natew)
  • menu: include native props in menu component types (natew)
  • menu: improve TypeScript inference for Menu component types (natew)
  • use-event: use useInsertionEffect for ref updates in useGet #3912 (Latitude Bot)
  • spinner: fix type (natew)
  • menu: fix SubTrigger unstyled not passing to inner Item (natew)
  • format TestComponent.tsx (natew)
  • core: avoid using render jsx elements on native if they are lowercase (web tags) (natew)
  • animations-reanimated: avoid writing shared values during render (natew)
  • core: refactor render prop handling for native compatibility (natew)
  • core: improve render prop logic to handle more cases, including animation drivers (natew)

Documentation

  • add pseudo-style transitions documentation (natew)

Code Refactoring

  • extract getAnimationConfigsForKeys helper to animation-helpers (natew)

Tests

  • add animateOnly+exitStyle scenarios and fix timing test durations (natew)
  • add comprehensive exit completion test suite (natew)
  • skip native driver element timing test on web (natew)
  • dismissable: add layer stacking integration tests (natew)

Continuous Integration

  • bump iOS Detox timeout to 35 minutes (natew)

Chores

  • move popover to tamagui dismissable off floating-ui to handle keyboard escape logic (natew)
  • config: add missing animation duration presets (natew)
  • format (natew)

Commits

  • 24b2618: fix tests (natew)
  • e8a4b83: canary2.0.0-rc.12-1771007754825 (natew)
  • b7d6393: adjust animation timing (natew)
  • bced7c2: canary2.0.0-rc.12-1771037907660 (natew)
  • 041545b: canary2.0.0-rc.12-1771114453032 (natew)
  • aca7fdf: canary2.0.0-rc.12-1771116096580 (natew)
  • 6699263: Revert "feat(web): support CSS custom properties in $platform-web without type casting" (natew)
  • afd5c0b: canary2.0.0-rc.12-1771136893925 (natew)
  • d3a1751: update lockfile (natew)
  • 5949754: canary2.0.0-rc.12-1771179565798 (natew)
  • extract getTokenForKey helper from propMapper (natew)
  • c9018b8: add run script (natew)
  • passing render to animation drivers (natew)
  • 8b49200: lock (natew)
  • dd70f8d: canary2.0.0-rc.12-1771191583546 (natew)
  • 86ba018: v2.0.0-rc.13 (natew)

Don't miss a new tamagui release

NewReleases is sending notifications on new releases.