Update to react-native 0.63 (#631)
### Platforms Impacted - [x] iOS - [x] macOS - [x] win32 (Office) - [x] windows - [x] android ### Description of changes Move react-native dependencies to react-native 0.63 ### Verification Ran through the test pages in win32 testapp. ### Pull request checklist This PR has considered (when applicable): - [ ] Automated Tests - [ ] Documentation and examples - [ ] Keyboard Accessibility - [ ] Voiceover - [ ] Internationalization and Right-to-left Layouts
This commit is contained in:
Родитель
1b3d9f6ef1
Коммит
d35d3b45f1
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -44,9 +44,10 @@ const ComponentTwiddler: React.FunctionComponent<IComponentTwiddlerProps> = (pro
|
|||
const [focusProps, focusState] = useFocusState({});
|
||||
|
||||
return (
|
||||
<TouchableHighlight {...{ acceptsKeyboardFocus: false }} onPress={props.onPress}>
|
||||
<TouchableHighlight {...{ focusable: false }} onPress={props.onPress}>
|
||||
<View
|
||||
{...({ acceptsKeyboardFocus: true, ...focusProps } as any)}
|
||||
focusable={true}
|
||||
{...(focusProps as any)}
|
||||
style={focusState.focused ? focusedComponentTwiddlerStyle : componentTwiddlerStyle}
|
||||
>
|
||||
<Text>{props.label}</Text>
|
||||
|
|
|
@ -67,8 +67,8 @@ const FocusComponent: React.FunctionComponent<ViewProps> = () => {
|
|||
const [focusProps, focusState] = useFocusState({});
|
||||
|
||||
return (
|
||||
<Stack {...{ acceptsKeyboardFocus: false }}>
|
||||
<View {...({ acceptsKeyboardFocus: true, ...focusProps } as any)} style={focusState.focused ? styles.focused : styles.notfocused} />
|
||||
<Stack focusable={false}>
|
||||
<View focusable={true} {...(focusProps as any)} style={focusState.focused ? styles.focused : styles.notfocused} />
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
@ -82,13 +82,15 @@ const PressComponent: React.FunctionComponent<ViewProps> = (props: ViewProps) =>
|
|||
pressProps.onTouchEnd && pressProps.onTouchEnd(e);
|
||||
Alert.alert('Alert.', 'Object has been pressed.');
|
||||
},
|
||||
[pressProps]
|
||||
[pressProps],
|
||||
);
|
||||
|
||||
return (
|
||||
<Stack {...{ acceptsKeyboardFocus: false }}>
|
||||
<View
|
||||
{...{ acceptsKeyboardFocus: true, ...pressProps, onTouchEnd: onTouchEnd }}
|
||||
<Stack focusable={false}>
|
||||
<View
|
||||
focusable={true}
|
||||
{...pressProps}
|
||||
onTouchEnd={onTouchEnd}
|
||||
style={pressState.pressed ? styles.pressed : styles.notPressed}
|
||||
/>
|
||||
</Stack>
|
||||
|
|
|
@ -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 => {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -440,4 +440,4 @@ SPEC CHECKSUMS:
|
|||
|
||||
PODFILE CHECKSUM: 5d9a9585f42b172ddf51a902df243a9eacc188ff
|
||||
|
||||
COCOAPODS: 1.10.1
|
||||
COCOAPODS: 1.10.0
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
}
|
|
@ -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"
|
||||
|
|
|
@ -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<IButtonType> = [
|
||||
{
|
||||
|
@ -13,7 +13,6 @@ export const settings: IComposeSettings<IButtonType> = [
|
|||
},
|
||||
root: {
|
||||
accessible: true,
|
||||
acceptsKeyboardFocus: true,
|
||||
focusable: true,
|
||||
accessibilityRole: 'button',
|
||||
style: {
|
||||
|
@ -22,7 +21,7 @@ export const settings: IComposeSettings<IButtonType> = [
|
|||
flexDirection: 'row',
|
||||
alignSelf: 'flex-start',
|
||||
},
|
||||
} as ViewProps,
|
||||
} as IViewProps,
|
||||
content: {
|
||||
// accessible: false,
|
||||
},
|
||||
|
|
|
@ -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<IPressableProps, 'onPress'> {
|
|||
}
|
||||
|
||||
export interface IButtonSlotProps {
|
||||
root: React.PropsWithRef<IViewWin32Props>;
|
||||
root: React.PropsWithRef<IViewProps>;
|
||||
stack: ViewProps;
|
||||
icon: IconProps;
|
||||
content: ITextProps;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
exports[`Button default 1`] = `
|
||||
<View
|
||||
acceptsKeyboardFocus={true}
|
||||
accessibilityLabel="Default Button"
|
||||
accessibilityRole="button"
|
||||
accessibilityState={
|
||||
|
|
|
@ -29,14 +29,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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -13,7 +13,7 @@ export const settings: IComposeSettings<ICheckboxType> = [
|
|||
},
|
||||
root: {
|
||||
accessible: true,
|
||||
acceptsKeyboardFocus: true,
|
||||
focusable: true,
|
||||
accessibilityRole: 'checkbox',
|
||||
style: {
|
||||
display: 'flex',
|
||||
|
|
|
@ -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<IViewWin32Props>;
|
||||
checkbox: ViewProps;
|
||||
root: React.PropsWithRef<IViewProps>;
|
||||
checkbox: IViewProps;
|
||||
checkmark: ITextProps;
|
||||
content: ITextProps;
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -69,7 +69,7 @@ export const ContextualMenu = compose<ContextualMenuType>({
|
|||
},
|
||||
container: {
|
||||
accessible: shouldFocusOnContainer,
|
||||
acceptsKeyboardFocus: shouldFocusOnContainer && containerFocus,
|
||||
focusable: shouldFocusOnContainer && containerFocus,
|
||||
onBlur: toggleContainerFocus
|
||||
}
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@ export const settings: IComposeSettings<ContextualMenuItemType> = [
|
|||
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',
|
||||
|
|
|
@ -16,8 +16,8 @@ exports[`ContextualMenu default props 1`] = `
|
|||
}
|
||||
>
|
||||
<View
|
||||
acceptsKeyboardFocus={false}
|
||||
accessible={false}
|
||||
focusable={false}
|
||||
onBlur={[Function]}
|
||||
style={
|
||||
Object {
|
||||
|
|
|
@ -28,14 +28,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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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",
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -13,7 +13,8 @@ export const settings: IComposeSettings<ILinkType> = [
|
|||
},
|
||||
root: {
|
||||
accessible: true,
|
||||
...{ acceptsKeyboardFocus: true, cursor: 'pointer' },
|
||||
focusable: true,
|
||||
...{ cursor: 'pointer' },
|
||||
accessibilityRole: 'link',
|
||||
style: {
|
||||
margin: 0,
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
exports[`Link all props 1`] = `
|
||||
<View
|
||||
acceptsKeyboardFocus={true}
|
||||
accessibilityRole="link"
|
||||
accessible={true}
|
||||
cursor="pointer"
|
||||
focusable={true}
|
||||
onAccessibilityTap={[Function]}
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
|
@ -50,10 +50,10 @@ exports[`Link all props 1`] = `
|
|||
|
||||
exports[`Link with child 1`] = `
|
||||
<View
|
||||
acceptsKeyboardFocus={true}
|
||||
accessibilityRole="link"
|
||||
accessible={true}
|
||||
cursor="pointer"
|
||||
focusable={true}
|
||||
onAccessibilityTap={[Function]}
|
||||
onBlur={[Function]}
|
||||
onClick={[Function]}
|
||||
|
|
|
@ -31,14 +31,14 @@
|
|||
"@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"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.0",
|
||||
"react-native": ">=0.60.0"
|
||||
"react": ">=16.13.1",
|
||||
"react-native": ">=0.63.4"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT"
|
||||
|
|
|
@ -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<ViewProps, IPersonaTokens, ITheme>(_buildCoinStyle, _coinStyleKeys);
|
||||
export const buildCoinStyle = styleFunction<IViewProps, IPersonaTokens, ITheme>(_buildCoinStyle, _coinStyleKeys);
|
||||
|
|
|
@ -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<TextProps, IPersonaTokens, ITheme>(_buildTextStyle, ['size', 'textFont', 'verticalGap']);
|
||||
export const buildSecondaryStyle = styleFunction<TextProps, IPersonaTokens, ITheme>(_buildSecondaryStyle, [
|
||||
export const buildTextStyle = styleFunction<ITextProps, IPersonaTokens, ITheme>(_buildTextStyle, ['size', 'textFont', 'verticalGap']);
|
||||
export const buildSecondaryStyle = styleFunction<ITextProps, IPersonaTokens, ITheme>(_buildSecondaryStyle, [
|
||||
'size',
|
||||
'secondaryFont',
|
||||
'verticalGap'
|
||||
'verticalGap',
|
||||
]);
|
||||
export const buildTertiaryStyle = styleFunction<TextProps, IPersonaTokens, ITheme>(_buildTertiaryStyle, [
|
||||
export const buildTertiaryStyle = styleFunction<ITextProps, IPersonaTokens, ITheme>(_buildTertiaryStyle, [
|
||||
'size',
|
||||
'tertiaryFont',
|
||||
'verticalGap'
|
||||
'verticalGap',
|
||||
]);
|
||||
export const buildOptionalStyle = styleFunction<TextProps, IPersonaTokens, ITheme>(_buildOptionalStyle, ['size', 'optionalFont']);
|
||||
export const buildOptionalStyle = styleFunction<ITextProps, IPersonaTokens, ITheme>(_buildOptionalStyle, ['size', 'optionalFont']);
|
||||
|
|
|
@ -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<IPersonaCoinTokens, 'backgroundColor'> {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -121,7 +121,7 @@ export const settings: IComposeSettings<IButtonType> = [
|
|||
},
|
||||
root: {
|
||||
accessible: true,
|
||||
acceptsKeyboardFocus: true,
|
||||
focusable: true,
|
||||
accessibilityRole: 'button',
|
||||
} as ViewProps,
|
||||
content: {},
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -15,11 +15,11 @@ export const settings: IComposeSettings<IRadioButtonType> = [
|
|||
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<IRadioButtonType> = [
|
|||
flexDirection: 'row',
|
||||
minHeight: 20,
|
||||
marginTop: 0,
|
||||
position: 'relative'
|
||||
}
|
||||
position: 'relative',
|
||||
},
|
||||
},
|
||||
button: {
|
||||
style: {
|
||||
|
@ -43,8 +43,8 @@ export const settings: IComposeSettings<IRadioButtonType> = [
|
|||
marginTop: 4,
|
||||
marginRight: 6,
|
||||
marginBottom: 6,
|
||||
marginLeft: 6
|
||||
}
|
||||
marginLeft: 6,
|
||||
},
|
||||
},
|
||||
innerCircle: {
|
||||
style: {
|
||||
|
@ -54,46 +54,46 @@ export const settings: IComposeSettings<IRadioButtonType> = [
|
|||
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,
|
||||
];
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -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<IViewWin32Props>;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
exports[`CompoundButton default 1`] = `
|
||||
<View
|
||||
acceptsKeyboardFocus={true}
|
||||
accessibilityLabel="Default Button"
|
||||
accessibilityRole="button"
|
||||
accessible={true}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
exports[`ToggleButton default 1`] = `
|
||||
<View
|
||||
acceptsKeyboardFocus={true}
|
||||
accessibilityRole="button"
|
||||
accessible={true}
|
||||
focusable={true}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
exports[`Button component tests Button default 1`] = `
|
||||
<View
|
||||
acceptsKeyboardFocus={true}
|
||||
accessibilityLabel="Default Button"
|
||||
accessibilityRole="button"
|
||||
accessible={true}
|
||||
|
|
|
@ -11,7 +11,6 @@ export const useButton = (props: ButtonProps): ButtonState => {
|
|||
props: {
|
||||
...pressable.props,
|
||||
accessible: true,
|
||||
acceptsKeyboardFocus: true,
|
||||
accessibilityRole: 'button',
|
||||
onAccessibilityTap: props.onAccessibilityTap || props.onClick,
|
||||
accessibilityLabel: props.accessibilityLabel || props.content,
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче