From 7eb6d24022b37c43a1f9cd6986e58fb92395c3e4 Mon Sep 17 00:00:00 2001 From: Jesse Katsumata Date: Wed, 17 Apr 2024 15:30:19 +0900 Subject: [PATCH 1/5] fix: remove examples --- FabricExample/.bundle/config | 2 - FabricExample/.eslintrc.js | 4 - FabricExample/.gitignore | 73 - FabricExample/.prettierrc.js | 7 - FabricExample/.watchmanconfig | 1 - FabricExample/App.tsx | 86 - FabricExample/Gemfile | 7 - FabricExample/Gemfile.lock | 99 - FabricExample/PickerExample.tsx | 326 - FabricExample/PickerIOSExample.tsx | 168 - FabricExample/PickerWindowsExamples.js | 23 - FabricExample/README.md | 79 - FabricExample/__tests__/App.test.tsx | 17 - FabricExample/android/app/build.gradle | 118 - FabricExample/android/app/debug.keystore | Bin 2257 -> 0 bytes FabricExample/android/app/proguard-rules.pro | 10 - .../android/app/src/debug/AndroidManifest.xml | 9 - .../android/app/src/main/AndroidManifest.xml | 25 - .../java/com/fabricexample/MainActivity.kt | 22 - .../java/com/fabricexample/MainApplication.kt | 43 - .../res/drawable/rn_edit_text_material.xml | 37 - .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 3056 -> 0 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 5024 -> 0 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 2096 -> 0 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 2858 -> 0 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 4569 -> 0 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 7098 -> 0 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 6464 -> 0 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 10676 -> 0 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 9250 -> 0 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 15523 -> 0 bytes .../app/src/main/res/values/strings.xml | 3 - .../app/src/main/res/values/styles.xml | 9 - FabricExample/android/build.gradle | 24 - FabricExample/android/gradle.properties | 41 - .../android/gradle/wrapper/gradle-wrapper.jar | Bin 63721 -> 0 bytes .../gradle/wrapper/gradle-wrapper.properties | 7 - FabricExample/android/gradlew | 249 - FabricExample/android/gradlew.bat | 92 - FabricExample/android/settings.gradle | 4 - FabricExample/app.json | 4 - FabricExample/babel.config.js | 3 - FabricExample/index.js | 9 - FabricExample/ios/.xcode.env | 11 - .../FabricExample.xcodeproj/project.pbxproj | 706 -- .../xcschemes/FabricExample.xcscheme | 88 - .../contents.xcworkspacedata | 10 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - FabricExample/ios/FabricExample/AppDelegate.h | 6 - .../ios/FabricExample/AppDelegate.mm | 35 - .../AppIcon.appiconset/Contents.json | 53 - .../Images.xcassets/Contents.json | 6 - FabricExample/ios/FabricExample/Info.plist | 51 - .../ios/FabricExample/LaunchScreen.storyboard | 47 - FabricExample/ios/FabricExample/main.m | 10 - .../FabricExampleTests/FabricExampleTests.m | 66 - .../ios/FabricExampleTests/Info.plist | 24 - FabricExample/ios/Podfile | 40 - FabricExample/ios/Podfile.lock | 1426 ---- FabricExample/jest.config.js | 3 - FabricExample/metro.config.js | 49 - FabricExample/package.json | 37 - FabricExample/tsconfig.json | 3 - FabricExample/yarn.lock | 6717 ----------------- example/.buckconfig | 6 - example/.gitignore | 61 - example/.watchmanconfig | 1 - example/App.ts | 5 - example/Gemfile | 6 - example/Gemfile.lock | 100 - example/_bundle/config | 2 - example/_ruby-version | 1 - example/android/app/_BUCK | 55 - example/android/app/build.gradle | 332 - example/android/app/build_defs.bzl | 19 - example/android/app/debug.keystore | Bin 2257 -> 0 bytes example/android/app/proguard-rules.pro | 10 - example/android/app/release.keystore | Bin 2245 -> 0 bytes .../android/app/src/debug/AndroidManifest.xml | 13 - .../java/com/example/ReactNativeFlipper.java | 73 - .../android/app/src/main/AndroidManifest.xml | 26 - .../java/com/pickerexample/MainActivity.java | 40 - .../com/pickerexample/MainApplication.java | 93 - .../MainApplicationReactNativeHost.java | 116 - .../components/MainComponentsRegistry.java | 36 - ...ApplicationTurboModuleManagerDelegate.java | 48 - example/android/app/src/main/jni/Android.mk | 49 - .../jni/MainApplicationModuleProvider.cpp | 24 - .../main/jni/MainApplicationModuleProvider.h | 16 - ...nApplicationTurboModuleManagerDelegate.cpp | 45 - ...ainApplicationTurboModuleManagerDelegate.h | 38 - .../src/main/jni/MainComponentsRegistry.cpp | 61 - .../app/src/main/jni/MainComponentsRegistry.h | 32 - example/android/app/src/main/jni/OnLoad.cpp | 11 - .../res/drawable/rn_edit_text_material.xml | 36 - .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 3056 -> 0 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 5024 -> 0 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 2096 -> 0 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 2858 -> 0 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 4569 -> 0 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 7098 -> 0 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 6464 -> 0 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 10676 -> 0 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 9250 -> 0 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 15523 -> 0 bytes .../app/src/main/res/values/strings.xml | 3 - .../app/src/main/res/values/styles.xml | 9 - example/android/build.gradle | 57 - example/android/gradle.properties | 45 - .../android/gradle/wrapper/gradle-wrapper.jar | Bin 59536 -> 0 bytes .../gradle/wrapper/gradle-wrapper.properties | 5 - example/android/gradlew | 234 - example/android/gradlew.bat | 89 - example/android/settings.gradle | 12 - example/app.json | 4 - example/babel.config.js | 8 - example/e2e/Picker.test.js | 25 - example/e2e/config.json | 4 - example/e2e/init.js | 29 - example/e2e/sanityTest.spec.js | 24 - example/index.js | 9 - .../PickerExample.xcodeproj/project.pbxproj | 698 -- .../xcschemes/PickerExample.xcscheme | 88 - .../contents.xcworkspacedata | 10 - example/ios/PickerExample/AppDelegate.h | 8 - example/ios/PickerExample/AppDelegate.mm | 108 - .../AppIcon.appiconset/Contents.json | 53 - .../Images.xcassets/Contents.json | 6 - example/ios/PickerExample/Info.plist | 55 - .../ios/PickerExample/LaunchScreen.storyboard | 47 - example/ios/PickerExample/main.m | 10 - example/ios/PickerExampleTests/Info.plist | 24 - .../PickerExampleTests/PickerExampleTests.m | 66 - example/ios/Podfile | 39 - example/ios/Podfile.lock | 550 -- example/macos/.gitignore | 2 - example/macos/PickerExample-iOS/AppDelegate.h | 8 - example/macos/PickerExample-iOS/AppDelegate.m | 35 - .../Base.lproj/LaunchScreen.xib | 41 - .../AppIcon.appiconset/Contents.json | 53 - .../Images.xcassets/Contents.json | 6 - example/macos/PickerExample-iOS/Info.plist | 57 - example/macos/PickerExample-iOS/main.m | 9 - .../macos/PickerExample-macOS/AppDelegate.h | 9 - .../macos/PickerExample-macOS/AppDelegate.m | 32 - .../AppIcon.appiconset/Contents.json | 58 - .../Assets.xcassets/Contents.json | 6 - .../Base.lproj/Main.storyboard | 717 -- example/macos/PickerExample-macOS/Info.plist | 47 - .../PickerExample.entitlements | 12 - .../PickerExample-macOS/ViewController.h | 5 - .../PickerExample-macOS/ViewController.m | 22 - example/macos/PickerExample-macOS/main.m | 5 - .../PickerExample.xcodeproj/project.pbxproj | 654 -- .../xcschemes/PickerExample-iOS.xcscheme | 78 - .../xcschemes/PickerExample-macOS.xcscheme | 78 - example/macos/Podfile | 50 - example/macos/Podfile.lock | 343 - example/metro.config.js | 29 - example/src/App.tsx | 93 - example/src/PickerExample.tsx | 317 - example/src/PickerIOSExample.tsx | 169 - example/src/PickerWindowsExamples.js | 23 - example/src/__tests__/PickerExample.test.tsx | 21 - example/windows/.gitignore | 92 - example/windows/ExperimentalFeatures.props | 24 - example/windows/NuGet.Config | 14 - example/windows/PickerExample.sln | 207 - example/windows/PickerExample/.gitignore | 1 - example/windows/PickerExample/App.cpp | 94 - example/windows/PickerExample/App.h | 19 - example/windows/PickerExample/App.idl | 3 - example/windows/PickerExample/App.xaml | 10 - .../Assets/LockScreenLogo.scale-200.png | Bin 1430 -> 0 bytes .../Assets/SplashScreen.scale-200.png | Bin 7700 -> 0 bytes .../Assets/Square150x150Logo.scale-200.png | Bin 2937 -> 0 bytes .../Assets/Square44x44Logo.scale-200.png | Bin 1647 -> 0 bytes ...x44Logo.targetsize-24_altform-unplated.png | Bin 1255 -> 0 bytes .../PickerExample/Assets/StoreLogo.png | Bin 1451 -> 0 bytes .../Assets/Wide310x150Logo.scale-200.png | Bin 3204 -> 0 bytes .../AutolinkedNativeModules.g.cpp | 14 - .../PickerExample/AutolinkedNativeModules.g.h | 10 - .../AutolinkedNativeModules.g.props | 6 - .../AutolinkedNativeModules.g.targets | 6 - example/windows/PickerExample/MainPage.cpp | 20 - example/windows/PickerExample/MainPage.h | 19 - example/windows/PickerExample/MainPage.idl | 8 - example/windows/PickerExample/MainPage.xaml | 16 - .../PickerExample/Package.appxmanifest | 50 - .../PickerExample/PickerExample.vcxproj | 199 - .../PickerExample.vcxproj.filters | 63 - .../windows/PickerExample/PropertySheet.props | 16 - .../PickerExample/ReactPackageProvider.cpp | 15 - .../PickerExample/ReactPackageProvider.h | 13 - example/windows/PickerExample/packages.config | 5 - example/windows/PickerExample/pch.cpp | 1 - example/windows/PickerExample/pch.h | 27 - 197 files changed, 18602 deletions(-) delete mode 100644 FabricExample/.bundle/config delete mode 100644 FabricExample/.eslintrc.js delete mode 100644 FabricExample/.gitignore delete mode 100644 FabricExample/.prettierrc.js delete mode 100644 FabricExample/.watchmanconfig delete mode 100644 FabricExample/App.tsx delete mode 100644 FabricExample/Gemfile delete mode 100644 FabricExample/Gemfile.lock delete mode 100644 FabricExample/PickerExample.tsx delete mode 100644 FabricExample/PickerIOSExample.tsx delete mode 100644 FabricExample/PickerWindowsExamples.js delete mode 100644 FabricExample/README.md delete mode 100644 FabricExample/__tests__/App.test.tsx delete mode 100644 FabricExample/android/app/build.gradle delete mode 100644 FabricExample/android/app/debug.keystore delete mode 100644 FabricExample/android/app/proguard-rules.pro delete mode 100644 FabricExample/android/app/src/debug/AndroidManifest.xml delete mode 100644 FabricExample/android/app/src/main/AndroidManifest.xml delete mode 100644 FabricExample/android/app/src/main/java/com/fabricexample/MainActivity.kt delete mode 100644 FabricExample/android/app/src/main/java/com/fabricexample/MainApplication.kt delete mode 100644 FabricExample/android/app/src/main/res/drawable/rn_edit_text_material.xml delete mode 100644 FabricExample/android/app/src/main/res/mipmap-hdpi/ic_launcher.png delete mode 100644 FabricExample/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png delete mode 100644 FabricExample/android/app/src/main/res/mipmap-mdpi/ic_launcher.png delete mode 100644 FabricExample/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png delete mode 100644 FabricExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 FabricExample/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png delete mode 100644 FabricExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 FabricExample/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png delete mode 100644 FabricExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 FabricExample/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png delete mode 100644 FabricExample/android/app/src/main/res/values/strings.xml delete mode 100644 FabricExample/android/app/src/main/res/values/styles.xml delete mode 100644 FabricExample/android/build.gradle delete mode 100644 FabricExample/android/gradle.properties delete mode 100644 FabricExample/android/gradle/wrapper/gradle-wrapper.jar delete mode 100644 FabricExample/android/gradle/wrapper/gradle-wrapper.properties delete mode 100755 FabricExample/android/gradlew delete mode 100644 FabricExample/android/gradlew.bat delete mode 100644 FabricExample/android/settings.gradle delete mode 100644 FabricExample/app.json delete mode 100644 FabricExample/babel.config.js delete mode 100644 FabricExample/index.js delete mode 100644 FabricExample/ios/.xcode.env delete mode 100644 FabricExample/ios/FabricExample.xcodeproj/project.pbxproj delete mode 100644 FabricExample/ios/FabricExample.xcodeproj/xcshareddata/xcschemes/FabricExample.xcscheme delete mode 100644 FabricExample/ios/FabricExample.xcworkspace/contents.xcworkspacedata delete mode 100644 FabricExample/ios/FabricExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 FabricExample/ios/FabricExample/AppDelegate.h delete mode 100644 FabricExample/ios/FabricExample/AppDelegate.mm delete mode 100644 FabricExample/ios/FabricExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 FabricExample/ios/FabricExample/Images.xcassets/Contents.json delete mode 100644 FabricExample/ios/FabricExample/Info.plist delete mode 100644 FabricExample/ios/FabricExample/LaunchScreen.storyboard delete mode 100644 FabricExample/ios/FabricExample/main.m delete mode 100644 FabricExample/ios/FabricExampleTests/FabricExampleTests.m delete mode 100644 FabricExample/ios/FabricExampleTests/Info.plist delete mode 100644 FabricExample/ios/Podfile delete mode 100644 FabricExample/ios/Podfile.lock delete mode 100644 FabricExample/jest.config.js delete mode 100644 FabricExample/metro.config.js delete mode 100644 FabricExample/package.json delete mode 100644 FabricExample/tsconfig.json delete mode 100644 FabricExample/yarn.lock delete mode 100644 example/.buckconfig delete mode 100644 example/.gitignore delete mode 100644 example/.watchmanconfig delete mode 100644 example/App.ts delete mode 100644 example/Gemfile delete mode 100644 example/Gemfile.lock delete mode 100644 example/_bundle/config delete mode 100644 example/_ruby-version delete mode 100644 example/android/app/_BUCK delete mode 100644 example/android/app/build.gradle delete mode 100644 example/android/app/build_defs.bzl delete mode 100644 example/android/app/debug.keystore delete mode 100644 example/android/app/proguard-rules.pro delete mode 100644 example/android/app/release.keystore delete mode 100644 example/android/app/src/debug/AndroidManifest.xml delete mode 100644 example/android/app/src/debug/java/com/example/ReactNativeFlipper.java delete mode 100644 example/android/app/src/main/AndroidManifest.xml delete mode 100644 example/android/app/src/main/java/com/pickerexample/MainActivity.java delete mode 100644 example/android/app/src/main/java/com/pickerexample/MainApplication.java delete mode 100644 example/android/app/src/main/java/com/pickerexample/newarchitecture/MainApplicationReactNativeHost.java delete mode 100644 example/android/app/src/main/java/com/pickerexample/newarchitecture/components/MainComponentsRegistry.java delete mode 100644 example/android/app/src/main/java/com/pickerexample/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java delete mode 100644 example/android/app/src/main/jni/Android.mk delete mode 100644 example/android/app/src/main/jni/MainApplicationModuleProvider.cpp delete mode 100644 example/android/app/src/main/jni/MainApplicationModuleProvider.h delete mode 100644 example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp delete mode 100644 example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h delete mode 100644 example/android/app/src/main/jni/MainComponentsRegistry.cpp delete mode 100644 example/android/app/src/main/jni/MainComponentsRegistry.h delete mode 100644 example/android/app/src/main/jni/OnLoad.cpp delete mode 100644 example/android/app/src/main/res/drawable/rn_edit_text_material.xml delete mode 100644 example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png delete mode 100644 example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png delete mode 100644 example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png delete mode 100644 example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png delete mode 100644 example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png delete mode 100644 example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png delete mode 100644 example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png delete mode 100644 example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png delete mode 100644 example/android/app/src/main/res/values/strings.xml delete mode 100644 example/android/app/src/main/res/values/styles.xml delete mode 100644 example/android/build.gradle delete mode 100644 example/android/gradle.properties delete mode 100644 example/android/gradle/wrapper/gradle-wrapper.jar delete mode 100644 example/android/gradle/wrapper/gradle-wrapper.properties delete mode 100755 example/android/gradlew delete mode 100644 example/android/gradlew.bat delete mode 100644 example/android/settings.gradle delete mode 100644 example/app.json delete mode 100644 example/babel.config.js delete mode 100644 example/e2e/Picker.test.js delete mode 100644 example/e2e/config.json delete mode 100644 example/e2e/init.js delete mode 100644 example/e2e/sanityTest.spec.js delete mode 100644 example/index.js delete mode 100644 example/ios/PickerExample.xcodeproj/project.pbxproj delete mode 100644 example/ios/PickerExample.xcodeproj/xcshareddata/xcschemes/PickerExample.xcscheme delete mode 100644 example/ios/PickerExample.xcworkspace/contents.xcworkspacedata delete mode 100644 example/ios/PickerExample/AppDelegate.h delete mode 100644 example/ios/PickerExample/AppDelegate.mm delete mode 100644 example/ios/PickerExample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 example/ios/PickerExample/Images.xcassets/Contents.json delete mode 100644 example/ios/PickerExample/Info.plist delete mode 100644 example/ios/PickerExample/LaunchScreen.storyboard delete mode 100644 example/ios/PickerExample/main.m delete mode 100644 example/ios/PickerExampleTests/Info.plist delete mode 100644 example/ios/PickerExampleTests/PickerExampleTests.m delete mode 100644 example/ios/Podfile delete mode 100644 example/ios/Podfile.lock delete mode 100644 example/macos/.gitignore delete mode 100644 example/macos/PickerExample-iOS/AppDelegate.h delete mode 100644 example/macos/PickerExample-iOS/AppDelegate.m delete mode 100644 example/macos/PickerExample-iOS/Base.lproj/LaunchScreen.xib delete mode 100644 example/macos/PickerExample-iOS/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 example/macos/PickerExample-iOS/Images.xcassets/Contents.json delete mode 100644 example/macos/PickerExample-iOS/Info.plist delete mode 100644 example/macos/PickerExample-iOS/main.m delete mode 100644 example/macos/PickerExample-macOS/AppDelegate.h delete mode 100644 example/macos/PickerExample-macOS/AppDelegate.m delete mode 100644 example/macos/PickerExample-macOS/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 example/macos/PickerExample-macOS/Assets.xcassets/Contents.json delete mode 100644 example/macos/PickerExample-macOS/Base.lproj/Main.storyboard delete mode 100644 example/macos/PickerExample-macOS/Info.plist delete mode 100644 example/macos/PickerExample-macOS/PickerExample.entitlements delete mode 100644 example/macos/PickerExample-macOS/ViewController.h delete mode 100644 example/macos/PickerExample-macOS/ViewController.m delete mode 100644 example/macos/PickerExample-macOS/main.m delete mode 100644 example/macos/PickerExample.xcodeproj/project.pbxproj delete mode 100644 example/macos/PickerExample.xcodeproj/xcshareddata/xcschemes/PickerExample-iOS.xcscheme delete mode 100644 example/macos/PickerExample.xcodeproj/xcshareddata/xcschemes/PickerExample-macOS.xcscheme delete mode 100644 example/macos/Podfile delete mode 100644 example/macos/Podfile.lock delete mode 100644 example/metro.config.js delete mode 100644 example/src/App.tsx delete mode 100644 example/src/PickerExample.tsx delete mode 100644 example/src/PickerIOSExample.tsx delete mode 100644 example/src/PickerWindowsExamples.js delete mode 100644 example/src/__tests__/PickerExample.test.tsx delete mode 100644 example/windows/.gitignore delete mode 100644 example/windows/ExperimentalFeatures.props delete mode 100644 example/windows/NuGet.Config delete mode 100644 example/windows/PickerExample.sln delete mode 100644 example/windows/PickerExample/.gitignore delete mode 100644 example/windows/PickerExample/App.cpp delete mode 100644 example/windows/PickerExample/App.h delete mode 100644 example/windows/PickerExample/App.idl delete mode 100644 example/windows/PickerExample/App.xaml delete mode 100644 example/windows/PickerExample/Assets/LockScreenLogo.scale-200.png delete mode 100644 example/windows/PickerExample/Assets/SplashScreen.scale-200.png delete mode 100644 example/windows/PickerExample/Assets/Square150x150Logo.scale-200.png delete mode 100644 example/windows/PickerExample/Assets/Square44x44Logo.scale-200.png delete mode 100644 example/windows/PickerExample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png delete mode 100644 example/windows/PickerExample/Assets/StoreLogo.png delete mode 100644 example/windows/PickerExample/Assets/Wide310x150Logo.scale-200.png delete mode 100644 example/windows/PickerExample/AutolinkedNativeModules.g.cpp delete mode 100644 example/windows/PickerExample/AutolinkedNativeModules.g.h delete mode 100644 example/windows/PickerExample/AutolinkedNativeModules.g.props delete mode 100644 example/windows/PickerExample/AutolinkedNativeModules.g.targets delete mode 100644 example/windows/PickerExample/MainPage.cpp delete mode 100644 example/windows/PickerExample/MainPage.h delete mode 100644 example/windows/PickerExample/MainPage.idl delete mode 100644 example/windows/PickerExample/MainPage.xaml delete mode 100644 example/windows/PickerExample/Package.appxmanifest delete mode 100644 example/windows/PickerExample/PickerExample.vcxproj delete mode 100644 example/windows/PickerExample/PickerExample.vcxproj.filters delete mode 100644 example/windows/PickerExample/PropertySheet.props delete mode 100644 example/windows/PickerExample/ReactPackageProvider.cpp delete mode 100644 example/windows/PickerExample/ReactPackageProvider.h delete mode 100644 example/windows/PickerExample/packages.config delete mode 100644 example/windows/PickerExample/pch.cpp delete mode 100644 example/windows/PickerExample/pch.h diff --git a/FabricExample/.bundle/config b/FabricExample/.bundle/config deleted file mode 100644 index 848943bb52..0000000000 --- a/FabricExample/.bundle/config +++ /dev/null @@ -1,2 +0,0 @@ -BUNDLE_PATH: "vendor/bundle" -BUNDLE_FORCE_RUBY_PLATFORM: 1 diff --git a/FabricExample/.eslintrc.js b/FabricExample/.eslintrc.js deleted file mode 100644 index 187894b6af..0000000000 --- a/FabricExample/.eslintrc.js +++ /dev/null @@ -1,4 +0,0 @@ -module.exports = { - root: true, - extends: '@react-native', -}; diff --git a/FabricExample/.gitignore b/FabricExample/.gitignore deleted file mode 100644 index fea7bba3cf..0000000000 --- a/FabricExample/.gitignore +++ /dev/null @@ -1,73 +0,0 @@ -# OSX -# -.DS_Store - -# Xcode -# -build/ -*.pbxuser -!default.pbxuser -*.mode1v3 -!default.mode1v3 -*.mode2v3 -!default.mode2v3 -*.perspectivev3 -!default.perspectivev3 -xcuserdata -*.xccheckout -*.moved-aside -DerivedData -*.hmap -*.ipa -*.xcuserstate -**/.xcode.env.local - -# Android/IntelliJ -# -build/ -.idea -.gradle -local.properties -*.iml -*.hprof -.cxx/ -*.keystore -!debug.keystore - -# node.js -# -node_modules/ -npm-debug.log -yarn-error.log - -# fastlane -# -# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the -# screenshots whenever they are needed. -# For more information about the recommended setup visit: -# https://docs.fastlane.tools/best-practices/source-control/ - -**/fastlane/report.xml -**/fastlane/Preview.html -**/fastlane/screenshots -**/fastlane/test_output - -# Bundle artifact -*.jsbundle - -# Ruby / CocoaPods -**/Pods/ -/vendor/bundle/ - -# Temporary files created by Metro to check the health of the file watcher -.metro-health-check* - -# testing -/coverage - -.yarn/* -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions diff --git a/FabricExample/.prettierrc.js b/FabricExample/.prettierrc.js deleted file mode 100644 index 2b540746a7..0000000000 --- a/FabricExample/.prettierrc.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - arrowParens: 'avoid', - bracketSameLine: true, - bracketSpacing: false, - singleQuote: true, - trailingComma: 'all', -}; diff --git a/FabricExample/.watchmanconfig b/FabricExample/.watchmanconfig deleted file mode 100644 index 0967ef424b..0000000000 --- a/FabricExample/.watchmanconfig +++ /dev/null @@ -1 +0,0 @@ -{} diff --git a/FabricExample/App.tsx b/FabricExample/App.tsx deleted file mode 100644 index 2109715f21..0000000000 --- a/FabricExample/App.tsx +++ /dev/null @@ -1,86 +0,0 @@ -import * as React from 'react'; -import { - Platform, - ScrollView, - StyleSheet, - Text, - View, - SafeAreaView, - I18nManager, - Switch, -} from 'react-native'; - -import * as PickerExamples from './PickerExample'; -import * as PickerIOSExamples from './PickerIOSExample'; - -export default function App() { - const [isRTL, setIsRTL] = React.useState(I18nManager.isRTL); - React.useEffect(() => { - I18nManager.allowRTL(true); - }, []); - - return ( - - - - { - setIsRTL(newValue); - I18nManager.forceRTL(newValue); - }} - /> - {I18nManager.isRTL ? 'RTL' : 'LTR'} - - - Picker Examples - {PickerExamples.examples.map(element => ( - - {element.title} - {element.render()} - - ))} - {Platform.OS === 'ios' && ( - PickerIOS Examples - )} - {Platform.OS === 'ios' && - PickerIOSExamples.examples.map(element => ( - - {element.title} - {element.render()} - - ))} - {Platform.OS === 'windows' && ( - PickerWindows Examples - )} - - - - ); -} - -const styles = StyleSheet.create({ - main: { - backgroundColor: '#F5FCFF', - }, - container: { - padding: 24, - paddingBottom: 60, - }, - title: { - fontSize: 18, - }, - elementContainer: { - marginTop: 8, - }, - heading: { - fontSize: 22, - color: 'black', - }, - rtlSwitchContainer: { - flexDirection: 'row', - justifyContent: 'space-between', - paddingHorizontal: 40, - paddingTop: 20, - }, -}); diff --git a/FabricExample/Gemfile b/FabricExample/Gemfile deleted file mode 100644 index 6a7d5c7a49..0000000000 --- a/FabricExample/Gemfile +++ /dev/null @@ -1,7 +0,0 @@ -source 'https://rubygems.org' - -# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version -ruby ">= 2.6.10" - -gem 'cocoapods', '~> 1.13' -gem 'activesupport', '>= 6.1.7.3', '< 7.1.0' diff --git a/FabricExample/Gemfile.lock b/FabricExample/Gemfile.lock deleted file mode 100644 index c8cfb316ed..0000000000 --- a/FabricExample/Gemfile.lock +++ /dev/null @@ -1,99 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - CFPropertyList (3.0.6) - rexml - activesupport (7.0.8) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - addressable (2.8.5) - public_suffix (>= 2.0.2, < 6.0) - algoliasearch (1.27.5) - httpclient (~> 2.8, >= 2.8.3) - json (>= 1.5.1) - atomos (0.1.3) - claide (1.1.0) - cocoapods (1.14.3) - addressable (~> 2.8) - claide (>= 1.0.2, < 2.0) - cocoapods-core (= 1.14.3) - cocoapods-deintegrate (>= 1.0.3, < 2.0) - cocoapods-downloader (>= 2.1, < 3.0) - cocoapods-plugins (>= 1.0.0, < 2.0) - cocoapods-search (>= 1.0.0, < 2.0) - cocoapods-trunk (>= 1.6.0, < 2.0) - cocoapods-try (>= 1.1.0, < 2.0) - colored2 (~> 3.1) - escape (~> 0.0.4) - fourflusher (>= 2.3.0, < 3.0) - gh_inspector (~> 1.0) - molinillo (~> 0.8.0) - nap (~> 1.0) - ruby-macho (>= 2.3.0, < 3.0) - xcodeproj (>= 1.23.0, < 2.0) - cocoapods-core (1.14.3) - activesupport (>= 5.0, < 8) - addressable (~> 2.8) - algoliasearch (~> 1.0) - concurrent-ruby (~> 1.1) - fuzzy_match (~> 2.0.4) - nap (~> 1.0) - netrc (~> 0.11) - public_suffix (~> 4.0) - typhoeus (~> 1.0) - cocoapods-deintegrate (1.0.5) - cocoapods-downloader (2.1) - cocoapods-plugins (1.0.0) - nap - cocoapods-search (1.0.1) - cocoapods-trunk (1.6.0) - nap (>= 0.8, < 2.0) - netrc (~> 0.11) - cocoapods-try (1.2.0) - colored2 (3.1.2) - concurrent-ruby (1.2.2) - escape (0.0.4) - ethon (0.16.0) - ffi (>= 1.15.0) - ffi (1.16.3) - fourflusher (2.3.1) - fuzzy_match (2.0.4) - gh_inspector (1.1.3) - httpclient (2.8.3) - i18n (1.14.1) - concurrent-ruby (~> 1.0) - json (2.6.3) - minitest (5.20.0) - molinillo (0.8.0) - nanaimo (0.3.0) - nap (1.1.0) - netrc (0.11.0) - public_suffix (4.0.7) - rexml (3.2.6) - ruby-macho (2.5.1) - typhoeus (1.4.1) - ethon (>= 0.9.0) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - xcodeproj (1.23.0) - CFPropertyList (>= 2.3.3, < 4.0) - atomos (~> 0.1.3) - claide (>= 1.0.2, < 2.0) - colored2 (~> 3.1) - nanaimo (~> 0.3.0) - rexml (~> 3.2.4) - -PLATFORMS - ruby - -DEPENDENCIES - activesupport (>= 6.1.7.3, < 7.1.0) - cocoapods (~> 1.13) - -RUBY VERSION - ruby 2.7.5p203 - -BUNDLED WITH - 2.1.4 diff --git a/FabricExample/PickerExample.tsx b/FabricExample/PickerExample.tsx deleted file mode 100644 index 578bfb2368..0000000000 --- a/FabricExample/PickerExample.tsx +++ /dev/null @@ -1,326 +0,0 @@ -import * as React from 'react'; -import {Text, View, StyleSheet, Button} from 'react-native'; -import {Picker} from '@react-native-picker/picker'; - -const Item: any = Picker.Item; - -export function BasicPickerExample() { - const [value, setValue] = React.useState('key1'); - return ( - setValue(v)} - accessibilityLabel="Basic Picker Accessibility Label" - > - - - - ); -} - -function StyledPickerExample() { - const [value, setValue] = React.useState('key1'); - return ( - setValue(v)} - accessibilityLabel="Styled Picker Accessibility Label" - > - - - - - ); -} - -function DisabledPickerExample() { - const [value] = React.useState('key1'); - - return ( - - - - - ); -} - -function DisabledSpecificPickerExample() { - const [value] = React.useState('key1'); - - return ( - - - - - - ); -} - -function DropdownPickerExample() { - const [value, setValue] = React.useState('key1'); - - return ( - setValue(v)} - mode="dropdown" - > - - - - ); -} - -function DropdownMultilinePickerExample() { - const [value, setValue] = React.useState('key1'); - - return ( - setValue(v)} - mode="dropdown" - > - - - - ); -} - -function PromptPickerExample() { - const [value, setValue] = React.useState('key1'); - return ( - setValue(v)} - prompt="Pick one, just one" - > - - - - ); -} - -function PromptMultilinePickerExample() { - const [value, setValue] = React.useState('key1'); - return ( - setValue(v)} - prompt="Pick one, just one" - > - - - - ); -} - -function CustomDropdownArrowColorPickerExample() { - return ( - - - - - - - ); -} - -function NoListenerPickerExample() { - return ( - - - - - - - Cannot change the value of this picker because it doesn't update - selectedValue. - - - ); -} - -function ThemeVariantOverridePickerExample() { - const [themeVariantValue, setThemeVariantValue] = React.useState('dark'); - const isDarkMode = themeVariantValue === 'dark'; - - const handleSelect = ({nativeEvent: {newValue}}) => - setThemeVariantValue(newValue); - - return ( - - - - - - - ); -} - -function ColorPickerExample() { - const [value, setValue] = React.useState('red'); - const [isFocused, setIsFocused] = React.useState(false); - const [isSecondFocused, setIsSecondFocused] = React.useState(false); - const pickerRef = React.useRef(null); - - return ( - <> -