Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 00c2808
Author: Hyungu Kang | Airen <gusrn1423@naver.com>
Date:   Sun Nov 6 21:14:16 2022 +0900

    Added lineBreakStrategyIOS to Text and TextInput (facebook#2566)

    Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

commit ab32e2d
Author: Robbie Plankenhorn <rplankenhorn@gmail.com>
Date:   Sun Nov 6 02:38:15 2022 -0600

    Speeding up Build: Fixing symbolic links (facebook#3329)

commit 8e22289
Author: Eric Edouard Amilhat <eamilhat@gmail.com>
Date:   Sat Nov 5 08:44:59 2022 +0100

    View Style Props: Add borderCurve prop (facebook#2785)

commit c944021
Author: Robbie <robbie@blueheart.io>
Date:   Sat Nov 5 07:41:43 2022 +0000

    Alert: Add "isPreferred" to AlertButtonStyle (facebook#2839)

commit f279c06
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Sat Nov 5 04:18:08 2022 -0300

    Add missing aria props to Accessibility docs (facebook#3396)

commit 00646cd
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Fri Nov 4 21:20:18 2022 -0300

    feat: Update fontVariant supported types docs (facebook#3378)

commit 96f4297
Author: khali70 <59835449+khali70@users.noreply.github.com>
Date:   Sat Nov 5 02:16:15 2022 +0200

    update to microsoft-openjdk11 (facebook#3386)

commit cdd9399
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Fri Nov 4 05:38:35 2022 -0300

    Fix documentation typos (facebook#3395)

commit ea4f803
Author: Alex Hunt <hello@alexhunt.io>
Date:   Wed Nov 2 21:07:20 2022 +0000

    Tweak homepage text to more broadly refer to platforms (facebook#3391)

commit 1636d5e
Author: Rafael Ricardo Vieceli <2790845+rvieceli@users.noreply.github.com>
Date:   Tue Nov 1 12:31:44 2022 +0100

    Replaced editUrl branch name with main (facebook#3389)

commit b47dc1d
Author: David Narbutovich <4661784+retyui@users.noreply.github.com>
Date:   Mon Oct 31 11:35:57 2022 +0100

    Recommend to use `es2019` and use community driven TS config `@tsconfig/react-native` (facebook#3342)

commit fd87e46
Author: Peter Cho <pcasdfj@gmail.com>
Date:   Fri Oct 28 17:54:38 2022 -0400

    Build from Source: add missing paren in publishing (facebook#3387)

commit d4fcb93
Author: Héctor Ramos <165856+hramos@users.noreply.github.com>
Date:   Thu Oct 27 19:38:17 2022 -0700

    The Hermes docs in next, also apply to 0.70. (facebook#3380)

commit 0339cae
Author: Héctor Ramos <165856+hramos@users.noreply.github.com>
Date:   Tue Oct 25 09:42:20 2022 -0700

    Add updated instructions on using Hermes (facebook#3376)

    * Add updated instructions on using Hermes

    * lint

commit df492ce
Author: Telmen <flyinvoke@gmail.com>
Date:   Wed Oct 19 19:20:52 2022 +0800

    Fix typo in New Architecture Intro (facebook#3374)

    Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

commit 262ff68
Author: mjh <61671361+mjh316@users.noreply.github.com>
Date:   Wed Oct 19 01:39:56 2022 -0700

    Fixed typo in headless-js-android.md (facebook#3377)

commit e4d0982
Author: Lorenzo Sciandra <lsciandra@microsoft.com>
Date:   Tue Oct 18 16:50:27 2022 +0100

    chore(release): Update release testing section for new E2E testing script (facebook#3368)

    * remove E2E section until we'll re-add it post E2E setup

    * remove mention of the E2E script

    * rework the release testing page

    * add mention of where to find the info to turn on new arch

    * typo

    * re-add section

commit 20908b3
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Sun Oct 16 16:45:48 2022 +0100

    New Architecture - Remove the extra steps required to copy .so files (facebook#3356)

commit ae47850
Author: Riccardo <cipolleschi@fb.com>
Date:   Sun Oct 16 16:45:12 2022 +0100

    fix: improve TM explanation (facebook#3364)

commit f042dca
Author: Bartosz Kaszubowski <gosimek@gmail.com>
Date:   Wed Oct 12 20:50:17 2022 +0200

    add back missing docs vote component (facebook#3371)

commit 6dc2805
Author: Luis Medina <luism3861@gmail.com>
Date:   Wed Oct 12 03:19:27 2022 -0500

    docs: update running on simulator iOS (facebook#3346)

commit 3add39c
Author: Karl Horky <karl.horky@gmail.com>
Date:   Wed Oct 12 10:16:55 2022 +0200

    Getting Started: list zsh before bash in macOS guide (facebook#3358)

    Co-authored-by: Nicola Corti <corti.nico@gmail.com>

commit f6be947
Author: Chukwu Smart <chukwusmartchukwuemeka@gmail.com>
Date:   Wed Oct 12 09:14:23 2022 +0100

    ScrollView: rephrase onContentSizeChange description (facebook#3357)

    Co-authored-by: Nicola Corti <corti.nico@gmail.com>

commit 37d85ba
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Wed Oct 12 05:11:14 2022 -0300

    Layout Props: Update aspectRatio supported types (facebook#3363)

commit e00c9b0
Author: Jesse Katsumata <jesse.katsumata@gmail.com>
Date:   Wed Oct 12 17:07:36 2022 +0900

    Getting Started: fix Android version label in older docs (facebook#3367)

commit 03d8848
Author: Timothy Yung <yungsters@meta.com>
Date:   Tue Oct 11 15:15:08 2022 -0700

    Fix headers on *.ts files (facebook#3370)

commit e5ba872
Author: Timothy Yung <yungsters@meta.com>
Date:   Tue Oct 11 15:07:00 2022 -0700

    Missing header in `docusaurus.config.js` (facebook#3369)

commit f0d9c4a
Author: Jesse Katsumata <jesse.katsumata@gmail.com>
Date:   Sat Oct 8 05:45:16 2022 +0900

    Communities: remove duplicate header (facebook#3365)

commit a6e7419
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Thu Oct 6 06:45:52 2022 -0300

    feat: Add verticalAlign to Text Style Props docs (facebook#3361)

commit 911a282
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Wed Oct 5 11:15:01 2022 +0100

    Finalize the Kotlinization (facebook#3360)

    * Finalize the Kotlinization

    * Remove extra imports

commit 3c124e0
Author: Asaf Korem <55082339+asafkorem@users.noreply.github.com>
Date:   Tue Oct 4 21:03:42 2022 +0300

    Showcase: add Wix's apps section. (facebook#3349)

commit 2e4eb04
Author: Kryštof Woldřich <31292499+krystofwoldrich@users.noreply.github.com>
Date:   Tue Oct 4 13:09:33 2022 +0200

    Fix codegen iOS scripts paths (facebook#3359)

commit 4c3603b
Author: Ismael Moreira <ismaelsousa1998@outlook.com>
Date:   Mon Oct 3 14:09:54 2022 -0300

    Update pillars-turbomodule.md (facebook#3355)

commit 4b1aeff
Author: Oskar Kwaśniewski <oskarkwasniewski@icloud.com>
Date:   Mon Oct 3 15:58:05 2022 +0200

    fix: remove isTurboModuleEnabled check from docs (facebook#3337)

    * fix: remove isTurboModuleEnabled check

    * fix: remove unnecessary back ticks

    Co-authored-by: Riccardo <riccardo.cipolleschi@gmail.com>

    Co-authored-by: Riccardo <riccardo.cipolleschi@gmail.com>

commit 9987b07
Author: Timothy Yung <yungsters@meta.com>
Date:   Fri Sep 30 08:43:45 2022 -0700

    Fix more copyright header issues (facebook#3353)

commit 84397da
Author: Timothy Yung <yungsters@meta.com>
Date:   Fri Sep 30 08:43:28 2022 -0700

    Update to Contributor Covenant (facebook#3354)

commit 6e981dd
Author: Lorenzo Sciandra <lsciandra@microsoft.com>
Date:   Fri Sep 30 11:57:11 2022 +0100

    rework the community section of the website (facebook#3338)

    Co-authored-by: Luna <lunaleaps@gmail.com>

commit b943d45
Author: Timothy Yung <yungsters@fb.com>
Date:   Fri Sep 30 00:49:39 2022 -0700

    Apply updated copyright to `*.js` files (facebook#3352)

commit 006f573
Author: Timothy Yung <yungsters@fb.com>
Date:   Fri Sep 30 00:48:43 2022 -0700

    Address Security Vulnerabilities in Dependencies (facebook#3351)

commit d6fe39d
Author: Arati Chilad <58401542+arati-1@users.noreply.github.com>
Date:   Wed Sep 28 03:43:38 2022 -0700

    Checks for the documentation (facebook#3348)

commit 3d1ea2c
Author: Lorenzo Sciandra <lsciandra@microsoft.com>
Date:   Tue Sep 27 17:27:34 2022 +0100

    add NFL to the showcase (facebook#3347)

commit ff9886c
Author: Pavlos Vinieratos <pvinis@gmail.com>
Date:   Mon Sep 26 12:44:01 2022 +0300

    Update showcase link for Artsy (facebook#3340)

commit 905824a
Author: Joshua Yoes <37849890+joshuayoes@users.noreply.github.com>
Date:   Mon Sep 26 01:17:31 2022 -0700

    fix(native-modules-android.md): rename createCalendarEventCallback (facebook#3345)

commit 400d509
Author: Damoness <qjwdcool@qq.com>
Date:   Mon Sep 26 15:54:57 2022 +0800

    Layout Props: clean warning in example (facebook#3344)

commit 86139c5
Author: David Narbutovich <4661784+retyui@users.noreply.github.com>
Date:   Sun Sep 25 21:14:53 2022 +0400

    Document ability to pass Element via ItemSeparatorComponent (facebook#3343)

commit c9448b0
Author: Daksh Bhardwaj <dakshbhardwaj2@gmail.com>
Date:   Fri Sep 23 14:33:41 2022 +0530

    add documentation for `aria-valuemax` `aria-valuemin` `aria-valuenow` `aria-valuetext` (facebook#3318)

commit 54f9a7d
Author: Connor Tumbleson <iBotPeaches@users.noreply.github.com>
Date:   Fri Sep 23 03:02:12 2022 -0400

    Add Source Maps Page (facebook#3293)

    Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
    Co-authored-by: Dmytro Rykun <dmitry.rykun@gmail.com>

commit 69f723b
Author: Daksh Bhardwaj <dakshbhardwaj2@gmail.com>
Date:   Fri Sep 23 12:29:47 2022 +0530

    Text: add documentation for `userSelect` prop (facebook#3311)

commit 4260478
Author: Daksh Bhardwaj <dakshbhardwaj2@gmail.com>
Date:   Fri Sep 23 12:25:51 2022 +0530

    add documentation for `aria-modal` prop (facebook#3320)

commit 94c5e80
Author: Oskar Kwaśniewski <oskarkwasniewski@icloud.com>
Date:   Thu Sep 22 14:46:19 2022 +0200

    fix: remove isFabricEnabled check from docs (facebook#3336)

    * fix: remove isFabricEnabled check

    * fix: language lint

commit b55bdc6
Author: Dhruv Tailor <32268377+dhruvtailor7@users.noreply.github.com>
Date:   Thu Sep 22 18:15:06 2022 +0530

    Add new props to Image docs (facebook#3310)

commit 357254c
Author: Lorenzo Sciandra <lsciandra@microsoft.com>
Date:   Thu Sep 22 11:32:05 2022 +0100

    chore: clean up new arch docs (facebook#3332)

    * tweaks

    * revert change

commit 12dc712
Author: Akshansh Thakur <aksh500@gmail.com>
Date:   Wed Sep 21 23:18:21 2022 +0530

    Updated button.md to reference Pressable (facebook#3237)

commit 8754483
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Wed Sep 21 09:47:51 2022 -0300

    Add id prop to Text, TouchableWithoutFeedback and View docs (facebook#3285)

commit 91ce6bc
Author: Riccardo <cipolleschi@fb.com>
Date:   Wed Sep 21 12:52:34 2022 +0100

    fix: Improve wording for iOS getting started (facebook#3334)

commit b5f5b5a
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Wed Sep 21 08:23:41 2022 -0300

    Update colors docs regarding expanded support for CSS Colors (facebook#3306)

commit 4e386d6
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Wed Sep 21 11:41:31 2022 +0100

    Update docs with AGP 7.3.x setup (facebook#3333)

commit 72c8bd5
Author: Lorenzo Sciandra <lorenzo.sciandra@gmail.com>
Date:   Tue Sep 20 18:34:32 2022 +0100

    Modify the top navbar to be less full (facebook#3177)

    * modify navbar

    * rename

    * reorder and rename

    * reorder the navbar

    * change size to match the other elements

    * change style to match the other elements

    * tweak the footer to reflect the new header

    * fix link

    * fix the other link

    * small CSS tweaks

    * small naming tweak

    Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

commit 7202412
Author: Bartosz Kaszubowski <gosimek@gmail.com>
Date:   Tue Sep 20 00:35:29 2022 +0200

    fix incorrect link to re-enable prod deploy (facebook#3330)

commit 5dd8fcd
Author: Lorenzo Sciandra <lorenzo.sciandra@gmail.com>
Date:   Fri Sep 16 18:27:40 2022 +0100

    showcase: update entries (facebook#3328)

commit 8c65a42
Author: Lorenzo Sciandra <lsciandra@microsoft.com>
Date:   Fri Sep 16 11:19:11 2022 +0100

    minor tweaks to the wording for the versions page (facebook#3327)

commit 7bb5d88
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Fri Sep 16 12:00:23 2022 +0300

    [0.71.0] Update the New Architecture guide with the changes for the New Template on Android (facebook#3324)

    Co-authored-by: Riccardo <cipolleschi@fb.com>

commit 5462afb
Author: Sunny Luo <sunnylqm@gmail.com>
Date:   Fri Sep 16 16:04:34 2022 +0800

    fix _getting-started-macos-ios.md info format (facebook#3326)

commit a917b04
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Thu Sep 15 14:54:20 2022 +0300

    Fix broken links to Appendix (facebook#3319)

commit 1285a79
Author: Riccardo <cipolleschi@fb.com>
Date:   Thu Sep 15 11:21:03 2022 +0200

    [Fix] Improve Getting started with iOS (facebook#3323)

commit 791d9d1
Author: Riccardo <cipolleschi@fb.com>
Date:   Wed Sep 14 10:39:08 2022 +0200

    [FEAT] Add doc to simplify podspecs for Native Modules and Native Components (facebook#3321)

    * [FEAT] Add doc to simplify podspecs for Native Modules and Native Components

    * fix: apply suggested changes I

    Co-authored-by: Arati Chilad <58401542+arati-1@users.noreply.github.com>

    * fix: apply suggested changes II

    Co-authored-by: Arati Chilad <58401542+arati-1@users.noreply.github.com>

    * fix: apply suggested changes III

    Co-authored-by: Arati Chilad <58401542+arati-1@users.noreply.github.com>

    * fix: apply suggested changes IV

    Co-authored-by: Arati Chilad <58401542+arati-1@users.noreply.github.com>

    * fix: apply suggested changes V

    Co-authored-by: Arati Chilad <58401542+arati-1@users.noreply.github.com>

    * fix: apply suggested changes VI

    Co-authored-by: Arati Chilad <58401542+arati-1@users.noreply.github.com>

    Co-authored-by: Arati Chilad <58401542+arati-1@users.noreply.github.com>

commit 0468011
Author: JiashengWu <wujs1010@outlook.com>
Date:   Wed Sep 14 00:19:07 2022 -0700

    Fix title case in testing-overview.md (facebook#3322)

commit 38cd75a
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Tue Sep 13 19:24:25 2022 +0100

    Remove unnecessary box from Legacy Native Modules/Components (facebook#3313)

commit bbd36d1
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Fri Sep 9 21:18:24 2022 +0100

    [0.70] Clarify New Architecture Terminology (facebook#3315)

commit c084b5a
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Fri Sep 9 21:18:04 2022 +0100

    Clarify New Architecture Terminology - Take 2 (facebook#3316)

commit 63d00e7
Author: Ricky <rickhanlonii@gmail.com>
Date:   Fri Sep 9 15:13:35 2022 -0400

    Revert "Clarify New Architecture Terminology (facebook#3308)" (facebook#3314)

    This reverts commit 54d266b.

commit 54d266b
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Fri Sep 9 15:08:43 2022 +0100

    Clarify New Architecture Terminology (facebook#3308)

commit 42e0266
Author: Riccardo <cipolleschi@fb.com>
Date:   Fri Sep 9 12:21:24 2022 +0100

    fix: Address missing feedback from prev PR (facebook#3312)

commit 4a3b02c
Author: Riccardo <cipolleschi@fb.com>
Date:   Fri Sep 9 12:03:13 2022 +0100

    [New Architecture][iOS][0.71.0] Update the App Migration section (facebook#3268)

commit 7c1091c
Author: Arati Chilad <58401542+arati-1@users.noreply.github.com>
Date:   Thu Sep 8 09:19:13 2022 -0700

    The New Architecture section editorial review  (facebook#3288)

    * [Do Not Merge] Refactoring The New Architecture (facebook#3029)

    * [Guide - The New Architecture] What Backward Compatibility Is (facebook#3038)

    * Guide to creating a New Architecture app from template (facebook#3056)

    * Start new template guide

    This is a first iteration. I want to get feedback on a few aspects, so
    starting from here as a baseline.

    * Update title

    * Use tabs for target OS

    Set up matching the style of "Getting Started", except I kept the
    headers inside the tabs for now as it makes for a useful right-hand TOC.

    * Capitalize New Architecture, simplify

    * Preliminary section for Hermes

    Add section for recommending enabling Hermes. Not sure of contents yet,
    and still have to test.

    * Reword to emphasize importance of Hermes usage

    * Show new arch in use

    * Add build speed article link

    * Add pro tip for pod install alias

    * Restructure, repeat less

    Favor linking to original setup guide instead of repeating content.

    * Note about Expo

    * Include command on uninstalling global CLI

    * How to learn more

    * Remove headers in tabs

    They don't work correctly with the righthand TOC.

    * Make header more clear

    * Use quote block less often

    There was way too much yellow.

    * Opt for instructions using XCode

    Because `xcodebuild clean` already failed me once when XCode GUI clean
    worked.

    * Fix lint issue

    * Improve wording

    * Use product name

    * Fix line wraps

    * Reword based on feedback

    * Note use of bundle install

    * Pod removal instructions

    Also standardize on using yarn scripts from template for commands, it's
    a little confusing to see the mix of `npx` and `yarn` once we start
    referring to `yarn pod-install`

    * Convert quotes to admonitions

    * Convert Note: to admonitions

    * Feedback: Change admonitions to caution

    * PR feedback

    * New Architecture landing page (facebook#3072)

    * First draft of landing page

    * Add migration and backwards compatibility links

    * lint fix

    * Restructure slightly, leaning more on context from Why a New Architecture

    * Don't need md in links

    * Suggested rewording

    * Rephrase pillar summaries

    * [Guide - The New Architecture] Why A New Architecture (facebook#3043)

    * [Guide - The New Architecture] Pillars (facebook#3046)

    * [Guide - The New Architecture] TurboModules as Native Modules (facebook#3039)

    * [Guide - The New Architecture] Fabric Components as Native Components (facebook#3040)

    * [FEAT][TNA] Fabric Component Guide (facebook#3132)

    * [Feat] Add intro for Fabric Components

    * feat: add guide to create a Fabric Component

    * Add page on codegen (facebook#3155)

    * [FEAT] TurboModules guide (facebook#3168)

    * [Feat] Add intro for Fabric Components

    * feat: add guide to create a Fabric Component

    * Beginning of guide/folder structure

    * WIP JS Spec

    * specification section

    * Configuration

    * native code intro

    * Must be named Spec

    * Best stab at iOS native code, but I don't know how to describe what's going on in the code very well. Extrapolated what I could.

    * Android instructions

    iOS isn't working for me. Builds, but can't load module.

    Writing up Android auto-linking next because the steps I tested did
    work.

    * Include linking instructions from RNNArch repo

    * Add example JavaScript

    * native modules link

    * Address quick feedback items

    * Remove, fix for rebased branch

    * fix TM parameter on Android

    * Revert to 'Codegen' casing

    * Revert folly version change

    2021.07.22 is for current version on main

    * fix typo

    * getTurboModule explainer

    * Sentence edits

    - Fix acronym bolding
    - Change wording to "recommended" because "standard" has other
      connotations of possibly being required
    - Parentheses unnecessary, distracting

    * Remove TODO for now

    Getting inconsistent results here, not sure if this is wrong or not;
    removing TODO for now so it doesn't block anything

    * ABI rephrase, more in line with new Fabric guide wording

    * Explain shared C++ code more

    * feat: add guide to create a Fabric Component

    * feat: add guide to create a Fabric Component

    * package.json description

    * Lint fixes

    * fix: Move JS constants to reduce changes

    * fix: Remove newline

    * feat: add required step for Android Codegen

    * fix: use the proper links

    Co-authored-by: Riccardo Cipolleschi <cipolleschi@fb.com>

    * wip: migration guide review (facebook#3200)

    * Fix for some typos and other editorial related changes

    * Update docs/the-new-architecture/pillars-fabric-components.md

    correcting the article

    Co-authored-by: Riccardo <riccardo.cipolleschi@gmail.com>

    * Update pillars-fabric-components.md

    Co-authored-by: Riccardo <cipolleschi@fb.com>
    Co-authored-by: Lizzi Lindboe <lindboe@users.noreply.github.com>
    Co-authored-by: Riccardo <riccardo.cipolleschi@gmail.com>

commit 9e6e311
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Thu Sep 8 12:55:43 2022 +0100

    Follow-up on CMake clarification for 0.70 (facebook#3309)

commit 000d581
Author: Nicola Corti <corti.nico@gmail.com>
Date:   Thu Sep 8 09:49:49 2022 +0100

    Update New Architecture instructions to use CMake instead of Android.mk (facebook#3304)

commit d9d4adb
Author: Vojtech Novak <vonovak@gmail.com>
Date:   Wed Sep 7 09:08:34 2022 +0200

    docs: fix path in script example (facebook#3302)

commit 10f26e9
Author: Ricky <rickhanlonii@fb.com>
Date:   Tue Sep 6 13:00:59 2022 -0400

    Revert renaming native components (facebook#3301)

commit b432092
Author: Daksh Bhardwaj <daksh@plgworks.com>
Date:   Tue Sep 6 19:31:59 2022 +0530

    TextInput: Add enterKeyHint prop (facebook#3299)

commit f57ac2d
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Tue Sep 6 09:36:40 2022 -0300

    Image: Add tintColor prop (facebook#3292)

    Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

commit 7d7f483
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Tue Sep 6 09:35:28 2022 -0300

    View: Add tabIndex prop (facebook#3286)

    Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>

commit 9422060
Author: fabriziobertoglio1987 <fabrizio.bertoglio@gmail.com>
Date:   Tue Sep 6 17:29:42 2022 +0800

    adding accessibilityRole 'grid' to documentation (facebook#3224)

commit 0de9633
Author: EvertEt <evert.etienne@gmail.com>
Date:   Tue Sep 6 11:22:19 2022 +0200

    Flexbox: correct example description (facebook#3284)

commit 04250d6
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Tue Sep 6 06:18:34 2022 -0300

    TextInput: Add inputMode prop (facebook#3289)

commit 9a4ad7a
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Tue Sep 6 06:08:25 2022 -0300

    TextInput: Add rows prop (facebook#3280)

commit 51a7543
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Tue Sep 6 06:04:49 2022 -0300

    AccessibilityInfo: add prefersCrossFadeTransitions to docs (facebook#3279)

commit 010d7cd
Author: Gabriel Donadel Dall'Agnol <donadeldev@gmail.com>
Date:   Tue Sep 6 06:02:01 2022 -0300

    TextInput: Add readOnly prop (facebook#3278)
  • Loading branch information
sunnylqm committed Nov 7, 2022
1 parent 4f53438 commit 9ce8c5b
Show file tree
Hide file tree
Showing 199 changed files with 3,603 additions and 3,431 deletions.
2 changes: 1 addition & 1 deletion .alexrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
Expand Down
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"overrides": [
{
"files": ["*.yaml", "*.yml"],
"plugins": ["yaml"],
"extends": ["plugin:yaml/recommended"]
"plugins": ["yml"],
"extends": ["plugin:yml/standard"]
},
{
"files": ["*.md", "*.mdx"],
Expand Down
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
blank_issues_enabled: false
contact_links:
- name: ⚛️ React Native Issue
url: https://github.com/facebook/react-native/issues
about: Please report bugs or issues in the React Native repository.
- name: ⤴️ Upgrade Issue
url: https://github.com/react-native-community/upgrade-support
about: Need help upgrading to a newer React Native version? Visit the Upgrade Support repository.
- name: 🤔 Questions and Help
url: https://reactnative.dev/community/support
about: Looking for help with your app? Please refer to the React Native community's support resources.
- name: 🚀 React Native Discussions and Feature Proposals
url: https://github.com/react-native-community/discussions-and-proposals
about: Discuss the future of React Native in the React Native community's discussions and proposals repository.
180 changes: 80 additions & 100 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,100 +1,80 @@
# [Open Source Code of Conduct](https://code.facebook.com/codeofconduct)

This code of conduct outlines our expectations for participants within the
**Facebook Open Source** community, as well as steps to reporting unacceptable
behavior. We are committed to providing a welcoming and inspiring community for
all and expect our code of conduct to be honored. Anyone who violates this code
of conduct may be banned from the community.

Our open source community strives to:

* **Be friendly and patient.**
* **Be welcoming:** We strive to be a community that welcomes and supports
people of all backgrounds and identities. This includes, but is not limited to
members of any race, ethnicity, culture, national origin, colour, immigration
status, social and economic class, educational level, sex, sexual orientation,
gender identity and expression, age, size, family status, political belief,
religion, and mental and physical ability.
* **Be considerate:** Your work will be used by other people, and you in turn
will depend on the work of others. Any decision you take will affect users and
colleagues, and you should take those consequences into account when making
decisions. Remember that we’re a world-wide community, so you might not be
communicating in someone else’s primary language.
* **Be respectful:** Not all of us will agree all the time, but disagreement is
no excuse for poor behavior and poor manners. We might all experience some
frustration now and then, but we cannot allow that frustration to turn into a
personal attack. It’s important to remember that a community where people feel
uncomfortable or threatened is not a productive one.
* **Be careful in the words that you choose:** we are a community of
professionals, and we conduct ourselves professionally. Be kind to others. Do
not insult or put down other participants. Harassment and other exclusionary
behavior aren’t acceptable. This includes, but is not limited to:
* Violent threats or language directed against another person.
* Discriminatory jokes and language.
* Posting sexually explicit or violent material.
* Posting (or threatening to post) other people’s personally identifying
information (“doxing”).
* Personal insults, especially those using racist or sexist terms.
* Unwelcome sexual attention.
* Advocating for, or encouraging, any of the above behavior.
* Repeated harassment of others. In general, if someone asks you to stop, then
stop.
* **When we disagree, try to understand why:** Disagreements, both social and
technical, happen all the time. It is important that we resolve disagreements
and differing views constructively.
* **Remember that we’re different.** The strength of our community comes from
its diversity, people from a wide range of backgrounds. Different people have
different perspectives on issues. Being unable to understand why someone holds
a viewpoint doesn’t mean that they’re wrong. Don’t forget that it is human to
err and blaming each other doesn’t get us anywhere. Instead, focus on helping
to resolve issues and learning from mistakes.

This code is not exhaustive or complete. It serves to distill our common
understanding of a collaborative, shared environment, and goals. We expect it to
be followed in spirit as much as in the letter.

## Diversity Statement

We encourage everyone to participate and are committed to building a community
for all. Although we may not be able to satisfy everyone, we all agree that
everyone is equal. Whenever a participant has made a mistake, we expect them to
take responsibility for it. If someone has been harmed or offended, it is our
responsibility to listen carefully and respectfully, and do our best to right
the wrong.

Although this list cannot be exhaustive, we explicitly honor diversity in age,
gender, gender identity or expression, culture, ethnicity, language, national
origin, political beliefs, profession, race, religion, sexual orientation,
socioeconomic status, and technical ability. We will not tolerate discrimination
based on any of the protected characteristics above, including participants with
disabilities.

## Reporting Issues

If you experience or witness unacceptable behavior—or have any other
concerns—please report it by contacting us via opensource@fb.com. All reports
will be handled with discretion. In your report please include:

* Your contact information.
* Names (real, nicknames, or pseudonyms) of any individuals involved. If there
are additional witnesses, please include them as well. Your account of what
occurred, and if you believe the incident is ongoing. If there is a publicly
available record (e.g. a mailing list archive or a public IRC logger), please
include a link.
* Any additional information that may be helpful.

After filing a report, a representative will contact you personally. If the
person who is harassing you is part of the response team, they will recuse
themselves from handling your incident. A representative will then review the
incident, follow up with any additional questions, and make a decision as to how
to respond. We will respect confidentiality requests for the purpose of
protecting victims of abuse.

Anyone asked to stop unacceptable behavior is expected to comply immediately. If
an individual engages in unacceptable behavior, the representative may take any
action they deem appropriate, up to and including a permanent ban from our
community without warning.

_This Code Of Conduct follows the
[template](http://todogroup.org/opencodeofconduct/) established by the
[TODO Group](http://todogroup.org/)._
# Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

- The use of sexualized language or imagery and unwelcome sexual attention or
advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic
address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

This Code of Conduct also applies outside the project spaces when there is a
reasonable belief that an individual's behavior may have a negative impact on
the project or its community.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at <opensource-conduct@fb.com>. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) Facebook, Inc. and its affiliates.
Copyright (c) Meta Platforms, Inc. and affiliates.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 2 additions & 4 deletions docs/_getting-started-macos-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,15 @@ Finally, click "Apply" to download and install the Android SDK and related build

The React Native tools require some environment variables to be set up in order to build apps with native code.

Add the following lines to your `$HOME/.bash_profile` or `$HOME/.bashrc` (if you are using `zsh` then `~/.zprofile` or `~/.zshrc`) config file:
Add the following lines to your `~/.zprofile` or `~/.zshrc` (if you are using `bash`, then `~/.bash_profile` or `~/.bashrc`) config file:

```shell
export ANDROID_SDK_ROOT=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_SDK_ROOT/emulator
export PATH=$PATH:$ANDROID_SDK_ROOT/platform-tools
```

> `.bash_profile` is specific to `bash`. If you're using another shell, you will need to edit the appropriate shell-specific config file.
Type `source $HOME/.bash_profile` for `bash` or `source $HOME/.zprofile` to load the config into your current shell. Verify that ANDROID_SDK_ROOT has been set by running `echo $ANDROID_SDK_ROOT` and the appropriate directories have been added to your path by running `echo $PATH`.
Run `source ~/.zprofile` (or `source ~/.bash_profile` for `bash`) to load the config into your current shell. Verify that ANDROID_SDK_ROOT has been set by running `echo $ANDROID_SDK_ROOT` and the appropriate directories have been added to your path by running `echo $PATH`.

> Please make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under **Appearance & Behavior****System Settings****Android SDK**.
Expand Down
52 changes: 42 additions & 10 deletions docs/_getting-started-macos-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import M1Cocoapods from './\_markdown-m1-cocoapods.mdx'; import RemoveGlobalCLI

## Installing dependencies

You will need Node, Watchman, the React Native command line interface, Xcode and CocoaPods.
You will need Node, Watchman, the React Native command line interface, a Ruby version manager, Xcode and CocoaPods.

While you can use any editor of your choice to develop your app, you will need to install Xcode in order to set up the necessary tooling to build your React Native app for iOS.

Expand All @@ -19,6 +19,35 @@ If you have already installed Node on your system, make sure it is Node 14 or ne

[Watchman](https://facebook.github.io/watchman) is a tool by Facebook for watching changes in the filesystem. It is highly recommended you install it for better performance.

### Ruby

[Ruby](https://www.ruby-lang.org/en/) is a general-purpose programming language. React Native uses in some scripts related to the iOS dependency management. As every programming language, there are different versions of Ruby that have been developed during the years.

React Native uses a `.ruby-version` file to make sure that your version of Ruby is aligned with what is needed. Currently, macOS 12.5.1 is shipped with Ruby 2.6.8, which is **not** what is required by React Native. Our suggestion is to install a Ruby version manager and to install the proper version of Ruby in your system.

Some common Ruby version manager are:

- [rbenv](https://github.com/rbenv/rbenv)
- [RVM](https://rvm.io/)
- [chruby](https://github.com/postmodern/chruby)
- [asdf-vm](https://github.com/asdf-vm) with the [asdf-ruby](https://github.com/asdf-vm/asdf-ruby) plugin

To check what is your current version of Ruby, you can run this command:

```
ruby --version
```

React Native uses [this version](https://github.com/facebook/react-native/blob/main/template/_ruby-version) of Ruby. You can also find which version your specific project needs in the `.ruby-version` file at root of your RN project.

### Ruby's Bundler

Ruby uses the concept of **gems** to handle its own dependencies. You can think of a gem as a package in NPM, a formula in Homebrew or a single pod in Cocoapods.

Ruby's [Bundler](https://bundler.io/) is a Ruby gem that helps managing the Ruby dependencies of your project. We need Ruby to install Cocoapods and using Bundler will make sure that all the dependencies are aligned and that the project works properly.

If you want to learn more about why we need this tool, you can read [this article](https://bundler.io/guides/rationale.html#bundlers-purpose-and-rationale).

### Xcode

The easiest way to install Xcode is via the [Mac App Store](https://itunes.apple.com/us/app/xcode/id497799835?mt=12). Installing Xcode will also install the iOS Simulator and all the necessary tools to build your iOS app.
Expand All @@ -37,15 +66,7 @@ To install a simulator, open <strong>Xcode > Preferences...</strong> and select

#### CocoaPods

[CocoaPods](https://cocoapods.org/) is built with Ruby and it will be installable with the default Ruby available on macOS.

Using the default Ruby available on macOS will require you to use `sudo` when installing gems. (This is only an issue for the duration of the gem installation, though.)

```shell
sudo gem install cocoapods
```

Otherwise you can use a Ruby version manager, such as `rbenv`. Apps created with the command `npx react-native init` described below are configured to work well with `rbenv` and will pick the correct Ruby version requested by the template.
[CocoaPods](https://cocoapods.org/) is one of the dependency management system available for iOS. It is built with Ruby and you can install it using the version of Ruby you configured with in the previous steps.

For more information, please visit [CocoaPods Getting Started guide](https://guides.cocoapods.org/using/getting-started.html).

Expand All @@ -67,6 +88,17 @@ npx react-native init AwesomeProject

This is not necessary if you are integrating React Native into an existing application, if you "ejected" from Expo, or if you're adding iOS support to an existing React Native project (see [Integration with Existing Apps](integration-with-existing-apps.md)). You can also use a third-party CLI to init your React Native app, such as [Ignite CLI](https://github.com/infinitered/ignite).

:::info

If you are having trouble with iOS, try to reinstall the dependencies by running:

1. `cd ios` to navigate to the
2. `bundle install` to install Bundler
1. If needed: install a [Ruby Version Manager](#ruby) and update the Ruby version
3. `bundle exec pod install` to install the iOS dependencies.

:::

### [Optional] Using a specific version or template

If you want to start a new project with a specific React Native version, you can use the `--version` argument:
Expand Down
4 changes: 2 additions & 2 deletions docs/_getting-started-windows-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ React Native also requires [Java SE Development Kit (JDK)](https://openjdk.java.
Open an Administrator Command Prompt (right click Command Prompt and select "Run as Administrator"), then run the following command:

```powershell
choco install -y nodejs-lts openjdk11
choco install -y nodejs-lts microsoft-openjdk11
```

If you have already installed Node on your system, make sure it is Node 14 or newer. If you already have a JDK on your system, we recommend JDK11. You may encounter problems using higher JDK versions.

> You can find additional installation options on [Node's Downloads page](https://nodejs.org/en/download/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the lastest releases of Gradle](https://gradle.org/releases/).
> If you're using the latest version of Java Development Kit, you'll need to change the Gradle version of your project so it can recognize the JDK. You can do that by going to `{project root folder}\android\gradle\wrapper\gradle-wrapper.properties` and changing the `distributionUrl` value to upgrade the Gradle version. You can check out [here the latest releases of Gradle](https://gradle.org/releases/).
<h3>Android development environment</h3>

Expand Down
Loading

0 comments on commit 9ce8c5b

Please sign in to comment.