diff --git a/apps/android/package.json b/apps/android/package.json index feb463b5f1..a807990023 100644 --- a/apps/android/package.json +++ b/apps/android/package.json @@ -20,8 +20,8 @@ }, "dependencies": { "@fluentui-react-native/tester": "^0.16.3", - "react": "16.11.0", - "react-native": "0.62.2", + "react": "16.13.1", + "react-native": "^0.63.4", "react-native-test-app": "^0.3.2" }, "devDependencies": { @@ -33,8 +33,8 @@ "@uifabricshared/eslint-config-rules": "^0.1.1", "babel-jest": "^24.9.0", "jest": "^24.9.0", - "metro-react-native-babel-preset": "^0.58.0", - "react-test-renderer": "~16.11.0" + "metro-react-native-babel-preset": "^0.59.0", + "react-test-renderer": "~16.13.1" }, "jest": { "preset": "react-native" diff --git a/apps/fluent-tester/package.json b/apps/fluent-tester/package.json index 706d12f064..92d776cf54 100644 --- a/apps/fluent-tester/package.json +++ b/apps/fluent-tester/package.json @@ -39,15 +39,15 @@ "@fluentui-react-native/themed-stylesheet": "^1.1.0", "@fluentui-react-native/win32-theme": ">=0.5.2 <1.0.0", "@fluentui/react-native": ">=0.21.13 <1.0.0", - "@office-iss/react-native-win32": "^0.62.6", "react-native-svg": "^11.0.0" }, "devDependencies": { + "@office-iss/react-native-win32": "^0.63.7", "@react-native-community/eslint-config": "^1.1.0", "@rnx-kit/cli": "^0.0.3", "@types/jasmine": "3.5.10", "@types/react": "^16.9.34", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", "@wdio/appium-service": "5.18.2", @@ -57,12 +57,12 @@ "@wdio/spec-reporter": "5.22.4", "@wdio/sync": "5.20.1", "appium": "1.17.1", - "metro-react-native-babel-preset": "^0.58.0", - "react": "16.11.0", - "react-native": "0.62.2", + "metro-react-native-babel-preset": "^0.59.0", + "react": "16.13.1", + "react-native": "^0.63.4", "react-native-svg-transformer": "^0.14.3", "react-native-windows": "^0.62.1", - "react-test-renderer": "~16.11.0", + "react-test-renderer": "~16.13.1", "rnpm-plugin-windows": "^0.5.1-0", "ts-node": "^8.10.1", "tsconfig-paths": "^3.9.0", @@ -70,8 +70,8 @@ "webdriverio": "5.22.4" }, "peerDependencies": { - "react": "16.11.0", - "react-native": "0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "jest": { "preset": "react-native" diff --git a/apps/fluent-tester/src/FluentTester/TestComponents/FocusTrapZone/FocusTrapZoneTest.tsx b/apps/fluent-tester/src/FluentTester/TestComponents/FocusTrapZone/FocusTrapZoneTest.tsx index ec847de581..7317dcc980 100644 --- a/apps/fluent-tester/src/FluentTester/TestComponents/FocusTrapZone/FocusTrapZoneTest.tsx +++ b/apps/fluent-tester/src/FluentTester/TestComponents/FocusTrapZone/FocusTrapZoneTest.tsx @@ -44,9 +44,10 @@ const ComponentTwiddler: React.FunctionComponent = (pro const [focusProps, focusState] = useFocusState({}); return ( - + {props.label} diff --git a/apps/fluent-tester/src/FluentTester/TestComponents/Pressable/PressableTest.tsx b/apps/fluent-tester/src/FluentTester/TestComponents/Pressable/PressableTest.tsx index 73a475e35d..f64e703b14 100644 --- a/apps/fluent-tester/src/FluentTester/TestComponents/Pressable/PressableTest.tsx +++ b/apps/fluent-tester/src/FluentTester/TestComponents/Pressable/PressableTest.tsx @@ -67,8 +67,8 @@ const FocusComponent: React.FunctionComponent = () => { const [focusProps, focusState] = useFocusState({}); return ( - - + + ); }; @@ -82,13 +82,15 @@ const PressComponent: React.FunctionComponent = (props: ViewProps) => pressProps.onTouchEnd && pressProps.onTouchEnd(e); Alert.alert('Alert.', 'Object has been pressed.'); }, - [pressProps] + [pressProps], ); return ( - - + diff --git a/apps/fluent-tester/src/FluentTester/TestComponents/Text/PressableUsage.tsx b/apps/fluent-tester/src/FluentTester/TestComponents/Text/PressableUsage.tsx index c6eb5838bb..76419810a0 100644 --- a/apps/fluent-tester/src/FluentTester/TestComponents/Text/PressableUsage.tsx +++ b/apps/fluent-tester/src/FluentTester/TestComponents/Text/PressableUsage.tsx @@ -3,7 +3,7 @@ import { Alert, Linking, View } from 'react-native'; import { Stack } from '@fluentui-react-native/stack'; import { Text } from '@fluentui/react-native'; import { stackStyle } from '../Common/styles'; -import { IKeyboardEvent, IHandledKeyboardEvent } from '@office-iss/react-native-win32'; +import type { IKeyboardEvent, IHandledKeyboardEvent } from '@office-iss/react-native-win32'; export const PressableUsage: React.FunctionComponent<{}> = () => { const _onPress = (): void => { diff --git a/apps/ios/package.json b/apps/ios/package.json index 513d22dda5..5c3d8704c6 100644 --- a/apps/ios/package.json +++ b/apps/ios/package.json @@ -20,8 +20,8 @@ }, "dependencies": { "@fluentui-react-native/tester": "^0.16.3", - "react": "16.11.0", - "react-native": "0.62.2", + "react": "16.13.1", + "react-native": "^0.63.4", "react-native-test-app": "^0.3.2" }, "devDependencies": { @@ -33,8 +33,8 @@ "@uifabricshared/eslint-config-rules": "^0.1.1", "babel-jest": "^24.9.0", "jest": "^24.9.0", - "metro-react-native-babel-preset": "^0.58.0", - "react-test-renderer": "~16.11.0" + "metro-react-native-babel-preset": "^0.59.0", + "react-test-renderer": "~16.13.1" }, "jest": { "preset": "react-native" diff --git a/apps/ios/src/Podfile.lock b/apps/ios/src/Podfile.lock index b0121590fb..636a928531 100644 --- a/apps/ios/src/Podfile.lock +++ b/apps/ios/src/Podfile.lock @@ -1,31 +1,31 @@ PODS: - boost-for-react-native (1.63.0) - DoubleConversion (1.1.6) - - FBLazyVector (0.62.2) - - FBReactNativeSpec (0.62.2): - - Folly (= 2018.10.22.00) - - RCTRequired (= 0.62.2) - - RCTTypeSafety (= 0.62.2) - - React-Core (= 0.62.2) - - React-jsi (= 0.62.2) - - ReactCommon/turbomodule/core (= 0.62.2) - - FluentUI-React-Native-Avatar (0.4.1): + - FBLazyVector (0.63.4) + - FBReactNativeSpec (0.63.4): + - Folly (= 2020.01.13.00) + - RCTRequired (= 0.63.4) + - RCTTypeSafety (= 0.63.4) + - React-Core (= 0.63.4) + - React-jsi (= 0.63.4) + - ReactCommon/turbomodule/core (= 0.63.4) + - FluentUI-React-Native-Avatar (0.4.3): - MicrosoftFluentUI/AvatarView_mac (~> 0.1.28) - MicrosoftFluentUI/Controls_ios (~> 0.1.28) - React - - FluentUI-React-Native-Button (0.2.1): + - FluentUI-React-Native-Button (0.3.1): - MicrosoftFluentUI/Button_mac (~> 0.1.28) - MicrosoftFluentUI/Controls_ios (~> 0.1.28) - React - - FluentUI-React-Native-Shimmer (0.4.1): + - FluentUI-React-Native-Shimmer (0.4.3): - MicrosoftFluentUI (~> 0.1.28) - React - - Folly (2018.10.22.00): + - Folly (2020.01.13.00): - boost-for-react-native - DoubleConversion - - Folly/Default (= 2018.10.22.00) + - Folly/Default (= 2020.01.13.00) - glog - - Folly/Default (2018.10.22.00): + - Folly/Default (2020.01.13.00): - boost-for-react-native - DoubleConversion - glog @@ -82,228 +82,232 @@ PODS: - MicrosoftFluentUI/Controls_ios - MicrosoftFluentUI/Utilities_ios (0.1.28) - QRCodeReader.swift (10.1.0) - - RCTRequired (0.62.2) - - RCTTypeSafety (0.62.2): - - FBLazyVector (= 0.62.2) - - Folly (= 2018.10.22.00) - - RCTRequired (= 0.62.2) - - React-Core (= 0.62.2) - - React (0.62.2): - - React-Core (= 0.62.2) - - React-Core/DevSupport (= 0.62.2) - - React-Core/RCTWebSocket (= 0.62.2) - - React-RCTActionSheet (= 0.62.2) - - React-RCTAnimation (= 0.62.2) - - React-RCTBlob (= 0.62.2) - - React-RCTImage (= 0.62.2) - - React-RCTLinking (= 0.62.2) - - React-RCTNetwork (= 0.62.2) - - React-RCTSettings (= 0.62.2) - - React-RCTText (= 0.62.2) - - React-RCTVibration (= 0.62.2) - - React-Core (0.62.2): - - Folly (= 2018.10.22.00) + - RCTRequired (0.63.4) + - RCTTypeSafety (0.63.4): + - FBLazyVector (= 0.63.4) + - Folly (= 2020.01.13.00) + - RCTRequired (= 0.63.4) + - React-Core (= 0.63.4) + - React (0.63.4): + - React-Core (= 0.63.4) + - React-Core/DevSupport (= 0.63.4) + - React-Core/RCTWebSocket (= 0.63.4) + - React-RCTActionSheet (= 0.63.4) + - React-RCTAnimation (= 0.63.4) + - React-RCTBlob (= 0.63.4) + - React-RCTImage (= 0.63.4) + - React-RCTLinking (= 0.63.4) + - React-RCTNetwork (= 0.63.4) + - React-RCTSettings (= 0.63.4) + - React-RCTText (= 0.63.4) + - React-RCTVibration (= 0.63.4) + - React-callinvoker (0.63.4) + - React-Core (0.63.4): + - Folly (= 2020.01.13.00) - glog - - React-Core/Default (= 0.62.2) - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-Core/Default (= 0.63.4) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/CoreModulesHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/CoreModulesHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/Default (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/Default (0.63.4): + - Folly (= 2020.01.13.00) - glog - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/DevSupport (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/DevSupport (0.63.4): + - Folly (= 2020.01.13.00) - glog - - React-Core/Default (= 0.62.2) - - React-Core/RCTWebSocket (= 0.62.2) - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) - - React-jsinspector (= 0.62.2) + - React-Core/Default (= 0.63.4) + - React-Core/RCTWebSocket (= 0.63.4) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) + - React-jsinspector (= 0.63.4) - Yoga - - React-Core/RCTActionSheetHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTActionSheetHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/RCTAnimationHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTAnimationHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/RCTBlobHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTBlobHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/RCTImageHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTImageHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/RCTLinkingHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTLinkingHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/RCTNetworkHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTNetworkHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/RCTSettingsHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTSettingsHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/RCTTextHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTTextHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/RCTVibrationHeaders (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTVibrationHeaders (0.63.4): + - Folly (= 2020.01.13.00) - glog - React-Core/Default - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-Core/RCTWebSocket (0.62.2): - - Folly (= 2018.10.22.00) + - React-Core/RCTWebSocket (0.63.4): + - Folly (= 2020.01.13.00) - glog - - React-Core/Default (= 0.62.2) - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsiexecutor (= 0.62.2) + - React-Core/Default (= 0.63.4) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsiexecutor (= 0.63.4) - Yoga - - React-CoreModules (0.62.2): - - FBReactNativeSpec (= 0.62.2) - - Folly (= 2018.10.22.00) - - RCTTypeSafety (= 0.62.2) - - React-Core/CoreModulesHeaders (= 0.62.2) - - React-RCTImage (= 0.62.2) - - ReactCommon/turbomodule/core (= 0.62.2) - - React-cxxreact (0.62.2): + - React-CoreModules (0.63.4): + - FBReactNativeSpec (= 0.63.4) + - Folly (= 2020.01.13.00) + - RCTTypeSafety (= 0.63.4) + - React-Core/CoreModulesHeaders (= 0.63.4) + - React-jsi (= 0.63.4) + - React-RCTImage (= 0.63.4) + - ReactCommon/turbomodule/core (= 0.63.4) + - React-cxxreact (0.63.4): - boost-for-react-native (= 1.63.0) - DoubleConversion - - Folly (= 2018.10.22.00) + - Folly (= 2020.01.13.00) - glog - - React-jsinspector (= 0.62.2) - - React-jsi (0.62.2): + - React-callinvoker (= 0.63.4) + - React-jsinspector (= 0.63.4) + - React-jsi (0.63.4): - boost-for-react-native (= 1.63.0) - DoubleConversion - - Folly (= 2018.10.22.00) + - Folly (= 2020.01.13.00) - glog - - React-jsi/Default (= 0.62.2) - - React-jsi/Default (0.62.2): + - React-jsi/Default (= 0.63.4) + - React-jsi/Default (0.63.4): - boost-for-react-native (= 1.63.0) - DoubleConversion - - Folly (= 2018.10.22.00) + - Folly (= 2020.01.13.00) - glog - - React-jsiexecutor (0.62.2): + - React-jsiexecutor (0.63.4): - DoubleConversion - - Folly (= 2018.10.22.00) + - Folly (= 2020.01.13.00) - glog - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - React-jsinspector (0.62.2) - - React-RCTActionSheet (0.62.2): - - React-Core/RCTActionSheetHeaders (= 0.62.2) - - React-RCTAnimation (0.62.2): - - FBReactNativeSpec (= 0.62.2) - - Folly (= 2018.10.22.00) - - RCTTypeSafety (= 0.62.2) - - React-Core/RCTAnimationHeaders (= 0.62.2) - - ReactCommon/turbomodule/core (= 0.62.2) - - React-RCTBlob (0.62.2): - - FBReactNativeSpec (= 0.62.2) - - Folly (= 2018.10.22.00) - - React-Core/RCTBlobHeaders (= 0.62.2) - - React-Core/RCTWebSocket (= 0.62.2) - - React-jsi (= 0.62.2) - - React-RCTNetwork (= 0.62.2) - - ReactCommon/turbomodule/core (= 0.62.2) - - React-RCTImage (0.62.2): - - FBReactNativeSpec (= 0.62.2) - - Folly (= 2018.10.22.00) - - RCTTypeSafety (= 0.62.2) - - React-Core/RCTImageHeaders (= 0.62.2) - - React-RCTNetwork (= 0.62.2) - - ReactCommon/turbomodule/core (= 0.62.2) - - React-RCTLinking (0.62.2): - - FBReactNativeSpec (= 0.62.2) - - React-Core/RCTLinkingHeaders (= 0.62.2) - - ReactCommon/turbomodule/core (= 0.62.2) - - React-RCTNetwork (0.62.2): - - FBReactNativeSpec (= 0.62.2) - - Folly (= 2018.10.22.00) - - RCTTypeSafety (= 0.62.2) - - React-Core/RCTNetworkHeaders (= 0.62.2) - - ReactCommon/turbomodule/core (= 0.62.2) - - React-RCTSettings (0.62.2): - - FBReactNativeSpec (= 0.62.2) - - Folly (= 2018.10.22.00) - - RCTTypeSafety (= 0.62.2) - - React-Core/RCTSettingsHeaders (= 0.62.2) - - ReactCommon/turbomodule/core (= 0.62.2) - - React-RCTText (0.62.2): - - React-Core/RCTTextHeaders (= 0.62.2) - - React-RCTVibration (0.62.2): - - FBReactNativeSpec (= 0.62.2) - - Folly (= 2018.10.22.00) - - React-Core/RCTVibrationHeaders (= 0.62.2) - - ReactCommon/turbomodule/core (= 0.62.2) - - ReactCommon/callinvoker (0.62.2): + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) + - React-jsinspector (0.63.4) + - React-RCTActionSheet (0.63.4): + - React-Core/RCTActionSheetHeaders (= 0.63.4) + - React-RCTAnimation (0.63.4): + - FBReactNativeSpec (= 0.63.4) + - Folly (= 2020.01.13.00) + - RCTTypeSafety (= 0.63.4) + - React-Core/RCTAnimationHeaders (= 0.63.4) + - React-jsi (= 0.63.4) + - ReactCommon/turbomodule/core (= 0.63.4) + - React-RCTBlob (0.63.4): + - FBReactNativeSpec (= 0.63.4) + - Folly (= 2020.01.13.00) + - React-Core/RCTBlobHeaders (= 0.63.4) + - React-Core/RCTWebSocket (= 0.63.4) + - React-jsi (= 0.63.4) + - React-RCTNetwork (= 0.63.4) + - ReactCommon/turbomodule/core (= 0.63.4) + - React-RCTImage (0.63.4): + - FBReactNativeSpec (= 0.63.4) + - Folly (= 2020.01.13.00) + - RCTTypeSafety (= 0.63.4) + - React-Core/RCTImageHeaders (= 0.63.4) + - React-jsi (= 0.63.4) + - React-RCTNetwork (= 0.63.4) + - ReactCommon/turbomodule/core (= 0.63.4) + - React-RCTLinking (0.63.4): + - FBReactNativeSpec (= 0.63.4) + - React-Core/RCTLinkingHeaders (= 0.63.4) + - React-jsi (= 0.63.4) + - ReactCommon/turbomodule/core (= 0.63.4) + - React-RCTNetwork (0.63.4): + - FBReactNativeSpec (= 0.63.4) + - Folly (= 2020.01.13.00) + - RCTTypeSafety (= 0.63.4) + - React-Core/RCTNetworkHeaders (= 0.63.4) + - React-jsi (= 0.63.4) + - ReactCommon/turbomodule/core (= 0.63.4) + - React-RCTSettings (0.63.4): + - FBReactNativeSpec (= 0.63.4) + - Folly (= 2020.01.13.00) + - RCTTypeSafety (= 0.63.4) + - React-Core/RCTSettingsHeaders (= 0.63.4) + - React-jsi (= 0.63.4) + - ReactCommon/turbomodule/core (= 0.63.4) + - React-RCTText (0.63.4): + - React-Core/RCTTextHeaders (= 0.63.4) + - React-RCTVibration (0.63.4): + - FBReactNativeSpec (= 0.63.4) + - Folly (= 2020.01.13.00) + - React-Core/RCTVibrationHeaders (= 0.63.4) + - React-jsi (= 0.63.4) + - ReactCommon/turbomodule/core (= 0.63.4) + - ReactCommon/turbomodule/core (0.63.4): - DoubleConversion - - Folly (= 2018.10.22.00) + - Folly (= 2020.01.13.00) - glog - - React-cxxreact (= 0.62.2) - - ReactCommon/turbomodule/core (0.62.2): - - DoubleConversion - - Folly (= 2018.10.22.00) - - glog - - React-Core (= 0.62.2) - - React-cxxreact (= 0.62.2) - - React-jsi (= 0.62.2) - - ReactCommon/callinvoker (= 0.62.2) + - React-callinvoker (= 0.63.4) + - React-Core (= 0.63.4) + - React-cxxreact (= 0.63.4) + - React-jsi (= 0.63.4) - ReactTestApp-DevSupport (0.3.13) - ReactTestApp-Resources (1.0.0-dev) - SwiftLint (0.42.0) @@ -322,6 +326,7 @@ DEPENDENCIES: - RCTRequired (from `../../../node_modules/react-native/Libraries/RCTRequired`) - RCTTypeSafety (from `../../../node_modules/react-native/Libraries/TypeSafety`) - React (from `../../../node_modules/react-native/`) + - React-callinvoker (from `../../../node_modules/react-native/ReactCommon/callinvoker`) - React-Core (from `../../../node_modules/react-native/`) - React-Core/DevSupport (from `../../../node_modules/react-native/`) - React-Core/RCTWebSocket (from `../../../node_modules/react-native/`) @@ -339,7 +344,6 @@ DEPENDENCIES: - React-RCTSettings (from `../../../node_modules/react-native/Libraries/Settings`) - React-RCTText (from `../../../node_modules/react-native/Libraries/Text`) - React-RCTVibration (from `../../../node_modules/react-native/Libraries/Vibration`) - - ReactCommon/callinvoker (from `../../../node_modules/react-native/ReactCommon`) - ReactCommon/turbomodule/core (from `../../../node_modules/react-native/ReactCommon`) - ReactTestApp-DevSupport (from `../../../node_modules/react-native-test-app`) - ReactTestApp-Resources (from `..`) @@ -376,6 +380,8 @@ EXTERNAL SOURCES: :path: "../../../node_modules/react-native/Libraries/TypeSafety" React: :path: "../../../node_modules/react-native/" + React-callinvoker: + :path: "../../../node_modules/react-native/ReactCommon/callinvoker" React-Core: :path: "../../../node_modules/react-native/" React-CoreModules: @@ -417,40 +423,41 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c - DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2 - FBLazyVector: 4aab18c93cd9546e4bfed752b4084585eca8b245 - FBReactNativeSpec: 5465d51ccfeecb7faa12f9ae0024f2044ce4044e - FluentUI-React-Native-Avatar: 9804dde24e78b83149452568f5928a754d174a94 - FluentUI-React-Native-Button: 96692ca721233577a491e824b5a11bf64faa3c1f - FluentUI-React-Native-Shimmer: 31aa521337d87465321c12e7de82857ab0855830 - Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51 - glog: 1f3da668190260b06b429bb211bfbee5cd790c28 + DoubleConversion: cde416483dac037923206447da6e1454df403714 + FBLazyVector: 3bb422f41b18121b71783a905c10e58606f7dc3e + FBReactNativeSpec: f2c97f2529dd79c083355182cc158c9f98f4bd6e + FluentUI-React-Native-Avatar: f43459273f21935f033da1f73c310a11bfb7302b + FluentUI-React-Native-Button: 8006a5f286d58d9f41d8f969038bea01ae508760 + FluentUI-React-Native-Shimmer: 643f9fef0d8cfc3408bcef350e6d490adcb0a38a + Folly: b73c3869541e86821df3c387eb0af5f65addfab4 + glog: 40a13f7840415b9a77023fbcae0f1e6f43192af3 MicrosoftFluentUI: 2dfff618a4fed9d1539a568449323da2bedcccae QRCodeReader.swift: 373a389fe9a22d513c879a32a6f647c58f4ef572 - RCTRequired: cec6a34b3ac8a9915c37e7e4ad3aa74726ce4035 - RCTTypeSafety: 93006131180074cffa227a1075802c89a49dd4ce - React: 29a8b1a02bd764fb7644ef04019270849b9a7ac3 - React-Core: b12bffb3f567fdf99510acb716ef1abd426e0e05 - React-CoreModules: 4a9b87bbe669d6c3173c0132c3328e3b000783d0 - React-cxxreact: e65f9c2ba0ac5be946f53548c1aaaee5873a8103 - React-jsi: b6dc94a6a12ff98e8877287a0b7620d365201161 - React-jsiexecutor: 1540d1c01bb493ae3124ed83351b1b6a155db7da - React-jsinspector: 512e560d0e985d0e8c479a54a4e5c147a9c83493 - React-RCTActionSheet: f41ea8a811aac770e0cc6e0ad6b270c644ea8b7c - React-RCTAnimation: 49ab98b1c1ff4445148b72a3d61554138565bad0 - React-RCTBlob: a332773f0ebc413a0ce85942a55b064471587a71 - React-RCTImage: e70be9b9c74fe4e42d0005f42cace7981c994ac3 - React-RCTLinking: c1b9739a88d56ecbec23b7f63650e44672ab2ad2 - React-RCTNetwork: 73138b6f45e5a2768ad93f3d57873c2a18d14b44 - React-RCTSettings: 6e3738a87e21b39a8cb08d627e68c44acf1e325a - React-RCTText: fae545b10cfdb3d247c36c56f61a94cfd6dba41d - React-RCTVibration: 4356114dbcba4ce66991096e51a66e61eda51256 - ReactCommon: ed4e11d27609d571e7eee8b65548efc191116eb3 + RCTRequired: 082f10cd3f905d6c124597fd1c14f6f2655ff65e + RCTTypeSafety: 8c9c544ecbf20337d069e4ae7fd9a377aadf504b + React: b0a957a2c44da4113b0c4c9853d8387f8e64e615 + React-callinvoker: c3f44dd3cb195b6aa46621fff95ded79d59043fe + React-Core: d3b2a1ac9a2c13c3bcde712d9281fc1c8a5b315b + React-CoreModules: 0581ff36cb797da0943d424f69e7098e43e9be60 + React-cxxreact: c1480d4fda5720086c90df537ee7d285d4c57ac3 + React-jsi: a0418934cf48f25b485631deb27c64dc40fb4c31 + React-jsiexecutor: 93bd528844ad21dc07aab1c67cb10abae6df6949 + React-jsinspector: 58aef7155bc9a9683f5b60b35eccea8722a4f53a + React-RCTActionSheet: 89a0ca9f4a06c1f93c26067af074ccdce0f40336 + React-RCTAnimation: 1bde3ecc0c104c55df246eda516e0deb03c4e49b + React-RCTBlob: a97d378b527740cc667e03ebfa183a75231ab0f0 + React-RCTImage: c1b1f2d3f43a4a528c8946d6092384b5c880d2f0 + React-RCTLinking: 35ae4ab9dc0410d1fcbdce4d7623194a27214fb2 + React-RCTNetwork: 29ec2696f8d8cfff7331fac83d3e893c95ef43ae + React-RCTSettings: 60f0691bba2074ef394f95d4c2265ec284e0a46a + React-RCTText: 5c51df3f08cb9dedc6e790161195d12bac06101c + React-RCTVibration: ae4f914cfe8de7d4de95ae1ea6cc8f6315d73d9d + ReactCommon: 73d79c7039f473b76db6ff7c6b159c478acbbb3b ReactTestApp-DevSupport: 12d9f285a44ff0cb7962a213621f87d3e6de9288 ReactTestApp-Resources: 5950ae44720217c6778ff03fb1d906c8fb3ce483 SwiftLint: 4fa9579c63416865179bc416f0a92d55f009600d - Yoga: 3ebccbdd559724312790e7742142d062476b698e + Yoga: 4bd86afe9883422a7c4028c00e34790f560923d6 PODFILE CHECKSUM: 92ad496f45726c3f2dfe3835c607a1b6ca267da8 -COCOAPODS: 1.10.1 +COCOAPODS: 1.10.0 diff --git a/apps/macos/package.json b/apps/macos/package.json index de9da4736a..7d8a832d7d 100644 --- a/apps/macos/package.json +++ b/apps/macos/package.json @@ -32,9 +32,9 @@ "babel-jest": "^24.9.0", "jest": "^24.9.0", "metro-config": "^0.58.0", - "metro-react-native-babel-preset": "^0.58.0", - "react-native": "0.63.3", - "react-test-renderer": "~16.11.0" + "metro-react-native-babel-preset": "^0.59.0", + "react-native": "^0.63.4", + "react-test-renderer": "~16.13.1" }, "peerDependencies": { "react": "^16.13.1" diff --git a/apps/macos/src/Podfile.lock b/apps/macos/src/Podfile.lock index 47f0200d60..a97035beec 100644 --- a/apps/macos/src/Podfile.lock +++ b/apps/macos/src/Podfile.lock @@ -440,4 +440,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 5d9a9585f42b172ddf51a902df243a9eacc188ff -COCOAPODS: 1.10.1 +COCOAPODS: 1.10.0 diff --git a/apps/web/package.json b/apps/web/package.json index b2b314865f..d886825290 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -12,10 +12,10 @@ }, "dependencies": { "@fluentui-react-native/tester": ">=0.16.3 <1.0.0", - "react": "16.11.0", + "react": "16.13.1", "react-art": "^16.13.1", "react-dom": "^16.13.1", - "react-native": "0.62.2", + "react-native": "^0.63.4", "react-native-svg-loader": "^1.0.0", "react-native-web": "^0.12.3" }, @@ -24,7 +24,7 @@ "@types/node": "^12.0.0", "@types/react": "^16.9.0", "@types/react-dom": "^16.9.0", - "@types/react-native": "0.62.2", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", "file-loader": "^6.0.0", diff --git a/apps/win32/package.json b/apps/win32/package.json index 460876bc84..0d11601178 100644 --- a/apps/win32/package.json +++ b/apps/win32/package.json @@ -28,24 +28,24 @@ }, "dependencies": { "@fluentui-react-native/tester": "^0.16.3", - "react": "16.11.0", - "react-native": "0.62.2", + "react": "16.13.1", + "react-native": "^0.63.4", "react-native-svg": "^11.0.0" }, "devDependencies": { - "@office-iss/rex-win32": "0.62.22-devmain.13806.10000", - "@office-iss/react-native-win32": "0.62.6", + "@office-iss/rex-win32": "0.63.22-devmain.13903.10000", + "@office-iss/react-native-win32": "^0.63.7", "@react-native-community/eslint-config": "^1.1.0", "@rnx-kit/cli": "^0.0.3", "@types/jasmine": "3.5.10", "@types/react": "^16.9.34", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", "metro-config": "^0.58.0", - "metro-react-native-babel-preset": "^0.58.0", + "metro-react-native-babel-preset": "^0.59.0", "react-native-svg-transformer": "^0.14.3", - "react-test-renderer": "~16.11.0", + "react-test-renderer": "~16.13.1", "ts-node": "^8.10.1", "tsconfig-paths": "^3.9.0", "typescript": "3.8.3", @@ -61,8 +61,8 @@ "@wdio/sync": "5.20.1" }, "peerDependencies": { - "react": "16.11.0", - "react-native": "0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "jest": { "preset": "react-native" diff --git a/apps/windows/package.json b/apps/windows/package.json index 6d39f88b29..9b1ff9b92e 100644 --- a/apps/windows/package.json +++ b/apps/windows/package.json @@ -15,8 +15,8 @@ }, "dependencies": { "@fluentui-react-native/tester": "^0.16.3", - "react": "16.11.0", - "react-native": "0.62.2", + "react": "16.13.1", + "react-native": "^0.63.4", "react-native-windows": "^0.62.1" }, "devDependencies": { @@ -29,8 +29,8 @@ "eslint": "^6.5.1", "jest": "^24.9.0", "metro-config": "^0.58.0", - "metro-react-native-babel-preset": "^0.58.0", - "react-test-renderer": "~16.11.0", + "metro-react-native-babel-preset": "^0.59.0", + "react-test-renderer": "~16.13.1", "rimraf": "~3.0.2", "ts-node": "^8.10.1", "tsconfig-paths": "^3.9.0", diff --git a/change/@fluentui-react-native-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..6270816d7b --- /dev/null +++ b/change/@fluentui-react-native-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui/react-native", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:42.947Z" +} diff --git a/change/@fluentui-react-native-adapters-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-adapters-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..543ccdd0be --- /dev/null +++ b/change/@fluentui-react-native-adapters-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/adapters", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:46.336Z" +} diff --git a/change/@fluentui-react-native-apple-theme-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-apple-theme-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..b8c11567db --- /dev/null +++ b/change/@fluentui-react-native-apple-theme-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/apple-theme", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:43.659Z" +} diff --git a/change/@fluentui-react-native-button-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-button-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..18cd3fc9aa --- /dev/null +++ b/change/@fluentui-react-native-button-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/button", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:11.997Z" +} diff --git a/change/@fluentui-react-native-callout-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-callout-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..db8dcd5989 --- /dev/null +++ b/change/@fluentui-react-native-callout-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/callout", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:14.271Z" +} diff --git a/change/@fluentui-react-native-checkbox-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-checkbox-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..9726772289 --- /dev/null +++ b/change/@fluentui-react-native-checkbox-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/checkbox", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:15.704Z" +} diff --git a/change/@fluentui-react-native-component-cache-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-component-cache-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..bca6e8dd9a --- /dev/null +++ b/change/@fluentui-react-native-component-cache-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/component-cache", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:38.630Z" +} diff --git a/change/@fluentui-react-native-composition-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-composition-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..497998e2a7 --- /dev/null +++ b/change/@fluentui-react-native-composition-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/composition", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:35.036Z" +} diff --git a/change/@fluentui-react-native-contextual-menu-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-contextual-menu-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..d91ca17540 --- /dev/null +++ b/change/@fluentui-react-native-contextual-menu-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/contextual-menu", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:17.121Z" +} diff --git a/change/@fluentui-react-native-default-theme-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-default-theme-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..c832a36eaa --- /dev/null +++ b/change/@fluentui-react-native-default-theme-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/default-theme", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:44.303Z" +} diff --git a/change/@fluentui-react-native-experimental-avatar-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-experimental-avatar-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..5aac84ba30 --- /dev/null +++ b/change/@fluentui-react-native-experimental-avatar-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/experimental-avatar", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:31.301Z" +} diff --git a/change/@fluentui-react-native-experimental-button-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-experimental-button-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..9ce4d53efc --- /dev/null +++ b/change/@fluentui-react-native-experimental-button-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/experimental-button", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:32.078Z" +} diff --git a/change/@fluentui-react-native-experimental-native-button-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-experimental-native-button-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..0aa09c82ab --- /dev/null +++ b/change/@fluentui-react-native-experimental-native-button-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/experimental-native-button", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:33.620Z" +} diff --git a/change/@fluentui-react-native-experimental-text-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-experimental-text-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..aa0ad2ecd0 --- /dev/null +++ b/change/@fluentui-react-native-experimental-text-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/experimental-text", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:34.329Z" +} diff --git a/change/@fluentui-react-native-focus-trap-zone-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-focus-trap-zone-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..c00ccb4a14 --- /dev/null +++ b/change/@fluentui-react-native-focus-trap-zone-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/focus-trap-zone", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:18.561Z" +} diff --git a/change/@fluentui-react-native-focus-zone-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-focus-zone-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..a1c62a5de8 --- /dev/null +++ b/change/@fluentui-react-native-focus-zone-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/focus-zone", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:19.885Z" +} diff --git a/change/@fluentui-react-native-framework-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-framework-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..20d7d68308 --- /dev/null +++ b/change/@fluentui-react-native-framework-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/framework", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:35.728Z" +} diff --git a/change/@fluentui-react-native-icon-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-icon-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..5c0dd69bb3 --- /dev/null +++ b/change/@fluentui-react-native-icon-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/icon", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:32.852Z" +} diff --git a/change/@fluentui-react-native-interactive-hooks-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-interactive-hooks-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..a1446df723 --- /dev/null +++ b/change/@fluentui-react-native-interactive-hooks-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/interactive-hooks", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:47.007Z" +} diff --git a/change/@fluentui-react-native-link-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-link-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..8cf49dd432 --- /dev/null +++ b/change/@fluentui-react-native-link-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/link", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:21.360Z" +} diff --git a/change/@fluentui-react-native-persona-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-persona-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..a3de5e3267 --- /dev/null +++ b/change/@fluentui-react-native-persona-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/persona", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:22.394Z" +} diff --git a/change/@fluentui-react-native-persona-coin-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-persona-coin-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..b05a17c458 --- /dev/null +++ b/change/@fluentui-react-native-persona-coin-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/persona-coin", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:24.380Z" +} diff --git a/change/@fluentui-react-native-pressable-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-pressable-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..f0d9d9ed9e --- /dev/null +++ b/change/@fluentui-react-native-pressable-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/pressable", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:25.667Z" +} diff --git a/change/@fluentui-react-native-radio-group-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-radio-group-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..f697f62ad9 --- /dev/null +++ b/change/@fluentui-react-native-radio-group-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/radio-group", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:26.890Z" +} diff --git a/change/@fluentui-react-native-separator-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-separator-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..9bd674fb47 --- /dev/null +++ b/change/@fluentui-react-native-separator-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/separator", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:27.807Z" +} diff --git a/change/@fluentui-react-native-shimmer-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-shimmer-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..18ec81c0c3 --- /dev/null +++ b/change/@fluentui-react-native-shimmer-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/shimmer", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:28.640Z" +} diff --git a/change/@fluentui-react-native-stack-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-stack-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..563a751e10 --- /dev/null +++ b/change/@fluentui-react-native-stack-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/stack", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:29.558Z" +} diff --git a/change/@fluentui-react-native-tester-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-tester-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..f9bc99b5fa --- /dev/null +++ b/change/@fluentui-react-native-tester-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/tester", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:06.420Z" +} diff --git a/change/@fluentui-react-native-tester-win32-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-tester-win32-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..2a9e603d04 --- /dev/null +++ b/change/@fluentui-react-native-tester-win32-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/tester-win32", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:09.608Z" +} diff --git a/change/@fluentui-react-native-text-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-text-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..316ce7279c --- /dev/null +++ b/change/@fluentui-react-native-text-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/text", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:30.389Z" +} diff --git a/change/@fluentui-react-native-theme-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-theme-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..94f7cfe550 --- /dev/null +++ b/change/@fluentui-react-native-theme-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/theme", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:36.451Z" +} diff --git a/change/@fluentui-react-native-theme-types-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-theme-types-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..54e947f822 --- /dev/null +++ b/change/@fluentui-react-native-theme-types-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/theme-types", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:44.977Z" +} diff --git a/change/@fluentui-react-native-themed-stylesheet-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-themed-stylesheet-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..fb5ad75ab4 --- /dev/null +++ b/change/@fluentui-react-native-themed-stylesheet-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/themed-stylesheet", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:40.791Z" +} diff --git a/change/@fluentui-react-native-tokens-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-tokens-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..f29fe38663 --- /dev/null +++ b/change/@fluentui-react-native-tokens-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/tokens", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:47.724Z" +} diff --git a/change/@fluentui-react-native-use-slots-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-use-slots-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..d5dfbb78b1 --- /dev/null +++ b/change/@fluentui-react-native-use-slots-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/use-slots", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:37.138Z" +} diff --git a/change/@fluentui-react-native-use-styling-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-use-styling-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..38f17891ae --- /dev/null +++ b/change/@fluentui-react-native-use-styling-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/use-styling", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:37.848Z" +} diff --git a/change/@fluentui-react-native-win32-theme-2021-03-04-10-24-47-RN63.json b/change/@fluentui-react-native-win32-theme-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..cff3ee2031 --- /dev/null +++ b/change/@fluentui-react-native-win32-theme-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@fluentui-react-native/win32-theme", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:45.652Z" +} diff --git a/change/@uifabricshared-foundation-composable-2021-03-04-10-24-47-RN63.json b/change/@uifabricshared-foundation-composable-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..d696fbadb7 --- /dev/null +++ b/change/@uifabricshared-foundation-composable-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@uifabricshared/foundation-composable", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:39.372Z" +} diff --git a/change/@uifabricshared-foundation-compose-2021-03-04-10-24-47-RN63.json b/change/@uifabricshared-foundation-compose-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..717b384e33 --- /dev/null +++ b/change/@uifabricshared-foundation-compose-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@uifabricshared/foundation-compose", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:40.080Z" +} diff --git a/change/@uifabricshared-theming-ramp-2021-03-04-10-24-47-RN63.json b/change/@uifabricshared-theming-ramp-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..b7229dc292 --- /dev/null +++ b/change/@uifabricshared-theming-ramp-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@uifabricshared/theming-ramp", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:41.517Z" +} diff --git a/change/@uifabricshared-theming-react-native-2021-03-04-10-24-47-RN63.json b/change/@uifabricshared-theming-react-native-2021-03-04-10-24-47-RN63.json new file mode 100644 index 0000000000..f770a24114 --- /dev/null +++ b/change/@uifabricshared-theming-react-native-2021-03-04-10-24-47-RN63.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Update to react-native 0.63", + "packageName": "@uifabricshared/theming-react-native", + "email": "30809111+acoates-ms@users.noreply.github.com", + "dependentChangeType": "patch", + "date": "2021-03-04T18:24:42.235Z" +} diff --git a/packages/components/Button/package.json b/packages/components/Button/package.json index 39164fe9ad..db150305bf 100644 --- a/packages/components/Button/package.json +++ b/packages/components/Button/package.json @@ -28,19 +28,19 @@ "@fluentui-react-native/pressable": ">=0.5.1 <1.0.0", "@fluentui-react-native/text": ">=0.8.2 <1.0.0", "@fluentui-react-native/tokens": ">=0.7.1 <1.0.0", - "@office-iss/react-native-win32": "0.62.6", "@uifabricshared/foundation-composable": ">=0.7.0 <1.0.0", "@uifabricshared/foundation-settings": ">=0.8.0 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@office-iss/react-native-win32": "^0.63.7", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/Button/src/Button.settings.ts b/packages/components/Button/src/Button.settings.ts index 680cf78da5..8780c0b634 100644 --- a/packages/components/Button/src/Button.settings.ts +++ b/packages/components/Button/src/Button.settings.ts @@ -1,6 +1,6 @@ import { buttonName, IButtonType } from './Button.types'; import { IComposeSettings } from '@uifabricshared/foundation-compose'; -import { ViewProps } from 'react-native'; +import type { IViewProps } from '@fluentui-react-native/adapters'; export const settings: IComposeSettings = [ { @@ -13,7 +13,6 @@ export const settings: IComposeSettings = [ }, root: { accessible: true, - acceptsKeyboardFocus: true, focusable: true, accessibilityRole: 'button', style: { @@ -22,7 +21,7 @@ export const settings: IComposeSettings = [ flexDirection: 'row', alignSelf: 'flex-start', }, - } as ViewProps, + } as IViewProps, content: { // accessible: false, }, diff --git a/packages/components/Button/src/Button.types.ts b/packages/components/Button/src/Button.types.ts index d069715058..32735a35ce 100644 --- a/packages/components/Button/src/Button.types.ts +++ b/packages/components/Button/src/Button.types.ts @@ -5,7 +5,7 @@ import { ITextProps } from '@fluentui-react-native/text'; import { IPressableProps } from '@fluentui-react-native/pressable'; import { FontTokens, IForegroundColorTokens, IBackgroundColorTokens, IBorderTokens } from '@fluentui-react-native/tokens'; import { IFocusable, IPressableState } from '@fluentui-react-native/interactive-hooks'; -import { IViewWin32Props } from '@office-iss/react-native-win32'; +import type { IViewProps } from '@fluentui-react-native/adapters'; import { IconProps } from '@fluentui-react-native/icon'; export const buttonName = 'Button'; @@ -111,7 +111,7 @@ export interface IButtonProps extends Omit { } export interface IButtonSlotProps { - root: React.PropsWithRef; + root: React.PropsWithRef; stack: ViewProps; icon: IconProps; content: ITextProps; diff --git a/packages/components/Button/src/__snapshots__/Button.test.tsx.snap b/packages/components/Button/src/__snapshots__/Button.test.tsx.snap index 2f6af3cc2f..23a3ab7e37 100644 --- a/packages/components/Button/src/__snapshots__/Button.test.tsx.snap +++ b/packages/components/Button/src/__snapshots__/Button.test.tsx.snap @@ -2,7 +2,6 @@ exports[`Button default 1`] = ` =0.8.0 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/Checkbox/package.json b/packages/components/Checkbox/package.json index 6b9bbc55ae..1cccf4ca89 100644 --- a/packages/components/Checkbox/package.json +++ b/packages/components/Checkbox/package.json @@ -30,15 +30,15 @@ "@uifabricshared/foundation-settings": ">=0.8.0 <1.0.0" }, "devDependencies": { - "@office-iss/react-native-win32": "0.62.6", - "@types/react-native": "^0.62.0", + "@office-iss/react-native-win32": "^0.63.7", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/Checkbox/src/Checkbox.settings.ts b/packages/components/Checkbox/src/Checkbox.settings.ts index 8dfd17764d..70c044b74b 100644 --- a/packages/components/Checkbox/src/Checkbox.settings.ts +++ b/packages/components/Checkbox/src/Checkbox.settings.ts @@ -13,7 +13,7 @@ export const settings: IComposeSettings = [ }, root: { accessible: true, - acceptsKeyboardFocus: true, + focusable: true, accessibilityRole: 'checkbox', style: { display: 'flex', diff --git a/packages/components/Checkbox/src/Checkbox.types.ts b/packages/components/Checkbox/src/Checkbox.types.ts index 7b2013bc1e..6141954f62 100644 --- a/packages/components/Checkbox/src/Checkbox.types.ts +++ b/packages/components/Checkbox/src/Checkbox.types.ts @@ -1,11 +1,10 @@ import * as React from 'react'; // import { IPressableProps } from '@fluentui-react-native/pressable'; import { IPressableState, IFocusable } from '@fluentui-react-native/interactive-hooks'; -import { ViewProps } from 'react-native'; import { IRenderData } from '@uifabricshared/foundation-composable'; import { ITextProps } from '@fluentui-react-native/text'; import { FontTokens, IForegroundColorTokens, IBackgroundColorTokens, IBorderTokens } from '@fluentui-react-native/tokens'; -import { IViewWin32Props } from '@office-iss/react-native-win32'; +import type { IViewProps } from '@fluentui-react-native/adapters'; export const checkboxName = 'Checkbox'; @@ -26,7 +25,7 @@ export interface ICheckboxState extends IPressableState { boxAtEnd?: boolean; } -export interface ICheckboxProps extends ViewProps { +export interface ICheckboxProps extends IViewProps { /** * An optional string for the Narrator to read. If not provided, this will be set to the Checkbox label */ @@ -81,8 +80,8 @@ export interface ICheckboxTokens extends FontTokens, IForegroundColorTokens, IBa } export interface ICheckboxSlotProps { - root: React.PropsWithRef; - checkbox: ViewProps; + root: React.PropsWithRef; + checkbox: IViewProps; checkmark: ITextProps; content: ITextProps; } diff --git a/packages/components/ContextualMenu/package.json b/packages/components/ContextualMenu/package.json index 94e28b92bd..c58636de2d 100644 --- a/packages/components/ContextualMenu/package.json +++ b/packages/components/ContextualMenu/package.json @@ -31,14 +31,14 @@ }, "devDependencies": { "@fluentui-react-native/pressable": ">=0.5.1 <1.0.0", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/ContextualMenu/src/ContextualMenu.tsx b/packages/components/ContextualMenu/src/ContextualMenu.tsx index c10144a327..64e8984100 100644 --- a/packages/components/ContextualMenu/src/ContextualMenu.tsx +++ b/packages/components/ContextualMenu/src/ContextualMenu.tsx @@ -69,7 +69,7 @@ export const ContextualMenu = compose({ }, container: { accessible: shouldFocusOnContainer, - acceptsKeyboardFocus: shouldFocusOnContainer && containerFocus, + focusable: shouldFocusOnContainer && containerFocus, onBlur: toggleContainerFocus } diff --git a/packages/components/ContextualMenu/src/ContextualMenuItem.settings.ts b/packages/components/ContextualMenu/src/ContextualMenuItem.settings.ts index aa675ffbf1..0867f6ea83 100644 --- a/packages/components/ContextualMenu/src/ContextualMenuItem.settings.ts +++ b/packages/components/ContextualMenu/src/ContextualMenuItem.settings.ts @@ -12,8 +12,7 @@ export const settings: IComposeSettings = [ root: { accessible: true, accessibilityRole: 'menuitem', - // Since ViewProps does not support this prop, force the prop against type checking - ...{ acceptsKeyboardFocus: true }, + focusable: true, style: { display: 'flex', alignItems: 'flex-start', diff --git a/packages/components/ContextualMenu/src/__tests__/__snapshots__/ContextualMenu.test.win32.tsx.snap b/packages/components/ContextualMenu/src/__tests__/__snapshots__/ContextualMenu.test.win32.tsx.snap index 1172c636d4..115ec70a26 100644 --- a/packages/components/ContextualMenu/src/__tests__/__snapshots__/ContextualMenu.test.win32.tsx.snap +++ b/packages/components/ContextualMenu/src/__tests__/__snapshots__/ContextualMenu.test.win32.tsx.snap @@ -16,8 +16,8 @@ exports[`ContextualMenu default props 1`] = ` } > =0.8.0 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/FocusZone/package.json b/packages/components/FocusZone/package.json index ae9311dde4..dee88b68aa 100644 --- a/packages/components/FocusZone/package.json +++ b/packages/components/FocusZone/package.json @@ -27,15 +27,15 @@ "@uifabricshared/foundation-settings": ">=0.8.0 <1.0.0" }, "devDependencies": { - "@office-iss/react-native-win32": "0.62.0-preview.3", - "@types/react-native": "^0.62.0", + "@office-iss/react-native-win32": "^0.63.7", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/FocusZone/src/__tests__/__snapshots__/FocusZone.test.win32.tsx.snap b/packages/components/FocusZone/src/__tests__/__snapshots__/FocusZone.test.win32.tsx.snap index 4ccbc7ff34..36437bf989 100644 --- a/packages/components/FocusZone/src/__tests__/__snapshots__/FocusZone.test.win32.tsx.snap +++ b/packages/components/FocusZone/src/__tests__/__snapshots__/FocusZone.test.win32.tsx.snap @@ -18,6 +18,7 @@ exports[`FocusZone No Props One child 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -68,6 +69,7 @@ exports[`FocusZone No Props Three children 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -111,6 +113,7 @@ exports[`FocusZone No Props Three children 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -154,6 +157,7 @@ exports[`FocusZone No Props Three children 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -204,6 +208,7 @@ exports[`FocusZone No Props Two children 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -247,6 +252,7 @@ exports[`FocusZone No Props Two children 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -300,6 +306,7 @@ exports[`FocusZone With Props All Props 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -343,6 +350,7 @@ exports[`FocusZone With Props All Props 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -386,6 +394,7 @@ exports[`FocusZone With Props All Props 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -436,6 +445,7 @@ exports[`FocusZone With Props defaultTabbableElement Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -479,6 +489,7 @@ exports[`FocusZone With Props defaultTabbableElement Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -522,6 +533,7 @@ exports[`FocusZone With Props defaultTabbableElement Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -573,6 +585,7 @@ exports[`FocusZone With Props disabled Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -616,6 +629,7 @@ exports[`FocusZone With Props disabled Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -659,6 +673,7 @@ exports[`FocusZone With Props disabled Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -710,6 +725,7 @@ exports[`FocusZone With Props focusZoneDirection Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -753,6 +769,7 @@ exports[`FocusZone With Props focusZoneDirection Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -796,6 +813,7 @@ exports[`FocusZone With Props focusZoneDirection Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -846,6 +864,7 @@ exports[`FocusZone With Props isCircularNavigation Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -889,6 +908,7 @@ exports[`FocusZone With Props isCircularNavigation Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -932,6 +952,7 @@ exports[`FocusZone With Props isCircularNavigation Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -983,6 +1004,7 @@ exports[`FocusZone With Props use2DNavigation Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -1026,6 +1048,7 @@ exports[`FocusZone With Props use2DNavigation Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } @@ -1069,6 +1092,7 @@ exports[`FocusZone With Props use2DNavigation Prop 1`] = ` nativeBackgroundAndroid={ Object { "attribute": "selectableItemBackground", + "rippleRadius": undefined, "type": "ThemeAttrAndroid", } } diff --git a/packages/components/Link/package.json b/packages/components/Link/package.json index 03ad574cbc..43a7e43a77 100644 --- a/packages/components/Link/package.json +++ b/packages/components/Link/package.json @@ -30,14 +30,14 @@ "@uifabricshared/foundation-settings": ">=0.8.0 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/Link/src/Link.settings.ts b/packages/components/Link/src/Link.settings.ts index 104c815a69..427e051384 100644 --- a/packages/components/Link/src/Link.settings.ts +++ b/packages/components/Link/src/Link.settings.ts @@ -13,7 +13,8 @@ export const settings: IComposeSettings = [ }, root: { accessible: true, - ...{ acceptsKeyboardFocus: true, cursor: 'pointer' }, + focusable: true, + ...{ cursor: 'pointer' }, accessibilityRole: 'link', style: { margin: 0, diff --git a/packages/components/Link/src/__tests__/__snapshots__/Link.test.win32.tsx.snap b/packages/components/Link/src/__tests__/__snapshots__/Link.test.win32.tsx.snap index a7801e3ae5..369e9fe49a 100644 --- a/packages/components/Link/src/__tests__/__snapshots__/Link.test.win32.tsx.snap +++ b/packages/components/Link/src/__tests__/__snapshots__/Link.test.win32.tsx.snap @@ -2,10 +2,10 @@ exports[`Link all props 1`] = ` =0.12.1 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/Persona/src/Persona.tokens.coin.ts b/packages/components/Persona/src/Persona.tokens.coin.ts index db92d6406c..86277426c1 100644 --- a/packages/components/Persona/src/Persona.tokens.coin.ts +++ b/packages/components/Persona/src/Persona.tokens.coin.ts @@ -1,4 +1,4 @@ -import { ViewProps } from 'react-native'; +import type { IViewProps } from '@fluentui-react-native/adapters'; import { styleFunction } from '@uifabricshared/foundation-tokens'; import { ITheme } from '@uifabricshared/theming-ramp'; import { buildRootStyles as buildPersonaCoinRootStyle, IPersonaCoinTokens } from '@fluentui-react-native/persona-coin'; @@ -9,18 +9,18 @@ const _coinStyleKeys: (keyof IPersonaTokens)[] = [ 'size', 'horizontalIconAlignment', 'verticalIconAlignment', - 'coinBackgroundColor' + 'coinBackgroundColor', ]; -function _buildCoinStyle(tokenProps: IPersonaTokens, theme: ITheme): ViewProps { +function _buildCoinStyle(tokenProps: IPersonaTokens, theme: ITheme): IViewProps { const { coinBackgroundColor, ...rest } = tokenProps; const personaCoinTokens: IPersonaCoinTokens = { ...rest, - backgroundColor: coinBackgroundColor + backgroundColor: coinBackgroundColor, }; return buildPersonaCoinRootStyle(personaCoinTokens, theme); } -export const buildCoinStyle = styleFunction(_buildCoinStyle, _coinStyleKeys); +export const buildCoinStyle = styleFunction(_buildCoinStyle, _coinStyleKeys); diff --git a/packages/components/Persona/src/Persona.tokens.texts.ts b/packages/components/Persona/src/Persona.tokens.texts.ts index 7332310c12..0a68ce821b 100644 --- a/packages/components/Persona/src/Persona.tokens.texts.ts +++ b/packages/components/Persona/src/Persona.tokens.texts.ts @@ -1,4 +1,5 @@ -import { TextStyle, TextProps } from 'react-native'; +import { TextStyle } from 'react-native'; +import type { ITextProps } from '@fluentui-react-native/adapters'; import { styleFunction } from '@uifabricshared/foundation-tokens'; import { IPersonaTokens } from './Persona.types'; import { ITheme } from '@uifabricshared/theming-ramp'; @@ -11,7 +12,7 @@ function buildTextStyleHelper( size: PersonaSize | undefined, getFontAttributes: (size: PersonaSize) => FontTokens, fontTokens: FontTokens | undefined, - theme: ITheme + theme: ITheme, ) { const textStyle: TextStyle = {}; @@ -31,35 +32,35 @@ function buildTextStyleHelper( return textStyle; } -function _buildTextStyle(tokenProps: IPersonaTokens, theme: ITheme): TextProps { +function _buildTextStyle(tokenProps: IPersonaTokens, theme: ITheme): ITextProps { const { verticalGap, textFont, size } = tokenProps; return { style: buildTextStyleHelper(verticalGap, size, getTextFont, textFont, theme) }; } -function _buildSecondaryStyle(tokenProps: IPersonaTokens, theme: ITheme): TextProps { +function _buildSecondaryStyle(tokenProps: IPersonaTokens, theme: ITheme): ITextProps { const { verticalGap, secondaryFont, size } = tokenProps; return { style: buildTextStyleHelper(verticalGap, size, getSecondaryFont, secondaryFont, theme) }; } -function _buildTertiaryStyle(tokenProps: IPersonaTokens, theme: ITheme): TextProps { +function _buildTertiaryStyle(tokenProps: IPersonaTokens, theme: ITheme): ITextProps { const { verticalGap, tertiaryFont, size } = tokenProps; return { style: buildTextStyleHelper(verticalGap, size, getTertiaryFont, tertiaryFont, theme) }; } -function _buildOptionalStyle(tokenProps: IPersonaTokens, theme: ITheme): TextProps { +function _buildOptionalStyle(tokenProps: IPersonaTokens, theme: ITheme): ITextProps { const { optionalFont, size } = tokenProps; return { style: buildTextStyleHelper(undefined, size, getOptionalFont, optionalFont, theme) }; } -export const buildTextStyle = styleFunction(_buildTextStyle, ['size', 'textFont', 'verticalGap']); -export const buildSecondaryStyle = styleFunction(_buildSecondaryStyle, [ +export const buildTextStyle = styleFunction(_buildTextStyle, ['size', 'textFont', 'verticalGap']); +export const buildSecondaryStyle = styleFunction(_buildSecondaryStyle, [ 'size', 'secondaryFont', - 'verticalGap' + 'verticalGap', ]); -export const buildTertiaryStyle = styleFunction(_buildTertiaryStyle, [ +export const buildTertiaryStyle = styleFunction(_buildTertiaryStyle, [ 'size', 'tertiaryFont', - 'verticalGap' + 'verticalGap', ]); -export const buildOptionalStyle = styleFunction(_buildOptionalStyle, ['size', 'optionalFont']); +export const buildOptionalStyle = styleFunction(_buildOptionalStyle, ['size', 'optionalFont']); diff --git a/packages/components/Persona/src/Persona.types.ts b/packages/components/Persona/src/Persona.types.ts index 917f193df1..fd707b61af 100644 --- a/packages/components/Persona/src/Persona.types.ts +++ b/packages/components/Persona/src/Persona.types.ts @@ -1,5 +1,5 @@ import { IPersonaCoinProps, IPersonaCoinTokens } from '@fluentui-react-native/persona-coin'; -import { ViewProps, TextProps } from 'react-native'; +import type { IViewProps, ITextProps } from '@fluentui-react-native/adapters'; import { IRenderData } from '@uifabricshared/foundation-composable'; import { FontTokens } from '@fluentui-react-native/tokens'; @@ -15,13 +15,13 @@ export interface IPersonaState { export interface IPersonaProps extends IPersonaCoinProps, IPersonaState {} export interface IPersonaSlotProps { - root: ViewProps; + root: IViewProps; coin: IPersonaCoinProps; - stack: ViewProps; - text: TextProps; - secondary: TextProps; - tertiary: TextProps; - optional: TextProps; + stack: IViewProps; + text: ITextProps; + secondary: ITextProps; + tertiary: ITextProps; + optional: ITextProps; } export interface IPersonaTokens extends Omit { diff --git a/packages/components/PersonaCoin/package.json b/packages/components/PersonaCoin/package.json index 6028c4949c..efe942e45e 100644 --- a/packages/components/PersonaCoin/package.json +++ b/packages/components/PersonaCoin/package.json @@ -30,15 +30,15 @@ "@uifabricshared/theming-ramp": ">=0.12.1 <1.0.0" }, "devDependencies": { - "@office-iss/react-native-win32": "0.62.6", - "@types/react-native": "^0.62.0", + "@office-iss/react-native-win32": "^0.63.7", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/PersonaCoin/src/PersonaCoin.types.ts b/packages/components/PersonaCoin/src/PersonaCoin.types.ts index e173ab620e..9f33776026 100644 --- a/packages/components/PersonaCoin/src/PersonaCoin.types.ts +++ b/packages/components/PersonaCoin/src/PersonaCoin.types.ts @@ -1,4 +1,4 @@ -import { IViewWin32Props } from '@office-iss/react-native-win32'; +import type { IViewProps } from '@fluentui-react-native/adapters'; import { ImageProps, ViewProps, ImageURISource, TextProps } from 'react-native'; import { IBackgroundColorTokens, IForegroundColorTokens } from '@fluentui-react-native/tokens'; import { IRenderData } from '@uifabricshared/foundation-composable'; @@ -36,7 +36,7 @@ export interface IPersonaConfigurableProps { coinColor?: PersonaCoinColor; } -export interface IPersonaCoinProps extends IViewWin32Props, IPersonaConfigurableProps { +export interface IPersonaCoinProps extends IViewProps, IPersonaConfigurableProps { imageUrl?: string; imageDescription?: string; initials?: string; diff --git a/packages/components/Pressable/package.json b/packages/components/Pressable/package.json index cff4d1aa07..1c6165377c 100644 --- a/packages/components/Pressable/package.json +++ b/packages/components/Pressable/package.json @@ -27,14 +27,14 @@ "@uifabricshared/foundation-settings": ">=0.8.0 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/README.md b/packages/components/README.md index d08f95c38d..e0ab2c6b38 100644 --- a/packages/components/README.md +++ b/packages/components/README.md @@ -121,7 +121,7 @@ export const settings: IComposeSettings = [ }, root: { accessible: true, - acceptsKeyboardFocus: true, + focusable: true, accessibilityRole: 'button', } as ViewProps, content: {}, diff --git a/packages/components/RadioGroup/package.json b/packages/components/RadioGroup/package.json index af6001f3df..7def5582c3 100644 --- a/packages/components/RadioGroup/package.json +++ b/packages/components/RadioGroup/package.json @@ -32,15 +32,15 @@ "@uifabricshared/foundation-settings": ">=0.8.0 <1.0.0" }, "devDependencies": { - "@office-iss/react-native-win32": "0.62.6", - "@types/react-native": "^0.62.0", + "@office-iss/react-native-win32": "^0.63.7", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/RadioGroup/src/RadioButton.settings.ts b/packages/components/RadioGroup/src/RadioButton.settings.ts index 5fa25665a8..e9748ac2bc 100644 --- a/packages/components/RadioGroup/src/RadioButton.settings.ts +++ b/packages/components/RadioGroup/src/RadioButton.settings.ts @@ -15,11 +15,11 @@ export const settings: IComposeSettings = [ borderColor: 'menuItemText', color: 'menuItemText', backgroundColor: 'menuItemText', - textBorderColor: 'transparent' + textBorderColor: 'transparent', }, root: { accessible: true, - acceptsKeyboardFocus: true, + focusable: true, accessibilityRole: 'radio', style: { display: 'flex', @@ -27,8 +27,8 @@ export const settings: IComposeSettings = [ flexDirection: 'row', minHeight: 20, marginTop: 0, - position: 'relative' - } + position: 'relative', + }, }, button: { style: { @@ -43,8 +43,8 @@ export const settings: IComposeSettings = [ marginTop: 4, marginRight: 6, marginBottom: 6, - marginLeft: 6 - } + marginLeft: 6, + }, }, innerCircle: { style: { @@ -54,46 +54,46 @@ export const settings: IComposeSettings = [ height: radioButtonInnerCircleSize, width: radioButtonInnerCircleSize, left: 4, - top: 4 - } + top: 4, + }, }, content: { variant: 'subheaderStandard', style: { marginTop: 3, borderStyle: 'dashed', - borderWidth: 1 - } + borderWidth: 1, + }, }, _precedence: ['disabled', 'hovered', 'focused', 'selected'], _overrides: { selected: { innerCircle: { style: { - opacity: 1 - } - } + opacity: 1, + }, + }, }, focused: { tokens: { - textBorderColor: 'focusBorder' - } + textBorderColor: 'focusBorder', + }, }, hovered: { innerCircle: { style: { - opacity: 0.5 - } - } + opacity: 0.5, + }, + }, }, disabled: { tokens: { borderColor: 'buttonBorderDisabled', color: 'disabledBodyText', - backgroundColor: 'background' - } - } - } + backgroundColor: 'background', + }, + }, + }, }, - radioButtonName + radioButtonName, ]; diff --git a/packages/components/RadioGroup/src/RadioButton.types.ts b/packages/components/RadioGroup/src/RadioButton.types.ts index 2943dcba28..dcfe64cc4c 100644 --- a/packages/components/RadioGroup/src/RadioButton.types.ts +++ b/packages/components/RadioGroup/src/RadioButton.types.ts @@ -3,7 +3,7 @@ import { ViewProps } from 'react-native'; import { IRenderData } from '@uifabricshared/foundation-composable'; import { ITextProps } from '@fluentui-react-native/text'; import { IFocusable } from '@fluentui-react-native/interactive-hooks'; -import { IViewWin32Props } from '@office-iss/react-native-win32'; +import type { IViewWin32Props } from '@office-iss/react-native-win32'; import { FontTokens, IForegroundColorTokens, IBackgroundColorTokens, IBorderTokens } from '@fluentui-react-native/tokens'; import { IPressableProps } from '@fluentui-react-native/pressable'; diff --git a/packages/components/RadioGroup/src/RadioGroup.types.ts b/packages/components/RadioGroup/src/RadioGroup.types.ts index 9543ac9f4c..c470820b5c 100644 --- a/packages/components/RadioGroup/src/RadioGroup.types.ts +++ b/packages/components/RadioGroup/src/RadioGroup.types.ts @@ -1,6 +1,6 @@ import * as React from 'react'; import { ITextProps } from '@fluentui-react-native/text'; -import { IViewWin32Props } from '@office-iss/react-native-win32'; +import type { IViewWin32Props } from '@office-iss/react-native-win32'; import { IRenderData } from '@uifabricshared/foundation-composable'; import { IForegroundColorTokens, FontTokens } from '@fluentui-react-native/tokens'; import { FocusZoneProps } from '@fluentui-react-native/focus-zone'; @@ -40,10 +40,10 @@ export interface IRadioGroupProps { ariaLabel?: string; /* - ** The key of the selected option. If you provide this, you must maintain selection state by observing - ** onChange events and passing a new value in when changed. This overrides defaultSelectedKey - ** and makes the RadioGroup a controlled component. - */ + ** The key of the selected option. If you provide this, you must maintain selection state by observing + ** onChange events and passing a new value in when changed. This overrides defaultSelectedKey + ** and makes the RadioGroup a controlled component. + */ selectedKey?: string; /* @@ -54,7 +54,7 @@ export interface IRadioGroupProps { testID?: string; } -export interface IRadioGroupTokens extends IForegroundColorTokens, FontTokens { } +export interface IRadioGroupTokens extends IForegroundColorTokens, FontTokens {} export interface IRadioGroupSlotProps { root: React.PropsWithRef; diff --git a/packages/components/Separator/package.json b/packages/components/Separator/package.json index ac30389608..db51ac145e 100644 --- a/packages/components/Separator/package.json +++ b/packages/components/Separator/package.json @@ -24,15 +24,15 @@ "@fluentui-react-native/framework": ">=0.4.4 <1.0.0" }, "devDependencies": { - "@office-iss/react-native-win32": "0.62.6", - "@types/react-native": "^0.62.0", + "@office-iss/react-native-win32": "^0.63.7", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/Shimmer/package.json b/packages/components/Shimmer/package.json index a43a48c748..ad04f0c808 100644 --- a/packages/components/Shimmer/package.json +++ b/packages/components/Shimmer/package.json @@ -28,12 +28,12 @@ "@fluentui-react-native/tokens": ">=0.7.1 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react-native": ">=0.60.0" + "react-native": ">=0.63.4" } } diff --git a/packages/components/Stack/package.json b/packages/components/Stack/package.json index 27963a2038..fd01efe2cf 100644 --- a/packages/components/Stack/package.json +++ b/packages/components/Stack/package.json @@ -30,15 +30,15 @@ "@uifabricshared/theming-ramp": ">=0.12.1 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@fluentui-react-native/text": ">=0.8.2 <1.0.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/components/text/package.json b/packages/components/text/package.json index fd0b8baf67..ca19b9a7c8 100644 --- a/packages/components/text/package.json +++ b/packages/components/text/package.json @@ -27,14 +27,14 @@ }, "devDependencies": { "@fluentui-react-native/test-tools": ">=0.1.1 <1.0.0", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/experimental/Avatar/package.json b/packages/experimental/Avatar/package.json index d9a315f4e4..58714ad20d 100644 --- a/packages/experimental/Avatar/package.json +++ b/packages/experimental/Avatar/package.json @@ -28,14 +28,14 @@ "@fluentui-react-native/framework": "0.4.4" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2", - "react": "16.11.0" + "react-native": "^0.63.4", + "react": "16.13.1" }, "peerDependencies": { - "react-native": ">=0.60.0", - "react": "16.11.0" + "react-native": ">=0.63.4", + "react": "16.13.1" } } diff --git a/packages/experimental/Button/package.json b/packages/experimental/Button/package.json index 107dd48a34..4bcd786588 100644 --- a/packages/experimental/Button/package.json +++ b/packages/experimental/Button/package.json @@ -30,16 +30,16 @@ }, "devDependencies": { "@fluentui-react-native/test-tools": ">=0.1.1 <1.0.0", - "@office-iss/react-native-win32": "0.62.6", - "@types/react-native": "^0.62.0", + "@office-iss/react-native-win32": "^0.63.7", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react": "16.11.0", - "react-native": "0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/experimental/Button/src/Button.types.ts b/packages/experimental/Button/src/Button.types.ts index 609b4fb7ca..6687bd9f25 100644 --- a/packages/experimental/Button/src/Button.types.ts +++ b/packages/experimental/Button/src/Button.types.ts @@ -3,7 +3,7 @@ import { ViewProps, ImageProps, ViewStyle } from 'react-native'; import { TextProps } from '@fluentui-react-native/experimental-text'; import { FontTokens, IBorderTokens } from '@fluentui-react-native/tokens'; import { IFocusable, IPressableHooks, IWithPressableOptions } from '@fluentui-react-native/interactive-hooks'; -import { IViewWin32Props } from '@office-iss/react-native-win32'; +import type { IViewWin32Props } from '@office-iss/react-native-win32'; export const buttonName = 'Button'; diff --git a/packages/experimental/Button/src/CompoundButton/__snapshots__/CompoundButton.test.tsx.snap b/packages/experimental/Button/src/CompoundButton/__snapshots__/CompoundButton.test.tsx.snap index 8374c24426..7a69c47ad7 100644 --- a/packages/experimental/Button/src/CompoundButton/__snapshots__/CompoundButton.test.tsx.snap +++ b/packages/experimental/Button/src/CompoundButton/__snapshots__/CompoundButton.test.tsx.snap @@ -2,7 +2,6 @@ exports[`CompoundButton default 1`] = ` { props: { ...pressable.props, accessible: true, - acceptsKeyboardFocus: true, accessibilityRole: 'button', onAccessibilityTap: props.onAccessibilityTap || props.onClick, accessibilityLabel: props.accessibilityLabel || props.content, diff --git a/packages/experimental/Icon/package.json b/packages/experimental/Icon/package.json index d4440d93af..8b7bb3cbd6 100644 --- a/packages/experimental/Icon/package.json +++ b/packages/experimental/Icon/package.json @@ -25,15 +25,15 @@ "@fluentui-react-native/tokens": ">=0.7.1 <1.0.0" }, "devDependencies": { - "@office-iss/react-native-win32": "0.62.6", - "@types/react-native": "^0.62.0", + "@office-iss/react-native-win32": "^0.63.7", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2", + "react-native": "^0.63.4", "react-native-svg-transformer": "^0.14.3" }, "peerDependencies": { - "react-native": ">=0.60.0" + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/experimental/NativeButton/package.json b/packages/experimental/NativeButton/package.json index a62e10eb47..05d9efb115 100644 --- a/packages/experimental/NativeButton/package.json +++ b/packages/experimental/NativeButton/package.json @@ -29,14 +29,14 @@ "@fluentui-react-native/framework": "0.4.4" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2", - "react": "16.11.0" + "react-native": "^0.63.4", + "react": "16.13.1" }, "peerDependencies": { - "react-native": ">=0.60.0", - "react": "16.11.0" + "react-native": ">=0.63.4", + "react": "16.13.1" } } diff --git a/packages/experimental/Stack/package.json b/packages/experimental/Stack/package.json index 2bdd13ad59..af12b339ca 100644 --- a/packages/experimental/Stack/package.json +++ b/packages/experimental/Stack/package.json @@ -28,16 +28,16 @@ "@uifabricshared/theming-ramp": ">=0.12.1 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@fluentui-react-native/text": ">=0.8.2 <1.0.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react": "16.11.0", - "react-native": "0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/experimental/Text/package.json b/packages/experimental/Text/package.json index 833836ced5..82f1ed5b57 100644 --- a/packages/experimental/Text/package.json +++ b/packages/experimental/Text/package.json @@ -26,14 +26,14 @@ }, "devDependencies": { "@fluentui-react-native/test-tools": ">=0.1.1 <1.0.0", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/experimental/composition/package.json b/packages/experimental/composition/package.json index cdc18cba39..e5e3a4cc15 100644 --- a/packages/experimental/composition/package.json +++ b/packages/experimental/composition/package.json @@ -38,9 +38,9 @@ }, "devDependencies": { "@uifabricshared/build-native": "^0.1.1", - "react-native": "^0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react-native": ">=0.60.0" + "react-native": ">=0.63.4" } } diff --git a/packages/experimental/framework/package.json b/packages/experimental/framework/package.json index 833ad54656..6cba35ded1 100644 --- a/packages/experimental/framework/package.json +++ b/packages/experimental/framework/package.json @@ -37,17 +37,17 @@ }, "devDependencies": { "@types/react": "^16.9.34", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react": "16.11.0", - "react-dom": "16.11.0", - "react-native": "0.62.2", + "react": "16.13.1", + "react-dom": "16.13.1", + "react-native": "^0.63.4", "react-native-web": "0.12.3" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/experimental/theme/package.json b/packages/experimental/theme/package.json index 00f2d29c60..073beedc05 100644 --- a/packages/experimental/theme/package.json +++ b/packages/experimental/theme/package.json @@ -38,11 +38,11 @@ "devDependencies": { "@fluentui-react-native/test-tools": ">=0.1.1 <1.0.0", "@uifabricshared/build-native": "^0.1.1", - "react": "16.11.0", - "react-native": "^0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", + "react": ">=16.13.1", "react-native": ">0.60.0" } } diff --git a/packages/experimental/use-slots/package.json b/packages/experimental/use-slots/package.json index cb07feff23..069a7fff1d 100644 --- a/packages/experimental/use-slots/package.json +++ b/packages/experimental/use-slots/package.json @@ -36,11 +36,11 @@ }, "devDependencies": { "@uifabricshared/build-native": "^0.1.1", - "react": "16.11.0", - "react-native": "^0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", + "react": ">=16.13.1", "react-native": ">0.60.0" } } diff --git a/packages/experimental/use-styling/package.json b/packages/experimental/use-styling/package.json index b2ff81ca45..6749a2b9d0 100644 --- a/packages/experimental/use-styling/package.json +++ b/packages/experimental/use-styling/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@types/jest": "^25.1.4", "@uifabricshared/build-native": "^0.1.1", - "react": "16.11.0", - "react-native": "^0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" } } diff --git a/packages/framework/component-cache/package.json b/packages/framework/component-cache/package.json index ece0f7609f..6484de74cf 100644 --- a/packages/framework/component-cache/package.json +++ b/packages/framework/component-cache/package.json @@ -36,10 +36,10 @@ "@types/node": "^10.3.5", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react": "16.11.0", - "react-native": "^0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "peerDependencies": { - "react-native": ">=0.60.0" + "react-native": ">=0.63.4" } } diff --git a/packages/framework/foundation-composable/package.json b/packages/framework/foundation-composable/package.json index 3db01051fd..4fd91f3132 100644 --- a/packages/framework/foundation-composable/package.json +++ b/packages/framework/foundation-composable/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@types/jest": "^25.1.4", "@types/react": "^16.9.34", - "react": "16.11.0", + "react": "16.13.1", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1" } diff --git a/packages/framework/foundation-compose/package.json b/packages/framework/foundation-compose/package.json index 2755838cf3..7c5e4afc68 100644 --- a/packages/framework/foundation-compose/package.json +++ b/packages/framework/foundation-compose/package.json @@ -43,10 +43,10 @@ }, "devDependencies": { "@uifabricshared/eslint-config-rules": "^0.1.1", - "react": "16.11.0" + "react": "16.13.1" }, "peerDependencies": { - "react": "^16.8.0" + "react": ">=16.13.1" }, "depcheck": { "ignoreMatches": [ diff --git a/packages/framework/themed-stylesheet/package.json b/packages/framework/themed-stylesheet/package.json index 72c13f9380..40bc9dd9c4 100644 --- a/packages/framework/themed-stylesheet/package.json +++ b/packages/framework/themed-stylesheet/package.json @@ -33,12 +33,12 @@ "@fluentui-react-native/memo-cache": "^1.1.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react-native": ">=0.60.0" + "react-native": ">=0.63.4" } } diff --git a/packages/framework/theming-ramp/package.json b/packages/framework/theming-ramp/package.json index b8882d7b80..de85942137 100644 --- a/packages/framework/theming-ramp/package.json +++ b/packages/framework/theming-ramp/package.json @@ -40,11 +40,11 @@ "@fluentui-react-native/test-tools": ">=0.1.1 <1.0.0", "@types/jest": "^25.1.4", "@types/react": "^16.9.34", - "react": "16.11.0", + "react": "16.13.1", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1" }, "peerDependencies": { - "react": "^16.8.0" + "react": ">=16.13.1" } } diff --git a/packages/framework/theming-react-native/package.json b/packages/framework/theming-react-native/package.json index f43fcbe172..b8909f62e7 100644 --- a/packages/framework/theming-react-native/package.json +++ b/packages/framework/theming-react-native/package.json @@ -36,14 +36,14 @@ "devDependencies": { "@types/jest": "^25.1.4", "@types/react": "^16.9.34", - "react": "16.11.0", - "react-native": "^0.62.2", + "react": "16.13.1", + "react-native": "^0.63.4", "typescript": "3.8.3", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" } } diff --git a/packages/libraries/core/package.json b/packages/libraries/core/package.json index a1d430fd99..3cff693096 100644 --- a/packages/libraries/core/package.json +++ b/packages/libraries/core/package.json @@ -42,15 +42,15 @@ "@fluentui-react-native/text": ">=0.8.2 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react": "16.11.0", - "react-native": "0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/theming/apple-theme/package.json b/packages/theming/apple-theme/package.json index bb570b7ed1..5922627d97 100644 --- a/packages/theming/apple-theme/package.json +++ b/packages/theming/apple-theme/package.json @@ -38,8 +38,8 @@ "@uifabricshared/eslint-config-rules": "^0.1.1" }, "peerDependencies": { - "react": "^16.13.1", - "react-native": "^0.63.0", - "react-native-macos": "^0.63.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4", + "react-native-macos": ">=0.63.21" } } diff --git a/packages/theming/default-theme/package.json b/packages/theming/default-theme/package.json index 76d753586c..1ba7b031f9 100644 --- a/packages/theming/default-theme/package.json +++ b/packages/theming/default-theme/package.json @@ -37,13 +37,13 @@ }, "devDependencies": { "@types/react": "^16.9.34", - "react": "16.11.0", + "react": "16.13.1", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" } } diff --git a/packages/theming/theme-types/package.json b/packages/theming/theme-types/package.json index 169e8764f8..bd35d630d6 100644 --- a/packages/theming/theme-types/package.json +++ b/packages/theming/theme-types/package.json @@ -34,11 +34,11 @@ "dependencies": {}, "devDependencies": { "@types/react": "^16.9.34", - "react": "16.11.0", + "react": "16.13.1", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1" }, "peerDependencies": { - "react": "^16.8.0" + "react": ">=16.13.1" } } diff --git a/packages/theming/win32-theme/package.json b/packages/theming/win32-theme/package.json index f80ee672e6..06ae0b5b33 100644 --- a/packages/theming/win32-theme/package.json +++ b/packages/theming/win32-theme/package.json @@ -38,13 +38,13 @@ }, "devDependencies": { "@types/react": "^16.9.34", - "react": "16.11.0", + "react": "16.13.1", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" } } diff --git a/packages/theming/win32-theme/src/NativeModule/officeThemingModule.ts b/packages/theming/win32-theme/src/NativeModule/officeThemingModule.ts index c05f52f31c..e9863a75fd 100644 --- a/packages/theming/win32-theme/src/NativeModule/officeThemingModule.ts +++ b/packages/theming/win32-theme/src/NativeModule/officeThemingModule.ts @@ -1,3 +1,4 @@ +import type { NativeModule } from 'react-native'; import { ColorValue, OfficePalette, Typography } from '@fluentui-react-native/theme-types'; export type PlatformDefaultsChangedArgs = { hostThemeSetting: string }; @@ -22,7 +23,7 @@ export interface NativeColorNames { Sepias: string[]; } -export interface OfficeThemingModule { +export interface OfficeThemingModule extends NativeModule { getPalette(palette?: string): OfficePalette | CxxException; typography: object; fluentTypography: Typography; diff --git a/packages/utils/adapters/package.json b/packages/utils/adapters/package.json index 337348f52e..23da758e2e 100644 --- a/packages/utils/adapters/package.json +++ b/packages/utils/adapters/package.json @@ -22,12 +22,12 @@ }, "dependencies": {}, "devDependencies": { - "@office-iss/react-native-win32": "0.62.6", + "@office-iss/react-native-win32": "^0.63.7", "@types/jest": "^25.1.4", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2", + "react-native": "^0.63.4", "react-native-web": "0.12.3", "react-native-windows": "^0.62.1" }, diff --git a/packages/utils/adapters/src/adapters.android.ts b/packages/utils/adapters/src/adapters.android.ts index 868cdf3520..5fcc918812 100644 --- a/packages/utils/adapters/src/adapters.android.ts +++ b/packages/utils/adapters/src/adapters.android.ts @@ -12,7 +12,6 @@ const _viewMask: IFilterMask = { accessibilityLabel: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, accessibilityValue: true, accessibilityHint: true, collapsable: true, @@ -48,18 +47,16 @@ const _viewMask: IFilterMask = { renderToHardwareTextureAndroid: true, importantForAccessibility: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityIgnoresInvertColors: true, accessibilityLiveRegion: true, - accessibilityTraits: true, accessibilityViewIsModal: true, + focusable: true, }; const _textMask: IFilterMask = { children: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityHint: true, accessibilityIgnoresInvertColors: true, @@ -67,8 +64,6 @@ const _textMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessible: true, @@ -91,12 +86,13 @@ const _textMask: IFilterMask = { textBreakStrategy: true, nativeID: true, maxFontSizeMultiplier: true, + onTextLayout: true, + dataDetectorType: true, }; const _imageMask: IFilterMask = { children: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityHint: true, accessibilityIgnoresInvertColors: true, @@ -104,8 +100,6 @@ const _imageMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessible: true, diff --git a/packages/utils/adapters/src/adapters.ios.ts b/packages/utils/adapters/src/adapters.ios.ts index b5405f00b3..38680a92a7 100644 --- a/packages/utils/adapters/src/adapters.ios.ts +++ b/packages/utils/adapters/src/adapters.ios.ts @@ -12,7 +12,6 @@ const _viewMask: IFilterMask = { accessibilityLabel: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, accessibilityHint: true, accessibilityValue: true, hitSlop: true, @@ -45,11 +44,9 @@ const _viewMask: IFilterMask = { onTouchStart: true, importantForAccessibility: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityIgnoresInvertColors: true, accessibilityLiveRegion: true, - accessibilityTraits: true, accessibilityViewIsModal: true, isTVSelectable: true, shouldRasterizeIOS: true, @@ -64,7 +61,6 @@ const _viewMask: IFilterMask = { const _textMask: IFilterMask = { children: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityHint: true, accessibilityIgnoresInvertColors: true, @@ -72,8 +68,6 @@ const _textMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessible: true, @@ -96,12 +90,12 @@ const _textMask: IFilterMask = { adjustsFontSizeToFit: true, minimumFontScale: true, suppressHighlighting: true, + onTextLayout: true, }; const _imageMask: IFilterMask = { children: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityHint: true, accessibilityIgnoresInvertColors: true, @@ -109,8 +103,6 @@ const _imageMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessible: true, diff --git a/packages/utils/adapters/src/adapters.ts b/packages/utils/adapters/src/adapters.ts index 8de31f8421..84e2733849 100644 --- a/packages/utils/adapters/src/adapters.ts +++ b/packages/utils/adapters/src/adapters.ts @@ -1,6 +1,6 @@ import { TextProps, ViewProps, ImageProps } from 'react-native'; import { IFilterMask } from './filter.types'; -import { ITextWin32Props } from '@office-iss/react-native-win32'; +import type { ITextWin32Props } from '@office-iss/react-native-win32'; // export core interface types export type ITextProps = TextProps & Partial; @@ -13,7 +13,6 @@ const _viewMask: IFilterMask = { accessibilityLabel: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, accessibilityHint: true, accessibilityValue: true, hitSlop: true, @@ -46,11 +45,9 @@ const _viewMask: IFilterMask = { onTouchStart: true, importantForAccessibility: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityIgnoresInvertColors: true, accessibilityLiveRegion: true, - accessibilityTraits: true, accessibilityViewIsModal: true, collapsable: true, needsOffscreenAlphaCompositing: true, @@ -63,12 +60,12 @@ const _viewMask: IFilterMask = { tvParallaxShiftDistanceX: true, tvParallaxShiftDistanceY: true, tvParallaxTiltAngle: true, + focusable: true, }; const _textMask: IFilterMask = { children: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityHint: true, accessibilityIgnoresInvertColors: true, @@ -76,8 +73,6 @@ const _textMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessible: true, @@ -113,12 +108,18 @@ const _textMask: IFilterMask = { onKeyUpCapture: true, textStyle: true, tooltip: true, + onTextLayout: true, + dataDetectorType: true, + focusable: true, + onBlur: true, + onBlurCapture: true, + onFocus: true, + onFocusCapture: true, }; const _imageMask: IFilterMask = { children: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityHint: true, accessibilityIgnoresInvertColors: true, @@ -126,8 +127,6 @@ const _imageMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessible: true, diff --git a/packages/utils/adapters/src/adapters.web.ts b/packages/utils/adapters/src/adapters.web.ts index cfff5ddee4..0f18872ca0 100644 --- a/packages/utils/adapters/src/adapters.web.ts +++ b/packages/utils/adapters/src/adapters.web.ts @@ -12,7 +12,6 @@ const _viewMask: IFilterMask = { accessibilityLabel: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, accessibilityHint: true, hitSlop: true, onLayout: true, @@ -59,7 +58,7 @@ const _viewMask: IFilterMask = { tvParallaxProperties: true, tvParallaxShiftDistanceX: true, tvParallaxShiftDistanceY: true, - tvParallaxTiltAngle: true + tvParallaxTiltAngle: true, }; const _textMask: IFilterMask = { @@ -73,7 +72,6 @@ const _textMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, accessibilityTraits: true, accessibilityViewIsModal: true, accessible: true, @@ -97,7 +95,7 @@ const _textMask: IFilterMask = { minimumFontScale: true, selectable: true, selectionColor: true, - suppressHighlighting: true + suppressHighlighting: true, }; const _imageMask: IFilterMask = { @@ -111,7 +109,6 @@ const _imageMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, accessibilityTraits: true, accessibilityViewIsModal: true, accessible: true, @@ -143,7 +140,7 @@ const _imageMask: IFilterMask = { capInsets: true, width: true, height: true, - fadeDuration: true + fadeDuration: true, }; export function filterViewProps(propName: string): boolean { diff --git a/packages/utils/adapters/src/adapters.win32.ts b/packages/utils/adapters/src/adapters.win32.ts index f2ead6fe19..2bea2a29d1 100644 --- a/packages/utils/adapters/src/adapters.win32.ts +++ b/packages/utils/adapters/src/adapters.win32.ts @@ -1,4 +1,4 @@ -import { ITextWin32Props, IViewWin32Props } from '@office-iss/react-native-win32'; +import type { ITextWin32Props, IViewWin32Props } from '@office-iss/react-native-win32'; import { ImageProps } from 'react-native'; import { IFilterMask } from './filter.types'; @@ -9,10 +9,10 @@ export type IImageProps = ImageProps; const _viewMask: IFilterMask = { children: true, - acceptsKeyboardFocus: true, accessible: true, accessibilityActions: true, accessibilityAnnotation: true, + accessibilityDescription: true, accessibilityDescribedBy: true, accessibilityLabel: true, accessibilityLabeledBy: true, @@ -21,7 +21,6 @@ const _viewMask: IFilterMask = { accessibilityRole: true, accessibilitySetSize: true, accessibilityState: true, - accessibilityStates: true, accessibilityHint: true, accessibilityValue: true, animationClass: true, @@ -66,6 +65,7 @@ const _viewMask: IFilterMask = { onTouchStart: true, tooltip: true, type: true, + focusable: true, }; const _textMask: IFilterMask = { @@ -77,7 +77,6 @@ const _textMask: IFilterMask = { accessibilityLabeledBy: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, accessibilityValue: true, accessible: true, onAccessibilityAction: true, @@ -96,18 +95,23 @@ const _textMask: IFilterMask = { onLayout: true, onLongPress: true, onPress: true, + onTextLayout: true, style: true, selectable: true, nativeID: true, maxFontSizeMultiplier: true, textStyle: true, tooltip: true, + focusable: true, + onBlur: true, + onBlurCapture: true, + onFocus: true, + onFocusCapture: true, }; const _imageMask: IFilterMask = { children: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityHint: true, accessibilityIgnoresInvertColors: true, @@ -115,8 +119,6 @@ const _imageMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessible: true, diff --git a/packages/utils/adapters/src/adapters.windows.ts b/packages/utils/adapters/src/adapters.windows.ts index 041de9e54b..a5faa81671 100644 --- a/packages/utils/adapters/src/adapters.windows.ts +++ b/packages/utils/adapters/src/adapters.windows.ts @@ -13,7 +13,6 @@ const _viewMask: IFilterMask = { acceptsKeyboardFocus: true, accessible: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityIgnoresInvertColors: true, accessibilityLabel: true, @@ -22,8 +21,6 @@ const _viewMask: IFilterMask = { accessibilityRole: true, accessibilitySetSize: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessibilityHint: true, @@ -72,13 +69,13 @@ const _viewMask: IFilterMask = { tvParallaxProperties: true, tvParallaxShiftDistanceX: true, tvParallaxShiftDistanceY: true, - tvParallaxTiltAngle: true + tvParallaxTiltAngle: true, + focusable: true, }; const _textMask: IFilterMask = { children: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityHint: true, accessibilityIgnoresInvertColors: true, @@ -86,8 +83,6 @@ const _textMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessible: true, @@ -112,13 +107,14 @@ const _textMask: IFilterMask = { suppressHighlighting: true, selectable: true, selectionColor: true, - textBreakStrategy: true + textBreakStrategy: true, + onTextLayout: true, + dataDetectorType: true, }; const _imageMask: IFilterMask = { children: true, accessibilityActions: true, - accessibilityComponentType: true, accessibilityElementsHidden: true, accessibilityHint: true, accessibilityIgnoresInvertColors: true, @@ -126,8 +122,6 @@ const _imageMask: IFilterMask = { accessibilityLiveRegion: true, accessibilityRole: true, accessibilityState: true, - accessibilityStates: true, - accessibilityTraits: true, accessibilityValue: true, accessibilityViewIsModal: true, accessible: true, @@ -160,7 +154,7 @@ const _imageMask: IFilterMask = { capInsets: true, width: true, height: true, - fadeDuration: true + fadeDuration: true, }; export function filterViewProps(propName: string): boolean { diff --git a/packages/utils/interactive-hooks/package.json b/packages/utils/interactive-hooks/package.json index fbd418503a..d1d833b381 100644 --- a/packages/utils/interactive-hooks/package.json +++ b/packages/utils/interactive-hooks/package.json @@ -24,17 +24,17 @@ "invariant": "^2.2.0" }, "devDependencies": { - "@office-iss/react-native-win32": "0.62.6", + "@office-iss/react-native-win32": "^0.63.7", "@types/react": "^16.9.34", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react": "16.11.0", - "react-native": "0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/utils/test-tools/package.json b/packages/utils/test-tools/package.json index bf686ed0c8..dbd9e9e199 100644 --- a/packages/utils/test-tools/package.json +++ b/packages/utils/test-tools/package.json @@ -22,15 +22,15 @@ }, "devDependencies": { "@types/react": "^16.9.34", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react": "16.11.0", - "react-native": "0.62.2" + "react": "16.13.1", + "react-native": "^0.63.4" }, "peerDependencies": { - "react": "^16.8.0", - "react-native": ">=0.60.0" + "react": ">=16.13.1", + "react-native": ">=0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/utils/tokens/package.json b/packages/utils/tokens/package.json index ef2d86c606..ab4a98e1e4 100644 --- a/packages/utils/tokens/package.json +++ b/packages/utils/tokens/package.json @@ -21,14 +21,15 @@ "update-api": "fluentui-scripts update-api-extractor" }, "dependencies": { + "@fluentui-react-native/adapters": ">=0.5.1 <1.0.0", "@uifabricshared/foundation-tokens": ">=0.8.0 <1.0.0", "@uifabricshared/theming-ramp": ">=0.12.1 <1.0.0" }, "devDependencies": { - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@uifabricshared/build-native": "^0.1.1", "@uifabricshared/eslint-config-rules": "^0.1.1", - "react-native": "0.62.2" + "react-native": "^0.63.4" }, "author": "", "license": "MIT" diff --git a/packages/utils/tokens/src/text-tokens.ts b/packages/utils/tokens/src/text-tokens.ts index 12f4edd238..f5b94420d7 100644 --- a/packages/utils/tokens/src/text-tokens.ts +++ b/packages/utils/tokens/src/text-tokens.ts @@ -1,4 +1,5 @@ -import { TextStyle, TextProps } from 'react-native'; +import { TextStyle } from 'react-native'; +import { ITextProps } from '@fluentui-react-native/adapters'; import { ITheme, ITypography } from '@uifabricshared/theming-ramp'; import { styleFunction } from '@uifabricshared/foundation-tokens'; import { TokenBuilder } from './tokenBuilder'; @@ -22,19 +23,19 @@ export const fontStyles: TokenBuilder = { return { fontFamily: families[fontFamily] || fontFamily || families[variants[variant].face] || variants[variant].face, fontSize: sizes[fontSize] || fontSize || sizes[variants[variant].size] || variants[variant].size, - fontWeight: weights[fontWeight] || fontWeight || weights[variants[variant].weight] || variants[variant].weight + fontWeight: weights[fontWeight] || fontWeight || weights[variants[variant].weight] || variants[variant].weight, }; } return {}; }, - keys: ['fontFamily', 'fontSize', 'fontWeight', 'variant'] + keys: ['fontFamily', 'fontSize', 'fontWeight', 'variant'], }; -function _buildTextStyles(tokens: FontTokens, theme: ITheme): TextProps { +function _buildTextStyles(tokens: FontTokens, theme: ITheme): ITextProps { return { - style: fontStyles.from(tokens, theme) + style: fontStyles.from(tokens, theme), }; } -export const textTokens = styleFunction(_buildTextStyles, fontStyles.keys); +export const textTokens = styleFunction(_buildTextStyles, fontStyles.keys); diff --git a/scripts/package.json b/scripts/package.json index ff77895ca8..da74087b84 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -25,13 +25,13 @@ "@babel/preset-react": "^7.8.0", "@babel/preset-typescript": "^7.8.0", "@microsoft/api-extractor": "^7.3.7", - "@react-native-community/cli": "^4.9.0", + "@react-native-community/cli": "^4.10.0", "@types/enzyme": "^3.10.5", "@types/es6-collections": "^0.5.29", "@types/es6-promise": "0.0.32", "@types/jest": "^25.1.4", "@types/node": "^12.11.2", - "@types/react-native": "^0.62.0", + "@types/react-native": "^0.63.0", "@types/react-test-renderer": "16.9.0", "@types/webpack-env": "1.13.6", "@typescript-eslint/eslint-plugin": "^2.24.0", @@ -62,7 +62,7 @@ "metro-react-native-babel-transformer": "^0.58.0", "prettier": "~1.17.0", "react-native-svg-transformer": "^0.14.3", - "react-test-renderer": "~16.11.0", + "react-test-renderer": "~16.13.1", "rimraf": "^3.0.2", "typescript": "3.8.3", "webpack": "^4.42.0", diff --git a/yarn.lock b/yarn.lock index 6445c2f7e8..7d47e7a984 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1978,60 +1978,37 @@ "@nodelib/fs.scandir" "2.1.3" fastq "^1.6.0" -"@office-iss/react-native-win32@0.62.0-preview.3": - version "0.62.0-preview.3" - resolved "https://registry.npmjs.org/@office-iss/react-native-win32/-/react-native-win32-0.62.0-preview.3.tgz#c3235311c5507c57b02e35853f17ae7da43ff54b" - integrity sha512-dbjnwHTcF3IcfrBER/sMYh7tBG290WIlhwPVNR7n48zonx432r+2KOBtXQ+GTqmmdv+QxfG8BZDIJmvIUv/+3Q== +"@office-iss/react-native-win32@^0.63.7": + version "0.63.7" + resolved "https://registry.yarnpkg.com/@office-iss/react-native-win32/-/react-native-win32-0.63.7.tgz#9df339cf9ff31f564efd10d1e45c9ffd06843a12" + integrity sha512-V3mBDTkEpqYijus0eYUVy8unugYKwOqqZ7HuDVoFfBoLGX/fKA9BmO15ai9VairnbBloebpDFpFIRB/P6eGNbQ== dependencies: "@babel/runtime" "^7.8.4" abort-controller "^3.0.0" + anser "^1.4.9" art "^0.10.0" base64-js "^1.1.2" - create-react-class "^15.6.3" event-target-shim "^5.0.1" fbjs "^1.0.0" fbjs-scripts "^1.1.0" invariant "^2.2.4" nullthrows "^1.1.0" pretty-format "^24.7.0" - promise "^7.1.1" + promise "^8.0.3" prop-types "^15.7.2" react-clone-referenced-element "^1.0.1" - react-devtools-core "^3.6.0" + react-devtools-core "^4.6.0" + react-refresh "^0.4.0" regenerator-runtime "^0.13.2" - scheduler "0.14.0" + scheduler "0.19.1" stacktrace-parser "^0.1.3" + use-subscription "^1.0.0" whatwg-fetch "^3.0.0" -"@office-iss/react-native-win32@0.62.6", "@office-iss/react-native-win32@^0.62.6": - version "0.62.6" - resolved "https://registry.yarnpkg.com/@office-iss/react-native-win32/-/react-native-win32-0.62.6.tgz#8a3f5cf21c2891d12095785376989b9175ff32c1" - integrity sha512-Q8PBz5TFC+gLwx2E0rbCj+61Lq63HzH/efTSoL/MrXtII/njF+mfBtbHfKeqQCYzuN9rPxz/QkG/J2DLPP+14A== - dependencies: - "@babel/runtime" "^7.8.4" - abort-controller "^3.0.0" - art "^0.10.0" - base64-js "^1.1.2" - create-react-class "^15.6.3" - event-target-shim "^5.0.1" - fbjs "^1.0.0" - fbjs-scripts "^1.1.0" - invariant "^2.2.4" - nullthrows "^1.1.1" - pretty-format "^24.7.0" - promise "^7.1.1" - prop-types "^15.7.2" - react-clone-referenced-element "^1.0.1" - react-devtools-core "^4.0.6" - regenerator-runtime "^0.13.2" - scheduler "0.17.0" - stacktrace-parser "^0.1.3" - whatwg-fetch "^3.0.0" - -"@office-iss/rex-win32@0.62.22-devmain.13806.10000": - version "0.62.22-devmain.13806.10000" - resolved "https://registry.yarnpkg.com/@office-iss/rex-win32/-/rex-win32-0.62.22-devmain.13806.10000.tgz#0348ae4fbb94a805a1d35cb215d667040c729828" - integrity sha512-sG/eyFotSWUcbEraILbMALgNJ/2eWfMAjhVZWxCvBSe5OneLJjoaCmWgzs4JI/WvXbExBw3Dgfvhaz/Xj53LVg== +"@office-iss/rex-win32@0.63.22-devmain.13903.10000": + version "0.63.22-devmain.13903.10000" + resolved "https://registry.yarnpkg.com/@office-iss/rex-win32/-/rex-win32-0.63.22-devmain.13903.10000.tgz#65a2b84db099ca0be45b3e78236ce4432fd3fcfa" + integrity sha512-878IRGru03fqSoUc0vq4SnYimX2k2aIcCqjjyJbKaQKpJNe4QUtBU60sPVCDI8EkWOVaqJTpvhwS4nKjmqgNLg== dependencies: command-line-args "^5.0.2" command-line-usage "^5.0.5" @@ -2116,7 +2093,7 @@ hermes-profile-transformer "^0.0.6" ip "^1.1.5" -"@react-native-community/cli-platform-android@^4.10.0", "@react-native-community/cli-platform-android@^4.13.0", "@react-native-community/cli-platform-android@^4.5.1": +"@react-native-community/cli-platform-android@^4.10.0", "@react-native-community/cli-platform-android@^4.13.0": version "4.13.0" resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-android/-/cli-platform-android-4.13.0.tgz#922681ec82ee1aadd993598b814df1152118be02" integrity sha512-3i8sX8GklEytUZwPnojuoFbCjIRzMugCdzDIdZ9UNmi/OhD4/8mLGO0dgXfT4sMWjZwu3qjy45sFfk2zOAgHbA== @@ -2132,7 +2109,7 @@ slash "^3.0.0" xmldoc "^1.1.2" -"@react-native-community/cli-platform-ios@^4.10.0", "@react-native-community/cli-platform-ios@^4.5.0": +"@react-native-community/cli-platform-ios@^4.10.0": version "4.13.0" resolved "https://registry.yarnpkg.com/@react-native-community/cli-platform-ios/-/cli-platform-ios-4.13.0.tgz#a738915c68cac86df54e578b59a1311ea62b1aef" integrity sha512-6THlTu8zp62efkzimfGr3VIuQJ2514o+vScZERJCV1xgEi8XtV7mb/ZKt9o6Y9WGxKKkc0E0b/aVAtgy+L27CA== @@ -2177,7 +2154,7 @@ resolved "https://registry.yarnpkg.com/@react-native-community/cli-types/-/cli-types-4.10.1.tgz#d68a2dcd1649d3b3774823c64e5e9ce55bfbe1c9" integrity sha512-ael2f1onoPF3vF7YqHGWy7NnafzGu+yp88BbFbP0ydoCP2xGSUzmZVw0zakPTC040Id+JQ9WeFczujMkDy6jYQ== -"@react-native-community/cli@^4.10.0", "@react-native-community/cli@^4.5.1", "@react-native-community/cli@^4.9.0": +"@react-native-community/cli@^4.10.0": version "4.13.1" resolved "https://registry.yarnpkg.com/@react-native-community/cli/-/cli-4.13.1.tgz#60148723e77cafe3ae260317d6bffe91853a2d20" integrity sha512-+/TeRVToADpQPSprsPkwi9KY8x64YcuJpjzMBVISwWP+aWzsIDuWJmyMXTADlCg2EBMJqJR7bn1W/IkfzVRCWA== @@ -2684,17 +2661,10 @@ dependencies: "@types/react" "*" -"@types/react-native@0.62.2": - version "0.62.2" - resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.62.2.tgz#f3e150f308c27089cefbcbfa3eb6cc14db279b2f" - integrity sha512-oIUIbqZNN9vRnGKWHYbTVp/GyTqdaM5mfy1s4zsi6BYvHAaFOPZ32IrhIHno/A5XOv4wuGfE7g5fliDk/H0+/Q== - dependencies: - "@types/react" "*" - -"@types/react-native@^0.62.0": - version "0.62.8" - resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.62.8.tgz#224602561f75b838ed6e3b5ea37093bb84cffd74" - integrity sha512-YEf0tH3xYJpQB12Vvzoy7cqPY3mvbbulTnG3G7ToKOuJuqigAN3K9NNAaxNAAm1zCj+UtObhzcaJtPRwX1z6Fw== +"@types/react-native@^0.63.0": + version "0.63.50" + resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.63.50.tgz#cea13fb272983ec585179807d0cb4f84db0952f6" + integrity sha512-jWxsHDG/AHEaOrqqcI0Cth0WdPsgyaJ1nel5pS0uCzpt2RjwtkvEUAfu39paPr4i+9oUUgbJq3vkVXaj7n8RdQ== dependencies: "@types/react" "*" @@ -7482,13 +7452,6 @@ eslint-plugin-react@^7.14.3: resolve "^1.18.1" string.prototype.matchall "^4.0.2" -eslint-plugin-relay@1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-relay/-/eslint-plugin-relay-1.4.1.tgz#5af2ac13e24bd01ad17b6a4014204918d65021cd" - integrity sha512-yb+p+4AxZTi2gXN7cZRfXMBFlRa5j6TtiVeq3yHXyy+tlgYNpxi/dDrP1+tcUTNP9vdaJovnfGZ5jp6kMiH9eg== - dependencies: - graphql "^14.0.0" - eslint-plugin-standard@^4.0.1: version "4.1.0" resolved "https://registry.yarnpkg.com/eslint-plugin-standard/-/eslint-plugin-standard-4.1.0.tgz#0c3bf3a67e853f8bbbc580fb4945fbf16f41b7c5" @@ -8891,13 +8854,6 @@ grapheme-splitter@^1.0.2: resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== -graphql@^14.0.0: - version "14.6.0" - resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.6.0.tgz#57822297111e874ea12f5cd4419616930cd83e49" - integrity sha512-VKzfvHEKybTKjQVpTFrA5yUq2S9ihcZvfJAtsDBBCuV6wauPu1xl/f9ehgVf0FcEJJs4vz6ysb/ZMkGigQZseg== - dependencies: - iterall "^1.2.2" - growly@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" @@ -9041,11 +8997,6 @@ header-case@^1.0.0: no-case "^2.2.0" upper-case "^1.1.3" -hermes-engine@~0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/hermes-engine/-/hermes-engine-0.4.1.tgz#2d02b295596298643c4d24b86687eb554db9e950" - integrity sha512-Y3JFC8PD7eN3KpnrzrmvMAqp0IwnZrmP/oGOptvaSu33d7Zq/8b/2lHlZZkNvRl7/I1Q0umTX8TByK7zzLfTXA== - hermes-engine@~0.5.0: version "0.5.1" resolved "https://registry.yarnpkg.com/hermes-engine/-/hermes-engine-0.5.1.tgz#601115e4b1e0a17d9aa91243b96277de4e926e09" @@ -10050,11 +10001,6 @@ istanbul-reports@^2.2.6: dependencies: html-escaper "^2.0.0" -iterall@^1.2.2: - version "1.3.0" - resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.3.0.tgz#afcb08492e2915cbd8a0884eb93a8c94d0d72fea" - integrity sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg== - jake@^10.6.1: version "10.6.1" resolved "https://registry.yarnpkg.com/jake/-/jake-10.6.1.tgz#c9c476cfd6e726ef600ee9bb2b880d5425ff8c79" @@ -11725,7 +11671,7 @@ metro-minify-uglify@0.58.0: dependencies: uglify-es "^3.1.9" -metro-react-native-babel-preset@0.58.0, metro-react-native-babel-preset@^0.58.0: +metro-react-native-babel-preset@0.58.0: version "0.58.0" resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.58.0.tgz#18f48d33fe124280ffabc000ab8b42c488d762a2" integrity sha512-MRriNW+fF6jxABsgPphocUY6mIhmCm8idcrQZ58fT3Iti2vCdtkaK32TyCGUNUptzhUe2/cbE57j4aC+eaodAA== @@ -11766,7 +11712,7 @@ metro-react-native-babel-preset@0.58.0, metro-react-native-babel-preset@^0.58.0: "@babel/template" "^7.0.0" react-refresh "^0.4.0" -metro-react-native-babel-preset@0.59.0: +metro-react-native-babel-preset@0.59.0, metro-react-native-babel-preset@^0.59.0: version "0.59.0" resolved "https://registry.yarnpkg.com/metro-react-native-babel-preset/-/metro-react-native-babel-preset-0.59.0.tgz#20e020bc6ac9849e1477de1333d303ed42aba225" integrity sha512-BoO6ncPfceIDReIH8pQ5tQptcGo5yRWQXJGVXfANbiKLq4tfgdZB1C1e2rMUJ6iypmeJU9dzl+EhPmIFKtgREg== @@ -11810,17 +11756,6 @@ metro-react-native-babel-preset@0.59.0: "@babel/template" "^7.0.0" react-refresh "^0.4.0" -metro-react-native-babel-transformer@0.58.0, metro-react-native-babel-transformer@^0.58.0: - version "0.58.0" - resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.58.0.tgz#5da0e5a1b83c01d11626905fa59f34fda53a21a5" - integrity sha512-3A73+cRq1eUPQ8g+hPNGgMUMCGmtQjwqHfoG1DwinAoJ/kr4WOXWWbGZo0xHJNBe/zdHGl0uHcDCp2knPglTdQ== - dependencies: - "@babel/core" "^7.0.0" - babel-preset-fbjs "^3.3.0" - metro-babel-transformer "0.58.0" - metro-react-native-babel-preset "0.58.0" - metro-source-map "0.58.0" - metro-react-native-babel-transformer@0.59.0: version "0.59.0" resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.59.0.tgz#9b3dfd6ad35c6ef37fc4ce4d20a2eb67fabbb4be" @@ -11832,6 +11767,17 @@ metro-react-native-babel-transformer@0.59.0: metro-react-native-babel-preset "0.59.0" metro-source-map "0.59.0" +metro-react-native-babel-transformer@^0.58.0: + version "0.58.0" + resolved "https://registry.yarnpkg.com/metro-react-native-babel-transformer/-/metro-react-native-babel-transformer-0.58.0.tgz#5da0e5a1b83c01d11626905fa59f34fda53a21a5" + integrity sha512-3A73+cRq1eUPQ8g+hPNGgMUMCGmtQjwqHfoG1DwinAoJ/kr4WOXWWbGZo0xHJNBe/zdHGl0uHcDCp2knPglTdQ== + dependencies: + "@babel/core" "^7.0.0" + babel-preset-fbjs "^3.3.0" + metro-babel-transformer "0.58.0" + metro-react-native-babel-preset "0.58.0" + metro-source-map "0.58.0" + metro-resolver@0.58.0, metro-resolver@^0.58.0: version "0.58.0" resolved "https://registry.yarnpkg.com/metro-resolver/-/metro-resolver-0.58.0.tgz#4d03edc52e2e25d45f16688adf3b3f268ea60df9" @@ -13939,22 +13885,6 @@ react-clone-referenced-element@^1.0.1: resolved "https://registry.yarnpkg.com/react-clone-referenced-element/-/react-clone-referenced-element-1.1.0.tgz#9cdda7f2aeb54fea791f3ab8c6ab96c7a77d0158" integrity sha512-FKOsfKbBkPxYE8576EM6uAfHC4rnMpLyH6/TJUL4WcHUEB3EUn8AxPjnnV/IiwSSzsClvHYK+sDELKN/EJ0WYg== -react-devtools-core@^3.6.0: - version "3.6.3" - resolved "https://registry.npmjs.org/react-devtools-core/-/react-devtools-core-3.6.3.tgz#977d95b684c6ad28205f0c62e1e12c5f16675814" - integrity sha512-+P+eFy/yo8Z/UH9J0DqHZuUM5+RI2wl249TNvMx3J2jpUomLQa4Zxl56GEotGfw3PIP1eI+hVf1s53FlUONStQ== - dependencies: - shell-quote "^1.6.1" - ws "^3.3.1" - -react-devtools-core@^4.0.6: - version "4.6.0" - resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.6.0.tgz#2443b3c6fac78b801702af188abc6d83d56224e6" - integrity sha512-sjR3KC5VvGV7X6vzR3OTutPT5VeBcSKwoIXUwihpl1Nb4dkmweEbzCTPx2PYMVAqc+NZ5tPGhqBzXV+iGg5CNA== - dependencies: - shell-quote "^1.6.1" - ws "^7" - react-devtools-core@^4.6.0: version "4.10.0" resolved "https://registry.yarnpkg.com/react-devtools-core/-/react-devtools-core-4.10.0.tgz#027ed231f851e5e9d697812bb905648ab822ec48" @@ -13963,17 +13893,7 @@ react-devtools-core@^4.6.0: shell-quote "^1.6.1" ws "^7" -react-dom@16.11.0: - version "16.11.0" - resolved "https://registry.npmjs.org/react-dom/-/react-dom-16.11.0.tgz#7e7c4a5a85a569d565c2462f5d345da2dd849af5" - integrity sha512-nrRyIUE1e7j8PaXSPtyRKtz+2y9ubW/ghNgqKFHHAHaeP0fpF5uXR+sq8IMRHC+ZUxw7W9NyCDTBtwWxvkb0iA== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - prop-types "^15.6.2" - scheduler "^0.17.0" - -react-dom@^16.13.1: +react-dom@16.13.1, react-dom@^16.13.1: version "16.13.1" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.13.1.tgz#c1bd37331a0486c078ee54c4740720993b2e0e7f" integrity sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag== @@ -14093,47 +14013,10 @@ react-native-windows@^0.62.1: uuid "^3.3.2" xml-parser "^1.2.1" -react-native@0.62.2, react-native@^0.62.2: - version "0.62.2" - resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.62.2.tgz#d831e11a3178705449142df19a70ac2ca16bad10" - integrity sha512-gADZZ3jcm2WFTjh8CCBCbl5wRSbdxqZGd+8UpNwLQFgrkp/uHorwAhLNqcd4+fHmADgPBltNL0uR1Vhv47zcOw== - dependencies: - "@babel/runtime" "^7.0.0" - "@react-native-community/cli" "^4.5.1" - "@react-native-community/cli-platform-android" "^4.5.1" - "@react-native-community/cli-platform-ios" "^4.5.0" - abort-controller "^3.0.0" - anser "^1.4.9" - base64-js "^1.1.2" - connect "^3.6.5" - create-react-class "^15.6.3" - escape-string-regexp "^1.0.5" - eslint-plugin-relay "1.4.1" - event-target-shim "^5.0.1" - fbjs "^1.0.0" - fbjs-scripts "^1.1.0" - hermes-engine "~0.4.0" - invariant "^2.2.4" - jsc-android "^245459.0.0" - metro-babel-register "0.58.0" - metro-react-native-babel-transformer "0.58.0" - metro-source-map "0.58.0" - nullthrows "^1.1.1" - pretty-format "^24.7.0" - promise "^7.1.1" - prop-types "^15.7.2" - react-devtools-core "^4.0.6" - react-refresh "^0.4.0" - regenerator-runtime "^0.13.2" - scheduler "0.17.0" - stacktrace-parser "^0.1.3" - use-subscription "^1.0.0" - whatwg-fetch "^3.0.0" - -react-native@0.63.3: - version "0.63.3" - resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.63.3.tgz#4a7f6540e049ff41810887bbd1125abc4672f3bf" - integrity sha512-71wq13uNo5W8QVQnFlnzZ3AD+XgUBYGhpsxysQFW/hJ8GAt/J5o+Bvhy81FXichp6IBDJDh/JgfHH2gNji8dFA== +react-native@^0.63.4: + version "0.63.4" + resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.63.4.tgz#2210fdd404c94a5fa6b423c6de86f8e48810ec36" + integrity sha512-I4kM8kYO2mWEYUFITMcpRulcy4/jd+j9T6PbIzR0FuMcz/xwd+JwHoLPa1HmCesvR1RDOw9o4D+OFLwuXXfmGw== dependencies: "@babel/runtime" "^7.0.0" "@react-native-community/cli" "^4.10.0" @@ -14168,7 +14051,7 @@ react-refresh@^0.4.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.4.2.tgz#54a277a6caaac2803d88f1d6f13c1dcfbd81e334" integrity sha512-kv5QlFFSZWo7OlJFNYbxRtY66JImuP2LcrFgyJfQaf85gSP+byzG21UbDQEYjU7f//ny8rwiEkO6py2Y+fEgAQ== -react-test-renderer@^16.0.0-0: +react-test-renderer@^16.0.0-0, react-test-renderer@~16.13.1: version "16.13.1" resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.13.1.tgz#de25ea358d9012606de51e012d9742e7f0deabc1" integrity sha512-Sn2VRyOK2YJJldOqoh8Tn/lWQ+ZiKhyZTPtaO0Q6yNj+QDbmRkVFap6pZPy3YQk8DScRDfyqm/KxKYP9gCMRiQ== @@ -14178,25 +14061,15 @@ react-test-renderer@^16.0.0-0: react-is "^16.8.6" scheduler "^0.19.1" -react-test-renderer@~16.11.0: - version "16.11.0" - resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.11.0.tgz#72574566496462c808ac449b0287a4c0a1a7d8f8" - integrity sha512-nh9gDl8R4ut+ZNNb2EeKO5VMvTKxwzurbSMuGBoKtjpjbg8JK/u3eVPVNi1h1Ue+eYK9oSzJjb+K3lzLxyA4ag== - dependencies: - object-assign "^4.1.1" - prop-types "^15.6.2" - react-is "^16.8.6" - scheduler "^0.17.0" - react-timer-mixin@^0.13.4: version "0.13.4" resolved "https://registry.yarnpkg.com/react-timer-mixin/-/react-timer-mixin-0.13.4.tgz#75a00c3c94c13abe29b43d63b4c65a88fc8264d3" integrity sha512-4+ow23tp/Tv7hBM5Az5/Be/eKKF7DIvJ09voz5LyHGQaqqz9WV8YMs31eFvcYQs7d451LSg7kDJV70XYN/Ug/Q== -react@16.11.0: - version "16.11.0" - resolved "https://registry.yarnpkg.com/react/-/react-16.11.0.tgz#d294545fe62299ccee83363599bf904e4a07fdbb" - integrity sha512-M5Y8yITaLmU0ynd0r1Yvfq98Rmll6q8AxaEe88c8e7LxO8fZ2cNgmFt0aGAS9wzf1Ao32NKXtCl+/tVVtkxq6g== +react@16.13.1: + version "16.13.1" + resolved "https://registry.yarnpkg.com/react/-/react-16.13.1.tgz#2e818822f1a9743122c063d6410d85c1e3afe48e" + integrity sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w== dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" @@ -14873,22 +14746,6 @@ saxes@^5.0.0: dependencies: xmlchars "^2.2.0" -scheduler@0.14.0: - version "0.14.0" - resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.14.0.tgz#b392c23c9c14bfa2933d4740ad5603cc0d59ea5b" - integrity sha512-9CgbS06Kki2f4R9FjLSITjZo5BZxPsryiRNyL3LpvrM9WxcVmhlqAOc9E+KQbeI2nqej4JIIbOsfdL51cNb4Iw== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - -scheduler@0.17.0, scheduler@^0.17.0: - version "0.17.0" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.17.0.tgz#7c9c673e4ec781fac853927916d1c426b6f3ddfe" - integrity sha512-7rro8Io3tnCPuY4la/NuI5F2yfESpnfZyT6TtkXnSWVkcu0BCDJ+8gk5ozUaFaxpIyNuWAPXrH0yFcSi28fnDA== - dependencies: - loose-envify "^1.1.0" - object-assign "^4.1.1" - scheduler@0.19.1, scheduler@^0.19.1: version "0.19.1" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.19.1.tgz#4f3e2ed2c1a7d65681f4c854fa8c5a1ccb40f196" @@ -16384,11 +16241,6 @@ ultron@1.0.x: resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.0.2.tgz#ace116ab557cd197386a4e88f4685378c8b2e4fa" integrity sha1-rOEWq1V80Zc4ak6I9GhTeMiy5Po= -ultron@~1.1.0: - version "1.1.1" - resolved "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" - integrity sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og== - unbzip2-stream@^1.3.3: version "1.4.2" resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.2.tgz#84eb9e783b186d8fb397515fbb656f312f1a7dbf" @@ -17385,15 +17237,6 @@ ws@^1.1.0, ws@^1.1.5: options ">=0.0.5" ultron "1.0.x" -ws@^3.3.1: - version "3.3.3" - resolved "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2" - integrity sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA== - dependencies: - async-limiter "~1.0.0" - safe-buffer "~5.1.0" - ultron "~1.1.0" - ws@^5.2.0, ws@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/ws/-/ws-5.2.2.tgz#dffef14866b8e8dc9133582514d1befaf96e980f"