v1.116.0
版本发布时间: 2024-10-22 07:03:56
tamagui/tamagui最新发布版本:v1.116.7(2024-10-24 18:09:38)
Features
- adapt: add portal option to useAdaptParent to simplify common usage #3007 (natew)
- portal: on web, use native react-dom portals to improve performance and context #3007 (natew)
- adapt: add ability to dynamically Adapt inline using callback function #3007 (natew)
- portal: allow passthrough prop on PortalItem #3007 (natew)
- adapt: enable AdaptPortalContents to either automatically portal or passthrough based on if active #3007 (natew)
- portal: add stackZIndex prop that allows for automatic zIndex stacking #3008 (natew)
- sheet: upgrade to 3.x branch of react-native-ios-modal for native prop (natew)
- static: support loading tsconfig paths for tamagui compiler bundle (natew)
Bug Fixes
- core: better logic to avoid reparenting on null themes #3008 (natew)
- sheet: fix sheet inside sheet on native not showing properly, and fix allowing sheets to nest when TAMAGUI_USE_NATIVE_PORTAL=false #3008 (natew)
- core: fix enter animations on moti driver with ssr (#3012) #3012 (Nate Wienert)
Documentation
- fix theme-builder guide createTheme params (#3004) #3004 (Duane Johnson)
- fix typo in
exports-withLayoutContext.mdx
(#3002) #3002 (Szymon Rybczak) - improve native sheet docs (natew)
Performance Improvements
- core: remove need for useSyncExternalStore from components with a more lazy didHydrateOnce hook, will not optimize until a bit later but avoids expensive hook (natew)
Chores
- core: refactor useMedia to improve logic, reduce re-renders, fix concurrent mode safety #3007 (natew)
- cleanup last few commits and get working #3007 (natew)
- remove-scroll: upgrade react-remove-scroll to 2.6.0 #3007 (natew)
Commits
- 70ca8e4: revert github sub-action (jonsherrard)
- 2ca000f: one site cleanup, add testflight demo link, add community links (natew)
- a2fd6a5: tamagui site improve features grid (natew)
- improve menu docs sections #3007 (natew)
- 8ed515d: re-enable sheet direct adapt (natew) #3008
- 0ca50d7: upgrade native sheet demo and fix regressions in select (natew) #3008
- 3550798: cleanup and fix after changes (natew) #3008
- ae41fad: fix checks (natew)
- f71f97f: upgrade one, temp remove ai docs (natew)
- d010d2b: upgrade one for caching (natew)
- 13735fb: update webpack snapshots (natew)
- 53c0b8f: Add more information about styling tamagui ui components (#3011) (Jon Sherrard) #3011
- 4202843: v1.116.0 (natew)