@fluentui-react-native/tester 0.81.1 → 0.82.1
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 +159 -1
- package/CHANGELOG.md +41 -2
- package/docs/android.md +2 -2
- package/ios/Podfile +1 -1
- package/ios/Podfile.lock +1 -113
- package/lib/TestComponents/Button/ButtonHOCTestSection.js +1 -1
- package/lib/TestComponents/Button/ButtonHOCTestSection.js.map +1 -1
- package/lib/TestComponents/Menu/E2EMenuTest.js +1 -1
- package/lib/TestComponents/Menu/E2EMenuTest.js.map +1 -1
- package/lib/TestComponents/Menu/MenuTest.js +1 -1
- package/lib/TestComponents/Menu/MenuTest.js.map +1 -1
- package/lib/TestComponents/Notification/NotificationTest.js +2 -2
- package/lib/TestComponents/Notification/NotificationTest.js.map +1 -1
- package/lib/TestComponents/TabsExperimental/TabsExperimentalE2ETest.js +1 -1
- package/lib/TestComponents/TabsExperimental/TabsExperimentalE2ETest.js.map +1 -1
- package/lib/TestComponents/TabsExperimental/TabsTest.js +1 -1
- package/lib/TestComponents/TabsExperimental/TabsTest.js.map +1 -1
- package/lib/testPages.android.d.ts.map +1 -1
- package/lib/testPages.android.js +6 -0
- package/lib/testPages.android.js.map +1 -1
- package/lib/theme/ThemePickers.android.js +1 -1
- package/lib/theme/ThemePickers.android.js.map +1 -1
- package/lib/theme/ThemePickers.js +1 -1
- package/lib/theme/ThemePickers.js.map +1 -1
- package/lib/theme/ThemePickers.macos.js +1 -1
- package/lib/theme/ThemePickers.macos.js.map +1 -1
- package/lib-commonjs/TestComponents/Button/ButtonHOCTestSection.js +2 -2
- package/lib-commonjs/TestComponents/Button/ButtonHOCTestSection.js.map +1 -1
- package/lib-commonjs/TestComponents/Menu/E2EMenuTest.js +2 -2
- package/lib-commonjs/TestComponents/Menu/E2EMenuTest.js.map +1 -1
- package/lib-commonjs/TestComponents/Menu/MenuTest.js +2 -2
- package/lib-commonjs/TestComponents/Menu/MenuTest.js.map +1 -1
- package/lib-commonjs/TestComponents/Notification/NotificationTest.js +2 -2
- package/lib-commonjs/TestComponents/Notification/NotificationTest.js.map +1 -1
- package/lib-commonjs/TestComponents/TabsExperimental/TabsExperimentalE2ETest.js +7 -7
- package/lib-commonjs/TestComponents/TabsExperimental/TabsExperimentalE2ETest.js.map +1 -1
- package/lib-commonjs/TestComponents/TabsExperimental/TabsTest.js +23 -23
- package/lib-commonjs/TestComponents/TabsExperimental/TabsTest.js.map +1 -1
- package/lib-commonjs/testPages.android.d.ts.map +1 -1
- package/lib-commonjs/testPages.android.js +6 -0
- package/lib-commonjs/testPages.android.js.map +1 -1
- package/lib-commonjs/theme/ThemePickers.android.js +2 -2
- package/lib-commonjs/theme/ThemePickers.android.js.map +1 -1
- package/lib-commonjs/theme/ThemePickers.js +2 -2
- package/lib-commonjs/theme/ThemePickers.js.map +1 -1
- package/lib-commonjs/theme/ThemePickers.macos.js +3 -3
- package/lib-commonjs/theme/ThemePickers.macos.js.map +1 -1
- package/macos/Podfile +1 -0
- package/macos/Podfile.lock +217 -217
- package/package.json +16 -15
- package/src/TestComponents/Button/ButtonHOCTestSection.tsx +1 -1
- package/src/TestComponents/Menu/E2EMenuTest.tsx +1 -1
- package/src/TestComponents/Menu/MenuTest.tsx +1 -1
- package/src/TestComponents/Notification/NotificationTest.tsx +2 -2
- package/src/TestComponents/TabsExperimental/TabsExperimentalE2ETest.tsx +1 -1
- package/src/TestComponents/TabsExperimental/TabsTest.tsx +1 -1
- package/src/testPages.android.ts +6 -0
- package/src/theme/ThemePickers.android.tsx +1 -1
- package/src/theme/ThemePickers.macos.tsx +1 -1
- package/src/theme/ThemePickers.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.82.1",
|
|
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>",
|
|
@@ -37,33 +37,34 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@fluentui-react-native/android-theme": ">=0.11.0 <1.0.0",
|
|
39
39
|
"@fluentui-react-native/apple-theme": ">=0.13.2 <1.0.0",
|
|
40
|
-
"@fluentui-react-native/avatar": "^1.1.
|
|
41
|
-
"@fluentui-react-native/badge": ">=0.1.
|
|
42
|
-
"@fluentui-react-native/button": ">=0.24.
|
|
40
|
+
"@fluentui-react-native/avatar": "^1.1.26",
|
|
41
|
+
"@fluentui-react-native/badge": ">=0.1.12 <1.0.0",
|
|
42
|
+
"@fluentui-react-native/button": ">=0.24.10 <1.0.0",
|
|
43
43
|
"@fluentui-react-native/default-theme": ">=0.14.0 <1.0.0",
|
|
44
44
|
"@fluentui-react-native/experimental-activity-indicator": ">=0.6.0 <1.0.0",
|
|
45
45
|
"@fluentui-react-native/experimental-avatar": ">=0.16.0 <1.0.0",
|
|
46
|
-
"@fluentui-react-native/experimental-button": "0.16.
|
|
47
|
-
"@fluentui-react-native/experimental-checkbox": "0.12.
|
|
46
|
+
"@fluentui-react-native/experimental-button": "0.16.10",
|
|
47
|
+
"@fluentui-react-native/experimental-checkbox": "0.12.7",
|
|
48
48
|
"@fluentui-react-native/experimental-expander": "0.4.0",
|
|
49
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.4.
|
|
49
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.4.12 <1.0.0",
|
|
50
50
|
"@fluentui-react-native/experimental-native-date-picker": ">=0.6.0 <1.0.0",
|
|
51
51
|
"@fluentui-react-native/experimental-shadow": "0.2.10",
|
|
52
52
|
"@fluentui-react-native/experimental-shimmer": "0.7.0",
|
|
53
|
-
"@fluentui-react-native/experimental-tabs": "0.5.
|
|
54
|
-
"@fluentui-react-native/experimental-text": ">=0.
|
|
53
|
+
"@fluentui-react-native/experimental-tabs": "0.5.7",
|
|
54
|
+
"@fluentui-react-native/experimental-text": ">=0.11.0 <1.0.0",
|
|
55
55
|
"@fluentui-react-native/framework": ">=0.8.0 <1.0.0",
|
|
56
|
-
"@fluentui-react-native/icon": "0.13.
|
|
57
|
-
"@fluentui-react-native/interactive-hooks": ">=0.17.
|
|
58
|
-
"@fluentui-react-native/menu": "^1.0.
|
|
59
|
-
"@fluentui-react-native/notification": "0.
|
|
60
|
-
"@fluentui-react-native/stack": ">=0.7.
|
|
56
|
+
"@fluentui-react-native/icon": "0.13.3",
|
|
57
|
+
"@fluentui-react-native/interactive-hooks": ">=0.17.5 <1.0.0",
|
|
58
|
+
"@fluentui-react-native/menu": "^1.0.19",
|
|
59
|
+
"@fluentui-react-native/notification": "0.11.1",
|
|
60
|
+
"@fluentui-react-native/stack": ">=0.7.2 <1.0.0",
|
|
61
|
+
"@fluentui-react-native/text": ">=0.13.0 <1.0.0",
|
|
61
62
|
"@fluentui-react-native/theme": ">=0.7.0 <1.0.0",
|
|
62
63
|
"@fluentui-react-native/theme-types": ">=0.18.0 <1.0.0",
|
|
63
64
|
"@fluentui-react-native/themed-stylesheet": "^1.4.0",
|
|
64
65
|
"@fluentui-react-native/theming-utils": ">=0.14.0 <1.0.0",
|
|
65
66
|
"@fluentui-react-native/win32-theme": ">=0.20.1 <1.0.0",
|
|
66
|
-
"@fluentui/react-native": ">=0.31.
|
|
67
|
+
"@fluentui/react-native": ">=0.31.12 <1.0.0",
|
|
67
68
|
"@react-native-community/slider": "^4.2.0",
|
|
68
69
|
"@react-native-menu/menu": "^0.1.2",
|
|
69
70
|
"@react-native-picker/picker": "^2.2.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonV1 as Button } from '@fluentui/react-native';
|
|
2
|
-
import { Text } from '@fluentui-react-native/
|
|
2
|
+
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
3
3
|
import { Icon, SvgIconProps } from '@fluentui-react-native/icon';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { Platform, View } from 'react-native';
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import { Stack } from '@fluentui-react-native/stack';
|
|
3
3
|
import { stackStyle } from '../Common/styles';
|
|
4
4
|
import { ButtonV1 as Button } from '@fluentui-react-native/button';
|
|
5
|
-
import { Text } from '@fluentui-react-native/
|
|
5
|
+
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
6
6
|
import { Menu, MenuItem, MenuList, MenuPopover, MenuTrigger } from '@fluentui-react-native/menu';
|
|
7
7
|
import {
|
|
8
8
|
MENUITEM_ACCESSIBILITY_LABEL,
|
|
@@ -14,7 +14,7 @@ import { Stack } from '@fluentui-react-native/stack';
|
|
|
14
14
|
import { stackStyle } from '../Common/styles';
|
|
15
15
|
import { MENU_TESTPAGE } from './consts';
|
|
16
16
|
import { Test, TestSection, PlatformStatus } from '../Test';
|
|
17
|
-
import { Text } from '@fluentui-react-native/
|
|
17
|
+
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
18
18
|
import { E2EMenuTest } from './E2EMenuTest';
|
|
19
19
|
|
|
20
20
|
const MenuDefault: React.FunctionComponent = () => {
|
|
@@ -109,7 +109,7 @@ const CustomBar: React.FunctionComponent = () => {
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
const PrimaryWithAutoHide: React.FunctionComponent = () => {
|
|
112
|
-
const [visible, setVisible] = React.useState(
|
|
112
|
+
const [visible, setVisible] = React.useState(true);
|
|
113
113
|
const onButtonPress = () => setVisible(!visible);
|
|
114
114
|
|
|
115
115
|
const [hidden, setHidden] = React.useState<boolean>(!visible);
|
|
@@ -183,7 +183,7 @@ const PrimaryWithAutoHide: React.FunctionComponent = () => {
|
|
|
183
183
|
);
|
|
184
184
|
};
|
|
185
185
|
const PrimaryBarWithAutoHide: React.FunctionComponent = () => {
|
|
186
|
-
const [visible, setVisible] = React.useState(
|
|
186
|
+
const [visible, setVisible] = React.useState(true);
|
|
187
187
|
const onButtonPress = () => setVisible(!visible);
|
|
188
188
|
|
|
189
189
|
const [hidden, setHidden] = React.useState<boolean>(!visible);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
-
import { Text } from '@fluentui-react-native/
|
|
3
|
+
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
4
4
|
import { Tabs, TabsItem } from '@fluentui-react-native/experimental-tabs';
|
|
5
5
|
import { stackStyle } from '../Common/styles';
|
|
6
6
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { View, Platform } from 'react-native';
|
|
3
|
-
import { Text } from '@fluentui-react-native/
|
|
3
|
+
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
4
4
|
import { Button } from '@fluentui-react-native/experimental-button';
|
|
5
5
|
import { Tabs, TabsItem } from '@fluentui-react-native/experimental-tabs';
|
|
6
6
|
import { stackStyle } from '../Common/styles';
|
package/src/testPages.android.ts
CHANGED
|
@@ -22,6 +22,7 @@ import { ActivityIndicatorTest, HOMEPAGE_ACTIVITY_INDICATOR_BUTTON } from './Tes
|
|
|
22
22
|
import { HOMEPAGE_TOKEN_BUTTON, TokenTest } from './TestComponents/Tokens';
|
|
23
23
|
import { ExperimentalCheckboxTest, HOMEPAGE_CHECKBOX_EXPERIMENTAL_BUTTON } from './TestComponents/CheckboxExperimental';
|
|
24
24
|
import { TextExperimentalTest, HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON } from './TestComponents/TextExperimental';
|
|
25
|
+
import { HOMEPAGE_NOTIFICATION_BUTTON, NotificationTest } from './TestComponents/Notification';
|
|
25
26
|
|
|
26
27
|
export const tests: TestDescription[] = [
|
|
27
28
|
{
|
|
@@ -139,4 +140,9 @@ export const tests: TestDescription[] = [
|
|
|
139
140
|
component: TokenTest,
|
|
140
141
|
testPage: HOMEPAGE_TOKEN_BUTTON,
|
|
141
142
|
},
|
|
143
|
+
{
|
|
144
|
+
name: 'Notification Test',
|
|
145
|
+
component: NotificationTest,
|
|
146
|
+
testPage: HOMEPAGE_NOTIFICATION_BUTTON,
|
|
147
|
+
},
|
|
142
148
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
-
import { Text } from '@fluentui-react-native/
|
|
3
|
+
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
4
4
|
import { lightnessOptions, testerTheme } from './CustomThemes';
|
|
5
5
|
import { themeChoices, ThemeNames } from './applyTheme';
|
|
6
6
|
import { brandOptions, OfficeBrand } from './applyBrand';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { View, StyleSheet } from 'react-native';
|
|
3
|
-
import { Text } from '@fluentui-react-native/
|
|
3
|
+
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
4
4
|
import { SvgXml } from 'react-native-svg';
|
|
5
5
|
import { Menu, MenuItem, MenuTrigger, MenuPopover, MenuList } from '@fluentui-react-native/menu';
|
|
6
6
|
import { ButtonV1 as Button } from '@fluentui/react-native';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { View, StyleSheet } from 'react-native';
|
|
3
|
-
import { Text } from '@fluentui-react-native/
|
|
3
|
+
import { TextV1 as Text } from '@fluentui-react-native/text';
|
|
4
4
|
import { lightnessOptions, testerTheme } from './CustomThemes';
|
|
5
5
|
import { themeChoices, ThemeNames } from './applyTheme';
|
|
6
6
|
import { brandOptions, OfficeBrand } from './applyBrand';
|