The latest changes in Tamagui

Dates are in the form of day/month/year


tamagui 1.0.0-alpha.52

  • ✨ add Drawer

tamagui 1.0.0-alpha.50

  • ✨ add and fix tooltip


@tamagui/static 1.0.0-alpha.47

  • 🐛 fix import react-native-web at build time


@tamagui/core 1.0.0-alpha.46

  • 🐛 Fix className patch and re-enable form elements

@tamagui/static 1.0.0-alpha.46

  • 🐛 fix tests


@tamagui/next-loader 1.0.0-alpha.45

  • 🐛 fix next 12 extraction support, better loader configuration


tamagui 1.0.0-alpha.43

  • ✨ Patches react-native-web to allow className support, enabling...
  • ✨ Add official support for Form, Input, and TextArea


@tamagui/next-plugin 1.0.0-alpha.42

  • ✨ Support next.js 12

tamagui 1.0.0-alpha.41

  • 🐛 Fix components not inheriting default properties on native

tamagui 1.0.0-alpha.40

  • 🐛 Fix buttons not rendering as button tag on web


tamagui 1.0.0-alpha.39

  • 🐛 Fixes broken dist files for next-plugin on previous release


tamagui 1.0.0-alpha.38

  • 🔨 Remove node engines requirements


tamagui 1.0.0-alpha.37

  • 🐛 export TextAncestorContext

@tamagui/core 1.0.0-alpha.37

  • ✨ Auto-fix hsla shadows for native when no shadowOpacity set, set automatically


@tamagui/build 1.0.0-alpha.36

  • 🔨 target es2019 for android support


tamagui 1.0.0-alpha.35

  • 🐛 Button: send toString color to icons
  • 🐛 Separator: don't shrink when vertical


tamagui 1.0.0-alpha.34

  • 🐛 Export StackProps for tamagui stacks only

@tamagui/static 1.0.0-alpha.34

  • 🐛 Move loader-utils to dependencies


@tamagui/next-plugin 1.0.0-alpha.33

  • 🐛 Put runtime dependencies into dependencies instead of devDeps


@tamagui/core 1.0.0-alpha.32

  • 🐛 Improve type inference and strictness on styled() extension to not become looser
  • 🐛 createTheme now allows string | Variable on all values for better theme construction


tamagui, @tamagui/core 1.0.0-alpha.31

  • 🐛 Small type fixes, Paragraph default selectable
  • ✨ split helpers into getFontSize, getFontSizeVariable + export token types
  • 🐛 Fix esm export for core and a make a few variant types nullable

@tamagui/core 1.0.0-alpha.29

  • 🐛 Fix various theme issues with native not re-rendering when changed and some smaller issues not applying correctly

tamagui 1.0.0-alpha.29

  • ✨ Export getSpaceSize and getIconSize helpers used by Button
  • 🐛 SizableText: handle variables properly, no extra size processing
  • 🐛 Pass elevation down through Button to Stack


@tamagui/core 1.0.0-alpha.27

  • 🐛 Fix wrong import for useTheme type

@tamagui/core 1.0.0-alpha.26

  • 🐛 Fix regression useTheme return properly themed ThemeObject type

tamagui 1.0.0-alpha.26

  • 🐛 Fix Button.icon and Button.iconAfter accept component or element types

These releases fix a few things with publishing types, don't publish src folder in npm, and should ignore the files as well so we just publish types. Helpful for VSCode.

tamagui 1.0.0-alpha.25

  • 🐛 Fix some types not built properly, now tracking types in repo

tamagui 1.0.0-alpha.24

  • 🐛 Fix ignore publish

@tamagui/core 1.0.0-alpha.23

  • 🐛 Fix type export of StyleObject

tamagui 1.0.0-alpha.22

  • ✨ Update expo-linear-gradient to latest version

@tamagui/build 1.0.0-alpha.22

  • 🐛 Move devDeps into deps


@tamagui/babel-plugin 1.0.0-alpha.21

  • 🐛 Fix move runtime deps from devDependencies to dependencies


@tamagui/core 1.0.0-alpha.20

  • 🐛 Fix create theme fully if variables

tamagui 1.0.0-alpha.20

  • ✨ Hoverable onHoverMove
  • ✨ SizableText avoid NaN and warn in development

@tamagui/core 1.0.0-alpha.19

  • 🐛 Only warn on missing theme value for easier debugging on native

@tamagui/helpers 1.0.0-alpha.18

  • 🐛 direct dep on react for metro

tamagui 1.0.0-alpha.17

  • 🐛 More consistent type exports

@tamagui/core 1.0.0-alpha.17

  • 🐛 Export fallback TextAncestorContext


@tamagui/static 1.0.0-alpha.13

  • 🐛 Not optimizing in prod mode when no debug logging
  • 🐛 Log timings even when debug prop off

@tamagui/build 1.0.0-alpha.12

  • ✨ Improve and make consistent for better type exports

All other packages are re-built using new build setup.

@tamagui/core 1.0.0-alpha.11

  • 🐛 Fix themes on native not resolving properly

@tamagui/static 1.0.0-alpha.11

  • 🐛 Fix themes on native not resolving properly


tamagui 1.0.0-alpha.9

  • 🐛 Fix Button border radius sizing consistency, disabled style
  • 🐛 Fix use isomorphicLayoutEffect

@tamagui/static 1.0.0-alpha.9

  • ✨ Improve debug output


@tamagui/helpers 1.0.0-alpha.8

  • 🐛 Improve allRules file capitalization

@tamagui/colors 1.0.0-alpha.8

  • 🐛 Improve type generation

@tamagui/feather-icons 1.0.0-alpha.8

  • 🐛 Make flatter so tree shaking more likely

@tamagui/core 1.0.0-alpha.8

  • 🐛 Fix cjs exports so native apps pick up .native.js extensions
  • 🐛 Fix media query style application (non-pseudos)
  • 🐛 Fix <Theme name /> type inference for -dark and -light suffix removal

tamagui 1.0.0-alpha.8

  • 🐛 Fix cjs exports so native apps pick up .native.js extensions

@tamagui/static 1.0.0-alpha.7

  • 🐛 Fix inline media query disable to actually leave it in place for babel-loader

@tamagui/core 1.0.0-alpha.7

  • ✨ Allow disabling media extraction


@tamagui/babel-loader 1.0.0-alpha.6

  • 🐛 Fix broken theme value references

@tamagui/core 1.0.0-alpha.6

  • ✨ Added validation to createTamagui, createFont, createTokens
  • ✨ Export isTamaguiElement helper
  • ✨ Variable.toString() now converts to var() on web, value on native
  • 🐛 Fix types exports
  • 🐛 Better split props off DOM elements to avoid React errors
  • 🐛 Allow themes to access parent.parent theme for finding sub-theme
  • 🔥 Remove blacklistProps saving some size and time
  • 🔥 Remove react-native-safe-area in favor of putting in tamagui only

tamagui 1.0.0-alpha.6

  • 🐛 Fix types exports
  • ✨ Add SafeAreaProvider and export safe area hooks

@tamagui/static 1.0.0-alpha.6

  • 🔥 Remove some extra logging


  • 🎉 This release is too large to do justice!
  • ✨ Renamed from snackui to tamagui
  • ✨ Split out into two main packages:
    • @tamagui/core: Base layer, design system creation library
    • tamagui: All the components

@tamagui/core 1.0.0-alpha.1

  • createTamagui for creation of design systems
    • createFont for bundling font designs together by font-family
    • createTokens for building out base variables that can be shared between themes
    • shorthands that allow for Tailwinds-like short style props you can control
    • theme which takes our previous themes and makes them better typed and able to use tokens
    • media which are no fully customizable, and typed
  • styled() helper for infinitely extensible component definitions
    • Variants for easy, typed and powerful props on styled components
    • Spread variants allow for gathering all variants of a token
  • ✨ Property value shorthands: backgroundColor="$white" can use tokens or themes
  • ✨ Media query inline syntax: $sm={{ color: 'red' }}
  • StaticComponent.extractable helper for allowing better wrapper component extraction
  • 🏎 Components are now much flatter generally avoiding nesting on web
  • 🏎 Variety of bugs and fixes for performance landed
  • 🔥 Remove propMapper in favor of variants and shorthands

tamagui 1.0.0-alpha.1

  • ZStack - align things along the z-axis
  • HStack => XStack, VStack => YStack
  • SizableText which is the base component for Paragraph
  • Paragraph now uses themes properly
  • EnsureFlexed helper component for pushing flex layouts to widest
  • LinearGradient now supports extraction of style properties and flat style properties
  • ✨ Headings - H1 through H6 which use theme properly
  • 🏎 Buttons now wrap with StaticComponent.extractable
  • 🏎 Greatly reduced the size by trimming out extra helpers, hooks, components

@tamagui/next-plugin 1.0.0-alpha.1

  • ✨ Published initial version of working next plugin

@tamagui/static 1.0.0-alpha.1

Static is our compiler that supports babel and webpack.

  • ✨ Improve recursive extraction for conditional and spread logic
  • ✨ Supports extraction of media queries
  • ✨ Supports extraction of shorthands
  • ✨ Supports extraction of property value shorthands
  • ✨ Supports of variants
  • 🐛 Fix bug with spread conditional objects being reversed sometimes
  • 🐛 Tons of correctness bugs improved

@tamgui/colors 1.0.0-alpha.1

  • ✨ Forked @radix-ui/colors and changed values to be compatible with React Native

@tamagui/feather-icons 1.0.0-alpha.1

  • ✨ Published feather icons adapated for React Native