2.17.0
❗ Important changes
- Add
ref
property toButtons
by @m-bert in #2903 - Unify touch events callbacks on
web
with respect toAndroid
by @m-bert in #2923 - Add
touchType
toTouchEvent
by @latekvo in #2941
👍 Improvements
- Refactor
GestureDetector
by @j-piasecki in #2901 - Remove lodash by @m-bert in #2916
PointerTracker
refactor. by @m-bert in #2931- Change
offsetX
andoffsetY
calculations inPointerEventManager
by @m-bert in #2938
🐛 Bug fixes
- Make
RootViewGestureHandler
handler cancel awaiting gestures by @j-piasecki in #2900 - Get right bridge by @piaskowyk in #2886
- Fix buttons getting stuck after scrolling on them by @j-piasecki in #2693
- Fix Detector creating and attaching all gestures twice on first mount by @j-piasecki in #2914
- Fix GestureDetector not working when its children change by @j-piasecki in #2921
- Fix GestureDetector not working correctly with suspense and recycling by @j-piasecki in #2925
- Fix nested buttons on the new architecture by @j-piasecki in #2926
- Unify scaled coordinates between
web
andnative
side. by @m-bert in #2943 - [Web] Send relative coords in event. by @m-bert in #2944
🔢 Miscellaneous
- Add information about
GestureHandlerRootView
area and change component name in quick start section in docs. by @m-bert in #2899 - Add Hire us section to docs by @patrycjakalinska in #2904
- Bump ejs from 3.1.7 to 3.1.10 by @dependabot in #2888
- Bump tar from 6.2.0 to 6.2.1 in /e2e/web-tests by @dependabot in #2859
- docs: add @swmansion/t-rex-ui by @kacperkapusciak in #2895
- Change navbar and footer to a reusable component by @patrycjakalinska in #2902
- Add dark mode to button in
Hire us
section by @patrycjakalinska in #2908 - Setup example app to use Expo by @bohdanprog in #2905
- Revert "docs: add @swmansion/t-rex-ui" by @kacperkapusciak in #2909
- Bump @sideway/formula from 3.0.0 to 3.0.1 by @dependabot in #2910
- docs: add @swmansion/t-rex-ui by @patrycjakalinska in #2911
- Fix symlink loop during pods installation by @j-piasecki in #2917
- Bump rexml from 3.2.6 to 3.2.8 in /FabricExample by @dependabot in #2915
- Add animated header to the example app by @j-piasecki in #2913
- Add option to auto-open last example in the example app by @j-piasecki in #2918
- Replace current theme components with
@swmansion/t-rex-ui
by @patrycjakalinska in #2906 - Bump rexml from 3.2.6 to 3.2.8 in /MacOSExample by @dependabot in #2924
- Bump rexml from 3.2.6 to 3.2.8 in /example by @dependabot in #2930
- feat: automatically copy codegen artifacts to paper by @maciekstosio in #2933
- Add swipeable example rewritten to new API by @latekvo in #2934
- Fix new swipeable using useMemo with incomplete dependency list by @latekvo in #2937
- docs: update Hire us links to directly lead to contact form by @kacperkapusciak in #2935
- chore(types): add missing pointerType to GestureTouchEvent by @mgcrea in #2928
- Bump braces from 3.0.2 to 3.0.3 in /example by @dependabot in #2945
- Bump braces from 3.0.2 to 3.0.3 in /e2e/web-tests by @dependabot in #2946
- Bump ws from 6.2.2 to 6.2.3 by @dependabot in #2947
- Bump ws from 6.2.2 to 6.2.3 in /e2e/web-tests by @dependabot in #2948
- Add
relativeCoords
average toPointerTracker
by @m-bert in #2939 - Add missing import in docs by @piaskowyk in #2950
New Contributors
- @bohdanprog made their first contribution in #2905
- @maciekstosio made their first contribution in #2933
- @mgcrea made their first contribution in #2928
Full Changelog: 2.16.2...2.17.0