From 262a15adf769a806c896f49c1e0532bcce943db1 Mon Sep 17 00:00:00 2001 From: Sunny Luo Date: Mon, 7 Nov 2022 15:25:03 +0800 Subject: [PATCH] 0.70 sync 1107 (#664) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * TextInput: Add readOnly prop (#3278) * AccessibilityInfo: add prefersCrossFadeTransitions to docs (#3279) * TextInput: Add rows prop (#3280) * TextInput: Add inputMode prop (#3289) * Flexbox: correct example description (#3284) * adding accessibilityRole 'grid' to documentation (#3224) * View: Add tabIndex prop (#3286) Co-authored-by: Bartosz Kaszubowski * Image: Add tintColor prop (#3292) Co-authored-by: Bartosz Kaszubowski * TextInput: Add enterKeyHint prop (#3299) * Revert renaming native components (#3301) * docs: fix path in script example (#3302) * Update New Architecture instructions to use CMake instead of Android.mk (#3304) * Follow-up on CMake clarification for 0.70 (#3309) * The New Architecture section editorial review (#3288) * [Do Not Merge] Refactoring The New Architecture (#3029) * [Guide - The New Architecture] What Backward Compatibility Is (#3038) * Guide to creating a New Architecture app from template (#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 (#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 (#3043) * [Guide - The New Architecture] Pillars (#3046) * [Guide - The New Architecture] TurboModules as Native Modules (#3039) * [Guide - The New Architecture] Fabric Components as Native Components (#3040) * [FEAT][TNA] Fabric Component Guide (#3132) * [Feat] Add intro for Fabric Components * feat: add guide to create a Fabric Component * Add page on codegen (#3155) * [FEAT] TurboModules guide (#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 * wip: migration guide review (#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 * Update pillars-fabric-components.md Co-authored-by: Riccardo Co-authored-by: Lizzi Lindboe Co-authored-by: Riccardo * [New Architecture][iOS][0.71.0] Update the App Migration section (#3268) * fix: Address missing feedback from prev PR (#3312) * Clarify New Architecture Terminology (#3308) * Revert "Clarify New Architecture Terminology (#3308)" (#3314) This reverts commit 54d266b7842e1dda86b5877466f6a61fcf5bf043. * Clarify New Architecture Terminology - Take 2 (#3316) * [0.70] Clarify New Architecture Terminology (#3315) * Remove unnecessary box from Legacy Native Modules/Components (#3313) * Fix title case in testing-overview.md (#3322) * [FEAT] Add doc to simplify podspecs for Native Modules and Native Components (#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> * [Fix] Improve Getting started with iOS (#3323) * Fix broken links to Appendix (#3319) * fix _getting-started-macos-ios.md info format (#3326) * [0.71.0] Update the New Architecture guide with the changes for the New Template on Android (#3324) Co-authored-by: Riccardo * minor tweaks to the wording for the versions page (#3327) * showcase: update entries (#3328) * fix incorrect link to re-enable prod deploy (#3330) * Modify the top navbar to be less full (#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 * Update docs with AGP 7.3.x setup (#3333) * Update colors docs regarding expanded support for CSS Colors (#3306) * fix: Improve wording for iOS getting started (#3334) * Add id prop to Text, TouchableWithoutFeedback and View docs (#3285) * Updated button.md to reference Pressable (#3237) * chore: clean up new arch docs (#3332) * tweaks * revert change * Add new props to Image docs (#3310) * fix: remove isFabricEnabled check from docs (#3336) * fix: remove isFabricEnabled check * fix: language lint * add documentation for `aria-modal` prop (#3320) * Text: add documentation for `userSelect` prop (#3311) * Add Source Maps Page (#3293) Co-authored-by: Bartosz Kaszubowski Co-authored-by: Dmytro Rykun * add documentation for `aria-valuemax` `aria-valuemin` `aria-valuenow` `aria-valuetext` (#3318) * Document ability to pass Element via ItemSeparatorComponent (#3343) * Layout Props: clean warning in example (#3344) * fix(native-modules-android.md): rename createCalendarEventCallback (#3345) * Update showcase link for Artsy (#3340) * add NFL to the showcase (#3347) * Checks for the documentation (#3348) * Address Security Vulnerabilities in Dependencies (#3351) * Apply updated copyright to `*.js` files (#3352) * rework the community section of the website (#3338) Co-authored-by: Luna * Update to Contributor Covenant (#3354) * Fix more copyright header issues (#3353) * fix: remove isTurboModuleEnabled check from docs (#3337) * fix: remove isTurboModuleEnabled check * fix: remove unnecessary back ticks Co-authored-by: Riccardo Co-authored-by: Riccardo * Update pillars-turbomodule.md (#3355) * Fix codegen iOS scripts paths (#3359) * Showcase: add Wix's apps section. (#3349) * Finalize the Kotlinization (#3360) * Finalize the Kotlinization * Remove extra imports * feat: Add verticalAlign to Text Style Props docs (#3361) * Communities: remove duplicate header (#3365) * Missing header in `docusaurus.config.js` (#3369) * Fix headers on *.ts files (#3370) * Getting Started: fix Android version label in older docs (#3367) * Layout Props: Update aspectRatio supported types (#3363) * ScrollView: rephrase onContentSizeChange description (#3357) Co-authored-by: Nicola Corti * Getting Started: list zsh before bash in macOS guide (#3358) Co-authored-by: Nicola Corti * docs: update running on simulator iOS (#3346) * add back missing docs vote component (#3371) * fix: improve TM explanation (#3364) * New Architecture - Remove the extra steps required to copy .so files (#3356) * chore(release): Update release testing section for new E2E testing script (#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 * Fixed typo in headless-js-android.md (#3377) * Fix typo in New Architecture Intro (#3374) Co-authored-by: Bartosz Kaszubowski * Add updated instructions on using Hermes (#3376) * Add updated instructions on using Hermes * lint * The Hermes docs in next, also apply to 0.70. (#3380) * Build from Source: add missing paren in publishing (#3387) * Recommend to use `es2019` and use community driven TS config `@tsconfig/react-native` (#3342) * Replaced editUrl branch name with main (#3389) * Tweak homepage text to more broadly refer to platforms (#3391) * Fix documentation typos (#3395) * update to microsoft-openjdk11 (#3386) * feat: Update fontVariant supported types docs (#3378) * Add missing aria props to Accessibility docs (#3396) * Alert: Add "isPreferred" to AlertButtonStyle (#2839) * View Style Props: Add borderCurve prop (#2785) * Speeding up Build: Fixing symbolic links (#3329) * Added lineBreakStrategyIOS to Text and TextInput (#2566) Co-authored-by: Bartosz Kaszubowski Co-authored-by: Gabriel Donadel Dall'Agnol Co-authored-by: EvertEt Co-authored-by: fabriziobertoglio1987 Co-authored-by: Bartosz Kaszubowski Co-authored-by: Daksh Bhardwaj Co-authored-by: Ricky Co-authored-by: Vojtech Novak Co-authored-by: Nicola Corti Co-authored-by: Arati Chilad <58401542+arati-1@users.noreply.github.com> Co-authored-by: Riccardo Co-authored-by: Lizzi Lindboe Co-authored-by: Riccardo Co-authored-by: Ricky Co-authored-by: JiashengWu Co-authored-by: Lorenzo Sciandra Co-authored-by: Lorenzo Sciandra Co-authored-by: Akshansh Thakur Co-authored-by: Dhruv Tailor <32268377+dhruvtailor7@users.noreply.github.com> Co-authored-by: Oskar Kwaśniewski Co-authored-by: Daksh Bhardwaj Co-authored-by: Connor Tumbleson Co-authored-by: Dmytro Rykun Co-authored-by: David Narbutovich <4661784+retyui@users.noreply.github.com> Co-authored-by: Damoness Co-authored-by: Joshua Yoes <37849890+joshuayoes@users.noreply.github.com> Co-authored-by: Pavlos Vinieratos Co-authored-by: Timothy Yung Co-authored-by: Luna Co-authored-by: Timothy Yung Co-authored-by: Ismael Moreira Co-authored-by: Kryštof Woldřich <31292499+krystofwoldrich@users.noreply.github.com> Co-authored-by: Asaf Korem <55082339+asafkorem@users.noreply.github.com> Co-authored-by: Jesse Katsumata Co-authored-by: Chukwu Smart Co-authored-by: Karl Horky Co-authored-by: Luis Medina Co-authored-by: mjh <61671361+mjh316@users.noreply.github.com> Co-authored-by: Telmen Co-authored-by: Héctor Ramos <165856+hramos@users.noreply.github.com> Co-authored-by: Peter Cho Co-authored-by: Rafael Ricardo Vieceli <2790845+rvieceli@users.noreply.github.com> Co-authored-by: Alex Hunt Co-authored-by: khali70 <59835449+khali70@users.noreply.github.com> Co-authored-by: Robbie Co-authored-by: Eric Edouard Amilhat Co-authored-by: Robbie Plankenhorn Co-authored-by: Hyungu Kang | Airen