Commit Graph

1864 Commits

Author SHA1 Message Date
Nicolas Gallagher
854eb5e4ce [fix] CheckBox supports readOnly on native control
Fix #2359
2022-08-24 15:03:14 -07:00
Nicolas Gallagher
3fc40bdf81 Fix README examples app url
Close #2338
2022-07-19 15:04:56 -07:00
Nicolas Gallagher
bac3651db3 0.18.7 0.18.7 2022-07-19 14:32:59 -07:00
Brent Vatne
cc9c9f1ec8 Update react peer dependency in react-native-web
Play nicely with npm 7+ and react-native@0.69 / react@18

Close #2347
2022-07-19 14:28:11 -07:00
Ondrej Zaruba
bbffe86fd6 ResponderTouchHistoryStore into instanciated class
Refactor ResponderTouchHistoryStore from singleton to class instantiated
in ResponderSystem. This is a part of greater effort to enable support
for multiple browser windows

Close #2190
2022-07-19 14:04:51 -07:00
ToyboxZach
32a4bf8e51 [fix] Improve Flow types of StyleSheet.create
Close #2342
2022-07-19 13:37:28 -07:00
yuxizhe
4a9bea27a8 [fix] Pressable prevent longpress contextmenu on Windows
Long-press with a touch on a Pressable does not suppress the contextmenu
on Windows. On iOS and Android, the contextmenu is triggered while the
pointer is down, after a certain length of time. However, on Windows,
the contextmenu is displayed after pointerup (with the same timestamp as
pointerup), whether triggered by a mouse right-click or a touch
long-press.

Fix #2296
Close #2316
2022-07-19 13:26:58 -07:00
kyletsang
07feddf300 Replace fbjs performanceNow with performance.now
Close #2337
Ref ##2333
2022-07-08 12:59:43 -07:00
Cody Rathor
8c365d9892 Replace fbjs canUseDom with inline module
Close #2336
Ref #2333
2022-07-08 12:59:11 -07:00
Nicolas Gallagher
80a72c327c 0.18.6 0.18.6 2022-07-06 16:34:00 -07:00
Nicolas Gallagher
06c14c460c Update github issue template 2022-07-06 16:32:00 -07:00
Fernando Rojo
80ef32f6ee [fix] ScrollView support for 'centerContent' prop
Fix #2331
Close #2332
2022-07-06 16:14:35 -07:00
Nicolas Gallagher
511e5537d1 0.18.5 0.18.5 2022-07-06 15:51:31 -07:00
Grant Sander
5c1b5cfad2 [fix] Appearance API update
Match react-native >=0.65

Fix #2329
2022-07-06 15:48:22 -07:00
Nicolas Gallagher
e027829cdb Reduce babel junk in built files
Configure babel preset-env to match the documentation's browser support
list.
2022-07-06 15:42:38 -07:00
Nicolas Gallagher
1aa84d5447 Misc dependency updates 2022-07-04 15:10:01 -07:00
Nicolas Gallagher
0e183ede7c Fix npm command in react-integration workflow 2022-07-04 14:04:26 -07:00
Nicolas Gallagher
3f04120d50 Update lint-staged and husky 2022-07-04 14:04:06 -07:00
Nicolas Gallagher
174b8f505a Update prettier and reformat source code 2022-07-03 17:37:19 -07:00
Nicolas Gallagher
c8f6db8bfc Update react-native-web-docs dependencies 2022-07-03 17:23:15 -07:00
Nicolas Gallagher
f591a7426c Update react-native-web dependencies 2022-07-03 17:22:40 -07:00
Nicolas Gallagher
9fce0678e5 Update benchmarks dependencies 2022-07-03 17:08:14 -07:00
Nicolas Gallagher
b7dd6b66d0 Update babel-plugin-react-native-web dependencies 2022-07-03 16:59:15 -07:00
Nicolas Gallagher
b6f844da30 Update eslint dependencies 2022-07-03 16:57:07 -07:00
Nicolas Gallagher
98dc30de73 Update jest dependencies 2022-07-03 16:50:06 -07:00
Nicolas Gallagher
341a9fc5c4 Update babel dependencies 2022-07-03 16:44:12 -07:00
Nicolas Gallagher
abad4b045d Fix package publishing script
074861623e changed the workspace
configuration with the result that 'react-native-web' appeared twice in
the array of workspaces, causing an attempt to republish the package
during the release task.
2022-07-03 12:04:13 -07:00
Nicolas Gallagher
e9f9463308 0.18.4 0.18.4 2022-07-02 17:18:38 -07:00
Nicolas Gallagher
20afd12c3b Use GitHub issue forms
Close #2323
2022-07-02 17:15:33 -07:00
Nicolas Gallagher
074861623e Fix workflows and monorepo deps
* Remove 'react' packages from monorepo dependencies.
* Ensure 'react-native-web' package is built first.
2022-07-02 12:35:12 -07:00
Nicolas Gallagher
e9badc3e38 Use npm to manage monorepo
Remove use of yarn from the monorepo
2022-07-02 12:02:25 -07:00
Nicolas Gallagher
31f2e66bf0 Change development scripts
Switch to npm-workspaces monorepo task management.
2022-07-02 12:02:24 -07:00
Nicolas Gallagher
50e267b0aa Publish only updates react-native-web packages
The script to release react-native-web is now limited to version-locking
related packages, not every package in the monorepo.
2022-07-02 12:02:15 -07:00
Nicolas Gallagher
aee652f6c9 Reorganize README and LICENSE files 2022-07-02 12:01:06 -07:00
Nicolas Gallagher
b704844ca7 Build react-native-web using @babel/runtime
Share babel helpers across files. Reduces flat bundle size by 30K
minified and 3K gzipped.
2022-07-02 12:01:06 -07:00
Nicolas Gallagher
f81095442f Reorganize monorepo structure
* Move all config files to './configs'
* Simplify './scripts' folder.
2022-07-02 12:01:01 -07:00
Nicolas Gallagher
d31a8a1ec1 0.18.3 0.18.3 2022-07-02 11:48:32 -07:00
Nate Wienert
59af091fdb [fix] Prevent style recalculation on pageload
Close #2325
2022-07-02 11:12:55 -07:00
yuxizhe
379da30e4c Regularly test against next builds of React
Test against react@next Once a week on Monday

Close #1484
Close #2318
2022-06-28 14:15:25 -07:00
yuxizhe
7f85495b7e [fix] Sandbox config node version 2022-06-29 02:50:50 +08:00
yuxizhe
689f5a33f1 Add codesandbox CI integration for PRs
Close #2317
2022-06-28 11:29:46 -07:00
Nicolas Gallagher
ae6ddec452 Add codesandbox config to examples 2022-06-28 11:29:43 -07:00
Nicolas Gallagher
09ec7b6e53 0.18.2 0.18.2 2022-06-27 16:34:25 -07:00
Nicolas Gallagher
d9fd6a942f [fix] Modal should pass through View props
Fix #2314
2022-06-27 16:32:43 -07:00
Nicolas Gallagher
5258ae4821 Fix pointerEvents example for View 2022-06-27 16:32:28 -07:00
Nicolas Gallagher
11fcf77b46 Add README link to examples sandbox
Link to the example and the forkable codesandbox.

Close #2310
Close #2311
2022-06-27 10:30:19 -07:00
yuxz
43b60d1eed Add styles to examples SSR
Close #2308
Fix #2309
2022-06-27 10:30:01 -07:00
Nicolas Gallagher
2be582b6e0 Update docs for jest setup
Fix #2312
2022-06-27 10:19:28 -07:00
Nicolas Gallagher
c00b5e4192 0.18.1 0.18.1 2022-06-14 10:47:58 -07:00
Nicolas Gallagher
fa10c75daf Update npm publish script with OTP support 2022-06-14 10:46:31 -07:00