tamagui

Style React fast with 100% parity on React Native, an optional UI kit, and optimizing compiler.

MIT License

Downloads
1M
Stars
11.2K
Committers
194

Bot releases are hidden (Show)

tamagui - v1.58.0

Published by natew about 1 year ago

Features

  • switch: add createSwitch API for creating fully headless switch (natew)
  • switch: add active theme to SwitchThumb when checked (natew)
  • themes avoid creating active theme that changes thumb color with colored themes

Bug Fixes

  • label: remove role from Label by default to conform to WAI-ARIA 4 (Neil W)
  • generate-themes: fix stricter typescript errors with generated themes file (natew)
  • web: createTheme type should just pass through what it receives, deprecate createTheme since its not needed (natew)
  • button: fix Button not passing maxFontSizeMultiplier down to text components (natew)
  • switch: automatically handle custom switch width and heights when positioning the thumb (natew)
  • web: fix themeReset not applying reset (natew)
  • web: avoid warning on css variable colors when normalizing (natew)
  • helpers: composeEventHandlers returns undefined if null handler passed to match React expected event types (natew)
tamagui - 1.47.0

Published by natew about 1 year ago

Bug Fixes

  • fix(use-did-finish-ssr): avoid extra renders for already hydrated components 184e7cc52fea404afd9855147f31fef8c0e359bb
  • fix(proxy-worm): node 16 compat ||= 4e7766ba98beecaca76a940acb8da1f9612833d9
  • fix(theme-builder): export everything from create-theme so the masks are exported e65148c129102c27c0607d52e85a644b373d95e7
  • fix: add dev warning to withStaticProperties() being called twice d67918d1af49ab4d8c2208cf87a11fcec39e0c43
  • fix(animate-presence): useLayoutEffect for onExitComplete ab85f7b97464814a94a20f3816df7b0d66d29ea8
  • fix(web): fix next.js ssr complaining about using in on object in prod 0430bf03c3fb77d999885bc679aca9de1cc3601e
  • fix(popover): avoid transition on change state to avoid loops 53912e813c4b63f05316c2e1ef05d55b21d4841c

Performance

  • perf(native): for some reason using an object spread vs an object assign caused a 2x slowdown in overall render performance e3fd1a351a399c2545e20ae76fb3a357bdb482ae
  • perf(core): many smaller performance optimizations avoid object spreads, removing unused and duplicate code, inlining a4cc57455c71287cc0ef995c4f55e52452504f79
  • perf(core): another bundle of performance upgrades avoid more object spreads, pass a big object around 352e8aa48910610c1369079f8ab9025921c5fe4a
  • perf(core): more native performance optimizations and web bundle size reduction a380423ec3479419f47a79309b0fbccd40f48204
  • perf(animations-moti): only import the moti hook 980ab34d0fc397aa3c721b69e9c8881e244ecbca
  • perf(core): merge together some duplicate style prop lists 175733e56466595492e1c99a96aa280750393657
tamagui - v1.7.0

Published by natew over 1 year ago

  • Tamagui now has Tabs!

See: https://tamagui.dev/docs/components/tabs