@fluentui-react-native/tester 0.58.14 → 0.59.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 +202 -1
- package/CHANGELOG.md +52 -2
- package/lib/FluentTester/TestComponents/Button/ButtonHOCTestSection.js +1 -1
- package/lib/FluentTester/TestComponents/Button/ButtonHOCTestSection.js.map +1 -1
- package/lib/FluentTester/TestComponents/Button/ButtonIconTestSection.js +1 -1
- package/lib/FluentTester/TestComponents/Button/ButtonIconTestSection.js.map +1 -1
- package/lib/FluentTester/TestComponents/Button/ButtonShapeTestSection.js +1 -1
- package/lib/FluentTester/TestComponents/Button/ButtonShapeTestSection.js.map +1 -1
- package/lib/FluentTester/TestComponents/Button/ButtonSizeTestSection.js +1 -1
- package/lib/FluentTester/TestComponents/Button/ButtonSizeTestSection.js.map +1 -1
- package/lib/FluentTester/TestComponents/Button/E2EButtonTest.js +1 -1
- package/lib/FluentTester/TestComponents/Button/E2EButtonTest.js.map +1 -1
- package/lib/FluentTester/TestComponents/Button/ToggleButtonTestSection.js +1 -1
- package/lib/FluentTester/TestComponents/Button/ToggleButtonTestSection.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/Button/ButtonHOCTestSection.js +9 -9
- package/lib-commonjs/FluentTester/TestComponents/Button/ButtonHOCTestSection.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/Button/ButtonIconTestSection.js +15 -15
- package/lib-commonjs/FluentTester/TestComponents/Button/ButtonIconTestSection.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/Button/ButtonShapeTestSection.js +12 -12
- package/lib-commonjs/FluentTester/TestComponents/Button/ButtonShapeTestSection.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/Button/ButtonSizeTestSection.js +22 -22
- package/lib-commonjs/FluentTester/TestComponents/Button/ButtonSizeTestSection.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/Button/E2EButtonTest.js +5 -5
- package/lib-commonjs/FluentTester/TestComponents/Button/E2EButtonTest.js.map +1 -1
- package/lib-commonjs/FluentTester/TestComponents/Button/ToggleButtonTestSection.js +17 -17
- package/lib-commonjs/FluentTester/TestComponents/Button/ToggleButtonTestSection.js.map +1 -1
- package/lib-commonjs/index.d.ts +1 -1
- package/lib-commonjs/index.d.ts.map +1 -1
- package/lib-commonjs/index.js +3 -2
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +28 -28
- package/src/E2E/README.md +6 -2
- package/src/FluentTester/TestComponents/Button/ButtonHOCTestSection.tsx +1 -1
- package/src/FluentTester/TestComponents/Button/ButtonIconTestSection.tsx +1 -1
- package/src/FluentTester/TestComponents/Button/ButtonShapeTestSection.tsx +1 -1
- package/src/FluentTester/TestComponents/Button/ButtonSizeTestSection.tsx +1 -1
- package/src/FluentTester/TestComponents/Button/E2EButtonTest.tsx +1 -1
- package/src/FluentTester/TestComponents/Button/ToggleButtonTestSection.tsx +1 -1
- package/src/index.ts +1 -1
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,208 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Thu, 31 Mar 2022 21:43:42 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.59.0",
|
|
7
|
+
"version": "0.59.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"minor": [
|
|
10
|
+
{
|
|
11
|
+
"author": "ruaraki@microsoft.com",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"commit": "1e8f6072f5d8720bf6c49b92fe15ec93bb6899fc",
|
|
14
|
+
"comment": "Upgrade appium"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Thu, 31 Mar 2022 07:27:47 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/tester_v0.58.16",
|
|
22
|
+
"version": "0.58.16",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "4123478+tido64@users.noreply.github.com",
|
|
27
|
+
"package": "@fluentui-react-native/tester",
|
|
28
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed",
|
|
29
|
+
"comment": "Ban `export *` in index files for better tree-shakeability"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/tester",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/android-theme to v0.5.6",
|
|
35
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/tester",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/apple-theme to v0.9.14",
|
|
41
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/tester",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/badge to v0.0.21",
|
|
47
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui-react-native/tester",
|
|
52
|
+
"comment": "Bump @fluentui-react-native/button to v0.22.11",
|
|
53
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui-react-native/tester",
|
|
58
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.9.13",
|
|
59
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@fluentui-react-native/tester",
|
|
64
|
+
"comment": "Bump @fluentui-react-native/experimental-activity-indicator to v0.5.18",
|
|
65
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "beachball",
|
|
69
|
+
"package": "@fluentui-react-native/tester",
|
|
70
|
+
"comment": "Bump @fluentui-react-native/experimental-avatar to v0.14.10",
|
|
71
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"author": "beachball",
|
|
75
|
+
"package": "@fluentui-react-native/tester",
|
|
76
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.15.11",
|
|
77
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"author": "beachball",
|
|
81
|
+
"package": "@fluentui-react-native/tester",
|
|
82
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.10.8",
|
|
83
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"author": "beachball",
|
|
87
|
+
"package": "@fluentui-react-native/tester",
|
|
88
|
+
"comment": "Bump @fluentui-react-native/experimental-drawer to v0.1.1",
|
|
89
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"author": "beachball",
|
|
93
|
+
"package": "@fluentui-react-native/tester",
|
|
94
|
+
"comment": "Bump @fluentui-react-native/experimental-expander to v0.3.20",
|
|
95
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"author": "beachball",
|
|
99
|
+
"package": "@fluentui-react-native/tester",
|
|
100
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.3.23",
|
|
101
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"author": "beachball",
|
|
105
|
+
"package": "@fluentui-react-native/tester",
|
|
106
|
+
"comment": "Bump @fluentui-react-native/experimental-shimmer to v0.6.22",
|
|
107
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"author": "beachball",
|
|
111
|
+
"package": "@fluentui-react-native/tester",
|
|
112
|
+
"comment": "Bump @fluentui-react-native/experimental-tabs to v0.4.32",
|
|
113
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"author": "beachball",
|
|
117
|
+
"package": "@fluentui-react-native/tester",
|
|
118
|
+
"comment": "Bump @fluentui-react-native/experimental-text to v0.7.19",
|
|
119
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"author": "beachball",
|
|
123
|
+
"package": "@fluentui-react-native/tester",
|
|
124
|
+
"comment": "Bump @fluentui-react-native/framework to v0.7.19",
|
|
125
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"author": "beachball",
|
|
129
|
+
"package": "@fluentui-react-native/tester",
|
|
130
|
+
"comment": "Bump @fluentui-react-native/icon to v0.11.14",
|
|
131
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"author": "beachball",
|
|
135
|
+
"package": "@fluentui-react-native/tester",
|
|
136
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.14.6",
|
|
137
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"author": "beachball",
|
|
141
|
+
"package": "@fluentui-react-native/tester",
|
|
142
|
+
"comment": "Bump @fluentui-react-native/stack to v0.6.19",
|
|
143
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"author": "beachball",
|
|
147
|
+
"package": "@fluentui-react-native/tester",
|
|
148
|
+
"comment": "Bump @fluentui-react-native/theme to v0.6.6",
|
|
149
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"author": "beachball",
|
|
153
|
+
"package": "@fluentui-react-native/tester",
|
|
154
|
+
"comment": "Bump @fluentui-react-native/theme-types to v0.14.1",
|
|
155
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "beachball",
|
|
159
|
+
"package": "@fluentui-react-native/tester",
|
|
160
|
+
"comment": "Bump @fluentui-react-native/themed-stylesheet to v1.3.3",
|
|
161
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"author": "beachball",
|
|
165
|
+
"package": "@fluentui-react-native/tester",
|
|
166
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.9.2",
|
|
167
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"author": "beachball",
|
|
171
|
+
"package": "@fluentui-react-native/tester",
|
|
172
|
+
"comment": "Bump @fluentui-react-native/win32-theme to v0.14.15",
|
|
173
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"author": "beachball",
|
|
177
|
+
"package": "@fluentui-react-native/tester",
|
|
178
|
+
"comment": "Bump @fluentui/react-native to v0.28.1",
|
|
179
|
+
"commit": "c39b4436f2ca160a31ca1d7ca9fa8bf7d59512ed"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"date": "Wed, 30 Mar 2022 16:31:51 GMT",
|
|
186
|
+
"tag": "@fluentui-react-native/tester_v0.58.15",
|
|
187
|
+
"version": "0.58.15",
|
|
188
|
+
"comments": {
|
|
189
|
+
"patch": [
|
|
190
|
+
{
|
|
191
|
+
"author": "ruaraki@microsoft.com",
|
|
192
|
+
"package": "@fluentui-react-native/tester",
|
|
193
|
+
"commit": "69a7369894cb51971a3b008c4b5acbe97b8d95e3",
|
|
194
|
+
"comment": "Switch tests to use core package for Button"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"author": "beachball",
|
|
198
|
+
"package": "@fluentui-react-native/tester",
|
|
199
|
+
"comment": "Bump @fluentui/react-native to v0.28.0",
|
|
200
|
+
"commit": "852de045b5b2dbf041734bac2a225d9a122b70eb"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"date": "Mon, 28 Mar 2022 15:02:37 GMT",
|
|
6
207
|
"tag": "@fluentui-react-native/tester_v0.58.14",
|
|
7
208
|
"version": "0.58.14",
|
|
8
209
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,62 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Thu, 31 Mar 2022 21:43:42 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.59.0
|
|
8
|
+
|
|
9
|
+
Thu, 31 Mar 2022 21:43:42 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- Upgrade appium (ruaraki@microsoft.com)
|
|
14
|
+
|
|
15
|
+
## 0.58.16
|
|
16
|
+
|
|
17
|
+
Thu, 31 Mar 2022 07:27:47 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Ban `export *` in index files for better tree-shakeability (4123478+tido64@users.noreply.github.com)
|
|
22
|
+
- Bump @fluentui-react-native/android-theme to v0.5.6
|
|
23
|
+
- Bump @fluentui-react-native/apple-theme to v0.9.14
|
|
24
|
+
- Bump @fluentui-react-native/badge to v0.0.21
|
|
25
|
+
- Bump @fluentui-react-native/button to v0.22.11
|
|
26
|
+
- Bump @fluentui-react-native/default-theme to v0.9.13
|
|
27
|
+
- Bump @fluentui-react-native/experimental-activity-indicator to v0.5.18
|
|
28
|
+
- Bump @fluentui-react-native/experimental-avatar to v0.14.10
|
|
29
|
+
- Bump @fluentui-react-native/experimental-button to v0.15.11
|
|
30
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.10.8
|
|
31
|
+
- Bump @fluentui-react-native/experimental-drawer to v0.1.1
|
|
32
|
+
- Bump @fluentui-react-native/experimental-expander to v0.3.20
|
|
33
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.3.23
|
|
34
|
+
- Bump @fluentui-react-native/experimental-shimmer to v0.6.22
|
|
35
|
+
- Bump @fluentui-react-native/experimental-tabs to v0.4.32
|
|
36
|
+
- Bump @fluentui-react-native/experimental-text to v0.7.19
|
|
37
|
+
- Bump @fluentui-react-native/framework to v0.7.19
|
|
38
|
+
- Bump @fluentui-react-native/icon to v0.11.14
|
|
39
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.14.6
|
|
40
|
+
- Bump @fluentui-react-native/stack to v0.6.19
|
|
41
|
+
- Bump @fluentui-react-native/theme to v0.6.6
|
|
42
|
+
- Bump @fluentui-react-native/theme-types to v0.14.1
|
|
43
|
+
- Bump @fluentui-react-native/themed-stylesheet to v1.3.3
|
|
44
|
+
- Bump @fluentui-react-native/theming-utils to v0.9.2
|
|
45
|
+
- Bump @fluentui-react-native/win32-theme to v0.14.15
|
|
46
|
+
- Bump @fluentui/react-native to v0.28.1
|
|
47
|
+
|
|
48
|
+
## 0.58.15
|
|
49
|
+
|
|
50
|
+
Wed, 30 Mar 2022 16:31:51 GMT
|
|
51
|
+
|
|
52
|
+
### Patches
|
|
53
|
+
|
|
54
|
+
- Switch tests to use core package for Button (ruaraki@microsoft.com)
|
|
55
|
+
- Bump @fluentui/react-native to v0.28.0
|
|
56
|
+
|
|
7
57
|
## 0.58.14
|
|
8
58
|
|
|
9
|
-
Mon, 28 Mar 2022 15:
|
|
59
|
+
Mon, 28 Mar 2022 15:02:37 GMT
|
|
10
60
|
|
|
11
61
|
### Patches
|
|
12
62
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonV1 as Button } from '@fluentui
|
|
1
|
+
import { ButtonV1 as Button } from '@fluentui/react-native';
|
|
2
2
|
import { Text } from '@fluentui-react-native/experimental-text';
|
|
3
3
|
import { Icon } from '@fluentui-react-native/icon';
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonHOCTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonHOCTestSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"ButtonHOCTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonHOCTestSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,IAAI,EAAE,M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AC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAY,CAAC,CAAC;IAE7F,OAAO,CACL,oBAAC,IAAI,IAAC,KAAK,EAAE,UAAU;QACrB,oBAAC,YAAY,IAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,EAAE,YAAY,EAAE,SAAS,iCAEvD;QACd,eAAe,IAAI,oBAAC,gBAAgB,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,6BAA2C;QAC9G,oBAAC,MAAM,IACL,KAAK,EAAE,gBAAgB,CAAC,OAAO,EAC/B,OAAO,EAAE,UAAC,CAAmB;gBAC3B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;gBAEzB,IAAI,uBAAuB,CAAC,CAAC,CAAC,EAAE;oBAC9B,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;iBAC/B;gBAED,IAAI,SAAS,CAAC,OAAO,EAAE;oBACrB,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;iBAC3B;YACH,CAAC,uCAGM;QACT,oBAAC,cAAc,IAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,0DAAsE,CAChH,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import { ButtonV1 as Button } from '@fluentui
|
|
2
|
+
import { ButtonV1 as Button } from '@fluentui/react-native';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { Platform, View, StyleSheet } from 'react-native';
|
|
5
5
|
import { commonTestStyles, stackStyle } from '../Common/styles';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonIconTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonIconTestSection.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"ButtonIconTestSection.js","s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B,CACA,CACV,CACI,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonV1 as Button, CompoundButton } from '@fluentui
|
|
1
|
+
import { ButtonV1 as Button, CompoundButton } from '@fluentui/react-native';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { View } from 'react-native';
|
|
4
4
|
import { commonTestStyles, stackStyle } from '../Common/styles';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonShapeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonShapeTestSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,cAAc,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"ButtonShapeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonShapeTestSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC5E,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEhE,MAAM,CAAC,IAAM,eAAe,GAA4B;IACtD,OAAO,CACL,oBAAC,IAAI,IAAC,KAAK,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC,IAAI,CAAC;QAC9C,oBAAC,MAAM,IAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,6BAE9C;QACT,oBAAC,MAAM,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,oBAE7C;QACT,oBAAC,MAAM,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,sBAE/C;QACT,oBAAC,MAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,6BAEnE;QACT,oBAAC,MAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,oBAElE;QACT,oBAAC,MAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,sBAEpE;QACT,oBAAC,cAAc,IAAC,gBAAgB,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,sBAEzE;QACjB,oBAAC,cAAc,IAAC,gBAAgB,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,sBAEvE;QACjB,oBAAC,cAAc,IAAC,gBAAgB,EAAC,UAAU,EAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,sBAE3E,CACZ,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonV1 as Button, CompoundButton } from '@fluentui
|
|
1
|
+
import { ButtonV1 as Button, CompoundButton } from '@fluentui/react-native';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Platform, View } from 'react-native';
|
|
4
4
|
import { commonTestStyles, stackStyle } from '../Common/styles';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSizeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonSizeTestSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,cAAc,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"ButtonSizeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonSizeTestSection.tsx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IAAC,gBAAgB,EAAC,uBAAuB,EAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,sBAEpF;QAChB,eAAe,IAAI,CAClB;YACE,oBAAC,cAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,cAE9G;YACjB,oBAAC,cAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,cAE/G;YACjB,oBAAC,cAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,cAE9G,CAChB,CACJ,CACI,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
2
2
|
import { Text } from '@fluentui/react-native';
|
|
3
|
-
import { ButtonV1 as Button } from '@fluentui
|
|
3
|
+
import { ButtonV1 as Button } from '@fluentui/react-native';
|
|
4
4
|
import { Stack } from '@fluentui-react-native/stack';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { View } from 'react-native';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"E2EButtonTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/E2EButtonTest.tsx"],"names":[],"mappings":"AAAA,uDAAuD;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,QAAQ,IAAI,MAAM,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"E2EButtonTest.js","source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"version":3,"file":"ToggleButtonTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ToggleButtonTestSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"ToggleButtonTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ToggleButtonTestSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEhE,IAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,GAAG,EAAE;QACH,aAAa,EAAE,KAAK;KACrB;IACD,OAAO,EAAE;QACP,gBAAgB,EAAE,CAAC;KACpB;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,IAAM,gBAAgB,GAA4B;IACjD,IAAA,KAAsC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAA1D,cAAc,QAAA,EAAE,iBAAiB,QAAyB,CAAC;IAClE,IAAM,gBAAgB,GAAG,KAAK,CAAC,WAAW,CAAC,cAAM,OAAA,iBAAiB,CAAC,CAAC,cAAc,CAAC,EAAlC,CAAkC,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC,CAAC;IACpH,IAAA,KAAoC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAxD,aAAa,QAAA,EAAE,gBAAgB,QAAyB,CAAC;IAChE,IAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CAAC,cAAM,OAAA,gBAAgB,CAAC,CAAC,aAAa,CAAC,EAAhC,CAAgC,EAAE,CAAC,aAAa,EAAE,gBAAgB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AAC,OAAO,CAAC,GAAI,CACnH;QACP,oBAAC,YAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,QAAC,KAAK,EAAE,gBAAgB,CAAC,OAAO,4BAE1D;QACf,oBAAC,YAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,gBAAgB,CAAC,OAAO,8BAElE,CACV,CACR,CAAC;AACJ,CAAC,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { FluentTesterApp } from './FluentTester';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { FluentTesterApp } from './FluentTester';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ButtonHOCTest = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var
|
|
5
|
+
var react_native_1 = require("@fluentui/react-native");
|
|
6
6
|
var experimental_text_1 = require("@fluentui-react-native/experimental-text");
|
|
7
7
|
var icon_1 = require("@fluentui-react-native/icon");
|
|
8
8
|
var React = (0, tslib_1.__importStar)(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var react_native_2 = require("react-native");
|
|
10
10
|
var styles_1 = require("../Common/styles");
|
|
11
11
|
var test_svg_1 = (0, tslib_1.__importDefault)(require("./test.svg"));
|
|
12
12
|
var interactive_hooks_1 = require("@fluentui-react-native/interactive-hooks");
|
|
13
13
|
var CustomText = experimental_text_1.Text.customize({ fontSize: 'header', color: 'hotpink' });
|
|
14
|
-
var CustomButton =
|
|
15
|
-
var CustomIconButton =
|
|
16
|
-
var ComposedButton =
|
|
14
|
+
var CustomButton = react_native_1.ButtonV1.customize({ backgroundColor: 'pink' });
|
|
15
|
+
var CustomIconButton = react_native_1.ButtonV1.customize({ iconColor: 'yellow' });
|
|
16
|
+
var ComposedButton = react_native_1.ButtonV1.compose({
|
|
17
17
|
slots: {
|
|
18
|
-
root:
|
|
18
|
+
root: react_native_2.View,
|
|
19
19
|
icon: icon_1.Icon,
|
|
20
20
|
content: CustomText,
|
|
21
21
|
},
|
|
@@ -31,11 +31,11 @@ var svgProps = {
|
|
|
31
31
|
};
|
|
32
32
|
var ButtonHOCTest = function () {
|
|
33
33
|
var buttonRef = React.useRef(null);
|
|
34
|
-
var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(
|
|
35
|
-
return (React.createElement(
|
|
34
|
+
var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(react_native_2.Platform.OS);
|
|
35
|
+
return (React.createElement(react_native_2.View, { style: styles_1.stackStyle },
|
|
36
36
|
React.createElement(CustomButton, { style: styles_1.commonTestStyles.vmargin, componentRef: buttonRef }, "Customized Button with ref"),
|
|
37
37
|
svgIconsEnabled && React.createElement(CustomIconButton, { icon: { svgSource: svgProps } }, "Customized Icon Button"),
|
|
38
|
-
React.createElement(
|
|
38
|
+
React.createElement(react_native_1.ButtonV1, { style: styles_1.commonTestStyles.vmargin, onClick: function (e) {
|
|
39
39
|
console.log(e.timeStamp);
|
|
40
40
|
if ((0, interactive_hooks_1.isGestureResponderEvent)(e)) {
|
|
41
41
|
console.log('I was clicked!');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonHOCTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonHOCTestSection.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"ButtonHOCTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonHOCTestSection.tsx"],"names":[],"mappings":";;;;AAAA,uDAA4D;AAC5D,8EAAgE;AAChE,oDAAiE;AACjE,wDAA+B;AAC/B,6CAA8C;AAC9C,2CAAgE;AAChE,qEAAiC;AACjC,8EAAqG;AAErG,IAAM,UAAU,GAAG,wBAAI,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;AAC5E,IAAM,YAAY,GAAG,uBAAM,CAAC,SAAS,CAAC,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC,CAAC;AACnE,IAAM,gBAAgB,GAAG,uBAAM,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,CAAC;AACnE,IAAM,cAAc,GAAG,uBAAM,CAAC,OAAO,CAAC;IACpC,KAAK,EAAE;QACL,IAAI,EAAE,mBAAI;QACV,IAAI,EAAE,WAAI;QACV,OAAO,EAAE,UAAU;KACpB;IACD,SAAS,EAAE;QACT,OAAO,EAAE;YACP,KAAK,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,EAAE;SACzE;KACF;CACF,CAAC,CAAC;AACH,IAAM,QAAQ,GAAiB;IAC7B,GAAG,EAAE,kBAAO;IACZ,OAAO,EAAE,aAAa;CACvB,CAAC;AAEK,IAAM,aAAa,GAA4B;IACpD,IAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACrC,IAAM,eAAe,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,uBAAQ,CAAC,EAAY,CAAC,CAAC;IAE7F,OAAO,CACL,oBAAC,mBAAI,IAAC,KAAK,EAAE,mBAAU;QACrB,oBAAC,YAAY,IAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,EAAE,YAAY,EAAE,SAAS,iCAEvD;QACd,eAAe,IAAI,oBAAC,gBAAgB,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,6BAA2C;QAC9G,oBAAC,uBAAM,IACL,KAAK,EAAE,yBAAgB,CAAC,OAAO,EAC/B,OAAO,EAAE,UAAC,CAAmB;gBAC3B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;gBAEzB,IAAI,IAAA,2CAAuB,EAAC,CAAC,CAAC,EAAE;oBAC9B,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;iBAC/B;gBAED,IAAI,SAAS,CAAC,OAAO,EAAE;oBACrB,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;iBAC3B;YACH,CAAC,uCAGM;QACT,oBAAC,cAAc,IAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,0DAAsE,CAChH,CACR,CAAC;AACJ,CAAC,CAAC;AA7BW,QAAA,aAAa,iBA6BxB"}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ButtonIconTest = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var
|
|
5
|
+
var react_native_1 = require("@fluentui/react-native");
|
|
6
6
|
var React = (0, tslib_1.__importStar)(require("react"));
|
|
7
|
-
var
|
|
7
|
+
var react_native_2 = require("react-native");
|
|
8
8
|
var styles_1 = require("../Common/styles");
|
|
9
9
|
var test_svg_1 = (0, tslib_1.__importDefault)(require("./test.svg"));
|
|
10
10
|
var react_native_svg_1 = require("react-native-svg");
|
|
11
|
-
var styles =
|
|
11
|
+
var styles = react_native_2.StyleSheet.create({
|
|
12
12
|
chevron: { paddingStart: 4 },
|
|
13
13
|
});
|
|
14
14
|
var ButtonIconTest = function () {
|
|
@@ -23,21 +23,21 @@ var ButtonIconTest = function () {
|
|
|
23
23
|
src: test_svg_1.default,
|
|
24
24
|
viewBox: '0 0 500 500',
|
|
25
25
|
};
|
|
26
|
-
var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(
|
|
26
|
+
var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(react_native_2.Platform.OS);
|
|
27
27
|
var chevronXml = "\n <svg width=\"12\" height=\"16\" viewBox=\"0 0 11 6\" color=\"#000\">\n <path fill='currentColor' d='M0.646447 0.646447C0.841709 0.451184 1.15829 0.451184 1.35355 0.646447L5.5 4.79289L9.64645 0.646447C9.84171 0.451185 10.1583 0.451185 10.3536 0.646447C10.5488 0.841709 10.5488 1.15829 10.3536 1.35355L5.85355 5.85355C5.65829 6.04882 5.34171 6.04882 5.14645 5.85355L0.646447 1.35355C0.451184 1.15829 0.451184 0.841709 0.646447 0.646447Z' />\n </svg>";
|
|
28
|
-
return (React.createElement(
|
|
29
|
-
React.createElement(
|
|
30
|
-
React.createElement(
|
|
31
|
-
React.createElement(
|
|
32
|
-
React.createElement(
|
|
28
|
+
return (React.createElement(react_native_2.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
|
|
29
|
+
React.createElement(react_native_1.ButtonV1, { icon: { fontSource: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, fontBuiltInProps), { fontSize: 32 }), color: '#060' }, style: styles_1.commonTestStyles.vmargin }, "Font icon"),
|
|
30
|
+
React.createElement(react_native_1.ButtonV1, { icon: { fontSource: (0, tslib_1.__assign)((0, tslib_1.__assign)({}, fontBuiltInProps), { fontSize: 32 }), color: '#060' }, style: styles_1.commonTestStyles.vmargin, iconPosition: "after" }, "Icon after"),
|
|
31
|
+
React.createElement(react_native_1.ButtonV1, { icon: { fontSource: fontBuiltInProps }, style: styles_1.commonTestStyles.vmargin }, "Font icon"),
|
|
32
|
+
React.createElement(react_native_1.ButtonV1, { appearance: "primary", icon: { fontSource: fontBuiltInProps }, style: styles_1.commonTestStyles.vmargin }, "Font icon"),
|
|
33
33
|
svgIconsEnabled && (React.createElement(React.Fragment, null,
|
|
34
|
-
React.createElement(
|
|
35
|
-
React.createElement(
|
|
36
|
-
React.createElement(
|
|
37
|
-
React.createElement(
|
|
38
|
-
svgIconsEnabled && (React.createElement(
|
|
34
|
+
React.createElement(react_native_1.ButtonV1, { appearance: "primary", icon: { svgSource: svgProps, color: 'red' }, style: styles_1.commonTestStyles.vmargin }, "SVG"),
|
|
35
|
+
React.createElement(react_native_1.ButtonV1, { icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "SVG"))),
|
|
36
|
+
React.createElement(react_native_1.ButtonV1, { appearance: "primary", icon: testImage, style: styles_1.commonTestStyles.vmargin }, "PNG"),
|
|
37
|
+
React.createElement(react_native_1.ButtonV1, { icon: testImage, style: styles_1.commonTestStyles.vmargin }, "PNG"),
|
|
38
|
+
svgIconsEnabled && (React.createElement(react_native_1.ButtonV1, { style: styles_1.commonTestStyles.vmargin, icon: { svgSource: svgProps } },
|
|
39
39
|
"Icon Button and Chevron",
|
|
40
|
-
React.createElement(
|
|
40
|
+
React.createElement(react_native_2.View, { style: styles.chevron },
|
|
41
41
|
React.createElement(react_native_svg_1.SvgXml, { xml: chevronXml }))))));
|
|
42
42
|
};
|
|
43
43
|
exports.ButtonIconTest = ButtonIconTest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonIconTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonIconTestSection.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"ButtonIconTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonIconTestSection.tsx"],"names":[],"mappings":";;;;AAAA,uDAA4D;AAC5D,wDAA+B;AAC/B,6CAA0D;AAC1D,2CAAgE;AAEhE,qEAAiC;AACjC,qDAA0C;AAE1C,IAAM,MAAM,GAAG,yBAAU,CAAC,MAAM,CAAC;IAC/B,OAAO,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE;CAC7B,CAAC,CAAC;AAEI,IAAM,cAAc,GAA4B;IACrD,IAAM,gBAAgB,GAAG;QACvB,UAAU,EAAE,OAAO;QACnB,SAAS,EAAE,MAAM;QACjB,QAAQ,EAAE,EAAE;KACb,CAAC;IAEF,uDAAuD;IACvD,IAAM,SAAS,GAAG,OAAO,CAAC,qCAAqC,CAAC,CAAC;IAEjE,IAAM,QAAQ,GAAiB;QAC7B,GAAG,EAAE,kBAAO;QACZ,OAAO,EAAE,aAAa;KACvB,CAAC;IACF,IAAM,eAAe,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,uBAAQ,CAAC,EAAY,CAAC,CAAC;IAE7F,IAAM,UAAU,GAAG,ieAGJ,CAAC;IAEhB,OAAO,CACL,oBAAC,mBAAI,IAAC,KAAK,EAAE,CAAC,mBAAU,EAAE,yBAAgB,CAAC,IAAI,CAAC;QAC9C,oBAAC,uBAAM,IAAC,IAAI,EAAE,EAAE,UAAU,kDAAO,gBAAgB,KAAE,QAAQ,EAAE,EAAE,GAAE,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,gBAE1G;QACT,oBAAC,uBAAM,IACL,IAAI,EAAE,EAAE,UAAU,kDAAO,gBAAgB,KAAE,QAAQ,EAAE,EAAE,GAAE,EAAE,KAAK,EAAE,MAAM,EAAE,E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3
|
exports.ButtonShapeTest = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var
|
|
5
|
+
var react_native_1 = require("@fluentui/react-native");
|
|
6
6
|
var React = (0, tslib_1.__importStar)(require("react"));
|
|
7
|
-
var
|
|
7
|
+
var react_native_2 = require("react-native");
|
|
8
8
|
var styles_1 = require("../Common/styles");
|
|
9
9
|
var ButtonShapeTest = function () {
|
|
10
|
-
return (React.createElement(
|
|
11
|
-
React.createElement(
|
|
12
|
-
React.createElement(
|
|
13
|
-
React.createElement(
|
|
14
|
-
React.createElement(
|
|
15
|
-
React.createElement(
|
|
16
|
-
React.createElement(
|
|
17
|
-
React.createElement(
|
|
18
|
-
React.createElement(
|
|
19
|
-
React.createElement(
|
|
10
|
+
return (React.createElement(react_native_2.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
|
|
11
|
+
React.createElement(react_native_1.ButtonV1, { shape: "rounded", style: styles_1.commonTestStyles.vmargin }, "Default Rounded Button"),
|
|
12
|
+
React.createElement(react_native_1.ButtonV1, { shape: "square", style: styles_1.commonTestStyles.vmargin }, "Square Button"),
|
|
13
|
+
React.createElement(react_native_1.ButtonV1, { shape: "circular", style: styles_1.commonTestStyles.vmargin }, "Circular Button"),
|
|
14
|
+
React.createElement(react_native_1.ButtonV1, { appearance: "primary", shape: "rounded", style: styles_1.commonTestStyles.vmargin }, "Primary Rounded Button"),
|
|
15
|
+
React.createElement(react_native_1.ButtonV1, { appearance: "primary", shape: "square", style: styles_1.commonTestStyles.vmargin }, "Square Button"),
|
|
16
|
+
React.createElement(react_native_1.ButtonV1, { appearance: "primary", shape: "circular", style: styles_1.commonTestStyles.vmargin }, "Circular Button"),
|
|
17
|
+
React.createElement(react_native_1.CompoundButton, { secondaryContent: "rounded", shape: "rounded", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
|
|
18
|
+
React.createElement(react_native_1.CompoundButton, { secondaryContent: "square", shape: "square", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
|
|
19
|
+
React.createElement(react_native_1.CompoundButton, { secondaryContent: "circular", shape: "circular", style: styles_1.commonTestStyles.vmargin }, "Compound Button")));
|
|
20
20
|
};
|
|
21
21
|
exports.ButtonShapeTest = ButtonShapeTest;
|
|
22
22
|
//# sourceMappingURL=ButtonShapeTestSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonShapeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonShapeTestSection.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"ButtonShapeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonShapeTestSection.tsx"],"names":[],"mappings":";;;;AAAA,uDAA4E;AAC5E,wDAA+B;AAC/B,6CAAoC;AACpC,2CAAgE;AAEzD,IAAM,eAAe,GAA4B;IACtD,OAAO,CACL,oBAAC,mBAAI,IAAC,KAAK,EAAE,CAAC,mBAAU,EAAE,yBAAgB,CAAC,IAAI,CAAC;QAC9C,oBAAC,uBAAM,IAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,6BAE9C;QACT,oBAAC,uBAAM,IAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,oBAE7C;QACT,oBAAC,uBAAM,IAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAE/C;QACT,oBAAC,uBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,6BAEnE;QACT,oBAAC,uBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,oBAElE;QACT,oBAAC,uBAAM,IAAC,UAAU,EAAC,SAAS,EAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAEpE;QACT,oBAAC,6BAAc,IAAC,gBAAgB,EAAC,SAAS,EAAC,KAAK,EAAC,SAAS,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAEzE;QACjB,oBAAC,6BAAc,IAAC,gBAAgB,EAAC,QAAQ,EAAC,KAAK,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAEvE;QACjB,oBAAC,6BAAc,IAAC,gBAAgB,EAAC,UAAU,EAAC,KAAK,EAAC,UAAU,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,sBAE3E,CACZ,CACR,CAAC;AACJ,CAAC,CAAC;AAhCW,QAAA,eAAe,mBAgC1B"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ButtonSizeTest = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var
|
|
5
|
+
var react_native_1 = require("@fluentui/react-native");
|
|
6
6
|
var React = (0, tslib_1.__importStar)(require("react"));
|
|
7
|
-
var
|
|
7
|
+
var react_native_2 = require("react-native");
|
|
8
8
|
var styles_1 = require("../Common/styles");
|
|
9
9
|
var test_svg_1 = (0, tslib_1.__importDefault)(require("./test.svg"));
|
|
10
10
|
var ButtonSizeTest = function () {
|
|
@@ -12,28 +12,28 @@ var ButtonSizeTest = function () {
|
|
|
12
12
|
src: test_svg_1.default,
|
|
13
13
|
viewBox: '0 0 500 500',
|
|
14
14
|
};
|
|
15
|
-
var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(
|
|
16
|
-
return (React.createElement(
|
|
15
|
+
var svgIconsEnabled = ['ios', 'macos', 'win32', 'android'].includes(react_native_2.Platform.OS);
|
|
16
|
+
return (React.createElement(react_native_2.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
|
|
17
17
|
svgIconsEnabled && (React.createElement(React.Fragment, null,
|
|
18
|
-
React.createElement(
|
|
19
|
-
React.createElement(
|
|
20
|
-
React.createElement(
|
|
21
|
-
React.createElement(
|
|
22
|
-
React.createElement(
|
|
23
|
-
React.createElement(
|
|
24
|
-
React.createElement(
|
|
25
|
-
React.createElement(
|
|
26
|
-
React.createElement(
|
|
27
|
-
React.createElement(
|
|
28
|
-
React.createElement(
|
|
29
|
-
React.createElement(
|
|
30
|
-
React.createElement(
|
|
31
|
-
React.createElement(
|
|
32
|
-
React.createElement(
|
|
18
|
+
React.createElement(react_native_1.ButtonV1, { iconOnly: true, size: "small", icon: { svgSource: svgProps }, accessibilityLabel: "Small size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
|
|
19
|
+
React.createElement(react_native_1.ButtonV1, { iconOnly: true, size: "medium", icon: { svgSource: svgProps }, accessibilityLabel: "Medium size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
|
|
20
|
+
React.createElement(react_native_1.ButtonV1, { iconOnly: true, size: "large", icon: { svgSource: svgProps }, accessibilityLabel: "Large size button with accessibility icon", style: styles_1.commonTestStyles.vmargin }),
|
|
21
|
+
React.createElement(react_native_1.ButtonV1, { size: "small", icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "Small Button with icon"),
|
|
22
|
+
React.createElement(react_native_1.ButtonV1, { size: "medium", icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "Medium Button with icon"),
|
|
23
|
+
React.createElement(react_native_1.ButtonV1, { size: "large", icon: { svgSource: svgProps }, style: styles_1.commonTestStyles.vmargin }, "Large Button with icon"))),
|
|
24
|
+
React.createElement(react_native_1.ButtonV1, { size: "small", style: styles_1.commonTestStyles.vmargin }, "Small"),
|
|
25
|
+
React.createElement(react_native_1.ButtonV1, { size: "medium", style: styles_1.commonTestStyles.vmargin }, "Medium"),
|
|
26
|
+
React.createElement(react_native_1.ButtonV1, { size: "large", style: styles_1.commonTestStyles.vmargin }, "Large"),
|
|
27
|
+
React.createElement(react_native_1.ButtonV1, { loading: true, size: "small", style: styles_1.commonTestStyles.vmargin }, "Loading Button Small"),
|
|
28
|
+
React.createElement(react_native_1.ButtonV1, { loading: true, size: "medium", style: styles_1.commonTestStyles.vmargin }, "Loading Button Medium"),
|
|
29
|
+
React.createElement(react_native_1.ButtonV1, { loading: true, size: "large", style: styles_1.commonTestStyles.vmargin }, "Loading Button Large"),
|
|
30
|
+
React.createElement(react_native_1.CompoundButton, { secondaryContent: "Small compound button", size: "small", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
|
|
31
|
+
React.createElement(react_native_1.CompoundButton, { secondaryContent: "Medium compound button", size: "medium", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
|
|
32
|
+
React.createElement(react_native_1.CompoundButton, { secondaryContent: "Large compound button", size: "large", style: styles_1.commonTestStyles.vmargin }, "Compound Button"),
|
|
33
33
|
svgIconsEnabled && (React.createElement(React.Fragment, null,
|
|
34
|
-
React.createElement(
|
|
35
|
-
React.createElement(
|
|
36
|
-
React.createElement(
|
|
34
|
+
React.createElement(react_native_1.CompoundButton, { icon: { svgSource: svgProps }, secondaryContent: "SecondaryContent", size: "small", style: styles_1.commonTestStyles.vmargin }, "Content"),
|
|
35
|
+
React.createElement(react_native_1.CompoundButton, { icon: { svgSource: svgProps }, secondaryContent: "SecondaryContent", size: "medium", style: styles_1.commonTestStyles.vmargin }, "Content"),
|
|
36
|
+
React.createElement(react_native_1.CompoundButton, { icon: { svgSource: svgProps }, secondaryContent: "SecondaryContent", size: "large", style: styles_1.commonTestStyles.vmargin }, "Content")))));
|
|
37
37
|
};
|
|
38
38
|
exports.ButtonSizeTest = ButtonSizeTest;
|
|
39
39
|
//# sourceMappingURL=ButtonSizeTestSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSizeTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ButtonSizeTestSection.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"ButtonSizeT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,oBAAC,6BAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,cAE9G;YACjB,oBAAC,6BAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,cAE/G;YACjB,oBAAC,6BAAc,IAAC,IAAI,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,gBAAgB,EAAC,kBAAkB,EAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,cAE9G,CAChB,CACJ,CACI,CACR,CAAC;AACJ,CAAC,CAAC;AApFW,QAAA,cAAc,kBAoFzB"}
|
|
@@ -4,10 +4,10 @@ exports.E2EButtonExperimentalTest = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
6
6
|
var react_native_1 = require("@fluentui/react-native");
|
|
7
|
-
var
|
|
7
|
+
var react_native_2 = require("@fluentui/react-native");
|
|
8
8
|
var stack_1 = require("@fluentui-react-native/stack");
|
|
9
9
|
var React = (0, tslib_1.__importStar)(require("react"));
|
|
10
|
-
var
|
|
10
|
+
var react_native_3 = require("react-native");
|
|
11
11
|
var styles_1 = require("../Common/styles");
|
|
12
12
|
var consts_1 = require("./consts");
|
|
13
13
|
var E2EButtonExperimentalTest = function () {
|
|
@@ -15,10 +15,10 @@ var E2EButtonExperimentalTest = function () {
|
|
|
15
15
|
var onClick = React.useCallback(function () {
|
|
16
16
|
setButtonPressed(!buttonPressed);
|
|
17
17
|
}, [buttonPressed]);
|
|
18
|
-
return (React.createElement(
|
|
18
|
+
return (React.createElement(react_native_3.View, null,
|
|
19
19
|
React.createElement(stack_1.Stack, { style: styles_1.stackStyle },
|
|
20
|
-
React.createElement(
|
|
21
|
-
React.createElement(
|
|
20
|
+
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"),
|
|
21
|
+
React.createElement(react_native_2.ButtonV1, { testID: consts_1.BUTTON_NO_A11Y_LABEL_COMPONENT, onClick: onClick }, consts_1.BUTTON_TEST_COMPONENT_LABEL),
|
|
22
22
|
buttonPressed ? React.createElement(react_native_1.Text, { testID: consts_1.BUTTON_ON_PRESS }, "Button Pressed") : null)));
|
|
23
23
|
};
|
|
24
24
|
exports.E2EButtonExperimentalTest = E2EButtonExperimentalTest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"E2EButtonTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/E2EButtonTest.tsx"],"names":[],"mappings":";;;;AAAA,uDAAuD;AACvD,uDAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"E2EButtonTest.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/E2EButtonTest.tsx"],"names":[],"mappings":";;;;AAAA,uDAAuD;AACvD,uDAA8C;AAC9C,uDAA4D;AAC5D,sDAAqD;AACrD,wDAA+B;AAC/B,6CAAoC;AACpC,2CAA8C;AAC9C,mCAMkB;AAEX,IAAM,yBAAyB,GAA4B;IAC1D,IAAA,KAAoC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAxD,aAAa,QAAA,EAAE,gBAAgB,QAAyB,CAAC;IAEhE,IAAM,OAAO,GAAG,KAAK,CAAC,WAAW,CAAC;QAChC,gBAAgB,CAAC,CAAC,aAAa,CAAC,CAAC;IACnC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC;IAEpB,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;YACR,aAAa,CAAC,CAAC,CAAC,oBAAC,mBAAI,IAAC,MAAM,EAAE,wBAAe,qBAAuB,CAAC,CAAC,CAAC,IAAI,CACtE,CACH,CACR,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,yBAAyB,6BAoBpC"}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ToggleButtonTest = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
|
-
var button_1 = require("@fluentui-react-native/button");
|
|
6
5
|
var react_native_1 = require("@fluentui/react-native");
|
|
6
|
+
var react_native_2 = require("@fluentui/react-native");
|
|
7
7
|
var React = (0, tslib_1.__importStar)(require("react"));
|
|
8
|
-
var
|
|
8
|
+
var react_native_3 = require("react-native");
|
|
9
9
|
var styles_1 = require("../Common/styles");
|
|
10
|
-
var styles =
|
|
10
|
+
var styles = react_native_3.StyleSheet.create({
|
|
11
11
|
row: {
|
|
12
12
|
flexDirection: 'row',
|
|
13
13
|
},
|
|
@@ -20,20 +20,20 @@ var ToggleButtonTest = function () {
|
|
|
20
20
|
var onDefaultClicked = React.useCallback(function () { return setDefaultChecked(!defaultChecked); }, [defaultChecked, setDefaultChecked]);
|
|
21
21
|
var _b = React.useState(false), subtleChecked = _b[0], setSubtleChecked = _b[1];
|
|
22
22
|
var onGhostClicked = React.useCallback(function () { return setSubtleChecked(!subtleChecked); }, [subtleChecked, setSubtleChecked]);
|
|
23
|
-
return (React.createElement(
|
|
24
|
-
React.createElement(
|
|
25
|
-
React.createElement(
|
|
26
|
-
React.createElement(
|
|
27
|
-
React.createElement(
|
|
28
|
-
React.createElement(
|
|
29
|
-
React.createElement(
|
|
30
|
-
React.createElement(
|
|
31
|
-
React.createElement(
|
|
32
|
-
React.createElement(
|
|
33
|
-
React.createElement(
|
|
34
|
-
React.createElement(
|
|
35
|
-
React.createElement(
|
|
36
|
-
React.createElement(
|
|
23
|
+
return (React.createElement(react_native_3.View, { style: [styles_1.stackStyle, styles_1.commonTestStyles.view] },
|
|
24
|
+
React.createElement(react_native_3.View, { style: styles.row },
|
|
25
|
+
React.createElement(react_native_1.ToggleButton, { onClick: onDefaultClicked, checked: defaultChecked, style: styles_1.commonTestStyles.vmargin }, "Default Toggle"),
|
|
26
|
+
React.createElement(react_native_2.Checkbox, { checked: defaultChecked, label: "Default Toggle is Checked", style: [styles_1.commonTestStyles.vmargin, styles.hmargin] })),
|
|
27
|
+
React.createElement(react_native_1.ToggleButton, { checked: true, style: styles_1.commonTestStyles.vmargin }, "Checked Default Toggle"),
|
|
28
|
+
React.createElement(react_native_1.ToggleButton, { checked: false, style: styles_1.commonTestStyles.vmargin }, "Unchecked Default Toggle"),
|
|
29
|
+
React.createElement(react_native_1.ToggleButton, { appearance: "primary", style: styles_1.commonTestStyles.vmargin }, "Checked Primary Toggle"),
|
|
30
|
+
React.createElement(react_native_1.ToggleButton, { disabled: true, defaultChecked: true, appearance: "primary", style: styles_1.commonTestStyles.vmargin }, "Checked Primary Toggle Disabled"),
|
|
31
|
+
React.createElement(react_native_1.ToggleButton, { defaultChecked: true, appearance: "primary", style: styles_1.commonTestStyles.vmargin }, "Unchecked Primary Toggle"),
|
|
32
|
+
React.createElement(react_native_3.View, { style: styles.row },
|
|
33
|
+
React.createElement(react_native_1.ToggleButton, { appearance: "subtle", onClick: onGhostClicked, checked: subtleChecked, style: styles_1.commonTestStyles.vmargin }, "Subtle Toggle"),
|
|
34
|
+
React.createElement(react_native_2.Checkbox, { checked: subtleChecked, label: "Subtle Toggle is Checked", style: [styles_1.commonTestStyles.vmargin, styles.hmargin] })),
|
|
35
|
+
React.createElement(react_native_1.ToggleButton, { appearance: "subtle", checked: true, style: styles_1.commonTestStyles.vmargin }, "Checked Subtle Toggle"),
|
|
36
|
+
React.createElement(react_native_1.ToggleButton, { appearance: "subtle", checked: false, style: styles_1.commonTestStyles.vmargin }, "Unchecked Subtle Toggle")));
|
|
37
37
|
};
|
|
38
38
|
exports.ToggleButtonTest = ToggleButtonTest;
|
|
39
39
|
//# sourceMappingURL=ToggleButtonTestSection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToggleButtonTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ToggleButtonTestSection.tsx"],"names":[],"mappings":";;;;AAAA,
|
|
1
|
+
{"version":3,"file":"ToggleButtonTestSection.js","sourceRoot":"","sources":["../../../../src/FluentTester/TestComponents/Button/ToggleButtonTestSection.tsx"],"names":[],"mappings":";;;;AAAA,uDAAsD;AACtD,uDAAkD;AAClD,wDAA+B;AAC/B,6CAAgD;AAChD,2CAAgE;AAEhE,IAAM,MAAM,GAAG,yBAAU,CAAC,MAAM,CAAC;IAC/B,GAAG,EAAE;QACH,aAAa,EAAE,KAAK;KACrB;IACD,OAAO,EAAE;QACP,gBAAgB,EAAE,CAAC;KACpB;CACF,CAAC,CAAC;AAEI,IAAM,gBAAgB,GAA4B;IACjD,IAAA,KAAsC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAA1D,cAAc,QAAA,EAAE,iBAAiB,QAAyB,CAAC;IAClE,IAAM,gBAAgB,GAAG,KAAK,CAAC,WAAW,CAAC,cAAM,OAAA,iBAAiB,CAAC,CAAC,cAAc,CAAC,EAAlC,CAAkC,EAAE,CAAC,cAAc,EAAE,iBAAiB,CAAC,CAAC,CAAC;IACpH,IAAA,KAAoC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAxD,aAAa,QAAA,EAAE,gBAAgB,QAAyB,CAAC;IAChE,IAAM,cAAc,GAAG,KAAK,CAAC,WAAW,CAAC,cAAM,OAAA,gBAAgB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a,EAAE,KAAK,EAAC,0BAA0B,EAAC,KAAK,EAAE,CAAC,yBAAgB,CAAC,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,GAAI,CACnH;QACP,oBAAC,2BAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,QAAC,KAAK,EAAE,yBAAgB,CAAC,OAAO,4BAE1D;QACf,oBAAC,2BAAY,IAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,yBAAgB,CAAC,OAAO,8BAElE,CACV,CACR,CAAC;AACJ,CAAC,CAAC;AA3CW,QAAA,gBAAgB,oBA2C3B"}
|
package/lib-commonjs/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { FluentTesterApp } from './FluentTester';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
exports.FluentTesterApp = void 0;
|
|
4
|
+
var FluentTester_1 = require("./FluentTester");
|
|
5
|
+
Object.defineProperty(exports, "FluentTesterApp", { enumerable: true, get: function () { return FluentTester_1.FluentTesterApp; } });
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,+CAAiD;AAAxC,+GAAA,eAAe,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.59.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>",
|
|
@@ -25,32 +25,32 @@
|
|
|
25
25
|
"directory": "apps/fluent-tester"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@fluentui-react-native/android-theme": ">=0.5.
|
|
29
|
-
"@fluentui-react-native/apple-theme": ">=0.9.
|
|
30
|
-
"@fluentui-react-native/badge": ">=0.0.
|
|
31
|
-
"@fluentui-react-native/button": ">=0.22.
|
|
32
|
-
"@fluentui-react-native/default-theme": ">=0.9.
|
|
33
|
-
"@fluentui-react-native/experimental-activity-indicator": ">=0.5.
|
|
34
|
-
"@fluentui-react-native/experimental-avatar": ">=0.14.
|
|
35
|
-
"@fluentui-react-native/experimental-button": "0.15.
|
|
36
|
-
"@fluentui-react-native/experimental-checkbox": "0.10.
|
|
37
|
-
"@fluentui-react-native/experimental-drawer": ">=0.1.
|
|
28
|
+
"@fluentui-react-native/android-theme": ">=0.5.6 <1.0.0",
|
|
29
|
+
"@fluentui-react-native/apple-theme": ">=0.9.14 <1.0.0",
|
|
30
|
+
"@fluentui-react-native/badge": ">=0.0.21 <1.0.0",
|
|
31
|
+
"@fluentui-react-native/button": ">=0.22.11 <1.0.0",
|
|
32
|
+
"@fluentui-react-native/default-theme": ">=0.9.13 <1.0.0",
|
|
33
|
+
"@fluentui-react-native/experimental-activity-indicator": ">=0.5.18 <1.0.0",
|
|
34
|
+
"@fluentui-react-native/experimental-avatar": ">=0.14.10 <1.0.0",
|
|
35
|
+
"@fluentui-react-native/experimental-button": "0.15.11",
|
|
36
|
+
"@fluentui-react-native/experimental-checkbox": "0.10.8",
|
|
37
|
+
"@fluentui-react-native/experimental-drawer": ">=0.1.1 <1.0.0",
|
|
38
38
|
"@fluentui-react-native/experimental-native-date-picker": ">=0.4.1 <1.0.0",
|
|
39
|
-
"@fluentui-react-native/experimental-expander": "0.3.
|
|
40
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.3.
|
|
41
|
-
"@fluentui-react-native/experimental-shimmer": "0.6.
|
|
42
|
-
"@fluentui-react-native/experimental-tabs": "0.4.
|
|
43
|
-
"@fluentui-react-native/experimental-text": ">=0.7.
|
|
44
|
-
"@fluentui-react-native/framework": ">=0.7.
|
|
45
|
-
"@fluentui-react-native/icon": "0.11.
|
|
46
|
-
"@fluentui-react-native/interactive-hooks": ">=0.14.
|
|
47
|
-
"@fluentui-react-native/stack": ">=0.6.
|
|
48
|
-
"@fluentui-react-native/theme": ">=0.6.
|
|
49
|
-
"@fluentui-react-native/theme-types": ">=0.14.
|
|
50
|
-
"@fluentui-react-native/themed-stylesheet": "^1.3.
|
|
51
|
-
"@fluentui-react-native/theming-utils": ">=0.9.
|
|
52
|
-
"@fluentui-react-native/win32-theme": ">=0.14.
|
|
53
|
-
"@fluentui/react-native": ">=0.
|
|
39
|
+
"@fluentui-react-native/experimental-expander": "0.3.20",
|
|
40
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.3.23 <1.0.0",
|
|
41
|
+
"@fluentui-react-native/experimental-shimmer": "0.6.22",
|
|
42
|
+
"@fluentui-react-native/experimental-tabs": "0.4.32",
|
|
43
|
+
"@fluentui-react-native/experimental-text": ">=0.7.19 <1.0.0",
|
|
44
|
+
"@fluentui-react-native/framework": ">=0.7.19 <1.0.0",
|
|
45
|
+
"@fluentui-react-native/icon": "0.11.14",
|
|
46
|
+
"@fluentui-react-native/interactive-hooks": ">=0.14.6 <1.0.0",
|
|
47
|
+
"@fluentui-react-native/stack": ">=0.6.19 <1.0.0",
|
|
48
|
+
"@fluentui-react-native/theme": ">=0.6.6 <1.0.0",
|
|
49
|
+
"@fluentui-react-native/theme-types": ">=0.14.1 <1.0.0",
|
|
50
|
+
"@fluentui-react-native/themed-stylesheet": "^1.3.3",
|
|
51
|
+
"@fluentui-react-native/theming-utils": ">=0.9.2 <1.0.0",
|
|
52
|
+
"@fluentui-react-native/win32-theme": ">=0.14.15 <1.0.0",
|
|
53
|
+
"@fluentui/react-native": ">=0.28.1 <1.0.0",
|
|
54
54
|
"@react-native-community/slider": "^4.2.0",
|
|
55
55
|
"@react-native-menu/menu": "^0.1.2",
|
|
56
56
|
"@react-native-picker/picker": "^2.2.1",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"@wdio/local-runner": "^6.5.0",
|
|
70
70
|
"@wdio/spec-reporter": "^6.5.0",
|
|
71
71
|
"@wdio/sync": "^6.5.0",
|
|
72
|
-
"appium": "
|
|
73
|
-
"appium-mac2-driver": "
|
|
72
|
+
"appium": "^2.0.0-beta.27",
|
|
73
|
+
"appium-mac2-driver": "^1.1.4",
|
|
74
74
|
"flow-bin": "^0.98.0",
|
|
75
75
|
"metro-react-native-babel-preset": "^0.66.2",
|
|
76
76
|
"react": "17.0.1",
|
package/src/E2E/README.md
CHANGED
|
@@ -39,7 +39,9 @@ and drag & drop the **XCode Helper** app to **Security & Privacy -> Privacy -> A
|
|
|
39
39
|
2. Bundle the test app (pick specific platform you want to test, we'll use win32)
|
|
40
40
|
- C:\repo\fluentui-react-native>`cd apps\win32`
|
|
41
41
|
- C:\repo\fluentui-react-native\apps\win32> `yarn bundle`
|
|
42
|
-
3.
|
|
42
|
+
3. Hook up appium to the WinAppDriver (only needed once)
|
|
43
|
+
- C:\repo\fluentui-react-native\apps\win32> `yarn appium driver install windows`
|
|
44
|
+
4. Run E2E tests
|
|
43
45
|
- C:\repo\fluentui-react-native\apps\win32> `yarn e2etest`
|
|
44
46
|
|
|
45
47
|
## UWP Steps
|
|
@@ -48,7 +50,9 @@ and drag & drop the **XCode Helper** app to **Security & Privacy -> Privacy -> A
|
|
|
48
50
|
2. Start the server
|
|
49
51
|
- C:\repo\fluentui-react-native> `cd apps\windows`
|
|
50
52
|
- C:\repo\fluentui-react-native\apps\windows> `yarn start`
|
|
51
|
-
3.
|
|
53
|
+
3. Hook up appium to the WinAppDriver (only needed once)
|
|
54
|
+
- C:\repo\fluentui-react-native\apps\win32> `yarn appium driver install windows`
|
|
55
|
+
4. Open a new command prompt and run the E2E tests
|
|
52
56
|
- C:\repo\fluentui-react-native\apps\windows> `yarn e2etest`
|
|
53
57
|
|
|
54
58
|
_Note: It could take up to a minute to load the test app with WebDriverIO, don't panic, the tests will run :)_
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonV1 as Button } from '@fluentui
|
|
1
|
+
import { ButtonV1 as Button } from '@fluentui/react-native';
|
|
2
2
|
import { Text } from '@fluentui-react-native/experimental-text';
|
|
3
3
|
import { Icon, SvgIconProps } from '@fluentui-react-native/icon';
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonV1 as Button } from '@fluentui
|
|
1
|
+
import { ButtonV1 as Button } from '@fluentui/react-native';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { Platform, View, StyleSheet } from 'react-native';
|
|
4
4
|
import { commonTestStyles, stackStyle } from '../Common/styles';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonV1 as Button, CompoundButton } from '@fluentui
|
|
1
|
+
import { ButtonV1 as Button, CompoundButton } from '@fluentui/react-native';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { View } from 'react-native';
|
|
4
4
|
import { commonTestStyles, stackStyle } from '../Common/styles';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ButtonV1 as Button, CompoundButton } from '@fluentui
|
|
1
|
+
import { ButtonV1 as Button, CompoundButton } from '@fluentui/react-native';
|
|
2
2
|
import { SvgIconProps } from '@fluentui-react-native/icon';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { Platform, View } from 'react-native';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
2
2
|
import { Text } from '@fluentui/react-native';
|
|
3
|
-
import { ButtonV1 as Button } from '@fluentui
|
|
3
|
+
import { ButtonV1 as Button } from '@fluentui/react-native';
|
|
4
4
|
import { Stack } from '@fluentui-react-native/stack';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { View } from 'react-native';
|
package/src/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { FluentTesterApp } from './FluentTester';
|