@fluentui-react-native/tester 0.82.4 → 0.82.5
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 +60 -9
- package/CHANGELOG.md +16 -2
- package/lib/TestComponents/Button/E2EButtonTest.d.ts.map +1 -1
- package/lib/TestComponents/Button/E2EButtonTest.js +2 -1
- package/lib/TestComponents/Button/E2EButtonTest.js.map +1 -1
- package/lib/TestComponents/Button/consts.d.ts +2 -0
- package/lib/TestComponents/Button/consts.d.ts.map +1 -1
- package/lib/TestComponents/Button/consts.js +3 -0
- package/lib/TestComponents/Button/consts.js.map +1 -1
- package/lib-commonjs/TestComponents/Button/E2EButtonTest.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/Button/E2EButtonTest.js +1 -0
- package/lib-commonjs/TestComponents/Button/E2EButtonTest.js.map +1 -1
- package/lib-commonjs/TestComponents/Button/consts.d.ts +2 -0
- package/lib-commonjs/TestComponents/Button/consts.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/Button/consts.js +4 -1
- package/lib-commonjs/TestComponents/Button/consts.js.map +1 -1
- package/package.json +7 -7
- package/src/TestComponents/Button/E2EButtonTest.tsx +10 -0
- package/src/TestComponents/Button/consts.ts +4 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,58 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "Tue, 02 Aug 2022
|
|
5
|
+
"date": "Tue, 02 Aug 2022 22:18:51 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.82.5",
|
|
7
|
+
"version": "0.82.5",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "nakambo@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"commit": "7a344baa7d5810166ca398a9b111ee225e258310",
|
|
14
|
+
"comment": "Add test button for testing un-focusable button"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "beachball",
|
|
18
|
+
"package": "@fluentui-react-native/tester",
|
|
19
|
+
"comment": "Bump @fluentui-react-native/button to v0.24.13",
|
|
20
|
+
"commit": "7a344baa7d5810166ca398a9b111ee225e258310"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "beachball",
|
|
24
|
+
"package": "@fluentui-react-native/tester",
|
|
25
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.16.13",
|
|
26
|
+
"commit": "7a344baa7d5810166ca398a9b111ee225e258310"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"author": "beachball",
|
|
30
|
+
"package": "@fluentui-react-native/tester",
|
|
31
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.4.15",
|
|
32
|
+
"commit": "7a344baa7d5810166ca398a9b111ee225e258310"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"author": "beachball",
|
|
36
|
+
"package": "@fluentui-react-native/tester",
|
|
37
|
+
"comment": "Bump @fluentui-react-native/menu to v1.0.22",
|
|
38
|
+
"commit": "7a344baa7d5810166ca398a9b111ee225e258310"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"author": "beachball",
|
|
42
|
+
"package": "@fluentui-react-native/tester",
|
|
43
|
+
"comment": "Bump @fluentui-react-native/notification to v0.11.4",
|
|
44
|
+
"commit": "7a344baa7d5810166ca398a9b111ee225e258310"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"author": "beachball",
|
|
48
|
+
"package": "@fluentui-react-native/tester",
|
|
49
|
+
"comment": "Bump @fluentui/react-native to v0.32.2",
|
|
50
|
+
"commit": "7a344baa7d5810166ca398a9b111ee225e258310"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"date": "Tue, 02 Aug 2022 20:08:43 GMT",
|
|
6
57
|
"tag": "@fluentui-react-native/tester_v0.82.4",
|
|
7
58
|
"version": "0.82.4",
|
|
8
59
|
"comments": {
|
|
@@ -11,49 +62,49 @@
|
|
|
11
62
|
"author": "beachball",
|
|
12
63
|
"package": "@fluentui-react-native/tester",
|
|
13
64
|
"comment": "Bump @fluentui-react-native/avatar to v1.1.29",
|
|
14
|
-
"commit": "
|
|
65
|
+
"commit": "358753dccd1b852ae7d0c943e66bd8ff4f00234d"
|
|
15
66
|
},
|
|
16
67
|
{
|
|
17
68
|
"author": "beachball",
|
|
18
69
|
"package": "@fluentui-react-native/tester",
|
|
19
70
|
"comment": "Bump @fluentui-react-native/button to v0.24.12",
|
|
20
|
-
"commit": "
|
|
71
|
+
"commit": "358753dccd1b852ae7d0c943e66bd8ff4f00234d"
|
|
21
72
|
},
|
|
22
73
|
{
|
|
23
74
|
"author": "beachball",
|
|
24
75
|
"package": "@fluentui-react-native/tester",
|
|
25
76
|
"comment": "Bump @fluentui-react-native/experimental-button to v0.16.12",
|
|
26
|
-
"commit": "
|
|
77
|
+
"commit": "358753dccd1b852ae7d0c943e66bd8ff4f00234d"
|
|
27
78
|
},
|
|
28
79
|
{
|
|
29
80
|
"author": "beachball",
|
|
30
81
|
"package": "@fluentui-react-native/tester",
|
|
31
82
|
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.12.9",
|
|
32
|
-
"commit": "
|
|
83
|
+
"commit": "358753dccd1b852ae7d0c943e66bd8ff4f00234d"
|
|
33
84
|
},
|
|
34
85
|
{
|
|
35
86
|
"author": "beachball",
|
|
36
87
|
"package": "@fluentui-react-native/tester",
|
|
37
88
|
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.4.14",
|
|
38
|
-
"commit": "
|
|
89
|
+
"commit": "358753dccd1b852ae7d0c943e66bd8ff4f00234d"
|
|
39
90
|
},
|
|
40
91
|
{
|
|
41
92
|
"author": "beachball",
|
|
42
93
|
"package": "@fluentui-react-native/tester",
|
|
43
94
|
"comment": "Bump @fluentui-react-native/menu to v1.0.21",
|
|
44
|
-
"commit": "
|
|
95
|
+
"commit": "358753dccd1b852ae7d0c943e66bd8ff4f00234d"
|
|
45
96
|
},
|
|
46
97
|
{
|
|
47
98
|
"author": "beachball",
|
|
48
99
|
"package": "@fluentui-react-native/tester",
|
|
49
100
|
"comment": "Bump @fluentui-react-native/notification to v0.11.3",
|
|
50
|
-
"commit": "
|
|
101
|
+
"commit": "358753dccd1b852ae7d0c943e66bd8ff4f00234d"
|
|
51
102
|
},
|
|
52
103
|
{
|
|
53
104
|
"author": "beachball",
|
|
54
105
|
"package": "@fluentui-react-native/tester",
|
|
55
106
|
"comment": "Bump @fluentui/react-native to v0.32.1",
|
|
56
|
-
"commit": "
|
|
107
|
+
"commit": "358753dccd1b852ae7d0c943e66bd8ff4f00234d"
|
|
57
108
|
}
|
|
58
109
|
]
|
|
59
110
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on Tue, 02 Aug 2022
|
|
3
|
+
This log was last generated on Tue, 02 Aug 2022 22:18:51 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.82.5
|
|
8
|
+
|
|
9
|
+
Tue, 02 Aug 2022 22:18:51 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Add test button for testing un-focusable button (nakambo@microsoft.com)
|
|
14
|
+
- Bump @fluentui-react-native/button to v0.24.13
|
|
15
|
+
- Bump @fluentui-react-native/experimental-button to v0.16.13
|
|
16
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.4.15
|
|
17
|
+
- Bump @fluentui-react-native/menu to v1.0.22
|
|
18
|
+
- Bump @fluentui-react-native/notification to v0.11.4
|
|
19
|
+
- Bump @fluentui/react-native to v0.32.2
|
|
20
|
+
|
|
7
21
|
## 0.82.4
|
|
8
22
|
|
|
9
|
-
Tue, 02 Aug 2022 20:08:
|
|
23
|
+
Tue, 02 Aug 2022 20:08:43 GMT
|
|
10
24
|
|
|
11
25
|
### Patches
|
|
12
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"E2EButtonTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/E2EButtonTest.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"E2EButtonTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/E2EButtonTest.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,iBAwD7C,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { Stack } from '@fluentui-react-native/stack';
|
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { View } from 'react-native';
|
|
8
8
|
import { stackStyle } from '../Common/styles';
|
|
9
|
-
import { BUTTON_TEST_COMPONENT, BUTTON_ON_PRESS, BUTTON_NO_A11Y_LABEL_COMPONENT, BUTTON_ACCESSIBILITY_LABEL, BUTTON_TEST_COMPONENT_LABEL, BUTTON_ON_KEY, BUTTON_PRESS_TEST_COMPONENT, BUTTON_PRESS_TEST_COMPONENT_LABEL, } from './consts';
|
|
9
|
+
import { BUTTON_TEST_COMPONENT, BUTTON_ON_PRESS, BUTTON_NO_A11Y_LABEL_COMPONENT, BUTTON_ACCESSIBILITY_LABEL, BUTTON_TEST_COMPONENT_LABEL, BUTTON_ON_KEY, BUTTON_PRESS_TEST_COMPONENT, BUTTON_PRESS_TEST_COMPONENT_LABEL, BUTTON_FOCUSABLE_TEST_COMPONENT, BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL, } from './consts';
|
|
10
10
|
export var E2EButtonExperimentalTest = function () {
|
|
11
11
|
var _a = React.useState(false), buttonPressed = _a[0], setButtonPressed = _a[1];
|
|
12
12
|
var _b = React.useState(''), keyDetected = _b[0], setKeyDetected = _b[1];
|
|
@@ -35,6 +35,7 @@ export var E2EButtonExperimentalTest = function () {
|
|
|
35
35
|
React.createElement(Button, { testID: BUTTON_TEST_COMPONENT, onClick: onClick, accessibilityLabel: BUTTON_ACCESSIBILITY_LABEL }, "This is a button for E2E testing"),
|
|
36
36
|
React.createElement(Button, { testID: BUTTON_NO_A11Y_LABEL_COMPONENT, onClick: onClick }, BUTTON_TEST_COMPONENT_LABEL),
|
|
37
37
|
React.createElement(Button, __assign({ testID: BUTTON_PRESS_TEST_COMPONENT, onClick: onClick, accessibilityLabel: BUTTON_PRESS_TEST_COMPONENT_LABEL }, keyPressProps), "Press \"a\" or \"b\" after focusing this button"),
|
|
38
|
+
React.createElement(Button, { testID: BUTTON_FOCUSABLE_TEST_COMPONENT, onClick: onClick, accessibilityLabel: BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL, focusable: false }, "This button isn't focusable (but isn't disabled or indeterminate either)"),
|
|
38
39
|
buttonPressed ? React.createElement(Text, { testID: BUTTON_ON_PRESS }, "Button Pressed") : null,
|
|
39
40
|
keyDetected ? React.createElement(Text, { testID: BUTTON_ON_KEY },
|
|
40
41
|
"Button Key Press detected: ",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"E2EButtonTest.js","sourceRoot":"","sources":["../../../src/TestComponents/Button/E2EButtonTest.tsx"],"names":[],"mappings":";AAAA,uDAAuD;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CA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6 +11,8 @@ export declare const BUTTON_NO_A11Y_LABEL_COMPONENT = "Button_No_A11y_label_Comp
|
|
|
11
11
|
export declare const BUTTON_TEST_COMPONENT_LABEL = "Test Button2 - No Accessibility Label";
|
|
12
12
|
export declare const BUTTON_PRESS_TEST_COMPONENT = "Button_Press_Test_Component";
|
|
13
13
|
export declare const BUTTON_PRESS_TEST_COMPONENT_LABEL = "Test Button3 - For Key Presses";
|
|
14
|
+
export declare const BUTTON_FOCUSABLE_TEST_COMPONENT = "Button_Focusable_Test_Component";
|
|
15
|
+
export declare const BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL = "Test Button4 - Not focusable";
|
|
14
16
|
export declare const BUTTON_ON_PRESS = "Button_On_Press";
|
|
15
17
|
export declare const BUTTON_ON_KEY = "Button_On_Key";
|
|
16
18
|
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAGjD,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,qCAAqC,2CAA2C,CAAC;AAG9F,eAAO,MAAM,yCAAyC,8CAA8C,CAAC;AACrG,eAAO,MAAM,sCAAsC,0CAA0C,CAAC;AAE9F,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAG5D,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,0BAA0B,2CAA2C,CAAC;AAGnF,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAC/E,eAAO,MAAM,2BAA2B,0CAA0C,CAAC;AAGnF,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,iCAAiC,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAGjD,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,qCAAqC,2CAA2C,CAAC;AAG9F,eAAO,MAAM,yCAAyC,8CAA8C,CAAC;AACrG,eAAO,MAAM,sCAAsC,0CAA0C,CAAC;AAE9F,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAG5D,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,0BAA0B,2CAA2C,CAAC;AAGnF,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAC/E,eAAO,MAAM,2BAA2B,0CAA0C,CAAC;AAGnF,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,iCAAiC,mCAAmC,CAAC;AAGlF,eAAO,MAAM,+BAA+B,oCAAoC,CAAC;AACjF,eAAO,MAAM,qCAAqC,iCAAiC,CAAC;AAEpF,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,aAAa,kBAAkB,CAAC"}
|
|
@@ -16,6 +16,9 @@ export var BUTTON_TEST_COMPONENT_LABEL = 'Test Button2 - No Accessibility Label'
|
|
|
16
16
|
/* Test Button 3 */
|
|
17
17
|
export var BUTTON_PRESS_TEST_COMPONENT = 'Button_Press_Test_Component';
|
|
18
18
|
export var BUTTON_PRESS_TEST_COMPONENT_LABEL = 'Test Button3 - For Key Presses';
|
|
19
|
+
/* Test Button 3 */
|
|
20
|
+
export var BUTTON_FOCUSABLE_TEST_COMPONENT = 'Button_Focusable_Test_Component';
|
|
21
|
+
export var BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL = 'Test Button4 - Not focusable';
|
|
19
22
|
export var BUTTON_ON_PRESS = 'Button_On_Press'; // For testing the press functionality on a button
|
|
20
23
|
export var BUTTON_ON_KEY = 'Button_On_Key'; // For testing the key press functionality on a button
|
|
21
24
|
//# sourceMappingURL=consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../src/TestComponents/Button/consts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,sBAAsB,GAAG,wBAAwB,CAAC,CAAC,kEAAkE;AAClI,MAAM,CAAC,IAAM,eAAe,GAAG,iBAAiB,CAAC,CAAC,mFAAmF;AAErI,mBAAmB;AACnB,MAAM,CAAC,IAAM,gCAAgC,GAAG,kCAAkC,CAAC,CAAC,yCAAyC;AAC7H,MAAM,CAAC,IAAM,qCAAqC,GAAG,wCAAwC,CAAC;AAE9F,mBAAmB;AACnB,MAAM,CAAC,IAAM,yCAAyC,GAAG,2CAA2C,CAAC;AACrG,MAAM,CAAC,IAAM,sCAAsC,GAAG,uCAAuC,CAAC,CAAC,yCAAyC;AAExI,MAAM,CAAC,IAAM,0BAA0B,GAAG,iBAAiB,CAAC,CAAC,kDAAkD;AAE/G,mBAAmB;AACnB,MAAM,CAAC,IAAM,qBAAqB,GAAG,uBAAuB,CAAC,CAAC,yCAAyC;AACvG,MAAM,CAAC,IAAM,0BAA0B,GAAG,wCAAwC,CAAC;AAEnF,mBAAmB;AACnB,MAAM,CAAC,IAAM,8BAA8B,GAAG,gCAAgC,CAAC;AAC/E,MAAM,CAAC,IAAM,2BAA2B,GAAG,uCAAuC,CAAC,CAAC,yCAAyC;AAE7H,mBAAmB;AACnB,MAAM,CAAC,IAAM,2BAA2B,GAAG,6BAA6B,CAAC;AACzE,MAAM,CAAC,IAAM,iCAAiC,GAAG,gCAAgC,CAAC;AAElF,MAAM,CAAC,IAAM,eAAe,GAAG,iBAAiB,CAAC,CAAC,kDAAkD;AACpG,MAAM,CAAC,IAAM,aAAa,GAAG,eAAe,CAAC,CAAC,sDAAsD"}
|
|
1
|
+
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../src/TestComponents/Button/consts.ts"],"names":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.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"E2EButtonTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/E2EButtonTest.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,iBAwD7C,CAAC"}
|
|
@@ -38,6 +38,7 @@ var E2EButtonExperimentalTest = function () {
|
|
|
38
38
|
React.createElement(react_native_2.ButtonV1, { testID: consts_1.BUTTON_TEST_COMPONENT, onClick: onClick, accessibilityLabel: consts_1.BUTTON_ACCESSIBILITY_LABEL }, "This is a button for E2E testing"),
|
|
39
39
|
React.createElement(react_native_2.ButtonV1, { testID: consts_1.BUTTON_NO_A11Y_LABEL_COMPONENT, onClick: onClick }, consts_1.BUTTON_TEST_COMPONENT_LABEL),
|
|
40
40
|
React.createElement(react_native_2.ButtonV1, (0, tslib_1.__assign)({ testID: consts_1.BUTTON_PRESS_TEST_COMPONENT, onClick: onClick, accessibilityLabel: consts_1.BUTTON_PRESS_TEST_COMPONENT_LABEL }, keyPressProps), "Press \"a\" or \"b\" after focusing this button"),
|
|
41
|
+
React.createElement(react_native_2.ButtonV1, { testID: consts_1.BUTTON_FOCUSABLE_TEST_COMPONENT, onClick: onClick, accessibilityLabel: consts_1.BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL, focusable: false }, "This button isn't focusable (but isn't disabled or indeterminate either)"),
|
|
41
42
|
buttonPressed ? React.createElement(react_native_1.Text, { testID: consts_1.BUTTON_ON_PRESS }, "Button Pressed") : null,
|
|
42
43
|
keyDetected ? React.createElement(react_native_1.Text, { testID: consts_1.BUTTON_ON_KEY },
|
|
43
44
|
"Button Key Press detected: ",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"E2EButtonTest.js","sourceRoot":"","sources":["../../../src/TestComponents/Button/E2EButtonTest.ts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zB,IAAI,CAAC,eAAe,EAAE,CAAC;aACxB;QACH,CAAC;KACF,CAAC;IAEF,OAAO,CACL,oBAAC,mBAAI;QACH,oBAAC,aAAK,IAAC,KAAK,EAAE,mBAAU;YACtB,oBAAC,uBAAM,IAAC,MAAM,EAAE,8BAAqB,EAAE,OAAO,EAAE,OAAO,EAAE,kBAAkB,EAAE,mCAA0B,uCAE9F;YACT,oBAAC,uBAAM,IAAC,MAAM,EAAE,uCAA8B,EAAE,OAAO,EAAE,OAAO,IAC7D,oCAA2B,CACrB;YACT,oBAAC,uBAAM,0BACL,MAAM,EAAE,oCAA2B,EACnC,OAAO,EAAE,OAAO,EAChB,kBAAkB,EAAE,0CAAiC,IACjD,aAAa,qDAGV;YACT,oBAAC,uBAAM,IACL,MAAM,EAAE,wCAA+B,EACvC,OAAO,EAAE,OAAO,EAChB,kBAAkB,EAAE,8CAAqC,EACzD,SAAS,EAAE,KAAK,+EAGT;YACR,aAAa,CAAC,CAAC,CAAC,oBAAC,mBAAI,IAAC,MAAM,EAAE,wBAAe,qBAAuB,CAAC,CAAC,CAAC,IAAI;YAC3E,WAAW,CAAC,CAAC,CAAC,oBAAC,mBAAI,IAAC,MAAM,EAAE,sBAAa;;gBAA8B,WAAW,CAAQ,CAAC,CAAC,CAAC,IAAI,CAC5F,CACH,CACR,CAAC;AACJ,CAAC,CAAC;AAxDW,QAAA,yBAAyB,6BAwDpC"}
|
|
@@ -11,6 +11,8 @@ export declare const BUTTON_NO_A11Y_LABEL_COMPONENT = "Button_No_A11y_label_Comp
|
|
|
11
11
|
export declare const BUTTON_TEST_COMPONENT_LABEL = "Test Button2 - No Accessibility Label";
|
|
12
12
|
export declare const BUTTON_PRESS_TEST_COMPONENT = "Button_Press_Test_Component";
|
|
13
13
|
export declare const BUTTON_PRESS_TEST_COMPONENT_LABEL = "Test Button3 - For Key Presses";
|
|
14
|
+
export declare const BUTTON_FOCUSABLE_TEST_COMPONENT = "Button_Focusable_Test_Component";
|
|
15
|
+
export declare const BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL = "Test Button4 - Not focusable";
|
|
14
16
|
export declare const BUTTON_ON_PRESS = "Button_On_Press";
|
|
15
17
|
export declare const BUTTON_ON_KEY = "Button_On_Key";
|
|
16
18
|
//# sourceMappingURL=consts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAGjD,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,qCAAqC,2CAA2C,CAAC;AAG9F,eAAO,MAAM,yCAAyC,8CAA8C,CAAC;AACrG,eAAO,MAAM,sCAAsC,0CAA0C,CAAC;AAE9F,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAG5D,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,0BAA0B,2CAA2C,CAAC;AAGnF,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAC/E,eAAO,MAAM,2BAA2B,0CAA0C,CAAC;AAGnF,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,iCAAiC,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/Button/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,eAAe,oBAAoB,CAAC;AAGjD,eAAO,MAAM,gCAAgC,qCAAqC,CAAC;AACnF,eAAO,MAAM,qCAAqC,2CAA2C,CAAC;AAG9F,eAAO,MAAM,yCAAyC,8CAA8C,CAAC;AACrG,eAAO,MAAM,sCAAsC,0CAA0C,CAAC;AAE9F,eAAO,MAAM,0BAA0B,oBAAoB,CAAC;AAG5D,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAC7D,eAAO,MAAM,0BAA0B,2CAA2C,CAAC;AAGnF,eAAO,MAAM,8BAA8B,mCAAmC,CAAC;AAC/E,eAAO,MAAM,2BAA2B,0CAA0C,CAAC;AAGnF,eAAO,MAAM,2BAA2B,gCAAgC,CAAC;AACzE,eAAO,MAAM,iCAAiC,mCAAmC,CAAC;AAGlF,eAAO,MAAM,+BAA+B,oCAAoC,CAAC;AACjF,eAAO,MAAM,qCAAqC,iCAAiC,CAAC;AAEpF,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,aAAa,kBAAkB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BUTTON_ON_KEY = exports.BUTTON_ON_PRESS = exports.BUTTON_PRESS_TEST_COMPONENT_LABEL = exports.BUTTON_PRESS_TEST_COMPONENT = exports.BUTTON_TEST_COMPONENT_LABEL = exports.BUTTON_NO_A11Y_LABEL_COMPONENT = exports.BUTTON_ACCESSIBILITY_LABEL = exports.BUTTON_TEST_COMPONENT = exports.BUTTON_ON_PRESS_DEPRECATED = exports.BUTTON_TEST_COMPONENT_LABEL_DEPRECATED = exports.BUTTON_NO_A11Y_LABEL_COMPONENT_DEPRECATED = exports.BUTTON_ACCESSIBILITY_LABEL_DEPRECATED = exports.BUTTON_TEST_COMPONENT_DEPRECATED = exports.BUTTON_TESTPAGE = exports.HOMEPAGE_BUTTON_BUTTON = void 0;
|
|
3
|
+
exports.BUTTON_ON_KEY = exports.BUTTON_ON_PRESS = exports.BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL = exports.BUTTON_FOCUSABLE_TEST_COMPONENT = exports.BUTTON_PRESS_TEST_COMPONENT_LABEL = exports.BUTTON_PRESS_TEST_COMPONENT = exports.BUTTON_TEST_COMPONENT_LABEL = exports.BUTTON_NO_A11Y_LABEL_COMPONENT = exports.BUTTON_ACCESSIBILITY_LABEL = exports.BUTTON_TEST_COMPONENT = exports.BUTTON_ON_PRESS_DEPRECATED = exports.BUTTON_TEST_COMPONENT_LABEL_DEPRECATED = exports.BUTTON_NO_A11Y_LABEL_COMPONENT_DEPRECATED = exports.BUTTON_ACCESSIBILITY_LABEL_DEPRECATED = exports.BUTTON_TEST_COMPONENT_DEPRECATED = exports.BUTTON_TESTPAGE = exports.HOMEPAGE_BUTTON_BUTTON = void 0;
|
|
4
4
|
exports.HOMEPAGE_BUTTON_BUTTON = 'Homepage_Button_Button'; // Button on the homepage that navigates to the selected test page
|
|
5
5
|
exports.BUTTON_TESTPAGE = 'Button_TestPage'; // The title of each test page. This is displayed after navigating to the test page
|
|
6
6
|
/* Test Button 1 */
|
|
@@ -19,6 +19,9 @@ exports.BUTTON_TEST_COMPONENT_LABEL = 'Test Button2 - No Accessibility Label'; /
|
|
|
19
19
|
/* Test Button 3 */
|
|
20
20
|
exports.BUTTON_PRESS_TEST_COMPONENT = 'Button_Press_Test_Component';
|
|
21
21
|
exports.BUTTON_PRESS_TEST_COMPONENT_LABEL = 'Test Button3 - For Key Presses';
|
|
22
|
+
/* Test Button 3 */
|
|
23
|
+
exports.BUTTON_FOCUSABLE_TEST_COMPONENT = 'Button_Focusable_Test_Component';
|
|
24
|
+
exports.BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL = 'Test Button4 - Not focusable';
|
|
22
25
|
exports.BUTTON_ON_PRESS = 'Button_On_Press'; // For testing the press functionality on a button
|
|
23
26
|
exports.BUTTON_ON_KEY = 'Button_On_Key'; // For testing the key press functionality on a button
|
|
24
27
|
//# sourceMappingURL=consts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../src/TestComponents/Button/consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG,wBAAwB,CAAC,CAAC,kEAAkE;AACrH,QAAA,eAAe,GAAG,iBAAiB,CAAC,CAAC,m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AAgC,CAAC;AAClE,QAAA,2BAA2B,GAAG,uCAAuC,CAAC,CAAC,yCAAyC;AAE7H,mBAAmB;AACN,QAAA,2BAA2B,GAAG,6BAA6B,CAAC;AAC5D,QAAA,iCAAiC,GAAG,gCAAgC,CAAC;AAElF,mBAAmB;AACN,QAAA,+BAA+B,GAAG,iCAAiC,CAAC;AACpE,QAAA,qCAAqC,GAAG,8BAA8B,CAAC;AAEvE,QAAA,eAAe,GAAG,iBAAiB,CAAC,CAAC,kDAAkD;AACvF,QAAA,aAAa,GAAG,eAAe,CAAC,CAAC,sDAAsD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.82.
|
|
3
|
+
"version": "0.82.5",
|
|
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>",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@fluentui-react-native/apple-theme": ">=0.13.2 <1.0.0",
|
|
40
40
|
"@fluentui-react-native/avatar": "^1.1.29",
|
|
41
41
|
"@fluentui-react-native/badge": ">=0.1.14 <1.0.0",
|
|
42
|
-
"@fluentui-react-native/button": ">=0.24.
|
|
42
|
+
"@fluentui-react-native/button": ">=0.24.13 <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.
|
|
46
|
+
"@fluentui-react-native/experimental-button": "0.16.13",
|
|
47
47
|
"@fluentui-react-native/experimental-checkbox": "0.12.9",
|
|
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.15 <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",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@fluentui-react-native/framework": ">=0.8.0 <1.0.0",
|
|
56
56
|
"@fluentui-react-native/icon": "0.13.3",
|
|
57
57
|
"@fluentui-react-native/interactive-hooks": ">=0.18.0 <1.0.0",
|
|
58
|
-
"@fluentui-react-native/menu": "^1.0.
|
|
59
|
-
"@fluentui-react-native/notification": "0.11.
|
|
58
|
+
"@fluentui-react-native/menu": "^1.0.22",
|
|
59
|
+
"@fluentui-react-native/notification": "0.11.4",
|
|
60
60
|
"@fluentui-react-native/stack": ">=0.7.2 <1.0.0",
|
|
61
61
|
"@fluentui-react-native/text": ">=0.13.0 <1.0.0",
|
|
62
62
|
"@fluentui-react-native/theme": ">=0.7.0 <1.0.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@fluentui-react-native/themed-stylesheet": "^1.4.0",
|
|
65
65
|
"@fluentui-react-native/theming-utils": ">=0.14.0 <1.0.0",
|
|
66
66
|
"@fluentui-react-native/win32-theme": ">=0.20.1 <1.0.0",
|
|
67
|
-
"@fluentui/react-native": ">=0.32.
|
|
67
|
+
"@fluentui/react-native": ">=0.32.2 <1.0.0",
|
|
68
68
|
"@react-native-community/slider": "^4.2.0",
|
|
69
69
|
"@react-native-menu/menu": "^0.1.2",
|
|
70
70
|
"@react-native-picker/picker": "^2.2.1",
|
|
@@ -14,6 +14,8 @@ import {
|
|
|
14
14
|
BUTTON_ON_KEY,
|
|
15
15
|
BUTTON_PRESS_TEST_COMPONENT,
|
|
16
16
|
BUTTON_PRESS_TEST_COMPONENT_LABEL,
|
|
17
|
+
BUTTON_FOCUSABLE_TEST_COMPONENT,
|
|
18
|
+
BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL,
|
|
17
19
|
} from './consts';
|
|
18
20
|
import { IViewWin32Props } from '@office-iss/react-native-win32';
|
|
19
21
|
|
|
@@ -60,6 +62,14 @@ export const E2EButtonExperimentalTest: React.FunctionComponent = () => {
|
|
|
60
62
|
>
|
|
61
63
|
Press "a" or "b" after focusing this button
|
|
62
64
|
</Button>
|
|
65
|
+
<Button
|
|
66
|
+
testID={BUTTON_FOCUSABLE_TEST_COMPONENT}
|
|
67
|
+
onClick={onClick}
|
|
68
|
+
accessibilityLabel={BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL}
|
|
69
|
+
focusable={false}
|
|
70
|
+
>
|
|
71
|
+
This button isn't focusable (but isn't disabled or indeterminate either)
|
|
72
|
+
</Button>
|
|
63
73
|
{buttonPressed ? <Text testID={BUTTON_ON_PRESS}>Button Pressed</Text> : null}
|
|
64
74
|
{keyDetected ? <Text testID={BUTTON_ON_KEY}>Button Key Press detected: {keyDetected}</Text> : null}
|
|
65
75
|
</Stack>
|
|
@@ -23,5 +23,9 @@ export const BUTTON_TEST_COMPONENT_LABEL = 'Test Button2 - No Accessibility Labe
|
|
|
23
23
|
export const BUTTON_PRESS_TEST_COMPONENT = 'Button_Press_Test_Component';
|
|
24
24
|
export const BUTTON_PRESS_TEST_COMPONENT_LABEL = 'Test Button3 - For Key Presses';
|
|
25
25
|
|
|
26
|
+
/* Test Button 3 */
|
|
27
|
+
export const BUTTON_FOCUSABLE_TEST_COMPONENT = 'Button_Focusable_Test_Component';
|
|
28
|
+
export const BUTTON_FOCUSABLE_TEST_COMPONENT_LABEL = 'Test Button4 - Not focusable';
|
|
29
|
+
|
|
26
30
|
export const BUTTON_ON_PRESS = 'Button_On_Press'; // For testing the press functionality on a button
|
|
27
31
|
export const BUTTON_ON_KEY = 'Button_On_Key'; // For testing the key press functionality on a button
|