Commit Graph

1838 Commits

Author SHA1 Message Date
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
Nicolas Gallagher 0a0bb5d879 Revert "[fix] Encode URL in background-image CSS property"
This reverts commit 91fc3c7aab.

Fix #2304
Ref #2286
2022-06-14 10:29:26 -07:00
Nicolas Gallagher 1cc95da907 [fix] Inline style property order 2022-06-13 17:35:20 -07:00
Nicolas Gallagher 7095118edd 0.18.0 0.18.0 2022-06-10 13:30:24 -07:00
dependabot[bot] ecb6dd7b31 Bump follow-redirects from 1.14.7 to 1.15.1
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.15.1.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.15.1)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 13:23:53 -07:00
dependabot[bot] 9628dcbfb3 Bump ejs from 3.1.6 to 3.1.8
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 13:23:38 -07:00
dependabot[bot] d3bdbcd483 Bump ws from 7.4.3 to 7.4.6
Bumps [ws](https://github.com/websockets/ws) from 7.4.3 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.3...7.4.6)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 13:23:23 -07:00
dependabot[bot] 1bb816f09f Bump cross-fetch from 3.0.6 to 3.1.5
Bumps [cross-fetch](https://github.com/lquixada/cross-fetch) from 3.0.6 to 3.1.5.
- [Release notes](https://github.com/lquixada/cross-fetch/releases)
- [Commits](https://github.com/lquixada/cross-fetch/compare/v3.0.6...v3.1.5)

---
updated-dependencies:
- dependency-name: cross-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 20:19:43 +00:00
Matias Lang 91fc3c7aab [fix] Encode URL in background-image CSS property
Solution based on
https://stackoverflow.com/questions/25613552/how-should-i-escape-image-urls-for-css

Close #2286
2022-06-10 13:16:24 -07:00
Nicolas Gallagher cb8381af7b Update docs for 0.18 release 2022-06-10 13:14:46 -07:00
Mike 094bd0efc5 [fix] Prevent href navigation for disabled Pressables
Close #2299
2022-06-10 10:13:15 -07:00
dependabot[bot] ae2ee87404 Bump semver-regex from 3.1.3 to 3.1.4
Bumps [semver-regex](https://github.com/sindresorhus/semver-regex) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/sindresorhus/semver-regex/releases)
- [Commits](https://github.com/sindresorhus/semver-regex/commits/v3.1.4)

---
updated-dependencies:
- dependency-name: semver-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-10 10:13:14 -07:00
Anthony van Winkle ffd300ebfd [fix] Linking.openURL supports 'target' value
Close #2277
2022-06-10 10:13:14 -07:00
sawa-zen c4223a6a57 Fix docs URL for ReactNativeBase
Close #2282
2022-06-10 10:13:14 -07:00
Nicolas Gallagher 8034a57aae Minor fixes
Close #2264
Close #2275
2022-06-10 10:13:14 -07:00
Nicolas Gallagher 3326aab292 Update copyright headers 2022-03-22 10:07:02 -07:00
David Rieman edec9798d1 [change] Update FlatList, VirtualizedList, and SectionList vendor modules
Close #2241
Fix #2030
Fix #1608
2022-03-22 09:47:23 -07:00
Nicolas Gallagher da1a75a7f4 [change] Refactor localization APIs
* Control writing direction using 'dir' and 'lang' props.
* Change the compiler output for RTL styles polyfill.
* Export 'useLocaleContext' for working with writing direction context.
* Turn I18nManager into a mock API
2022-03-22 09:44:08 -07:00
Filip Holm e7a99f5ef2 [change] Show focus ring on CheckBox and Switch
Close #2242
2022-03-02 10:50:05 -08:00
Nicolas Gallagher 5cab098dd4 Update localization docs and examples 2022-03-02 10:50:05 -08:00
Nicolas Gallagher 314d78c0cc Update packages and benchmarks
Remove libraries from benchmarks as comparison to css-modules baseline is what
matters. This makes benchmark builds faster and will reduce how often people
open PRs asking for their library to be included.

Close #2210
2022-03-02 10:50:05 -08:00
Nicolas Gallagher 9b0c1193a2 [change] Remove jest preset
Also add node-based unit tests for SSR APIs.
2022-03-02 10:50:04 -08:00
Nicolas Gallagher b27c9820db [change] StyleSheet rewrite
* Improves React Native compatibility by making StyleSheet.create the identify function.
* Improves React 18 support by inserting styles on eval.
* Supports use with multiple windows (i.e., iframes) and shadow roots.
* Supports nested LTR/RTL layouts.
* Supports 3rd party compilers and extraction to static CSS.
* Fixes static and dynamic short/longform deduplication.
* Reduces browser support: Safari 10.1+, Chromium Edge, no IE, no legacy Android browsers.
* Removes automatic vendor-prefixing of inline styles (for better perf).
* Removes focus-visible polyfill as modern browsers no longer show focus rings for mouse interactions.

Close #2208
Fix #2138
Fix #2196
Fix #2007
Fix #1517
2022-03-02 10:50:04 -08:00
Nicolas Gallagher 174ebb3c5d [change] Remove deprecated accessibility APIs
Removes 'accessible', 'accessibilityState', and 'accessibilityValue' props.
2022-03-02 10:06:20 -08:00
Nicolas Gallagher 9583155523 Remove unused benchmarks and libraries
We only need to test against the baseline of css-modules.

Fix #2210
2022-03-02 10:06:20 -08:00
Nicolas Gallagher c113e4605c Fix canUseDOM imports
Close #2149
2022-03-02 10:06:20 -08:00
Nicolas Gallagher dc9ecfbc84 0.17.7 0.17.7 2022-03-01 13:22:24 -08:00