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

latest releases: 2.0.0-rc.16-1771504168582, 2.0.0-rc.16-1771503252376, 2.0.0-rc.16-1771497990571...
11 hours ago

Features

  • popover: add hasOpenPopovers, closeLastOpenedPopover, return boolean from closeOpenPopovers (natew)
  • popover: add disableDismissable prop for mounted-but-hidden popovers (natew)
  • popover: add disableDismissable prop for mounted-but-hidden popovers (natew)
  • site: add Stripe test mode support (natew)
  • site: add Stripe test/live key switching for local dev (natew)
  • context-menu: allow preventDefault to let system menu show instead (natew)
  • popover: add alwaysDisable option for advanced performance optimization (natew)
  • compiler: add --output flag and whitelist native props for extraction (natew)
  • cli: add --output-around flag for certain cases where you want to output optimized components as platform-specific extensions (natew)
  • cli: add --skip-all and --undocumented flags to release script (natew)

Bug Fixes

  • site: guard against undefined user in sendEvent analytics (natew)
  • menu: pass unstyled prop to underlying Popper components (natew)
  • menu: fix MenuProps type not including offset from PopperProps (natew)
  • web: lazy init React methods in createStyledContext for Vite SSR HMR (natew)
  • menu: use styleable for MenuItem, MenuCheckboxItem, MenuRadioItem so styled() pseudo styles pass through correctly (natew)
  • exports: add browser condition and fix default export for web bundlers (natew)
  • site: handle popup blocked in checkout flow (natew)
  • static: restore Node exports resolution for @tamagui packages (natew)
  • site: improve checkout transparency (natew)
  • site: reduce V2 license price to $350 (natew)
  • prefill WELCOMEBACK30 coupon on renewal, fix promo code script (natew)
  • core: avoid !important in box-none to not break presedence (natew)
  • menu: fix auto z-index stacking inside dialog, fix auto resize to fit window (natew)
  • popover: fix click on trigger re-opening popover due to not wrapping with DismissableBranch (natew)
  • add React Compiler compatibility via 'use no memo' directives and ||=/??= fixes (natew)
  • core: align text styles fully to react-native while re-enabling flattening (natew)
  • update componentProps snapshot to match TamaguiRoot Theme wrapper refactor (natew)
  • update portal z-index selectors in tests after TamaguiRoot Theme wrapper refactor (natew)
  • portal: fix ssr hydration (natew)
  • update snapshots and tests for base CSS class refactor (natew)
  • update StackZIndex test to find portal z-index via inline styles (natew)
  • don't steal focus from autoFocus elements when FocusScope/Menu unmounts (natew)
  • remove-scroll: restore scroll position on all browsers, not just iOS Safari (natew)
  • select: fix lazyMount positioning - render frame immediately so floating-ui can position it (natew)
  • dismissable: avoid unnecessary re-renders when layers mount/unmount (natew)
  • tooltip: remove duplicate useDismiss, already handled by Dismissable (natew)
  • compiler: join styled definition CSS rules with newlines instead of semicolons (natew)
  • cli: ignore disable option when running build command directly (natew)
  • menu: auto stack z-index to go above dialogs (natew)

Documentation

  • add popover utility functions to 2.0 docs (natew)

Performance Improvements

  • use-element-layout: optimize onLayout with persistent IO and parent deduplication (natew)
  • use-element-layout: use rAF with adaptive backoff for onLayout polling (natew)
  • add backoff to onLayout (natew)
  • move all default base web styles off components to avoid tons of object parsing at runtime (natew)

Tests

  • add box-none pointer events tests (natew)
  • update webpack snapshots (natew)
  • add extra retries for flaky OnLayoutStress test (natew)
  • add retries for flaky AnimationTiming test, fix Sheet maestro wait (natew)
  • increase OnLayoutStress settle time in CI (natew)
  • add autoFocus after menu close and onCloseAutoFocus preventDefault coverage (natew)
  • add RemoveScroll scroll position restoration tests with WebKit project (natew)
  • add Select positioning tests covering lazyMount inner positioning (natew)
  • add CompilerExtraction Detox test for compiler + themes (natew)
  • update native extraction test for flattened output (natew)
  • convert exports test to snapshots with --expect-optimizations (natew)
  • use domcontentloaded for faster test setup (natew)

Continuous Integration

  • switch kitchen-sink-go to Expo Go, simplify tests (natew)
  • skip kitchen-sink-go maestro tests temporarily (natew)
  • install playwright with system deps for webkit support (natew)

Chores

  • clearer tamagui compiler warnings with fixable instructions (natew)
  • moving size up from popper so its more flexible (natew)
  • add react-compiler-check script to scan for compiler compatibility issues (natew)
  • fix minor style regression on tooltip and improve performance (natew)
  • core: refactor font logic to fix specificity issues and re-enable flattening on text (natew)
  • simplify import (natew)
  • format release script (natew)
  • improve turbo test caching config (natew)

Commits

  • ba7fc7b: lints (natew)
  • 56e0135: cleanup exports (natew)
  • bd2be95: better exports for 0 config metro web (natew)
  • 2a8411d: email improve, fix deps (natew)
  • 4a65e97: update emails (natew)
  • 9fd3447: upgrade one (natew)
  • 8916943: v2.0.0-rc.13-1771279885156 (natew)
  • a11f5f8: v2.0.0-rc.14 (natew)
  • c365142: fix upgrades (natew)
  • 4da5722: cleanup menu demo based on new props (natew)
  • 91984b9: improve dismissable branch to automatically handle context so other triggers dont conflict (natew)
  • 18fe6d2: canary2.0.0-rc.14-1771295561174 (natew)
  • c86c30f: fix client-only issue (natew)
  • 19f087b: improve takeout (natew)
  • 5270629: cleanup (natew)
  • 7c9545a: canary2.0.0-rc.14-1771325841778 (natew)
  • ebeb579: add railway health endpoint (natew)
  • f45e12e: fix text wrap small screen (natew)
  • 6f6f296: fix double theme wrap (natew)
  • cffe294: add generated css (natew)
  • 0c3c33e: fix snapshots (natew)
  • 8991333: cleanup not needed portal docs (natew)
  • 038821a: canary2.0.0-rc.14-1771369989691 (natew)
  • 0643425: fix white space inheritance (natew)
  • 055a773: canary2.0.0-rc.14-1771373071543 (natew)
  • c80a8df: canary2.0.0-rc.14-1771383757882 (natew)
  • 66dee58: fix login effect (natew)
  • switch theme generator from opus to sonnet (natew)
  • use sonnet 4.6 for theme gen with openrouter fallback (natew)
  • 8b42e9a: temp disable demo (natew)
  • bff5220: Fix/create v5 theme (#3908) (Dave Mkpa-Eke) #3908
  • 08fec2c: v2.0.0-rc.15 (natew)
  • d45db0c: upgrade one (natew)
  • 5c1c171: add integration test covering native extraction covering basic, theme, and benchmark (natew)
  • 4411df3: update generated css (natew)
  • fc4f887: Revert "test: use domcontentloaded for faster test setup" (natew)
  • 75aa57f: parallelize kitchen sink animation tests (natew)
  • 34d66a8: fix logic with dismissable optimization (natew)
  • 299b8c1: v2.0.0-rc.16 (natew)

Don't miss a new tamagui release

NewReleases is sending notifications on new releases.