Fork of react-native
for macOS.
npm install @alloc/react-native-macos
- Upgrade
<Text>
and<TextInput>
to RN 0.54 (#227) - Add
RCTWindow
for improved input handling (#228) - Add support for React hooks (#225)
- Create a library for native SVG support (repo)
- Support
onMouseEnter
andonMouseLeave
events (#231) - Reimplement the native
hitSlop
prop (830777c4558292091a6b0e5f43161466f9526a16) - Create a library for playing sounds (repo)
- Support
pointerEvents
prop (b48d8cb2544b08c739cd7263f673cbff06149eee) - Add
<WindowDrag>
component (3baecb6ac056fb022198ae20550ace3f4c76f2a0) - Add
<Gradient>
component (1f828676faf872421b037c598cada0371a62db02) - Add
cursor
prop to<View>
(d679a7cfe47dbae3c69ed5070b679dc3ccd3eb1c) - Fork
@react-native-community/art
and make it work on macOS (repo) - Support moving a
RCTWindow
to a screen with a differentbackingScaleFactor
(e289a8d8c3e502527eb43bdfcd6c27651f7f22ae) - Fork
@types/react-native
and maintain it here - Add
preferFocus
prop to<TextInput>
that prevents blur when clicking outside the input view - Rework the
RCTKeyCommands
API (26b036d1030ea9b0e8fe3d5475ed51e9263b6db9) - Avoid redrawing borders if nothing changed (79918e7a50d65ac7e6bef0c60705f548d3dbac52)
- Add
style.backgroundBlurRadius
to<View>
(6092467359f4fb025655d7b5912ba1491f8d06b5) - Add
AppState.windows
and new AppState events "rootViewWillAppear" and "windowDidChangeScreen" (edcc0dc4b43e00fc784abbb85513b4fed285d28e) - Split out the
<MaskedView>
component (4a887c16d8b5cc6de7766e681bdd2382bd3f4e15) - Add native
Worker
class (branch) - Add
<Window>
component (API draft) - Recompute the mouse target when its current target's frame changes (relative to window)
- Add
<Menu>
component (API draft) - Add
inert
prop for disabling focus and user interaction (see here) - Add
<HotKey>
component (API draft)
This list is incomplete. See the commit log for more.
- Fix
zIndex
prop being ignored (fe5bb43f5c31598b349becbedbaa7f4ade65d4e4) - Respect
layer.transform
insidehitTest
(0c56034ab578c5d0c493a3183ac6d1bbb156160b) - Various RCTView fixes (#234)
- In some cases, shadows won't render unless
backgroundColor
comes after the shadow props - Fix the "change" event of
AppState
(77566a3b78431e5f3712722044022234ceedc44c) - Hit testing in
RCTNativeScrollView
(80ae3f304328ff00356ab7f0a251325e666b38b5) - Scrollbars should be visible by default (12721449c00649de251c24391db9cd839db2bce8)
- Shadows won't render when
shadowOpacity
is undefined - Keep cursor an
I
-bar between mouseDown and mouseUp in a<TextInput>
- The element inspector (
cmd+i
) doesn't work