@fluentui-react-native/tester 0.95.5 → 0.96.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 +229 -1
- package/CHANGELOG.md +51 -2
- package/ios/Podfile.lock +101 -102
- package/lib/TestComponents/TextExperimental/StandardUsage.d.ts.map +1 -1
- package/lib/TestComponents/TextExperimental/StandardUsage.js +17 -46
- package/lib/TestComponents/TextExperimental/StandardUsage.js.map +1 -1
- package/lib/TestComponents/TextExperimental/TextExperimentalTest.d.ts.map +1 -1
- package/lib/TestComponents/TextExperimental/TextExperimentalTest.js +5 -0
- package/lib/TestComponents/TextExperimental/TextExperimentalTest.js.map +1 -1
- package/lib/TestComponents/TextExperimental/V2Usage.d.ts +3 -0
- package/lib/TestComponents/TextExperimental/V2Usage.d.ts.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.ios.d.ts +3 -0
- package/lib/TestComponents/TextExperimental/V2Usage.ios.d.ts.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.ios.js +22 -0
- package/lib/TestComponents/TextExperimental/V2Usage.ios.js.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.js +9 -0
- package/lib/TestComponents/TextExperimental/V2Usage.js.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.win32.d.ts +3 -0
- package/lib/TestComponents/TextExperimental/V2Usage.win32.d.ts.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.win32.js +23 -0
- package/lib/TestComponents/TextExperimental/V2Usage.win32.js.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/StandardUsage.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/TextExperimental/StandardUsage.js +15 -44
- package/lib-commonjs/TestComponents/TextExperimental/StandardUsage.js.map +1 -1
- package/lib-commonjs/TestComponents/TextExperimental/TextExperimentalTest.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/TextExperimental/TextExperimentalTest.js +5 -0
- package/lib-commonjs/TestComponents/TextExperimental/TextExperimentalTest.js.map +1 -1
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.d.ts +3 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.ios.d.ts +3 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.ios.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.ios.js +27 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.ios.js.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.js +14 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.js.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.win32.d.ts +3 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.win32.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.win32.js +28 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.win32.js.map +1 -0
- package/macos/Podfile.lock +280 -281
- package/package.json +33 -33
- package/src/TestComponents/TextExperimental/StandardUsage.tsx +23 -76
- package/src/TestComponents/TextExperimental/TextExperimentalTest.tsx +5 -0
- package/src/TestComponents/TextExperimental/V2Usage.ios.tsx +39 -0
- package/src/TestComponents/TextExperimental/V2Usage.tsx +6 -0
- package/src/TestComponents/TextExperimental/V2Usage.win32.tsx +41 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.96.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>",
|
|
@@ -36,40 +36,40 @@
|
|
|
36
36
|
"directory": "apps/fluent-tester"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@fluentui-react-native/android-theme": ">=0.12.
|
|
40
|
-
"@fluentui-react-native/apple-theme": ">=0.
|
|
41
|
-
"@fluentui-react-native/avatar": "^1.2.
|
|
42
|
-
"@fluentui-react-native/badge": ">=0.1.
|
|
43
|
-
"@fluentui-react-native/button": ">=0.24.
|
|
44
|
-
"@fluentui-react-native/default-theme": ">=0.15.
|
|
45
|
-
"@fluentui-react-native/dropdown": ">=0.4.
|
|
46
|
-
"@fluentui-react-native/experimental-activity-indicator": ">=0.6.
|
|
47
|
-
"@fluentui-react-native/experimental-avatar": ">=0.16.
|
|
48
|
-
"@fluentui-react-native/experimental-button": "0.16.
|
|
49
|
-
"@fluentui-react-native/experimental-checkbox": "0.12.
|
|
50
|
-
"@fluentui-react-native/experimental-expander": "0.4.
|
|
51
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.4.
|
|
52
|
-
"@fluentui-react-native/experimental-native-date-picker": ">=0.7.
|
|
53
|
-
"@fluentui-react-native/experimental-radio-group": "^0.3.
|
|
54
|
-
"@fluentui-react-native/experimental-shadow": "0.2.
|
|
55
|
-
"@fluentui-react-native/experimental-shimmer": "0.7.
|
|
56
|
-
"@fluentui-react-native/experimental-tabs": "0.5.
|
|
57
|
-
"@fluentui-react-native/experimental-text": ">=0.11.
|
|
58
|
-
"@fluentui-react-native/framework": ">=0.8.
|
|
59
|
-
"@fluentui-react-native/icon": "0.13.
|
|
60
|
-
"@fluentui-react-native/interactive-hooks": ">=0.18.
|
|
61
|
-
"@fluentui-react-native/menu": "^1.0.
|
|
39
|
+
"@fluentui-react-native/android-theme": ">=0.12.2 <1.0.0",
|
|
40
|
+
"@fluentui-react-native/apple-theme": ">=0.15.0 <1.0.0",
|
|
41
|
+
"@fluentui-react-native/avatar": "^1.2.10",
|
|
42
|
+
"@fluentui-react-native/badge": ">=0.1.33 <1.0.0",
|
|
43
|
+
"@fluentui-react-native/button": ">=0.24.26 <1.0.0",
|
|
44
|
+
"@fluentui-react-native/default-theme": ">=0.15.2 <1.0.0",
|
|
45
|
+
"@fluentui-react-native/dropdown": ">=0.4.1 <1.0.0",
|
|
46
|
+
"@fluentui-react-native/experimental-activity-indicator": ">=0.6.4 <1.0.0",
|
|
47
|
+
"@fluentui-react-native/experimental-avatar": ">=0.16.6 <1.0.0",
|
|
48
|
+
"@fluentui-react-native/experimental-button": "0.16.26",
|
|
49
|
+
"@fluentui-react-native/experimental-checkbox": "0.12.17",
|
|
50
|
+
"@fluentui-react-native/experimental-expander": "0.4.4",
|
|
51
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.4.30 <1.0.0",
|
|
52
|
+
"@fluentui-react-native/experimental-native-date-picker": ">=0.7.1 <1.0.0",
|
|
53
|
+
"@fluentui-react-native/experimental-radio-group": "^0.3.4",
|
|
54
|
+
"@fluentui-react-native/experimental-shadow": "0.2.20",
|
|
55
|
+
"@fluentui-react-native/experimental-shimmer": "0.7.4",
|
|
56
|
+
"@fluentui-react-native/experimental-tabs": "0.5.15",
|
|
57
|
+
"@fluentui-react-native/experimental-text": ">=0.11.6 <1.0.0",
|
|
58
|
+
"@fluentui-react-native/framework": ">=0.8.4 <1.0.0",
|
|
59
|
+
"@fluentui-react-native/icon": "0.13.9",
|
|
60
|
+
"@fluentui-react-native/interactive-hooks": ">=0.18.6 <1.0.0",
|
|
61
|
+
"@fluentui-react-native/menu": "^1.0.36",
|
|
62
62
|
"@fluentui-react-native/merge-props": ">=0.5.0 <1.0.0",
|
|
63
|
-
"@fluentui-react-native/notification": "0.17.
|
|
64
|
-
"@fluentui-react-native/stack": ">=0.7.
|
|
65
|
-
"@fluentui-react-native/switch": "^0.6.
|
|
66
|
-
"@fluentui-react-native/text": ">=0.
|
|
67
|
-
"@fluentui-react-native/theme": ">=0.7.
|
|
68
|
-
"@fluentui-react-native/theme-types": ">=0.19.
|
|
63
|
+
"@fluentui-react-native/notification": "0.17.9",
|
|
64
|
+
"@fluentui-react-native/stack": ">=0.7.8 <1.0.0",
|
|
65
|
+
"@fluentui-react-native/switch": "^0.6.8",
|
|
66
|
+
"@fluentui-react-native/text": ">=0.15.0 <1.0.0",
|
|
67
|
+
"@fluentui-react-native/theme": ">=0.7.2 <1.0.0",
|
|
68
|
+
"@fluentui-react-native/theme-types": ">=0.19.1 <1.0.0",
|
|
69
69
|
"@fluentui-react-native/themed-stylesheet": "^1.4.0",
|
|
70
|
-
"@fluentui-react-native/theming-utils": ">=0.15.
|
|
71
|
-
"@fluentui-react-native/win32-theme": ">=0.21.
|
|
72
|
-
"@fluentui/react-native": ">=0.32.
|
|
70
|
+
"@fluentui-react-native/theming-utils": ">=0.15.2 <1.0.0",
|
|
71
|
+
"@fluentui-react-native/win32-theme": ">=0.21.2 <1.0.0",
|
|
72
|
+
"@fluentui/react-native": ">=0.32.20 <1.0.0",
|
|
73
73
|
"@react-native-community/slider": "^4.2.0",
|
|
74
74
|
"@react-native-menu/menu": "^0.1.2",
|
|
75
75
|
"@react-native-picker/picker": "^2.2.1",
|
|
@@ -1,83 +1,30 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
Text,
|
|
5
|
-
Caption1,
|
|
6
|
-
Body1,
|
|
7
|
-
Body1Strong,
|
|
8
|
-
Body2,
|
|
9
|
-
Body2Strong,
|
|
10
|
-
Subtitle1,
|
|
11
|
-
Subtitle1Strong,
|
|
12
|
-
Subtitle2,
|
|
13
|
-
Subtitle2Strong,
|
|
14
|
-
Title1,
|
|
15
|
-
Title1Strong,
|
|
16
|
-
LargeTitle,
|
|
17
|
-
Display,
|
|
18
|
-
} from '@fluentui-react-native/experimental-text';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Text } from '@fluentui-react-native/experimental-text';
|
|
19
4
|
import { Stack } from '@fluentui-react-native/stack';
|
|
20
5
|
import { stackStyle } from '../Common/styles';
|
|
21
6
|
import { HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON } from './consts';
|
|
22
7
|
|
|
23
8
|
export const StandardUsage: React.FunctionComponent = () => {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const V2Usage: React.FunctionComponent = () => {
|
|
49
|
-
return (
|
|
50
|
-
<View>
|
|
51
|
-
<Stack style={stackStyle} gap={5}>
|
|
52
|
-
<Caption1>Caption1</Caption1>
|
|
53
|
-
<Body1>Body1</Body1>
|
|
54
|
-
<Body1Strong>Body1Strong</Body1Strong>
|
|
55
|
-
<Body2>Body2</Body2>
|
|
56
|
-
<Body2Strong>Body2Strong</Body2Strong>
|
|
57
|
-
<Subtitle2>Subtitle2</Subtitle2>
|
|
58
|
-
<Subtitle2Strong>Subtitle2Strong</Subtitle2Strong>
|
|
59
|
-
<Subtitle1>Subtitle1</Subtitle1>
|
|
60
|
-
<Subtitle1Strong>Subtitle1Strong</Subtitle1Strong>
|
|
61
|
-
<Title1>Title1</Title1>
|
|
62
|
-
<Title1Strong>Title1Strong</Title1Strong>
|
|
63
|
-
<LargeTitle>LargeTitle</LargeTitle>
|
|
64
|
-
<Display>Display</Display>
|
|
65
|
-
</Stack>
|
|
66
|
-
</View>
|
|
67
|
-
);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
switch (Platform.OS) {
|
|
71
|
-
case 'android':
|
|
72
|
-
case 'ios':
|
|
73
|
-
case 'macos':
|
|
74
|
-
return <V1Usage />;
|
|
75
|
-
default:
|
|
76
|
-
return (
|
|
77
|
-
<View>
|
|
78
|
-
<V1Usage />
|
|
79
|
-
<V2Usage />
|
|
80
|
-
</View>
|
|
81
|
-
);
|
|
82
|
-
}
|
|
9
|
+
return (
|
|
10
|
+
<View>
|
|
11
|
+
<Stack style={stackStyle} gap={5}>
|
|
12
|
+
<Text variant="captionStandard" testID={HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON}>
|
|
13
|
+
CaptionStandard
|
|
14
|
+
</Text>
|
|
15
|
+
<Text variant="secondaryStandard">SecondaryStandard</Text>
|
|
16
|
+
<Text variant="secondarySemibold">SecondarySemibold</Text>
|
|
17
|
+
<Text variant="bodyStandard">BodyStandard</Text>
|
|
18
|
+
<Text variant="bodySemibold">BodySemibold</Text>
|
|
19
|
+
<Text variant="subheaderStandard">SubheaderStandard</Text>
|
|
20
|
+
<Text variant="subheaderSemibold">SubheaderSemibold</Text>
|
|
21
|
+
<Text variant="headerStandard">HeaderStandard</Text>
|
|
22
|
+
<Text variant="headerSemibold">HeaderSemibold</Text>
|
|
23
|
+
<Text variant="heroStandard">HeroStandard</Text>
|
|
24
|
+
<Text variant="heroSemibold">HeroSemibold</Text>
|
|
25
|
+
<Text variant="heroLargeStandard">HeroLargeStandard</Text>
|
|
26
|
+
<Text variant="heroLargeSemibold">HeroLargeSemibold</Text>
|
|
27
|
+
</Stack>
|
|
28
|
+
</View>
|
|
29
|
+
);
|
|
83
30
|
};
|
|
@@ -5,6 +5,7 @@ import { PressableUsage } from './PressableUsage';
|
|
|
5
5
|
import { Test, TestSection, PlatformStatus } from '../Test';
|
|
6
6
|
import { E2EExperimentalTextTest } from './ExperimentalTextE2ETest';
|
|
7
7
|
import { EXPERIMENTAL_TEXT_TESTPAGE } from './consts';
|
|
8
|
+
import { V2Usage } from './V2Usage';
|
|
8
9
|
|
|
9
10
|
const textSections: TestSection[] = [
|
|
10
11
|
{
|
|
@@ -12,6 +13,10 @@ const textSections: TestSection[] = [
|
|
|
12
13
|
testID: EXPERIMENTAL_TEXT_TESTPAGE,
|
|
13
14
|
component: StandardUsage,
|
|
14
15
|
},
|
|
16
|
+
{
|
|
17
|
+
name: 'V2 Usage',
|
|
18
|
+
component: V2Usage,
|
|
19
|
+
},
|
|
15
20
|
{
|
|
16
21
|
name: 'Customize Usage',
|
|
17
22
|
component: CustomizeUsage,
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Stack } from '@fluentui-react-native/stack';
|
|
4
|
+
import { stackStyle } from '../Common/styles';
|
|
5
|
+
import {
|
|
6
|
+
Body1,
|
|
7
|
+
Body1Strong,
|
|
8
|
+
Body2,
|
|
9
|
+
Body2Strong,
|
|
10
|
+
Caption1,
|
|
11
|
+
Caption1Strong,
|
|
12
|
+
Caption2,
|
|
13
|
+
Display,
|
|
14
|
+
LargeTitle,
|
|
15
|
+
Title1,
|
|
16
|
+
Title2,
|
|
17
|
+
Title3,
|
|
18
|
+
} from '@fluentui-react-native/text';
|
|
19
|
+
|
|
20
|
+
export const V2Usage: React.FunctionComponent = () => {
|
|
21
|
+
return (
|
|
22
|
+
<View>
|
|
23
|
+
<Stack style={stackStyle} gap={5}>
|
|
24
|
+
<Caption2>Caption2</Caption2>
|
|
25
|
+
<Caption1>Caption1</Caption1>
|
|
26
|
+
<Caption1Strong>Caption1Strong</Caption1Strong>
|
|
27
|
+
<Body2>Body2</Body2>
|
|
28
|
+
<Body2Strong>Body2Strong</Body2Strong>
|
|
29
|
+
<Body1>Body1</Body1>
|
|
30
|
+
<Body1Strong>Body1Strong</Body1Strong>
|
|
31
|
+
<Title3>Title3</Title3>
|
|
32
|
+
<Title2>Title2</Title2>
|
|
33
|
+
<Title1>Title1</Title1>
|
|
34
|
+
<LargeTitle>LargeTitle</LargeTitle>
|
|
35
|
+
<Display>Display</Display>
|
|
36
|
+
</Stack>
|
|
37
|
+
</View>
|
|
38
|
+
);
|
|
39
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Stack } from '@fluentui-react-native/stack';
|
|
4
|
+
import { stackStyle } from '../Common/styles';
|
|
5
|
+
import {
|
|
6
|
+
Body1,
|
|
7
|
+
Body1Strong,
|
|
8
|
+
Body2,
|
|
9
|
+
Body2Strong,
|
|
10
|
+
Caption1,
|
|
11
|
+
Display,
|
|
12
|
+
LargeTitle,
|
|
13
|
+
Subtitle1,
|
|
14
|
+
Subtitle1Strong,
|
|
15
|
+
Subtitle2,
|
|
16
|
+
Subtitle2Strong,
|
|
17
|
+
Title1,
|
|
18
|
+
Title1Strong,
|
|
19
|
+
} from '@fluentui-react-native/text';
|
|
20
|
+
|
|
21
|
+
export const V2Usage: React.FunctionComponent = () => {
|
|
22
|
+
return (
|
|
23
|
+
<View>
|
|
24
|
+
<Stack style={stackStyle} gap={5}>
|
|
25
|
+
<Caption1>Caption1</Caption1>
|
|
26
|
+
<Body1>Body1</Body1>
|
|
27
|
+
<Body1Strong>Body1Strong</Body1Strong>
|
|
28
|
+
<Body2>Body2</Body2>
|
|
29
|
+
<Body2Strong>Body2Strong</Body2Strong>
|
|
30
|
+
<Subtitle2>Subtitle2</Subtitle2>
|
|
31
|
+
<Subtitle2Strong>Subtitle2Strong</Subtitle2Strong>
|
|
32
|
+
<Subtitle1>Subtitle1</Subtitle1>
|
|
33
|
+
<Subtitle1Strong>Subtitle1Strong</Subtitle1Strong>
|
|
34
|
+
<Title1>Title1</Title1>
|
|
35
|
+
<Title1Strong>Title1Strong</Title1Strong>
|
|
36
|
+
<LargeTitle>LargeTitle</LargeTitle>
|
|
37
|
+
<Display>Display</Display>
|
|
38
|
+
</Stack>
|
|
39
|
+
</View>
|
|
40
|
+
);
|
|
41
|
+
};
|