@fluentui-react-native/tester 0.81.0 → 0.82.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui-react-native/tester",
3
- "version": "0.81.0",
3
+ "version": "0.82.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>",
@@ -37,33 +37,33 @@
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.24",
41
- "@fluentui-react-native/badge": ">=0.1.10 <1.0.0",
42
- "@fluentui-react-native/button": ">=0.24.8 <1.0.0",
40
+ "@fluentui-react-native/avatar": "^1.1.25",
41
+ "@fluentui-react-native/badge": ">=0.1.11 <1.0.0",
42
+ "@fluentui-react-native/button": ">=0.24.9 <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.8",
47
- "@fluentui-react-native/experimental-checkbox": "0.12.5",
46
+ "@fluentui-react-native/experimental-button": "0.16.9",
47
+ "@fluentui-react-native/experimental-checkbox": "0.12.6",
48
48
  "@fluentui-react-native/experimental-expander": "0.4.0",
49
- "@fluentui-react-native/experimental-menu-button": ">=0.4.10 <1.0.0",
49
+ "@fluentui-react-native/experimental-menu-button": ">=0.4.11 <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.5",
53
+ "@fluentui-react-native/experimental-tabs": "0.5.6",
54
54
  "@fluentui-react-native/experimental-text": ">=0.10.2 <1.0.0",
55
55
  "@fluentui-react-native/framework": ">=0.8.0 <1.0.0",
56
- "@fluentui-react-native/icon": "0.13.1",
57
- "@fluentui-react-native/interactive-hooks": ">=0.17.3 <1.0.0",
58
- "@fluentui-react-native/menu": "^1.0.17",
59
- "@fluentui-react-native/notification": "0.10.0",
56
+ "@fluentui-react-native/icon": "0.13.2",
57
+ "@fluentui-react-native/interactive-hooks": ">=0.17.4 <1.0.0",
58
+ "@fluentui-react-native/menu": "^1.0.18",
59
+ "@fluentui-react-native/notification": "0.11.0",
60
60
  "@fluentui-react-native/stack": ">=0.7.1 <1.0.0",
61
61
  "@fluentui-react-native/theme": ">=0.7.0 <1.0.0",
62
62
  "@fluentui-react-native/theme-types": ">=0.18.0 <1.0.0",
63
63
  "@fluentui-react-native/themed-stylesheet": "^1.4.0",
64
64
  "@fluentui-react-native/theming-utils": ">=0.14.0 <1.0.0",
65
- "@fluentui-react-native/win32-theme": ">=0.20.0 <1.0.0",
66
- "@fluentui/react-native": ">=0.31.10 <1.0.0",
65
+ "@fluentui-react-native/win32-theme": ">=0.20.1 <1.0.0",
66
+ "@fluentui/react-native": ">=0.31.11 <1.0.0",
67
67
  "@react-native-community/slider": "^4.2.0",
68
68
  "@react-native-menu/menu": "^0.1.2",
69
69
  "@react-native-picker/picker": "^2.2.1",
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/no-var-requires */
2
2
  import * as React from 'react';
3
- import { Platform, View } from 'react-native';
3
+ import { Platform, PlatformColor, View } from 'react-native';
4
4
  import { Text } from '@fluentui/react-native';
5
5
  import { Icon, RasterImageIconProps, SvgIconProps, FontIconProps } from '@fluentui-react-native/icon';
6
6
  import { Test, TestSection, PlatformStatus } from '../Test';
@@ -78,6 +78,9 @@ const Icons: React.FunctionComponent = () => {
78
78
  shouldShowDataUri ? <Icon svgSource={svgD20DataUriProps} width={100} height={100} color="#7a7" /> : null
79
79
  }
80
80
  <Icon svgSource={svgUriProps} width={100} height={100} color="red" />
81
+ {Platform.OS === ('win32' as any) && (
82
+ <Icon svgSource={svgProps} width={100} height={100} color={PlatformColor('WindowText')} accessibilityLabel="Wheelchair" />
83
+ )}
81
84
  </View>
82
85
  ) : null}
83
86
  {showRasterIcons ? (
@@ -109,7 +109,7 @@ const CustomBar: React.FunctionComponent = () => {
109
109
  };
110
110
 
111
111
  const PrimaryWithAutoHide: React.FunctionComponent = () => {
112
- const [visible, setVisible] = React.useState(false);
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(false);
186
+ const [visible, setVisible] = React.useState(true);
187
187
  const onButtonPress = () => setVisible(!visible);
188
188
 
189
189
  const [hidden, setHidden] = React.useState<boolean>(!visible);
@@ -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
  ];