@fluentui-react-native/tester 0.146.1 → 0.147.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +268 -1
- package/CHANGELOG.md +52 -2
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/babel.config.js +1 -1
- package/index.js +2 -1
- package/ios/Podfile.lock +312 -274
- package/lib/fluent-tester/src/TestComponents/Button/ButtonIconTestSection.android.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Button/ButtonIconTestSection.android.js +1 -3
- package/lib/fluent-tester/src/TestComponents/Button/ButtonIconTestSection.android.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Callout/CalloutE2ETest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Callout/CalloutTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Common/StyledPicker.d.ts +2 -2
- package/lib/fluent-tester/src/TestComponents/Common/StyledPicker.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Common/TestProps.d.ts +4 -0
- package/lib/fluent-tester/src/TestComponents/Common/TestProps.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Common/TestProps.js +5 -0
- package/lib/fluent-tester/src/TestComponents/Common/TestProps.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/FocusZone/FocusZoneE2ETest.d.ts +2 -2
- package/lib/fluent-tester/src/TestComponents/FocusZone/FocusZoneE2ETest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Button/ButtonIconTestSection.android.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Button/ButtonIconTestSection.android.js +1 -3
- package/lib-commonjs/fluent-tester/src/TestComponents/Button/ButtonIconTestSection.android.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Callout/CalloutE2ETest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Callout/CalloutTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/StyledPicker.d.ts +2 -2
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/StyledPicker.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/TestProps.d.ts +4 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/TestProps.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/TestProps.js +5 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/Common/TestProps.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/FocusZoneE2ETest.d.ts +2 -2
- package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/FocusZoneE2ETest.d.ts.map +1 -1
- package/macos/Podfile.lock +329 -273
- package/package.json +55 -55
- package/react-native.config.js +20 -21
- package/src/TestComponents/Button/ButtonIconTestSection.android.tsx +1 -4
- package/src/TestComponents/Callout/CalloutE2ETest.tsx +2 -2
- package/src/TestComponents/Callout/CalloutTest.tsx +2 -2
- package/src/TestComponents/Common/TestProps.tsx +5 -0
- package/src/TestComponents/FocusZone/FocusZoneE2ETest.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.147.0",
|
|
4
4
|
"description": "A test app to test FluentUI React Native Components during development",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
|
|
@@ -33,78 +33,78 @@
|
|
|
33
33
|
"directory": "apps/fluent-tester"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@fluentui-react-native/android-theme": ">=0.
|
|
37
|
-
"@fluentui-react-native/apple-theme": ">=0.
|
|
38
|
-
"@fluentui-react-native/avatar": "^1.
|
|
39
|
-
"@fluentui-react-native/badge": ">=0.
|
|
40
|
-
"@fluentui-react-native/button": ">=0.
|
|
41
|
-
"@fluentui-react-native/default-theme": ">=0.
|
|
42
|
-
"@fluentui-react-native/divider": "^0.
|
|
43
|
-
"@fluentui-react-native/dropdown": ">=0.
|
|
44
|
-
"@fluentui-react-native/experimental-activity-indicator": ">=0.
|
|
45
|
-
"@fluentui-react-native/experimental-appearance-additions": "^0.
|
|
46
|
-
"@fluentui-react-native/experimental-avatar": ">=0.
|
|
47
|
-
"@fluentui-react-native/experimental-button": "0.
|
|
48
|
-
"@fluentui-react-native/experimental-checkbox": "0.
|
|
49
|
-
"@fluentui-react-native/experimental-expander": "0.
|
|
50
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.
|
|
51
|
-
"@fluentui-react-native/experimental-native-date-picker": ">=0.
|
|
52
|
-
"@fluentui-react-native/experimental-shadow": "0.
|
|
53
|
-
"@fluentui-react-native/experimental-shimmer": "0.
|
|
54
|
-
"@fluentui-react-native/experimental-tabs": "0.
|
|
55
|
-
"@fluentui-react-native/experimental-text": ">=0.
|
|
56
|
-
"@fluentui-react-native/framework": ">=0.
|
|
57
|
-
"@fluentui-react-native/icon": "0.
|
|
58
|
-
"@fluentui-react-native/input": "^0.
|
|
59
|
-
"@fluentui-react-native/drawer": "^0.
|
|
60
|
-
"@fluentui-react-native/interactive-hooks": ">=0.
|
|
61
|
-
"@fluentui-react-native/menu": "^1.
|
|
62
|
-
"@fluentui-react-native/merge-props": ">=0.
|
|
63
|
-
"@fluentui-react-native/notification": "0.
|
|
64
|
-
"@fluentui-react-native/radio-group": ">=0.
|
|
65
|
-
"@fluentui-react-native/separator": "^0.
|
|
66
|
-
"@fluentui-react-native/spinner": "^0.
|
|
67
|
-
"@fluentui-react-native/stack": ">=0.
|
|
68
|
-
"@fluentui-react-native/switch": "^0.
|
|
69
|
-
"@fluentui-react-native/text": ">=0.
|
|
70
|
-
"@fluentui-react-native/theme": ">=0.
|
|
71
|
-
"@fluentui-react-native/theme-tokens": "^0.
|
|
72
|
-
"@fluentui-react-native/theme-types": ">=0.
|
|
73
|
-
"@fluentui-react-native/themed-stylesheet": "^1.
|
|
74
|
-
"@fluentui-react-native/theming-utils": ">=0.
|
|
75
|
-
"@fluentui-react-native/win32-theme": ">=0.
|
|
76
|
-
"@fluentui/react-native": ">=0.
|
|
36
|
+
"@fluentui-react-native/android-theme": ">=0.18.0 <1.0.0",
|
|
37
|
+
"@fluentui-react-native/apple-theme": ">=0.21.0 <1.0.0",
|
|
38
|
+
"@fluentui-react-native/avatar": "^1.9.0",
|
|
39
|
+
"@fluentui-react-native/badge": ">=0.6.0 <1.0.0",
|
|
40
|
+
"@fluentui-react-native/button": ">=0.33.0 <1.0.0",
|
|
41
|
+
"@fluentui-react-native/default-theme": ">=0.19.0 <1.0.0",
|
|
42
|
+
"@fluentui-react-native/divider": "^0.4.0",
|
|
43
|
+
"@fluentui-react-native/dropdown": ">=0.8.0 <1.0.0",
|
|
44
|
+
"@fluentui-react-native/experimental-activity-indicator": ">=0.8.0 <1.0.0",
|
|
45
|
+
"@fluentui-react-native/experimental-appearance-additions": "^0.5.0",
|
|
46
|
+
"@fluentui-react-native/experimental-avatar": ">=0.18.0 <1.0.0",
|
|
47
|
+
"@fluentui-react-native/experimental-button": "0.17.0",
|
|
48
|
+
"@fluentui-react-native/experimental-checkbox": "0.14.0",
|
|
49
|
+
"@fluentui-react-native/experimental-expander": "0.6.0",
|
|
50
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.7.0 <1.0.0",
|
|
51
|
+
"@fluentui-react-native/experimental-native-date-picker": ">=0.8.0 <1.0.0",
|
|
52
|
+
"@fluentui-react-native/experimental-shadow": "0.3.0",
|
|
53
|
+
"@fluentui-react-native/experimental-shimmer": "0.9.0",
|
|
54
|
+
"@fluentui-react-native/experimental-tabs": "0.9.0",
|
|
55
|
+
"@fluentui-react-native/experimental-text": ">=0.12.0 <1.0.0",
|
|
56
|
+
"@fluentui-react-native/framework": ">=0.10.0 <1.0.0",
|
|
57
|
+
"@fluentui-react-native/icon": "0.18.0",
|
|
58
|
+
"@fluentui-react-native/input": "^0.3.0",
|
|
59
|
+
"@fluentui-react-native/drawer": "^0.2.0",
|
|
60
|
+
"@fluentui-react-native/interactive-hooks": ">=0.23.0 <1.0.0",
|
|
61
|
+
"@fluentui-react-native/menu": "^1.10.0",
|
|
62
|
+
"@fluentui-react-native/merge-props": ">=0.6.0 <1.0.0",
|
|
63
|
+
"@fluentui-react-native/notification": "0.22.0",
|
|
64
|
+
"@fluentui-react-native/radio-group": ">=0.17.0 <1.0.0",
|
|
65
|
+
"@fluentui-react-native/separator": "^0.15.0",
|
|
66
|
+
"@fluentui-react-native/spinner": "^0.5.0",
|
|
67
|
+
"@fluentui-react-native/stack": ">=0.8.0 <1.0.0",
|
|
68
|
+
"@fluentui-react-native/switch": "^0.9.0",
|
|
69
|
+
"@fluentui-react-native/text": ">=0.20.0 <1.0.0",
|
|
70
|
+
"@fluentui-react-native/theme": ">=0.9.0 <1.0.0",
|
|
71
|
+
"@fluentui-react-native/theme-tokens": "^0.25.0",
|
|
72
|
+
"@fluentui-react-native/theme-types": ">=0.32.0 <1.0.0",
|
|
73
|
+
"@fluentui-react-native/themed-stylesheet": "^1.5.0",
|
|
74
|
+
"@fluentui-react-native/theming-utils": ">=0.24.0 <1.0.0",
|
|
75
|
+
"@fluentui-react-native/win32-theme": ">=0.26.0 <1.0.0",
|
|
76
|
+
"@fluentui/react-native": ">=0.37.0 <1.0.0",
|
|
77
77
|
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
|
78
78
|
"@fortawesome/free-solid-svg-icons": "^6.2.0",
|
|
79
79
|
"@fortawesome/react-native-fontawesome": "^0.3.0",
|
|
80
80
|
"@react-native-community/slider": "^4.2.0",
|
|
81
|
-
"@react-native-menu/menu": "^0.
|
|
81
|
+
"@react-native-menu/menu": "^0.7.3",
|
|
82
82
|
"@react-native-picker/picker": "^2.2.1",
|
|
83
83
|
"@warren-ms/react-native-icons": "^0.0.13",
|
|
84
|
-
"react": "
|
|
85
|
-
"react-native": "^0.
|
|
86
|
-
"react-native-macos": "^0.
|
|
87
|
-
"react-native-svg": "^
|
|
88
|
-
"react-native-windows": "^0.
|
|
84
|
+
"react": "18.2.0",
|
|
85
|
+
"react-native": "^0.71.0",
|
|
86
|
+
"react-native-macos": "^0.71.0",
|
|
87
|
+
"react-native-svg": "^13.7.0",
|
|
88
|
+
"react-native-windows": "^0.71.0",
|
|
89
89
|
"tslib": "^2.3.1"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@babel/core": "^7.8.0",
|
|
93
93
|
"@babel/runtime": "^7.8.0",
|
|
94
94
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
|
95
|
-
"@fluentui-react-native/focus-zone": "^0.
|
|
95
|
+
"@fluentui-react-native/focus-zone": "^0.12.0",
|
|
96
96
|
"@fluentui-react-native/scripts": "^0.1.1",
|
|
97
97
|
"@rnx-kit/cli": "^0.16.2",
|
|
98
98
|
"@rnx-kit/metro-config": "^1.3.1",
|
|
99
99
|
"flow-bin": "^0.113.0",
|
|
100
|
-
"metro-config": "^0.
|
|
101
|
-
"metro-react-native-babel-preset": "^0.
|
|
100
|
+
"metro-config": "^0.73.7",
|
|
101
|
+
"metro-react-native-babel-preset": "^0.73.7",
|
|
102
102
|
"react-native-svg-transformer": "^1.0.0",
|
|
103
|
-
"react-native-test-app": "^2.
|
|
104
|
-
"react-test-renderer": "
|
|
103
|
+
"react-native-test-app": "^2.2.1",
|
|
104
|
+
"react-test-renderer": "18.2.0"
|
|
105
105
|
},
|
|
106
106
|
"peerDependencies": {
|
|
107
|
-
"@office-iss/react-native-win32": "^0.
|
|
107
|
+
"@office-iss/react-native-win32": "^0.71.0"
|
|
108
108
|
},
|
|
109
109
|
"jest": {
|
|
110
110
|
"preset": "react-native"
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"@fluentui-react-native/scripts/align-deps-preset.js"
|
|
164
164
|
],
|
|
165
165
|
"requirements": [
|
|
166
|
-
"react-native@0.
|
|
166
|
+
"react-native@0.71"
|
|
167
167
|
],
|
|
168
168
|
"capabilities": [
|
|
169
169
|
"core-android",
|
package/react-native.config.js
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
3
|
-
const {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
1
|
+
const project = (() => {
|
|
2
|
+
try {
|
|
3
|
+
const { configureProjects } = require('react-native-test-app');
|
|
4
|
+
return configureProjects({
|
|
5
|
+
android: {
|
|
6
|
+
sourceDir: 'android',
|
|
7
|
+
},
|
|
8
|
+
ios: {
|
|
9
|
+
sourceDir: 'ios',
|
|
10
|
+
},
|
|
11
|
+
windows: {
|
|
12
|
+
sourceDir: 'windows',
|
|
13
|
+
solutionFile: 'windows/FluentTester.sln',
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
} catch (_) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
})();
|
|
8
20
|
|
|
9
21
|
module.exports = {
|
|
10
|
-
project:
|
|
11
|
-
android: {
|
|
12
|
-
sourceDir: "android",
|
|
13
|
-
manifestPath: androidManifestPath(path.join(__dirname, "android")),
|
|
14
|
-
},
|
|
15
|
-
ios: {
|
|
16
|
-
project: iosProjectPath("ios"),
|
|
17
|
-
},
|
|
18
|
-
windows: fs.existsSync("windows/FluentTester.sln") && {
|
|
19
|
-
sourceDir: "windows",
|
|
20
|
-
solutionFile: "FluentTester.sln",
|
|
21
|
-
project: windowsProjectPath(path.join(__dirname, "windows")),
|
|
22
|
-
},
|
|
23
|
-
},
|
|
22
|
+
...(project ? { project } : undefined),
|
|
24
23
|
};
|
|
@@ -3,7 +3,7 @@ import { View } from 'react-native';
|
|
|
3
3
|
|
|
4
4
|
import { ButtonV1 as Button } from '@fluentui/react-native';
|
|
5
5
|
|
|
6
|
-
import { svgProps } from '../Common/iconExamples';
|
|
6
|
+
import { testImage, svgProps } from '../Common/iconExamples';
|
|
7
7
|
import { commonTestStyles, testContentRootViewStyle } from '../Common/styles';
|
|
8
8
|
|
|
9
9
|
export const ButtonIconTest: React.FunctionComponent = () => {
|
|
@@ -13,9 +13,6 @@ export const ButtonIconTest: React.FunctionComponent = () => {
|
|
|
13
13
|
fontSize: 24,
|
|
14
14
|
};
|
|
15
15
|
|
|
16
|
-
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
17
|
-
const testImage = require('../../../../assets/icon_24x24.png');
|
|
18
|
-
|
|
19
16
|
return (
|
|
20
17
|
<View style={testContentRootViewStyle}>
|
|
21
18
|
<Button icon={{ fontSource: fontBuiltInProps }} style={commonTestStyles.vmargin}>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { KeyboardMetrics } from 'react-native';
|
|
3
3
|
import { View } from 'react-native';
|
|
4
4
|
|
|
5
5
|
import type { DismissBehaviors } from '@fluentui/react-native';
|
|
@@ -31,7 +31,7 @@ export const E2ECalloutTest: React.FunctionComponent = () => {
|
|
|
31
31
|
setShowCallout(false);
|
|
32
32
|
}, [setIsCalloutVisible, setShowCallout]);
|
|
33
33
|
|
|
34
|
-
const myRect:
|
|
34
|
+
const myRect: KeyboardMetrics = { screenX: 10, screenY: 10, width: 100, height: 100 };
|
|
35
35
|
|
|
36
36
|
return (
|
|
37
37
|
<View>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { KeyboardMetrics } from 'react-native';
|
|
3
3
|
import { Text, View, Switch, ScrollView } from 'react-native';
|
|
4
4
|
|
|
5
5
|
import { Button, Callout, Separator, Pressable, StealthButton } from '@fluentui/react-native';
|
|
@@ -380,7 +380,7 @@ const CustomCallout: React.FunctionComponent = () => {
|
|
|
380
380
|
setShowCustomizedCallout(false);
|
|
381
381
|
}, [setIsCustomizedCalloutVisible, setShowCustomizedCallout]);
|
|
382
382
|
|
|
383
|
-
const myRect:
|
|
383
|
+
const myRect: KeyboardMetrics = { screenX: 10, screenY: 10, width: 100, height: 100 };
|
|
384
384
|
|
|
385
385
|
return (
|
|
386
386
|
<View>
|
|
@@ -26,10 +26,10 @@ import { testProps } from '../Common/TestProps';
|
|
|
26
26
|
|
|
27
27
|
export const FocusZoneDirections: FocusZoneDirection[] = ['bidirectional', 'horizontal', 'vertical', 'none'];
|
|
28
28
|
|
|
29
|
-
type FocusZoneListWrapperProps = {
|
|
29
|
+
type FocusZoneListWrapperProps = React.PropsWithChildren<{
|
|
30
30
|
beforeID?: string;
|
|
31
31
|
afterID?: string;
|
|
32
|
-
}
|
|
32
|
+
}>;
|
|
33
33
|
export const FocusZoneListWrapper: React.FunctionComponent<FocusZoneListWrapperProps> = ({ beforeID, afterID, children }) => {
|
|
34
34
|
const buttonProps: ButtonProps = { children: 'Click to Focus', style: focusZoneTestStyles.listWrapperButton };
|
|
35
35
|
return (
|