Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
562db69
[fix] numberOfLines=1 on Safari
janicduplessis Aug 23, 2021
aeae9dd
Update documentation styling example
sawa-zen Sep 23, 2021
192472b
Add document about use PanResponder on elements with text content
Warr1611 Sep 5, 2021
68e878b
0.17.2
necolas Sep 28, 2021
4aba2bd
[fix] Dimensions addEventListener returns subscription object
lockonostratos Sep 18, 2021
1266427
[fix] AppState addEventListener returns subscription object
netshade Sep 16, 2021
36681c4
0.17.3
necolas Sep 29, 2021
8999188
[fix] Pressable disabled focus behavior
necolas Sep 29, 2021
798d34e
0.17.4
necolas Sep 29, 2021
04fbf5e
[fix] Animated no longer sets non-unique IDs on elements
necolas Sep 29, 2021
d05fa34
Add failing test for style resolving behavior
chrisgreen1993 May 4, 2021
081a128
0.17.5
necolas Sep 29, 2021
9d86760
Bump markdown-it from 12.0.4 to 12.3.2
dependabot[bot] Jan 12, 2022
aaefb1b
Bump follow-redirects from 1.13.1 to 1.14.7
dependabot[bot] Jan 15, 2022
e217f73
Bump nanoid from 3.1.28 to 3.2.0
dependabot[bot] Jan 22, 2022
438b7b7
[fix] Linking.openURL opens 'tel' links in current tab.
youngvform Sep 11, 2021
d21c401
[fix] Avoid edge case where focus jumps between TextInputs
Nov 8, 2021
944b45c
[fix] Switch support for custom colors when disabled
makkarMeenu Nov 9, 2021
79707ce
[fix] Text numberOfLines=1 on Safari"
parasharrajat Jan 10, 2022
17241db
[fix] AppState.removeEventListener deprecation
necolas Feb 18, 2022
7ec2489
[fix] inverted VirtualizedList supports wheel events
staltz Feb 16, 2022
da80ede
0.17.6
necolas Feb 18, 2022
ea87af2
AppState docs without deprecated API
necolas Feb 22, 2022
c0e3409
Fix 'yarn lint' issue
DavidRieman Feb 19, 2022
aaa58d7
Add SectionList example page
DavidRieman Feb 25, 2022
9ffda21
Add FlatList examples
DavidRieman Feb 19, 2022
8cc79ea
[fix] TextInput numberOfLines for text with line breaks
necolas Mar 1, 2022
dc9ecfb
0.17.7
necolas Mar 1, 2022
c113e46
Fix canUseDOM imports
necolas Feb 24, 2022
9583155
Remove unused benchmarks and libraries
necolas Feb 24, 2022
174ebb3
[change] Remove deprecated accessibility APIs
necolas Feb 24, 2022
b27c982
[change] StyleSheet rewrite
necolas Feb 28, 2022
9b0c119
[change] Remove jest preset
necolas Mar 1, 2022
314d78c
Update packages and benchmarks
necolas Mar 1, 2022
5cab098
Update localization docs and examples
necolas Mar 1, 2022
e7a99f5
[change] Show focus ring on CheckBox and Switch
flip-it Feb 25, 2022
da1a75a
[change] Refactor localization APIs
necolas Mar 18, 2022
edec979
[change] Update FlatList, VirtualizedList, and SectionList vendor mod…
DavidRieman Feb 25, 2022
3326aab
Update copyright headers
necolas Mar 22, 2022
8034a57
Minor fixes
necolas Mar 23, 2022
c4223a6
Fix docs URL for ReactNativeBase
sawa-zen May 5, 2022
ffd300e
[fix] Linking.openURL supports 'target' value
avanwinkle Apr 12, 2022
ae2ee87
Bump semver-regex from 3.1.3 to 3.1.4
dependabot[bot] Jun 3, 2022
094bd0e
[fix] Prevent href navigation for disabled Pressables
rnike Jun 8, 2022
cb8381a
Update docs for 0.18 release
necolas Jun 10, 2022
91fc3c7
[fix] Encode URL in background-image CSS property
matias-la May 11, 2022
1bb816f
Bump cross-fetch from 3.0.6 to 3.1.5
dependabot[bot] Jun 10, 2022
d3bdbcd
Bump ws from 7.4.3 to 7.4.6
dependabot[bot] Jun 10, 2022
9628dcb
Bump ejs from 3.1.6 to 3.1.8
dependabot[bot] Jun 10, 2022
ecb6dd7
Bump follow-redirects from 1.14.7 to 1.15.1
dependabot[bot] Jun 10, 2022
7095118
0.18.0
necolas Jun 10, 2022
1cc95da
[fix] Inline style property order
necolas Jun 14, 2022
0a0bb5d
Revert "[fix] Encode URL in background-image CSS property"
necolas Jun 14, 2022
fa10c75
Update npm publish script with OTP support
necolas Jun 14, 2022
c00b5e4
0.18.1
necolas Jun 14, 2022
2be582b
Update docs for jest setup
necolas Jun 27, 2022
43b60d1
Add styles to examples SSR
yuxizhe Jun 25, 2022
11fcf77
Add README link to examples sandbox
necolas Jun 27, 2022
5258ae4
Fix pointerEvents example for View
necolas Jun 27, 2022
d9fd6a9
[fix] Modal should pass through View props
necolas Jun 27, 2022
09ec7b6
0.18.2
necolas Jun 27, 2022
ae6ddec
Add codesandbox config to examples
necolas Jun 28, 2022
689f5a3
Add codesandbox CI integration for PRs
yuxizhe Jun 28, 2022
7f85495
[fix] Sandbox config node version
yuxizhe Jun 28, 2022
379da30
Regularly test against next builds of React
yuxizhe Jun 28, 2022
59af091
[fix] Prevent style recalculation on pageload
natew Jul 2, 2022
d31a8a1
0.18.3
necolas Jul 2, 2022
f810954
Reorganize monorepo structure
necolas Jul 1, 2022
b704844
Build react-native-web using @babel/runtime
necolas Jul 1, 2022
aee652f
Reorganize README and LICENSE files
necolas Jul 1, 2022
50e267b
Publish only updates react-native-web packages
necolas Jul 1, 2022
31f2e66
Change development scripts
necolas Jul 2, 2022
e9badc3
Use npm to manage monorepo
necolas Jul 2, 2022
0748616
Fix workflows and monorepo deps
necolas Jul 2, 2022
20afd12
Use GitHub issue forms
necolas Jul 3, 2022
e9f9463
0.18.4
necolas Jul 3, 2022
abad4b0
Fix package publishing script
necolas Jul 3, 2022
341a9fc
Update babel dependencies
necolas Jul 3, 2022
98dc30d
Update jest dependencies
necolas Jul 3, 2022
b6f844d
Update eslint dependencies
necolas Jul 3, 2022
b7dd6b6
Update babel-plugin-react-native-web dependencies
necolas Jul 3, 2022
9fce067
Update benchmarks dependencies
necolas Jul 4, 2022
f591a74
Update react-native-web dependencies
necolas Jul 4, 2022
c8f6db8
Update react-native-web-docs dependencies
necolas Jul 4, 2022
174b8f5
Update prettier and reformat source code
necolas Jul 4, 2022
3f04120
Update lint-staged and husky
necolas Jul 4, 2022
0e183ed
Fix npm command in react-integration workflow
necolas Jul 4, 2022
1aa84d5
Misc dependency updates
necolas Jul 4, 2022
e027829
Reduce babel junk in built files
necolas Jul 5, 2022
5c1b5cf
[fix] Appearance API update
gksander Jul 6, 2022
511e553
0.18.5
necolas Jul 6, 2022
80ef32f
[fix] ScrollView support for 'centerContent' prop
nandorojo Jul 6, 2022
06c14c4
Update github issue template
necolas Jul 6, 2022
80a72c3
0.18.6
necolas Jul 6, 2022
8c365d9
Replace fbjs canUseDom with inline module
crathor Jul 8, 2022
07feddf
Replace fbjs performanceNow with performance.now
kyletsang Jul 8, 2022
4a9bea2
[fix] Pressable prevent longpress contextmenu on Windows
yuxizhe Jun 28, 2022
32a4bf8
[fix] Improve Flow types of StyleSheet.create
ToyboxZach Jul 12, 2022
bbffe86
ResponderTouchHistoryStore into instanciated class
zarubond Jan 3, 2022
cc9c9f1
Update react peer dependency in react-native-web
brentvatne Jul 19, 2022
bac3651
0.18.7
necolas Jul 19, 2022
3fc40bd
Fix README examples app url
necolas Jul 19, 2022
107c6ee
[fix] Allow Pressable to be programmatically focused when disabled
necolas Aug 24, 2022
93b1d04
[fix] CheckBox supports readOnly on native control
necolas Aug 24, 2022
290cae2
[fix] Image throws error if packager asset isn't resolved
necolas Aug 24, 2022
bd409f6
0.18.8
necolas Aug 25, 2022
b6c8da8
Bump terser from 5.14.1 to 5.15.0
dependabot[bot] Aug 25, 2022
c764f96
[fix] Allow TextInput to dispatch 'submit' event
mdneyazahmad Aug 12, 2022
9766fe6
[fix] Export useLocaleContext as default export
Aug 30, 2022
dee258a
0.18.9
necolas Aug 30, 2022
0f692f2
[fix] Dimensions.get() should not call change listeners
necolas Nov 2, 2022
fa47f80
0.18.10
necolas Nov 2, 2022
c336e7c
Bump luxon from 2.4.0 to 2.5.2
dependabot[bot] Jan 9, 2023
cfa2625
Bump json5 from 2.2.1 to 2.2.3
dependabot[bot] Jan 8, 2023
18ea5cd
Bump engine.io from 6.2.0 to 6.2.1
dependabot[bot] Nov 22, 2022
56d287b
Bump loader-utils from 2.0.0 to 2.0.4
dependabot[bot] Nov 16, 2022
f34377d
Bump socket.io-parser from 4.0.4 to 4.0.5
dependabot[bot] Jan 11, 2023
ca15203
[fix] 'accessibilityRequired' sets correct 'required' value
necolas Jan 11, 2023
21b5d44
0.18.11
necolas Jan 24, 2023
ccfd936
[fix] iOS not firing `resize` event when keyboard opens/closes
rawalyogendra Nov 23, 2022
77f6fba
[fix] Avoid setting focus tabIndex on <body>
s77rt Jan 17, 2023
57e2482
0.18.12
necolas Jan 25, 2023
030023c
Bump ua-parser-js from 0.7.31 to 0.7.33
dependabot[bot] Jan 24, 2023
9e3efa7
Fix actions used in workflows
Simek Dec 30, 2022
e8098fd
Fix label workflow actions
necolas Jan 27, 2023
bf24fb5
Bump webpack from 5.73.0 to 5.76.0
dependabot[bot] Mar 15, 2023
3a024ee
[change] Remove platform-specific exports
necolas Aug 24, 2022
9868738
[change] React 18 support
edkimmel Aug 26, 2022
fc0d84f
[change] StyleSheet.compose() deprecation
necolas Aug 26, 2022
f313893
[change] Update Animated to support React 18
necolas Aug 26, 2022
e68c327
[change] Remove setNativeProps API
necolas Aug 27, 2022
1f5d092
[fix] Animated works with compiled styles
necolas Aug 29, 2022
95c8a54
[change] Image deprecate resizeMode and tintColor styles
necolas Aug 30, 2022
e8a0cbc
[change] Map 'button' and 'paragraph' role to HTML elements
necolas Sep 1, 2022
a33c322
[change] Deprecate Touchables and Button components
necolas Sep 1, 2022
2874b28
[change] Port ScrollView to Class Component
necolas Nov 2, 2022
67d52a4
[change] Support W3C ARIA props and styles
necolas Nov 4, 2022
42bf402
[change] Support W3C props on TextInput
necolas Nov 7, 2022
72f9d4d
Rewrite docs about company usage
necolas Nov 28, 2022
c6e77c3
[change] W3C fontVariant style values
necolas Nov 28, 2022
5bc5142
[change] W3C verticalAlign style
necolas Nov 28, 2022
831f59e
[change] Deprecate 'transform' style array syntax
necolas Nov 28, 2022
43b463b
[change] W3C logical styles support
necolas Dec 1, 2022
bc6e02e
[change] Move all non-standard CSS transforms to 'preprocess' step
necolas Dec 27, 2022
d60b90b
Minor npm script edit
necolas Dec 27, 2022
80591bf
[add] Support for PointerEvent props
necolas Dec 27, 2022
9431f1e
Fix autoCorrect documentation
parasharrajat Oct 7, 2022
6186604
Update Expo info in docs
Simek Dec 30, 2022
47d77ac
[change] Add task queue for InteractionManager
ntdiary Nov 12, 2022
29fcd9a
[change] Text is position relative by default
necolas Mar 20, 2023
47671ca
[fix] Text inheritance of textAlign
necolas Mar 20, 2023
550afdc
Update documentation to match API changes
necolas Mar 21, 2023
f156ed4
Fix path to ISSUE_TEMPLATE in labels config
necolas Mar 21, 2023
75920f3
0.19.0
necolas Mar 27, 2023
876079a
[fix] Patch internal sources of deprecation warnings
necolas Mar 27, 2023
782a19a
0.19.1
necolas Mar 27, 2023
03ddd95
[fix] layout measurement API consistency with React Native
LucioChavezFuentes Feb 27, 2023
985c79f
[fix] Nested scroll in inverted VirtualizedList
roryabraham Nov 22, 2022
1c5119b
[fix] Reintroduce BackHandler with console.error
necolas Apr 5, 2023
5ace60e
[fix] VirtualizedList sync from react-native
LucioChavezFuentes Mar 28, 2023
4a61c16
0.19.2
necolas Apr 5, 2023
6795738
[fix] Patch more internal sources of deprecation warnings
necolas Apr 11, 2023
338cce1
[fix] SSR of Animated doesn't call useLayoutEffect
necolas Apr 11, 2023
3e74ed0
Update interactive examples
necolas Apr 11, 2023
7638301
[fix] Defaults and fallback logic for web props
necolas Apr 12, 2023
526eac1
0.19.3
necolas Apr 12, 2023
8472324
[fix] Linking listener.remove() API
necolas Apr 12, 2023
e160546
0.19.4
necolas Apr 12, 2023
39b94b1
Remove internal createEventHandle module
necolas Apr 12, 2023
3af715a
Bump engine.io from 6.4.0 to 6.4.2
dependabot[bot] May 4, 2023
f06c8b5
Bump yaml from 2.2.1 to 2.2.2
dependabot[bot] Apr 25, 2023
3acbbd8
Bump nunjucks from 3.2.3 to 3.2.4
dependabot[bot] Apr 20, 2023
c43b629
Bump socket.io-parser from 4.2.2 to 4.2.3
dependabot[bot] May 24, 2023
2a901e5
[fix] Image: style resolving
necolas May 31, 2023
9b69c73
[fix] Make children pressable when parent is disabled
jennifer-dickinson Jun 13, 2023
6ab9b61
[fix] Dimensions measurements with window zoom
alitoshmatov May 13, 2023
14204b0
Use correct "NativeBase" name in website docs
ankit-tailor May 4, 2023
6dbef6e
Fix website undesired vertical scrollbar on Windows
tarunrajput May 30, 2023
c350d82
0.19.5
necolas Jun 16, 2023
1c376db
[fix] Add support for caretHidden prop in TextInput
aswin-s Jun 22, 2023
80e83fa
[fix] Update normalize-color
makkarMeenu Jun 26, 2023
d200276
[fix] Missing @react-native/normalize-color updates
necolas Jun 27, 2023
869c416
[fix] Animated fix transforms on null values
necolas Jun 27, 2023
b10c663
0.19.6
necolas Jun 28, 2023
b04ca26
Force install react-integration workflow dependencies
necolas Jul 10, 2023
15f7899
Bump tough-cookie from 4.1.2 to 4.1.3
dependabot[bot] Jul 10, 2023
9d7dca1
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 19, 2023
3babcc4
[fix] Remove StyleSheet.compose(a, b) in FlatList
berkcoker Jul 16, 2023
a8a0c17
[fix] Pressable button click regression
necolas Jul 19, 2023
213b616
[fix] Switch uses aria-label on native control
tarunrajput Jul 17, 2023
617b438
[fix] Only stringify numeric aspectRatio
itsramiel Jul 18, 2023
ef95fc0
0.19.7
necolas Jul 20, 2023
d8f1b58
[fix] Correct timing of <Modal> onDismiss callback
bernhardoj Jul 17, 2023
67a0bde
0.19.8
necolas Aug 24, 2023
5e41208
[fix] TextInput cursor position with secureTextEntry
Jul 28, 2023
a3ea2a0
0.19.9
necolas Sep 19, 2023
24212aa
[fix] Remove transform style warning
EvanBacon Dec 19, 2023
5f9c32e
0.19.10
necolas Dec 24, 2023
8f55ed0
Bump follow-redirects from 1.15.2 to 1.15.4
dependabot[bot] Jan 10, 2024
e44bcf4
[fix] use getBoundingClientRect instead of getRect for measureInWindow
sangar-1028 Nov 24, 2023
cc04392
[fix] @react-native/normalize-colors dependency
tarunrajput Feb 7, 2024
8cf720f
Add missing method `Keyboard.isVisible()`
miso-belica Mar 20, 2024
a0cd8ff
[fix] VirtualizedList passive event listener warning
tienifr Oct 25, 2023
7d60ff8
[fix] Pressable keyboard onPress bug
bernhardoj Apr 2, 2024
84dcaf0
Bump follow-redirects from 1.15.4 to 1.15.6
dependabot[bot] Apr 1, 2024
e90c3be
Bump @babel/traverse from 7.20.13 to 7.23.2
dependabot[bot] Oct 18, 2023
36948a6
0.19.11
necolas Apr 22, 2024
25ef6bd
Bump ejs from 3.1.8 to 3.1.10
dependabot[bot] May 2, 2024
2098b1f
Revert "[fix] VirtualizedList passive event listener warning"
necolas May 17, 2024
12db5a2
Fix clamp csj usage
zoriya May 16, 2024
2106944
[fix] alt text on Image; role on label
ayroblu May 13, 2024
da47f21
[add] Support showSoftInputOnFocus on TextInput
imaspen Apr 30, 2024
54c14d6
0.19.12
necolas May 22, 2024
1e39c2d
Add TypeScript support page
fabioh8010 Aug 19, 2024
7401d69
Remove HTTP status code for Image error msg
Romick2005 Oct 11, 2024
ce28ea8
Coerce `AppState.isAvailable` to a boolean
mozzius May 24, 2024
98a66b4
Bump ws from 8.12.1 to 8.17.1
dependabot[bot] Jun 17, 2024
bc0b637
Bump braces from 3.0.2 to 3.0.3
dependabot[bot] Jun 20, 2024
da3c583
Bump fast-loops from 1.1.3 to 1.1.4
dependabot[bot] Jul 10, 2024
8b7b50a
Bump socket.io from 4.6.0 to 4.7.5
dependabot[bot] Jul 10, 2024
907aac9
Bump pug from 3.0.2 to 3.0.3
dependabot[bot] Jul 10, 2024
e922224
[fix] TextInput refocusing issue with selectTextOnFocus
QichenZhu Jul 31, 2024
72a74d2
change operator used in SVG filter for tintColor from atop to in
karlsander Jun 20, 2024
bb7911c
Bump jest
necolas Oct 15, 2024
1d4568d
Add basic support for React Server Components
EvanBacon Jun 3, 2024
abc4abb
[fix] dont throw if invalid locale
ayroblu Oct 16, 2024
fc423ba
Remove API deprecation warnings
necolas Oct 16, 2024
a5ba27c
0.19.13
necolas Oct 17, 2024
de32e19
[fix] Default value for alignContent style property
rosko Dec 26, 2024
0d5fb0f
[feat] Support style boxShadow as array
rosko Jan 4, 2025
fcbe2d1
[fix] Support array syntax on transformOrigin
Freddy03h Dec 27, 2024
9c8f89b
[change] Support for React 19
Viraj-10 Oct 28, 2024
4e2fcbf
[change] Update inline-style-prefixer
necolas Apr 3, 2025
08f8bd3
[fix] Prevent clipped text from being scrolled by drag
tienifr Sep 25, 2023
922c134
0.20.0
necolas Apr 3, 2025
208fe57
Update multi-platform.md
retyui Jul 12, 2025
e76a17d
[fix] Correctly propagate `pointer-events: auto` to children when set…
hassankhan Jul 18, 2025
3013038
Update createPortal import from react-dom
miblanchard Jun 29, 2025
3c27dec
0.21.0
necolas Jul 25, 2025
f58fd39
[fix] Correctly propagate `pointer-events` to children
hassankhan Aug 6, 2025
ef03bdd
Add 'Version' to Platform
riteshshukla04 Jul 28, 2025
e351aad
Fix memory leak with Animated API
staszekscp Aug 20, 2025
ae6ad8f
Fix Animated.loop and Animated.sequence crash
psnet Jun 28, 2025
2da322a
0.21.1
necolas Aug 20, 2025
21342d4
Fix pointerEvents propagation
staszekscp Aug 26, 2025
fb510d0
Fix benchmarks
necolas Aug 29, 2025
ac73f24
Modal: Significantly improve animation
qwertychouskie Sep 16, 2025
d902158
Fix memory leak in AnimatedProps constructor
c-miles Oct 11, 2025
a78ec28
feat(accessibility): add inert to forwardedProps
theonetheycallneo Apr 15, 2025
a9de220
0.21.2
necolas Oct 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"packages": ["packages/react-native-web", "packages/babel-plugin-react-native-web"],
"buildCommand": "build",
"sandboxes": ["/packages/react-native-web-examples/"],
"node": "16"
}
17 changes: 0 additions & 17 deletions .flowconfig

This file was deleted.

84 changes: 31 additions & 53 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,97 +14,79 @@ Fork, then clone the repo:
git clone https://github.com/your-username/react-native-web.git
```

Install dependencies (requires [yarn](https://yarnpkg.com/en/docs/install)):
Install dependencies (requires Node.js >= 16.0):

```
yarn
npm install
```

## Automated tests
## Build

To run the linter:
Build a specific package:

```
yarn lint
npm run build -w <package-name>
```

To run flow:
For example, this will build `react-native-web`:

```
yarn flow
npm run build -w react-native-web
```

To run the unit tests:
Build all packages that can be built:

```
yarn jest
npm run build
```

…in watch mode:
## Develop

```
yarn jest --watch
```

To run all these automated tests:
Develop a specific package:

```
yarn test
npm run dev -w <package-name>
```

## Compile and build

To compile the `react-native-web` source code:
For example, this command will watch and rebuild the `react-native-web` package:

```
yarn compile
npm run dev -w react-native-web
```

…in watch mode:
And this command will watch and rebuild the `react-native-web-examples` package:

```
yarn compile --watch
npm run dev -w react-native-web-examples
```

## Documentation
## Test

To run the documentation website:
Run the monorepo linter:

```
yarn docs
npm run lint
```

## Examples

To run the examples app:
Run the monorepo type checker:

```
yarn examples
npm run flow
```

When you're also making changes to the 'react-native-web' source files, run this command in another process:
Run the monorepo unit tests:

```
yarn compile --watch
npm run unit
```

## Benchmarks

To run the benchmarks locally:
Run all the automated tests:

```
yarn benchmarks
open ./packages/benchmarks/dist/index.html
npm run test
```

To develop against these benchmarks:

```
yarn compile --watch
yarn benchmarks --watch
```

### New Features
## New Features

Please open an issue with a proposal for a new feature or refactoring before starting on the work. We don't want you to waste your efforts on a pull request that we won't want to accept.

Expand All @@ -115,19 +97,15 @@ Please open an issue with a proposal for a new feature or refactoring before sta
1. Fork the repository and create your branch from `master`.
2. If you've added code that should be tested, add tests!
3. If you've changed APIs, update the documentation.
4. Ensure the tests pass (`yarn test`).
4. Ensure the tests pass (`npm run test`).

You should see a pre-commit hook run before each commit. If it does not, you may need to reset you Git hookspath:

```
git config --unset core.hookspath
```
You should see a pre-commit hook run before each commit.

You can now submit a pull request, referencing any issues it addresses.

Please try to keep your pull request focused in scope and avoid including unrelated commits.

After you have submitted your pull request, we'll try to get back to you as soon as possible. We may suggest some changes or improvements.
After you have submitted your pull request, it's recommended that **you** perform the first code review. We'll try to get back to you as soon as possible and may suggest changes.

Thank you for contributing!

Expand All @@ -136,11 +114,11 @@ Thank you for contributing!
To commit, publish, and push a final version:

```
yarn release <version>
npm run release -- <version> --otp=<otp-code>
```

Release candidates or versions that you'd like to publish to npm, but do not want to produce a commit and push it to GitHub:

```
yarn release <version> --skip-git
npm run release -- <version> --skip-git
```
52 changes: 0 additions & 52 deletions .github/ISSUE_TEMPLATE/bug.md

This file was deleted.

48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Bug report
description: File a bug report
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thank you for reporting an issue! Create a test case for your issue by forking this template https://codesandbox.io/s/6lx6ql1w5r
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Describe the issue
description: Please provide a concise description of what you're experiencing. Providing screenshots is also helpful.
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: Please provide a concise description of what you expected to happen.
validations:
required: true
- type: textarea
attributes:
label: Steps to reproduce
description: Please describe the precise steps needed to reproduce the behavior.
placeholder: |
Mention package versions and environment (browser, etc)...
1. ...
2. ...
validations:
required: true
- type: input
attributes:
label: Test case
description: Please provide a link to a reduced test case that reproduces the issue.
placeholder: "https://codesandbox.io/s/6lx6ql1w5r"
validations:
required: true
- type: textarea
attributes:
label: Additional comments
description: You're welcome to provide additional context and proposed solutions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature.md

This file was deleted.

21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Feature request
description: If you have a suggestion…
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thank you for suggesting a feature!
- type: checkboxes
attributes:
label: Is there an existing request?
description: Please search open and closed issues to see if this request has already been made.
options:
- label: I have searched for this request
required: true
- type: textarea
attributes:
label: Describe the feature request
description: Please provide a concise description of the request, potential solutions, and additional context.
validations:
required: true
2 changes: 1 addition & 1 deletion .github/labels-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"needs: issue template":
comment: >
<strong>:warning: This issue is missing required fields</strong>. To avoid this issue being closed, please provide the required information as described in the <a href="https://github.com/necolas/react-native-web/blob/master/.github/ISSUE_TEMPLATE/bug.md">ISSUE TEMPLATE</a>.
<strong>:warning: This issue is missing required fields</strong>. To avoid this issue being closed, please provide the required information as described in the <a href="https://github.com/necolas/react-native-web/blob/master/.github/ISSUE_TEMPLATE/bug.yml">ISSUE TEMPLATE</a>.

"resolution: no response":
comment: >
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
name: labels

# This workflow is triggered when a label is added to an issue.
on:
issues:
types: labeled
types: [labeled, unlabeled]
pull_request:
types: [labeled, unlabeled]

permissions:
contents: read
issues: write
pull-requests: write

jobs:
label-actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: hramos/label-actions@v1
- uses: actions/checkout@v3
- uses: dessant/label-actions@v3
with:
configuration-path: .github/labels-config.yml
repo-token: ${{ secrets.GITHUB_TOKEN }}
config-path: .github/labels-config.yml
github-token: ${{ github.token }}
2 changes: 1 addition & 1 deletion .github/workflows/performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
compressed-size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: necolas/compressed-size-action@master
with:
build-script: "compile"
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/react-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: react@next integration

on:
schedule:
# Run every Monday at 12:00 (see https://crontab.guru)
- cron: '0 12 * * 1'

jobs:
react-next:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
# Update react-native-web to use react@next
- run: npm install --force react@next react-dom@next -w react-native-web
# Run the unit tests
- run: npm run unit
Loading