@fluentui-react-native/tester 0.95.6 → 0.96.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +217 -1
- package/CHANGELOG.md +49 -2
- package/ios/Podfile.lock +4 -4
- package/lib/TestComponents/TextExperimental/StandardUsage.d.ts.map +1 -1
- package/lib/TestComponents/TextExperimental/StandardUsage.js +17 -46
- package/lib/TestComponents/TextExperimental/StandardUsage.js.map +1 -1
- package/lib/TestComponents/TextExperimental/TextExperimentalTest.d.ts.map +1 -1
- package/lib/TestComponents/TextExperimental/TextExperimentalTest.js +5 -0
- package/lib/TestComponents/TextExperimental/TextExperimentalTest.js.map +1 -1
- package/lib/TestComponents/TextExperimental/V2Usage.d.ts +3 -0
- package/lib/TestComponents/TextExperimental/V2Usage.d.ts.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.ios.d.ts +3 -0
- package/lib/TestComponents/TextExperimental/V2Usage.ios.d.ts.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.ios.js +22 -0
- package/lib/TestComponents/TextExperimental/V2Usage.ios.js.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.js +9 -0
- package/lib/TestComponents/TextExperimental/V2Usage.js.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.win32.d.ts +3 -0
- package/lib/TestComponents/TextExperimental/V2Usage.win32.d.ts.map +1 -0
- package/lib/TestComponents/TextExperimental/V2Usage.win32.js +23 -0
- package/lib/TestComponents/TextExperimental/V2Usage.win32.js.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/StandardUsage.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/TextExperimental/StandardUsage.js +15 -44
- package/lib-commonjs/TestComponents/TextExperimental/StandardUsage.js.map +1 -1
- package/lib-commonjs/TestComponents/TextExperimental/TextExperimentalTest.d.ts.map +1 -1
- package/lib-commonjs/TestComponents/TextExperimental/TextExperimentalTest.js +5 -0
- package/lib-commonjs/TestComponents/TextExperimental/TextExperimentalTest.js.map +1 -1
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.d.ts +3 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.ios.d.ts +3 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.ios.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.ios.js +27 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.ios.js.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.js +14 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.js.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.win32.d.ts +3 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.win32.d.ts.map +1 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.win32.js +28 -0
- package/lib-commonjs/TestComponents/TextExperimental/V2Usage.win32.js.map +1 -0
- package/package.json +32 -32
- package/src/TestComponents/TextExperimental/StandardUsage.tsx +23 -76
- package/src/TestComponents/TextExperimental/TextExperimentalTest.tsx +5 -0
- package/src/TestComponents/TextExperimental/V2Usage.ios.tsx +39 -0
- package/src/TestComponents/TextExperimental/V2Usage.tsx +6 -0
- package/src/TestComponents/TextExperimental/V2Usage.win32.tsx +41 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,223 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 21 Sep 2022 23:44:07 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.96.1",
|
|
7
|
+
"version": "0.96.1",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/experimental-expander to v0.4.5",
|
|
14
|
+
"commit": "90ed7c27e251ce1bfb99b228f297ebac87dcfa04"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Wed, 21 Sep 2022 21:00:40 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/tester_v0.96.0",
|
|
22
|
+
"version": "0.96.0",
|
|
23
|
+
"comments": {
|
|
24
|
+
"minor": [
|
|
25
|
+
{
|
|
26
|
+
"author": "adam.gleitman@gmail.com",
|
|
27
|
+
"package": "@fluentui-react-native/tester",
|
|
28
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2",
|
|
29
|
+
"comment": "Add new iOS token tests"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/tester",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/android-theme to v0.12.2",
|
|
35
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/tester",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/apple-theme to v0.15.0",
|
|
41
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/tester",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/avatar to v1.2.10",
|
|
47
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui-react-native/tester",
|
|
52
|
+
"comment": "Bump @fluentui-react-native/badge to v0.1.33",
|
|
53
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui-react-native/tester",
|
|
58
|
+
"comment": "Bump @fluentui-react-native/button to v0.24.26",
|
|
59
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@fluentui-react-native/tester",
|
|
64
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.15.2",
|
|
65
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "beachball",
|
|
69
|
+
"package": "@fluentui-react-native/tester",
|
|
70
|
+
"comment": "Bump @fluentui-react-native/dropdown to v0.4.1",
|
|
71
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"author": "beachball",
|
|
75
|
+
"package": "@fluentui-react-native/tester",
|
|
76
|
+
"comment": "Bump @fluentui-react-native/experimental-activity-indicator to v0.6.4",
|
|
77
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"author": "beachball",
|
|
81
|
+
"package": "@fluentui-react-native/tester",
|
|
82
|
+
"comment": "Bump @fluentui-react-native/experimental-avatar to v0.16.6",
|
|
83
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"author": "beachball",
|
|
87
|
+
"package": "@fluentui-react-native/tester",
|
|
88
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.16.26",
|
|
89
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"author": "beachball",
|
|
93
|
+
"package": "@fluentui-react-native/tester",
|
|
94
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.12.17",
|
|
95
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"author": "beachball",
|
|
99
|
+
"package": "@fluentui-react-native/tester",
|
|
100
|
+
"comment": "Bump @fluentui-react-native/experimental-expander to v0.4.4",
|
|
101
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"author": "beachball",
|
|
105
|
+
"package": "@fluentui-react-native/tester",
|
|
106
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.4.30",
|
|
107
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"author": "beachball",
|
|
111
|
+
"package": "@fluentui-react-native/tester",
|
|
112
|
+
"comment": "Bump @fluentui-react-native/experimental-radio-group to v0.3.4",
|
|
113
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"author": "beachball",
|
|
117
|
+
"package": "@fluentui-react-native/tester",
|
|
118
|
+
"comment": "Bump @fluentui-react-native/experimental-shadow to v0.2.20",
|
|
119
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"author": "beachball",
|
|
123
|
+
"package": "@fluentui-react-native/tester",
|
|
124
|
+
"comment": "Bump @fluentui-react-native/experimental-shimmer to v0.7.4",
|
|
125
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"author": "beachball",
|
|
129
|
+
"package": "@fluentui-react-native/tester",
|
|
130
|
+
"comment": "Bump @fluentui-react-native/experimental-tabs to v0.5.15",
|
|
131
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"author": "beachball",
|
|
135
|
+
"package": "@fluentui-react-native/tester",
|
|
136
|
+
"comment": "Bump @fluentui-react-native/experimental-text to v0.11.6",
|
|
137
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"author": "beachball",
|
|
141
|
+
"package": "@fluentui-react-native/tester",
|
|
142
|
+
"comment": "Bump @fluentui-react-native/framework to v0.8.4",
|
|
143
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"author": "beachball",
|
|
147
|
+
"package": "@fluentui-react-native/tester",
|
|
148
|
+
"comment": "Bump @fluentui-react-native/icon to v0.13.9",
|
|
149
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"author": "beachball",
|
|
153
|
+
"package": "@fluentui-react-native/tester",
|
|
154
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.18.6",
|
|
155
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "beachball",
|
|
159
|
+
"package": "@fluentui-react-native/tester",
|
|
160
|
+
"comment": "Bump @fluentui-react-native/menu to v1.0.36",
|
|
161
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"author": "beachball",
|
|
165
|
+
"package": "@fluentui-react-native/tester",
|
|
166
|
+
"comment": "Bump @fluentui-react-native/notification to v0.17.9",
|
|
167
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"author": "beachball",
|
|
171
|
+
"package": "@fluentui-react-native/tester",
|
|
172
|
+
"comment": "Bump @fluentui-react-native/stack to v0.7.8",
|
|
173
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"author": "beachball",
|
|
177
|
+
"package": "@fluentui-react-native/tester",
|
|
178
|
+
"comment": "Bump @fluentui-react-native/switch to v0.6.8",
|
|
179
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"author": "beachball",
|
|
183
|
+
"package": "@fluentui-react-native/tester",
|
|
184
|
+
"comment": "Bump @fluentui-react-native/text to v0.15.0",
|
|
185
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"author": "beachball",
|
|
189
|
+
"package": "@fluentui-react-native/tester",
|
|
190
|
+
"comment": "Bump @fluentui-react-native/theme to v0.7.2",
|
|
191
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"author": "beachball",
|
|
195
|
+
"package": "@fluentui-react-native/tester",
|
|
196
|
+
"comment": "Bump @fluentui-react-native/theme-types to v0.19.1",
|
|
197
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"author": "beachball",
|
|
201
|
+
"package": "@fluentui-react-native/tester",
|
|
202
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.15.2",
|
|
203
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"author": "beachball",
|
|
207
|
+
"package": "@fluentui-react-native/tester",
|
|
208
|
+
"comment": "Bump @fluentui-react-native/win32-theme to v0.21.2",
|
|
209
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"author": "beachball",
|
|
213
|
+
"package": "@fluentui-react-native/tester",
|
|
214
|
+
"comment": "Bump @fluentui/react-native to v0.32.20",
|
|
215
|
+
"commit": "6706e18d88a521539fdc717100516ec3ee4bb5e2"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"date": "Tue, 20 Sep 2022 23:28:25 GMT",
|
|
6
222
|
"tag": "@fluentui-react-native/tester_v0.95.6",
|
|
7
223
|
"version": "0.95.6",
|
|
8
224
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,59 @@
|
|
|
1
1
|
# Change Log - @fluentui-react-native/tester
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 21 Sep 2022 23:44:07 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.96.1
|
|
8
|
+
|
|
9
|
+
Wed, 21 Sep 2022 23:44:07 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/experimental-expander to v0.4.5
|
|
14
|
+
|
|
15
|
+
## 0.96.0
|
|
16
|
+
|
|
17
|
+
Wed, 21 Sep 2022 21:00:40 GMT
|
|
18
|
+
|
|
19
|
+
### Minor changes
|
|
20
|
+
|
|
21
|
+
- Add new iOS token tests (adam.gleitman@gmail.com)
|
|
22
|
+
- Bump @fluentui-react-native/android-theme to v0.12.2
|
|
23
|
+
- Bump @fluentui-react-native/apple-theme to v0.15.0
|
|
24
|
+
- Bump @fluentui-react-native/avatar to v1.2.10
|
|
25
|
+
- Bump @fluentui-react-native/badge to v0.1.33
|
|
26
|
+
- Bump @fluentui-react-native/button to v0.24.26
|
|
27
|
+
- Bump @fluentui-react-native/default-theme to v0.15.2
|
|
28
|
+
- Bump @fluentui-react-native/dropdown to v0.4.1
|
|
29
|
+
- Bump @fluentui-react-native/experimental-activity-indicator to v0.6.4
|
|
30
|
+
- Bump @fluentui-react-native/experimental-avatar to v0.16.6
|
|
31
|
+
- Bump @fluentui-react-native/experimental-button to v0.16.26
|
|
32
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.12.17
|
|
33
|
+
- Bump @fluentui-react-native/experimental-expander to v0.4.4
|
|
34
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.4.30
|
|
35
|
+
- Bump @fluentui-react-native/experimental-radio-group to v0.3.4
|
|
36
|
+
- Bump @fluentui-react-native/experimental-shadow to v0.2.20
|
|
37
|
+
- Bump @fluentui-react-native/experimental-shimmer to v0.7.4
|
|
38
|
+
- Bump @fluentui-react-native/experimental-tabs to v0.5.15
|
|
39
|
+
- Bump @fluentui-react-native/experimental-text to v0.11.6
|
|
40
|
+
- Bump @fluentui-react-native/framework to v0.8.4
|
|
41
|
+
- Bump @fluentui-react-native/icon to v0.13.9
|
|
42
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.18.6
|
|
43
|
+
- Bump @fluentui-react-native/menu to v1.0.36
|
|
44
|
+
- Bump @fluentui-react-native/notification to v0.17.9
|
|
45
|
+
- Bump @fluentui-react-native/stack to v0.7.8
|
|
46
|
+
- Bump @fluentui-react-native/switch to v0.6.8
|
|
47
|
+
- Bump @fluentui-react-native/text to v0.15.0
|
|
48
|
+
- Bump @fluentui-react-native/theme to v0.7.2
|
|
49
|
+
- Bump @fluentui-react-native/theme-types to v0.19.1
|
|
50
|
+
- Bump @fluentui-react-native/theming-utils to v0.15.2
|
|
51
|
+
- Bump @fluentui-react-native/win32-theme to v0.21.2
|
|
52
|
+
- Bump @fluentui/react-native to v0.32.20
|
|
53
|
+
|
|
7
54
|
## 0.95.6
|
|
8
55
|
|
|
9
|
-
Tue, 20 Sep 2022 23:28:
|
|
56
|
+
Tue, 20 Sep 2022 23:28:25 GMT
|
|
10
57
|
|
|
11
58
|
### Patches
|
|
12
59
|
|
package/ios/Podfile.lock
CHANGED
|
@@ -10,10 +10,10 @@ PODS:
|
|
|
10
10
|
- React-jsi (= 0.66.4)
|
|
11
11
|
- ReactCommon/turbomodule/core (= 0.66.4)
|
|
12
12
|
- fmt (6.2.1)
|
|
13
|
-
- FRNAvatar (0.16.
|
|
13
|
+
- FRNAvatar (0.16.5):
|
|
14
14
|
- MicrosoftFluentUI (= 0.8.3)
|
|
15
15
|
- React
|
|
16
|
-
- FRNDatePicker (0.7.
|
|
16
|
+
- FRNDatePicker (0.7.1):
|
|
17
17
|
- MicrosoftFluentUI (= 0.8.3)
|
|
18
18
|
- React
|
|
19
19
|
- glog (0.3.5)
|
|
@@ -583,8 +583,8 @@ SPEC CHECKSUMS:
|
|
|
583
583
|
FBLazyVector: e5569e42a1c79ca00521846c223173a57aca1fe1
|
|
584
584
|
FBReactNativeSpec: fe08c1cd7e2e205718d77ad14b34957cce949b58
|
|
585
585
|
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
|
|
586
|
-
FRNAvatar:
|
|
587
|
-
FRNDatePicker:
|
|
586
|
+
FRNAvatar: a2022c3a8e51e4fdf3e8b842ca13214d0b41312d
|
|
587
|
+
FRNDatePicker: 984a9eb80b9baa924597ca84be6ffdc379b37536
|
|
588
588
|
glog: 5337263514dd6f09803962437687240c5dc39aa4
|
|
589
589
|
MicrosoftFluentUI: e30487dd18aba04beeed4caf1ce1988073f8b03a
|
|
590
590
|
RCT-Folly: a21c126816d8025b547704b777a2ba552f3d9fa9
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardUsage.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/StandardUsage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StandardUsage.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/StandardUsage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAsBjC,CAAC"}
|
|
@@ -1,53 +1,24 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { Text
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Text } from '@fluentui-react-native/experimental-text';
|
|
4
4
|
import { Stack } from '@fluentui-react-native/stack';
|
|
5
5
|
import { stackStyle } from '../Common/styles';
|
|
6
6
|
import { HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON } from './consts';
|
|
7
7
|
export var StandardUsage = function () {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
React.createElement(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
React.createElement(Text, { variant: "heroLargeSemibold" }, "HeroLargeSemibold"))));
|
|
24
|
-
};
|
|
25
|
-
var V2Usage = function () {
|
|
26
|
-
return (React.createElement(View, null,
|
|
27
|
-
React.createElement(Stack, { style: stackStyle, gap: 5 },
|
|
28
|
-
React.createElement(Caption1, null, "Caption1"),
|
|
29
|
-
React.createElement(Body1, null, "Body1"),
|
|
30
|
-
React.createElement(Body1Strong, null, "Body1Strong"),
|
|
31
|
-
React.createElement(Body2, null, "Body2"),
|
|
32
|
-
React.createElement(Body2Strong, null, "Body2Strong"),
|
|
33
|
-
React.createElement(Subtitle2, null, "Subtitle2"),
|
|
34
|
-
React.createElement(Subtitle2Strong, null, "Subtitle2Strong"),
|
|
35
|
-
React.createElement(Subtitle1, null, "Subtitle1"),
|
|
36
|
-
React.createElement(Subtitle1Strong, null, "Subtitle1Strong"),
|
|
37
|
-
React.createElement(Title1, null, "Title1"),
|
|
38
|
-
React.createElement(Title1Strong, null, "Title1Strong"),
|
|
39
|
-
React.createElement(LargeTitle, null, "LargeTitle"),
|
|
40
|
-
React.createElement(Display, null, "Display"))));
|
|
41
|
-
};
|
|
42
|
-
switch (Platform.OS) {
|
|
43
|
-
case 'android':
|
|
44
|
-
case 'ios':
|
|
45
|
-
case 'macos':
|
|
46
|
-
return React.createElement(V1Usage, null);
|
|
47
|
-
default:
|
|
48
|
-
return (React.createElement(View, null,
|
|
49
|
-
React.createElement(V1Usage, null),
|
|
50
|
-
React.createElement(V2Usage, null)));
|
|
51
|
-
}
|
|
8
|
+
return (React.createElement(View, null,
|
|
9
|
+
React.createElement(Stack, { style: stackStyle, gap: 5 },
|
|
10
|
+
React.createElement(Text, { variant: "captionStandard", testID: HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON }, "CaptionStandard"),
|
|
11
|
+
React.createElement(Text, { variant: "secondaryStandard" }, "SecondaryStandard"),
|
|
12
|
+
React.createElement(Text, { variant: "secondarySemibold" }, "SecondarySemibold"),
|
|
13
|
+
React.createElement(Text, { variant: "bodyStandard" }, "BodyStandard"),
|
|
14
|
+
React.createElement(Text, { variant: "bodySemibold" }, "BodySemibold"),
|
|
15
|
+
React.createElement(Text, { variant: "subheaderStandard" }, "SubheaderStandard"),
|
|
16
|
+
React.createElement(Text, { variant: "subheaderSemibold" }, "SubheaderSemibold"),
|
|
17
|
+
React.createElement(Text, { variant: "headerStandard" }, "HeaderStandard"),
|
|
18
|
+
React.createElement(Text, { variant: "headerSemibold" }, "HeaderSemibold"),
|
|
19
|
+
React.createElement(Text, { variant: "heroStandard" }, "HeroStandard"),
|
|
20
|
+
React.createElement(Text, { variant: "heroSemibold" }, "HeroSemibold"),
|
|
21
|
+
React.createElement(Text, { variant: "heroLargeStandard" }, "HeroLargeStandard"),
|
|
22
|
+
React.createElement(Text, { variant: "heroLargeSemibold" }, "HeroLargeSemibold"))));
|
|
52
23
|
};
|
|
53
24
|
//# sourceMappingURL=StandardUsage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardUsage.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/StandardUsage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"StandardUsage.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/StandardUsage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,0CAA0C,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,iCAAiC,EAAE,MAAM,UAAU,CAAC;AAE7D,MAAM,CAAC,IAAM,aAAa,GAA4B;IACpD,OAAO,CACL,oBAAC,IAAI;QACH,oBAAC,KAAK,IAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC;YAC9B,oBAAC,IAAI,IAAC,OAAO,EAAC,iBAAiB,EAAC,MAAM,EAAE,iCAAiC,sBAElE;YACP,oBAAC,IAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,IAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,IAAI,IAAC,OAAO,EAAC,cAAc,mBAAoB;YAChD,oBAAC,IAAI,IAAC,OAAO,EAAC,cAAc,mBAAoB;YAChD,oBAAC,IAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,IAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,IAAI,IAAC,OAAO,EAAC,gBAAgB,qBAAsB;YACpD,oBAAC,IAAI,IAAC,OAAO,EAAC,gBAAgB,qBAAsB;YACpD,oBAAC,IAAI,IAAC,OAAO,EAAC,cAAc,mBAAoB;YAChD,oBAAC,IAAI,IAAC,OAAO,EAAC,cAAc,mBAAoB;YAChD,oBAAC,IAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,IAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB,CACpD,CACH,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextExperimentalTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/TextExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextExperimentalTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/TextExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiC/B,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,iBAYxC,CAAC"}
|
|
@@ -5,12 +5,17 @@ import { PressableUsage } from './PressableUsage';
|
|
|
5
5
|
import { Test } from '../Test';
|
|
6
6
|
import { E2EExperimentalTextTest } from './ExperimentalTextE2ETest';
|
|
7
7
|
import { EXPERIMENTAL_TEXT_TESTPAGE } from './consts';
|
|
8
|
+
import { V2Usage } from './V2Usage';
|
|
8
9
|
var textSections = [
|
|
9
10
|
{
|
|
10
11
|
name: 'Standard Usage',
|
|
11
12
|
testID: EXPERIMENTAL_TEXT_TESTPAGE,
|
|
12
13
|
component: StandardUsage,
|
|
13
14
|
},
|
|
15
|
+
{
|
|
16
|
+
name: 'V2 Usage',
|
|
17
|
+
component: V2Usage,
|
|
18
|
+
},
|
|
14
19
|
{
|
|
15
20
|
name: 'Customize Usage',
|
|
16
21
|
component: CustomizeUsage,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextExperimentalTest.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/TextExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,IAAI,EAA+B,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"TextExperimentalTest.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/TextExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,IAAI,EAA+B,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,IAAM,YAAY,GAAkB;IAClC;QACE,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,0BAA0B;QAClC,SAAS,EAAE,aAAa;KACzB;IACD;QACE,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,OAAO;KACnB;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,cAAc;KAC1B;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,cAAc;KAC1B;IACD;QACE,IAAI,EAAE,mCAAmC;QACzC,SAAS,EAAE,uBAAuB;KACnC;CACF,CAAC;AAEF,MAAM,CAAC,IAAM,oBAAoB,GAA4B;IAC3D,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,cAAc;QAC3B,aAAa,EAAE,MAAM;KACtB,CAAC;IAEF,IAAM,WAAW,GAAG,gGAAgG,CAAC;IAErH,OAAO,oBAAC,IAAI,IAAC,IAAI,EAAC,wBAAwB,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;AAClH,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAE3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.ios.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAmB3B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Stack } from '@fluentui-react-native/stack';
|
|
4
|
+
import { stackStyle } from '../Common/styles';
|
|
5
|
+
import { Body1, Body1Strong, Body2, Body2Strong, Caption1, Caption1Strong, Caption2, Display, LargeTitle, Title1, Title2, Title3, } from '@fluentui-react-native/text';
|
|
6
|
+
export var V2Usage = function () {
|
|
7
|
+
return (React.createElement(View, null,
|
|
8
|
+
React.createElement(Stack, { style: stackStyle, gap: 5 },
|
|
9
|
+
React.createElement(Caption2, null, "Caption2"),
|
|
10
|
+
React.createElement(Caption1, null, "Caption1"),
|
|
11
|
+
React.createElement(Caption1Strong, null, "Caption1Strong"),
|
|
12
|
+
React.createElement(Body2, null, "Body2"),
|
|
13
|
+
React.createElement(Body2Strong, null, "Body2Strong"),
|
|
14
|
+
React.createElement(Body1, null, "Body1"),
|
|
15
|
+
React.createElement(Body1Strong, null, "Body1Strong"),
|
|
16
|
+
React.createElement(Title3, null, "Title3"),
|
|
17
|
+
React.createElement(Title2, null, "Title2"),
|
|
18
|
+
React.createElement(Title1, null, "Title1"),
|
|
19
|
+
React.createElement(LargeTitle, null, "LargeTitle"),
|
|
20
|
+
React.createElement(Display, null, "Display"))));
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=V2Usage.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.ios.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EACL,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,QAAQ,EACR,cAAc,EACd,QAAQ,EACR,OAAO,EACP,UAAU,EACV,MAAM,EACN,MAAM,EACN,MAAM,GACP,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,IAAM,OAAO,GAA4B;IAC9C,OAAO,CACL,oBAAC,IAAI;QACH,oBAAC,KAAK,IAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC;YAC9B,oBAAC,QAAQ,mBAAoB;YAC7B,oBAAC,QAAQ,mBAAoB;YAC7B,oBAAC,cAAc,yBAAgC;YAC/C,oBAAC,KAAK,gBAAc;YACpB,oBAAC,WAAW,sBAA0B;YACtC,oBAAC,KAAK,gBAAc;YACpB,oBAAC,WAAW,sBAA0B;YACtC,oBAAC,MAAM,iBAAgB;YACvB,oBAAC,MAAM,iBAAgB;YACvB,oBAAC,MAAM,iBAAgB;YACvB,oBAAC,UAAU,qBAAwB;YACnC,oBAAC,OAAO,kBAAkB,CACpB,CACH,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Platform, Text } from 'react-native';
|
|
3
|
+
export var V2Usage = function () {
|
|
4
|
+
return React.createElement(Text, null,
|
|
5
|
+
"V2 usage is not yet supported for platform \"",
|
|
6
|
+
Platform.OS,
|
|
7
|
+
"\".");
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=V2Usage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,CAAC,IAAM,OAAO,GAA4B;IAC9C,OAAO,oBAAC,IAAI;;QAAmD,QAAQ,CAAC,EAAE;cAAe,CAAC;AAC5F,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.win32.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.win32.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAoB3B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Stack } from '@fluentui-react-native/stack';
|
|
4
|
+
import { stackStyle } from '../Common/styles';
|
|
5
|
+
import { Body1, Body1Strong, Body2, Body2Strong, Caption1, Display, LargeTitle, Subtitle1, Subtitle1Strong, Subtitle2, Subtitle2Strong, Title1, Title1Strong, } from '@fluentui-react-native/text';
|
|
6
|
+
export var V2Usage = function () {
|
|
7
|
+
return (React.createElement(View, null,
|
|
8
|
+
React.createElement(Stack, { style: stackStyle, gap: 5 },
|
|
9
|
+
React.createElement(Caption1, null, "Caption1"),
|
|
10
|
+
React.createElement(Body1, null, "Body1"),
|
|
11
|
+
React.createElement(Body1Strong, null, "Body1Strong"),
|
|
12
|
+
React.createElement(Body2, null, "Body2"),
|
|
13
|
+
React.createElement(Body2Strong, null, "Body2Strong"),
|
|
14
|
+
React.createElement(Subtitle2, null, "Subtitle2"),
|
|
15
|
+
React.createElement(Subtitle2Strong, null, "Subtitle2Strong"),
|
|
16
|
+
React.createElement(Subtitle1, null, "Subtitle1"),
|
|
17
|
+
React.createElement(Subtitle1Strong, null, "Subtitle1Strong"),
|
|
18
|
+
React.createElement(Title1, null, "Title1"),
|
|
19
|
+
React.createElement(Title1Strong, null, "Title1Strong"),
|
|
20
|
+
React.createElement(LargeTitle, null, "LargeTitle"),
|
|
21
|
+
React.createElement(Display, null, "Display"))));
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=V2Usage.win32.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.win32.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.win32.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EACL,KAAK,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,QAAQ,EACR,OAAO,EACP,UAAU,EACV,SAAS,EACT,eAAe,EACf,SAAS,EACT,eAAe,EACf,MAAM,EACN,YAAY,GACb,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,IAAM,OAAO,GAA4B;IAC9C,OAAO,CACL,oBAAC,IAAI;QACH,oBAAC,KAAK,IAAC,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC;YAC9B,oBAAC,QAAQ,mBAAoB;YAC7B,oBAAC,KAAK,gBAAc;YACpB,oBAAC,WAAW,sBAA0B;YACtC,oBAAC,KAAK,gBAAc;YACpB,oBAAC,WAAW,sBAA0B;YACtC,oBAAC,SAAS,oBAAsB;YAChC,oBAAC,eAAe,0BAAkC;YAClD,oBAAC,SAAS,oBAAsB;YAChC,oBAAC,eAAe,0BAAkC;YAClD,oBAAC,MAAM,iBAAgB;YACvB,oBAAC,YAAY,uBAA4B;YACzC,oBAAC,UAAU,qBAAwB;YACnC,oBAAC,OAAO,kBAAkB,CACpB,CACH,CACR,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardUsage.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/StandardUsage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"StandardUsage.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/StandardUsage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAsBjC,CAAC"}
|
|
@@ -9,50 +9,21 @@ var stack_1 = require("@fluentui-react-native/stack");
|
|
|
9
9
|
var styles_1 = require("../Common/styles");
|
|
10
10
|
var consts_1 = require("./consts");
|
|
11
11
|
var StandardUsage = function () {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
React.createElement(
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
React.createElement(experimental_text_1.Text, { variant: "heroLargeSemibold" }, "HeroLargeSemibold"))));
|
|
28
|
-
};
|
|
29
|
-
var V2Usage = function () {
|
|
30
|
-
return (React.createElement(react_native_1.View, null,
|
|
31
|
-
React.createElement(stack_1.Stack, { style: styles_1.stackStyle, gap: 5 },
|
|
32
|
-
React.createElement(experimental_text_1.Caption1, null, "Caption1"),
|
|
33
|
-
React.createElement(experimental_text_1.Body1, null, "Body1"),
|
|
34
|
-
React.createElement(experimental_text_1.Body1Strong, null, "Body1Strong"),
|
|
35
|
-
React.createElement(experimental_text_1.Body2, null, "Body2"),
|
|
36
|
-
React.createElement(experimental_text_1.Body2Strong, null, "Body2Strong"),
|
|
37
|
-
React.createElement(experimental_text_1.Subtitle2, null, "Subtitle2"),
|
|
38
|
-
React.createElement(experimental_text_1.Subtitle2Strong, null, "Subtitle2Strong"),
|
|
39
|
-
React.createElement(experimental_text_1.Subtitle1, null, "Subtitle1"),
|
|
40
|
-
React.createElement(experimental_text_1.Subtitle1Strong, null, "Subtitle1Strong"),
|
|
41
|
-
React.createElement(experimental_text_1.Title1, null, "Title1"),
|
|
42
|
-
React.createElement(experimental_text_1.Title1Strong, null, "Title1Strong"),
|
|
43
|
-
React.createElement(experimental_text_1.LargeTitle, null, "LargeTitle"),
|
|
44
|
-
React.createElement(experimental_text_1.Display, null, "Display"))));
|
|
45
|
-
};
|
|
46
|
-
switch (react_native_1.Platform.OS) {
|
|
47
|
-
case 'android':
|
|
48
|
-
case 'ios':
|
|
49
|
-
case 'macos':
|
|
50
|
-
return React.createElement(V1Usage, null);
|
|
51
|
-
default:
|
|
52
|
-
return (React.createElement(react_native_1.View, null,
|
|
53
|
-
React.createElement(V1Usage, null),
|
|
54
|
-
React.createElement(V2Usage, null)));
|
|
55
|
-
}
|
|
12
|
+
return (React.createElement(react_native_1.View, null,
|
|
13
|
+
React.createElement(stack_1.Stack, { style: styles_1.stackStyle, gap: 5 },
|
|
14
|
+
React.createElement(experimental_text_1.Text, { variant: "captionStandard", testID: consts_1.HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON }, "CaptionStandard"),
|
|
15
|
+
React.createElement(experimental_text_1.Text, { variant: "secondaryStandard" }, "SecondaryStandard"),
|
|
16
|
+
React.createElement(experimental_text_1.Text, { variant: "secondarySemibold" }, "SecondarySemibold"),
|
|
17
|
+
React.createElement(experimental_text_1.Text, { variant: "bodyStandard" }, "BodyStandard"),
|
|
18
|
+
React.createElement(experimental_text_1.Text, { variant: "bodySemibold" }, "BodySemibold"),
|
|
19
|
+
React.createElement(experimental_text_1.Text, { variant: "subheaderStandard" }, "SubheaderStandard"),
|
|
20
|
+
React.createElement(experimental_text_1.Text, { variant: "subheaderSemibold" }, "SubheaderSemibold"),
|
|
21
|
+
React.createElement(experimental_text_1.Text, { variant: "headerStandard" }, "HeaderStandard"),
|
|
22
|
+
React.createElement(experimental_text_1.Text, { variant: "headerSemibold" }, "HeaderSemibold"),
|
|
23
|
+
React.createElement(experimental_text_1.Text, { variant: "heroStandard" }, "HeroStandard"),
|
|
24
|
+
React.createElement(experimental_text_1.Text, { variant: "heroSemibold" }, "HeroSemibold"),
|
|
25
|
+
React.createElement(experimental_text_1.Text, { variant: "heroLargeStandard" }, "HeroLargeStandard"),
|
|
26
|
+
React.createElement(experimental_text_1.Text, { variant: "heroLargeSemibold" }, "HeroLargeSemibold"))));
|
|
56
27
|
};
|
|
57
28
|
exports.StandardUsage = StandardUsage;
|
|
58
29
|
//# sourceMappingURL=StandardUsage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StandardUsage.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/StandardUsage.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"StandardUsage.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/StandardUsage.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,6CAAoC;AACpC,8EAAgE;AAChE,sDAAqD;AACrD,2CAA8C;AAC9C,mCAA6D;AAEtD,IAAM,aAAa,GAA4B;IACpD,OAAO,CACL,oBAAC,mBAAI;QACH,oBAAC,aAAK,IAAC,KAAK,EAAE,mBAAU,EAAE,GAAG,EAAE,CAAC;YAC9B,oBAAC,wBAAI,IAAC,OAAO,EAAC,iBAAiB,EAAC,MAAM,EAAE,0CAAiC,sBAElE;YACP,oBAAC,wBAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,wBAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,wBAAI,IAAC,OAAO,EAAC,cAAc,mBAAoB;YAChD,oBAAC,wBAAI,IAAC,OAAO,EAAC,cAAc,mBAAoB;YAChD,oBAAC,wBAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,wBAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,wBAAI,IAAC,OAAO,EAAC,gBAAgB,qBAAsB;YACpD,oBAAC,wBAAI,IAAC,OAAO,EAAC,gBAAgB,qBAAsB;YACpD,oBAAC,wBAAI,IAAC,OAAO,EAAC,cAAc,mBAAoB;YAChD,oBAAC,wBAAI,IAAC,OAAO,EAAC,cAAc,mBAAoB;YAChD,oBAAC,wBAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB;YAC1D,oBAAC,wBAAI,IAAC,OAAO,EAAC,mBAAmB,wBAAyB,CACpD,CACH,CACR,CAAC;AACJ,CAAC,CAAC;AAtBW,QAAA,aAAa,iBAsBxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextExperimentalTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/TextExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextExperimentalTest.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/TextExperimentalTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiC/B,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,iBAYxC,CAAC"}
|
|
@@ -9,12 +9,17 @@ var PressableUsage_1 = require("./PressableUsage");
|
|
|
9
9
|
var Test_1 = require("../Test");
|
|
10
10
|
var ExperimentalTextE2ETest_1 = require("./ExperimentalTextE2ETest");
|
|
11
11
|
var consts_1 = require("./consts");
|
|
12
|
+
var V2Usage_1 = require("./V2Usage");
|
|
12
13
|
var textSections = [
|
|
13
14
|
{
|
|
14
15
|
name: 'Standard Usage',
|
|
15
16
|
testID: consts_1.EXPERIMENTAL_TEXT_TESTPAGE,
|
|
16
17
|
component: StandardUsage_1.StandardUsage,
|
|
17
18
|
},
|
|
19
|
+
{
|
|
20
|
+
name: 'V2 Usage',
|
|
21
|
+
component: V2Usage_1.V2Usage,
|
|
22
|
+
},
|
|
18
23
|
{
|
|
19
24
|
name: 'Customize Usage',
|
|
20
25
|
component: CustomizeUsage_1.CustomizeUsage,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextExperimentalTest.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/TextExperimentalTest.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,iDAAgD;AAChD,mDAAkD;AAClD,mDAAkD;AAClD,gCAA4D;AAC5D,qEAAoE;AACpE,mCAAsD;
|
|
1
|
+
{"version":3,"file":"TextExperimentalTest.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/TextExperimentalTest.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,iDAAgD;AAChD,mDAAkD;AAClD,mDAAkD;AAClD,gCAA4D;AAC5D,qEAAoE;AACpE,mCAAsD;AACtD,qCAAoC;AAEpC,IAAM,YAAY,GAAkB;IAClC;QACE,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE,mCAA0B;QAClC,SAAS,EAAE,6BAAa;KACzB;IACD;QACE,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,iBAAO;KACnB;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,+BAAc;KAC1B;IACD;QACE,IAAI,EAAE,mCAAmC;QACzC,SAAS,EAAE,iDAAuB;KACnC;CACF,CAAC;AAEK,IAAM,oBAAoB,GAA4B;IAC3D,IAAM,MAAM,GAAmB;QAC7B,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,cAAc;QACzB,SAAS,EAAE,cAAc;QACzB,WAAW,EAAE,cAAc;QAC3B,aAAa,EAAE,MAAM;KACtB,CAAC;IAEF,IAAM,WAAW,GAAG,gGAAgG,CAAC;IAErH,OAAO,oBAAC,WAAI,IAAC,IAAI,EAAC,wBAAwB,EAAC,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAI,CAAC;AAClH,CAAC,CAAC;AAZW,QAAA,oBAAoB,wBAY/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAE3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.ios.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.ios.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmB/B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAmB3B,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.V2Usage = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var React = (0, tslib_1.__importStar)(require("react"));
|
|
6
|
+
var react_native_1 = require("react-native");
|
|
7
|
+
var stack_1 = require("@fluentui-react-native/stack");
|
|
8
|
+
var styles_1 = require("../Common/styles");
|
|
9
|
+
var text_1 = require("@fluentui-react-native/text");
|
|
10
|
+
var V2Usage = function () {
|
|
11
|
+
return (React.createElement(react_native_1.View, null,
|
|
12
|
+
React.createElement(stack_1.Stack, { style: styles_1.stackStyle, gap: 5 },
|
|
13
|
+
React.createElement(text_1.Caption2, null, "Caption2"),
|
|
14
|
+
React.createElement(text_1.Caption1, null, "Caption1"),
|
|
15
|
+
React.createElement(text_1.Caption1Strong, null, "Caption1Strong"),
|
|
16
|
+
React.createElement(text_1.Body2, null, "Body2"),
|
|
17
|
+
React.createElement(text_1.Body2Strong, null, "Body2Strong"),
|
|
18
|
+
React.createElement(text_1.Body1, null, "Body1"),
|
|
19
|
+
React.createElement(text_1.Body1Strong, null, "Body1Strong"),
|
|
20
|
+
React.createElement(text_1.Title3, null, "Title3"),
|
|
21
|
+
React.createElement(text_1.Title2, null, "Title2"),
|
|
22
|
+
React.createElement(text_1.Title1, null, "Title1"),
|
|
23
|
+
React.createElement(text_1.LargeTitle, null, "LargeTitle"),
|
|
24
|
+
React.createElement(text_1.Display, null, "Display"))));
|
|
25
|
+
};
|
|
26
|
+
exports.V2Usage = V2Usage;
|
|
27
|
+
//# sourceMappingURL=V2Usage.ios.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.ios.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.ios.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,6CAAoC;AACpC,sDAAqD;AACrD,2CAA8C;AAC9C,oDAaqC;AAE9B,IAAM,OAAO,GAA4B;IAC9C,OAAO,CACL,oBAAC,mBAAI;QACH,oBAAC,aAAK,IAAC,KAAK,EAAE,mBAAU,EAAE,GAAG,EAAE,CAAC;YAC9B,oBAAC,eAAQ,mBAAoB;YAC7B,oBAAC,eAAQ,mBAAoB;YAC7B,oBAAC,qBAAc,yBAAgC;YAC/C,oBAAC,YAAK,gBAAc;YACpB,oBAAC,kBAAW,sBAA0B;YACtC,oBAAC,YAAK,gBAAc;YACpB,oBAAC,kBAAW,sBAA0B;YACtC,oBAAC,aAAM,iBAAgB;YACvB,oBAAC,aAAM,iBAAgB;YACvB,oBAAC,aAAM,iBAAgB;YACvB,oBAAC,iBAAU,qBAAwB;YACnC,oBAAC,cAAO,kBAAkB,CACpB,CACH,CACR,CAAC;AACJ,CAAC,CAAC;AAnBW,QAAA,OAAO,WAmBlB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.V2Usage = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var React = (0, tslib_1.__importStar)(require("react"));
|
|
6
|
+
var react_native_1 = require("react-native");
|
|
7
|
+
var V2Usage = function () {
|
|
8
|
+
return React.createElement(react_native_1.Text, null,
|
|
9
|
+
"V2 usage is not yet supported for platform \"",
|
|
10
|
+
react_native_1.Platform.OS,
|
|
11
|
+
"\".");
|
|
12
|
+
};
|
|
13
|
+
exports.V2Usage = V2Usage;
|
|
14
|
+
//# sourceMappingURL=V2Usage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,6CAA8C;AAEvC,IAAM,OAAO,GAA4B;IAC9C,OAAO,oBAAC,mBAAI;;QAAmD,uBAAQ,CAAC,EAAE;cAAe,CAAC;AAC5F,CAAC,CAAC;AAFW,QAAA,OAAO,WAElB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.win32.d.ts","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.win32.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAoB/B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAoB3B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.V2Usage = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var React = (0, tslib_1.__importStar)(require("react"));
|
|
6
|
+
var react_native_1 = require("react-native");
|
|
7
|
+
var stack_1 = require("@fluentui-react-native/stack");
|
|
8
|
+
var styles_1 = require("../Common/styles");
|
|
9
|
+
var text_1 = require("@fluentui-react-native/text");
|
|
10
|
+
var V2Usage = function () {
|
|
11
|
+
return (React.createElement(react_native_1.View, null,
|
|
12
|
+
React.createElement(stack_1.Stack, { style: styles_1.stackStyle, gap: 5 },
|
|
13
|
+
React.createElement(text_1.Caption1, null, "Caption1"),
|
|
14
|
+
React.createElement(text_1.Body1, null, "Body1"),
|
|
15
|
+
React.createElement(text_1.Body1Strong, null, "Body1Strong"),
|
|
16
|
+
React.createElement(text_1.Body2, null, "Body2"),
|
|
17
|
+
React.createElement(text_1.Body2Strong, null, "Body2Strong"),
|
|
18
|
+
React.createElement(text_1.Subtitle2, null, "Subtitle2"),
|
|
19
|
+
React.createElement(text_1.Subtitle2Strong, null, "Subtitle2Strong"),
|
|
20
|
+
React.createElement(text_1.Subtitle1, null, "Subtitle1"),
|
|
21
|
+
React.createElement(text_1.Subtitle1Strong, null, "Subtitle1Strong"),
|
|
22
|
+
React.createElement(text_1.Title1, null, "Title1"),
|
|
23
|
+
React.createElement(text_1.Title1Strong, null, "Title1Strong"),
|
|
24
|
+
React.createElement(text_1.LargeTitle, null, "LargeTitle"),
|
|
25
|
+
React.createElement(text_1.Display, null, "Display"))));
|
|
26
|
+
};
|
|
27
|
+
exports.V2Usage = V2Usage;
|
|
28
|
+
//# sourceMappingURL=V2Usage.win32.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"V2Usage.win32.js","sourceRoot":"","sources":["../../../src/TestComponents/TextExperimental/V2Usage.win32.tsx"],"names":[],"mappings":";;;;AAAA,wDAA+B;AAC/B,6CAAoC;AACpC,sDAAqD;AACrD,2CAA8C;AAC9C,oDAcqC;AAE9B,IAAM,OAAO,GAA4B;IAC9C,OAAO,CACL,oBAAC,mBAAI;QACH,oBAAC,aAAK,IAAC,KAAK,EAAE,mBAAU,EAAE,GAAG,EAAE,CAAC;YAC9B,oBAAC,eAAQ,mBAAoB;YAC7B,oBAAC,YAAK,gBAAc;YACpB,oBAAC,kBAAW,sBAA0B;YACtC,oBAAC,YAAK,gBAAc;YACpB,oBAAC,kBAAW,sBAA0B;YACtC,oBAAC,gBAAS,oBAAsB;YAChC,oBAAC,sBAAe,0BAAkC;YAClD,oBAAC,gBAAS,oBAAsB;YAChC,oBAAC,sBAAe,0BAAkC;YAClD,oBAAC,aAAM,iBAAgB;YACvB,oBAAC,mBAAY,uBAA4B;YACzC,oBAAC,iBAAU,qBAAwB;YACnC,oBAAC,cAAO,kBAAkB,CACpB,CACH,CACR,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,OAAO,WAoBlB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.96.1",
|
|
4
4
|
"description": "A test app to test FluentUI React Native Components during development",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Microsoft <fluentuinativeowners@microsoft.com>",
|
|
@@ -36,40 +36,40 @@
|
|
|
36
36
|
"directory": "apps/fluent-tester"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@fluentui-react-native/android-theme": ">=0.12.
|
|
40
|
-
"@fluentui-react-native/apple-theme": ">=0.
|
|
41
|
-
"@fluentui-react-native/avatar": "^1.2.
|
|
42
|
-
"@fluentui-react-native/badge": ">=0.1.
|
|
43
|
-
"@fluentui-react-native/button": ">=0.24.
|
|
44
|
-
"@fluentui-react-native/default-theme": ">=0.15.
|
|
45
|
-
"@fluentui-react-native/dropdown": ">=0.4.
|
|
46
|
-
"@fluentui-react-native/experimental-activity-indicator": ">=0.6.
|
|
47
|
-
"@fluentui-react-native/experimental-avatar": ">=0.16.
|
|
48
|
-
"@fluentui-react-native/experimental-button": "0.16.
|
|
49
|
-
"@fluentui-react-native/experimental-checkbox": "0.12.
|
|
50
|
-
"@fluentui-react-native/experimental-expander": "0.4.
|
|
51
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.4.
|
|
39
|
+
"@fluentui-react-native/android-theme": ">=0.12.2 <1.0.0",
|
|
40
|
+
"@fluentui-react-native/apple-theme": ">=0.15.0 <1.0.0",
|
|
41
|
+
"@fluentui-react-native/avatar": "^1.2.10",
|
|
42
|
+
"@fluentui-react-native/badge": ">=0.1.33 <1.0.0",
|
|
43
|
+
"@fluentui-react-native/button": ">=0.24.26 <1.0.0",
|
|
44
|
+
"@fluentui-react-native/default-theme": ">=0.15.2 <1.0.0",
|
|
45
|
+
"@fluentui-react-native/dropdown": ">=0.4.1 <1.0.0",
|
|
46
|
+
"@fluentui-react-native/experimental-activity-indicator": ">=0.6.4 <1.0.0",
|
|
47
|
+
"@fluentui-react-native/experimental-avatar": ">=0.16.6 <1.0.0",
|
|
48
|
+
"@fluentui-react-native/experimental-button": "0.16.26",
|
|
49
|
+
"@fluentui-react-native/experimental-checkbox": "0.12.17",
|
|
50
|
+
"@fluentui-react-native/experimental-expander": "0.4.5",
|
|
51
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.4.30 <1.0.0",
|
|
52
52
|
"@fluentui-react-native/experimental-native-date-picker": ">=0.7.1 <1.0.0",
|
|
53
|
-
"@fluentui-react-native/experimental-radio-group": "^0.3.
|
|
54
|
-
"@fluentui-react-native/experimental-shadow": "0.2.
|
|
55
|
-
"@fluentui-react-native/experimental-shimmer": "0.7.
|
|
56
|
-
"@fluentui-react-native/experimental-tabs": "0.5.
|
|
57
|
-
"@fluentui-react-native/experimental-text": ">=0.11.
|
|
58
|
-
"@fluentui-react-native/framework": ">=0.8.
|
|
59
|
-
"@fluentui-react-native/icon": "0.13.
|
|
60
|
-
"@fluentui-react-native/interactive-hooks": ">=0.18.
|
|
61
|
-
"@fluentui-react-native/menu": "^1.0.
|
|
53
|
+
"@fluentui-react-native/experimental-radio-group": "^0.3.4",
|
|
54
|
+
"@fluentui-react-native/experimental-shadow": "0.2.20",
|
|
55
|
+
"@fluentui-react-native/experimental-shimmer": "0.7.4",
|
|
56
|
+
"@fluentui-react-native/experimental-tabs": "0.5.15",
|
|
57
|
+
"@fluentui-react-native/experimental-text": ">=0.11.6 <1.0.0",
|
|
58
|
+
"@fluentui-react-native/framework": ">=0.8.4 <1.0.0",
|
|
59
|
+
"@fluentui-react-native/icon": "0.13.9",
|
|
60
|
+
"@fluentui-react-native/interactive-hooks": ">=0.18.6 <1.0.0",
|
|
61
|
+
"@fluentui-react-native/menu": "^1.0.36",
|
|
62
62
|
"@fluentui-react-native/merge-props": ">=0.5.0 <1.0.0",
|
|
63
|
-
"@fluentui-react-native/notification": "0.17.
|
|
64
|
-
"@fluentui-react-native/stack": ">=0.7.
|
|
65
|
-
"@fluentui-react-native/switch": "^0.6.
|
|
66
|
-
"@fluentui-react-native/text": ">=0.
|
|
67
|
-
"@fluentui-react-native/theme": ">=0.7.
|
|
68
|
-
"@fluentui-react-native/theme-types": ">=0.19.
|
|
63
|
+
"@fluentui-react-native/notification": "0.17.9",
|
|
64
|
+
"@fluentui-react-native/stack": ">=0.7.8 <1.0.0",
|
|
65
|
+
"@fluentui-react-native/switch": "^0.6.8",
|
|
66
|
+
"@fluentui-react-native/text": ">=0.15.0 <1.0.0",
|
|
67
|
+
"@fluentui-react-native/theme": ">=0.7.2 <1.0.0",
|
|
68
|
+
"@fluentui-react-native/theme-types": ">=0.19.1 <1.0.0",
|
|
69
69
|
"@fluentui-react-native/themed-stylesheet": "^1.4.0",
|
|
70
|
-
"@fluentui-react-native/theming-utils": ">=0.15.
|
|
71
|
-
"@fluentui-react-native/win32-theme": ">=0.21.
|
|
72
|
-
"@fluentui/react-native": ">=0.32.
|
|
70
|
+
"@fluentui-react-native/theming-utils": ">=0.15.2 <1.0.0",
|
|
71
|
+
"@fluentui-react-native/win32-theme": ">=0.21.2 <1.0.0",
|
|
72
|
+
"@fluentui/react-native": ">=0.32.20 <1.0.0",
|
|
73
73
|
"@react-native-community/slider": "^4.2.0",
|
|
74
74
|
"@react-native-menu/menu": "^0.1.2",
|
|
75
75
|
"@react-native-picker/picker": "^2.2.1",
|
|
@@ -1,83 +1,30 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
Text,
|
|
5
|
-
Caption1,
|
|
6
|
-
Body1,
|
|
7
|
-
Body1Strong,
|
|
8
|
-
Body2,
|
|
9
|
-
Body2Strong,
|
|
10
|
-
Subtitle1,
|
|
11
|
-
Subtitle1Strong,
|
|
12
|
-
Subtitle2,
|
|
13
|
-
Subtitle2Strong,
|
|
14
|
-
Title1,
|
|
15
|
-
Title1Strong,
|
|
16
|
-
LargeTitle,
|
|
17
|
-
Display,
|
|
18
|
-
} from '@fluentui-react-native/experimental-text';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Text } from '@fluentui-react-native/experimental-text';
|
|
19
4
|
import { Stack } from '@fluentui-react-native/stack';
|
|
20
5
|
import { stackStyle } from '../Common/styles';
|
|
21
6
|
import { HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON } from './consts';
|
|
22
7
|
|
|
23
8
|
export const StandardUsage: React.FunctionComponent = () => {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const V2Usage: React.FunctionComponent = () => {
|
|
49
|
-
return (
|
|
50
|
-
<View>
|
|
51
|
-
<Stack style={stackStyle} gap={5}>
|
|
52
|
-
<Caption1>Caption1</Caption1>
|
|
53
|
-
<Body1>Body1</Body1>
|
|
54
|
-
<Body1Strong>Body1Strong</Body1Strong>
|
|
55
|
-
<Body2>Body2</Body2>
|
|
56
|
-
<Body2Strong>Body2Strong</Body2Strong>
|
|
57
|
-
<Subtitle2>Subtitle2</Subtitle2>
|
|
58
|
-
<Subtitle2Strong>Subtitle2Strong</Subtitle2Strong>
|
|
59
|
-
<Subtitle1>Subtitle1</Subtitle1>
|
|
60
|
-
<Subtitle1Strong>Subtitle1Strong</Subtitle1Strong>
|
|
61
|
-
<Title1>Title1</Title1>
|
|
62
|
-
<Title1Strong>Title1Strong</Title1Strong>
|
|
63
|
-
<LargeTitle>LargeTitle</LargeTitle>
|
|
64
|
-
<Display>Display</Display>
|
|
65
|
-
</Stack>
|
|
66
|
-
</View>
|
|
67
|
-
);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
switch (Platform.OS) {
|
|
71
|
-
case 'android':
|
|
72
|
-
case 'ios':
|
|
73
|
-
case 'macos':
|
|
74
|
-
return <V1Usage />;
|
|
75
|
-
default:
|
|
76
|
-
return (
|
|
77
|
-
<View>
|
|
78
|
-
<V1Usage />
|
|
79
|
-
<V2Usage />
|
|
80
|
-
</View>
|
|
81
|
-
);
|
|
82
|
-
}
|
|
9
|
+
return (
|
|
10
|
+
<View>
|
|
11
|
+
<Stack style={stackStyle} gap={5}>
|
|
12
|
+
<Text variant="captionStandard" testID={HOMEPAGE_EXPERIMENTAL_TEXT_BUTTON}>
|
|
13
|
+
CaptionStandard
|
|
14
|
+
</Text>
|
|
15
|
+
<Text variant="secondaryStandard">SecondaryStandard</Text>
|
|
16
|
+
<Text variant="secondarySemibold">SecondarySemibold</Text>
|
|
17
|
+
<Text variant="bodyStandard">BodyStandard</Text>
|
|
18
|
+
<Text variant="bodySemibold">BodySemibold</Text>
|
|
19
|
+
<Text variant="subheaderStandard">SubheaderStandard</Text>
|
|
20
|
+
<Text variant="subheaderSemibold">SubheaderSemibold</Text>
|
|
21
|
+
<Text variant="headerStandard">HeaderStandard</Text>
|
|
22
|
+
<Text variant="headerSemibold">HeaderSemibold</Text>
|
|
23
|
+
<Text variant="heroStandard">HeroStandard</Text>
|
|
24
|
+
<Text variant="heroSemibold">HeroSemibold</Text>
|
|
25
|
+
<Text variant="heroLargeStandard">HeroLargeStandard</Text>
|
|
26
|
+
<Text variant="heroLargeSemibold">HeroLargeSemibold</Text>
|
|
27
|
+
</Stack>
|
|
28
|
+
</View>
|
|
29
|
+
);
|
|
83
30
|
};
|
|
@@ -5,6 +5,7 @@ import { PressableUsage } from './PressableUsage';
|
|
|
5
5
|
import { Test, TestSection, PlatformStatus } from '../Test';
|
|
6
6
|
import { E2EExperimentalTextTest } from './ExperimentalTextE2ETest';
|
|
7
7
|
import { EXPERIMENTAL_TEXT_TESTPAGE } from './consts';
|
|
8
|
+
import { V2Usage } from './V2Usage';
|
|
8
9
|
|
|
9
10
|
const textSections: TestSection[] = [
|
|
10
11
|
{
|
|
@@ -12,6 +13,10 @@ const textSections: TestSection[] = [
|
|
|
12
13
|
testID: EXPERIMENTAL_TEXT_TESTPAGE,
|
|
13
14
|
component: StandardUsage,
|
|
14
15
|
},
|
|
16
|
+
{
|
|
17
|
+
name: 'V2 Usage',
|
|
18
|
+
component: V2Usage,
|
|
19
|
+
},
|
|
15
20
|
{
|
|
16
21
|
name: 'Customize Usage',
|
|
17
22
|
component: CustomizeUsage,
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Stack } from '@fluentui-react-native/stack';
|
|
4
|
+
import { stackStyle } from '../Common/styles';
|
|
5
|
+
import {
|
|
6
|
+
Body1,
|
|
7
|
+
Body1Strong,
|
|
8
|
+
Body2,
|
|
9
|
+
Body2Strong,
|
|
10
|
+
Caption1,
|
|
11
|
+
Caption1Strong,
|
|
12
|
+
Caption2,
|
|
13
|
+
Display,
|
|
14
|
+
LargeTitle,
|
|
15
|
+
Title1,
|
|
16
|
+
Title2,
|
|
17
|
+
Title3,
|
|
18
|
+
} from '@fluentui-react-native/text';
|
|
19
|
+
|
|
20
|
+
export const V2Usage: React.FunctionComponent = () => {
|
|
21
|
+
return (
|
|
22
|
+
<View>
|
|
23
|
+
<Stack style={stackStyle} gap={5}>
|
|
24
|
+
<Caption2>Caption2</Caption2>
|
|
25
|
+
<Caption1>Caption1</Caption1>
|
|
26
|
+
<Caption1Strong>Caption1Strong</Caption1Strong>
|
|
27
|
+
<Body2>Body2</Body2>
|
|
28
|
+
<Body2Strong>Body2Strong</Body2Strong>
|
|
29
|
+
<Body1>Body1</Body1>
|
|
30
|
+
<Body1Strong>Body1Strong</Body1Strong>
|
|
31
|
+
<Title3>Title3</Title3>
|
|
32
|
+
<Title2>Title2</Title2>
|
|
33
|
+
<Title1>Title1</Title1>
|
|
34
|
+
<LargeTitle>LargeTitle</LargeTitle>
|
|
35
|
+
<Display>Display</Display>
|
|
36
|
+
</Stack>
|
|
37
|
+
</View>
|
|
38
|
+
);
|
|
39
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Stack } from '@fluentui-react-native/stack';
|
|
4
|
+
import { stackStyle } from '../Common/styles';
|
|
5
|
+
import {
|
|
6
|
+
Body1,
|
|
7
|
+
Body1Strong,
|
|
8
|
+
Body2,
|
|
9
|
+
Body2Strong,
|
|
10
|
+
Caption1,
|
|
11
|
+
Display,
|
|
12
|
+
LargeTitle,
|
|
13
|
+
Subtitle1,
|
|
14
|
+
Subtitle1Strong,
|
|
15
|
+
Subtitle2,
|
|
16
|
+
Subtitle2Strong,
|
|
17
|
+
Title1,
|
|
18
|
+
Title1Strong,
|
|
19
|
+
} from '@fluentui-react-native/text';
|
|
20
|
+
|
|
21
|
+
export const V2Usage: React.FunctionComponent = () => {
|
|
22
|
+
return (
|
|
23
|
+
<View>
|
|
24
|
+
<Stack style={stackStyle} gap={5}>
|
|
25
|
+
<Caption1>Caption1</Caption1>
|
|
26
|
+
<Body1>Body1</Body1>
|
|
27
|
+
<Body1Strong>Body1Strong</Body1Strong>
|
|
28
|
+
<Body2>Body2</Body2>
|
|
29
|
+
<Body2Strong>Body2Strong</Body2Strong>
|
|
30
|
+
<Subtitle2>Subtitle2</Subtitle2>
|
|
31
|
+
<Subtitle2Strong>Subtitle2Strong</Subtitle2Strong>
|
|
32
|
+
<Subtitle1>Subtitle1</Subtitle1>
|
|
33
|
+
<Subtitle1Strong>Subtitle1Strong</Subtitle1Strong>
|
|
34
|
+
<Title1>Title1</Title1>
|
|
35
|
+
<Title1Strong>Title1Strong</Title1Strong>
|
|
36
|
+
<LargeTitle>LargeTitle</LargeTitle>
|
|
37
|
+
<Display>Display</Display>
|
|
38
|
+
</Stack>
|
|
39
|
+
</View>
|
|
40
|
+
);
|
|
41
|
+
};
|