@fluentui-react-native/tester 0.134.12 → 0.134.14
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 +235 -1
- package/CHANGELOG.md +52 -2
- package/lib/fluent-tester/src/TestComponents/Divider/DividerTest.d.ts +1 -0
- package/lib/fluent-tester/src/TestComponents/Divider/DividerTest.d.ts.map +1 -1
- package/lib/fluent-tester/src/TestComponents/Divider/DividerTest.js +34 -11
- package/lib/fluent-tester/src/TestComponents/Divider/DividerTest.js.map +1 -1
- package/lib/fluent-tester/src/TestComponents/FocusZone/styles.d.ts +1 -1
- package/lib/fluent-tester/src/TestComponents/FocusZone/styles.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Divider/DividerTest.d.ts +1 -0
- package/lib-commonjs/fluent-tester/src/TestComponents/Divider/DividerTest.d.ts.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/Divider/DividerTest.js +36 -12
- package/lib-commonjs/fluent-tester/src/TestComponents/Divider/DividerTest.js.map +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/styles.d.ts +1 -1
- package/lib-commonjs/fluent-tester/src/TestComponents/FocusZone/styles.d.ts.map +1 -1
- package/package.json +35 -35
- package/src/TestComponents/Divider/DividerTest.tsx +41 -12
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,241 @@
|
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 24 Feb 2023 03:20:29 GMT",
|
|
6
|
+
"tag": "@fluentui-react-native/tester_v0.134.14",
|
|
7
|
+
"version": "0.134.14",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "beachball",
|
|
12
|
+
"package": "@fluentui-react-native/tester",
|
|
13
|
+
"comment": "Bump @fluentui-react-native/menu to v1.4.9",
|
|
14
|
+
"commit": "6377d71ad783bb48310d842ef05de87bf0915b09"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"date": "Fri, 24 Feb 2023 02:22:40 GMT",
|
|
21
|
+
"tag": "@fluentui-react-native/tester_v0.134.13",
|
|
22
|
+
"version": "0.134.13",
|
|
23
|
+
"comments": {
|
|
24
|
+
"patch": [
|
|
25
|
+
{
|
|
26
|
+
"author": "winlarry@microsoft.com",
|
|
27
|
+
"package": "@fluentui-react-native/tester",
|
|
28
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef",
|
|
29
|
+
"comment": "Add examples for customized dividers"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@fluentui-react-native/tester",
|
|
34
|
+
"comment": "Bump @fluentui-react-native/android-theme to v0.16.7",
|
|
35
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"author": "beachball",
|
|
39
|
+
"package": "@fluentui-react-native/tester",
|
|
40
|
+
"comment": "Bump @fluentui-react-native/apple-theme to v0.18.13",
|
|
41
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"author": "beachball",
|
|
45
|
+
"package": "@fluentui-react-native/tester",
|
|
46
|
+
"comment": "Bump @fluentui-react-native/avatar to v1.6.7",
|
|
47
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"author": "beachball",
|
|
51
|
+
"package": "@fluentui-react-native/tester",
|
|
52
|
+
"comment": "Bump @fluentui-react-native/badge to v0.4.28",
|
|
53
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"author": "beachball",
|
|
57
|
+
"package": "@fluentui-react-native/tester",
|
|
58
|
+
"comment": "Bump @fluentui-react-native/button to v0.32.33",
|
|
59
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "beachball",
|
|
63
|
+
"package": "@fluentui-react-native/tester",
|
|
64
|
+
"comment": "Bump @fluentui-react-native/default-theme to v0.17.2",
|
|
65
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "beachball",
|
|
69
|
+
"package": "@fluentui-react-native/tester",
|
|
70
|
+
"comment": "Bump @fluentui-react-native/divider to v0.3.0",
|
|
71
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"author": "beachball",
|
|
75
|
+
"package": "@fluentui-react-native/tester",
|
|
76
|
+
"comment": "Bump @fluentui-react-native/dropdown to v0.7.30",
|
|
77
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"author": "beachball",
|
|
81
|
+
"package": "@fluentui-react-native/tester",
|
|
82
|
+
"comment": "Bump @fluentui-react-native/experimental-activity-indicator to v0.7.19",
|
|
83
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"author": "beachball",
|
|
87
|
+
"package": "@fluentui-react-native/tester",
|
|
88
|
+
"comment": "Bump @fluentui-react-native/experimental-appearance-additions to v0.3.3",
|
|
89
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"author": "beachball",
|
|
93
|
+
"package": "@fluentui-react-native/tester",
|
|
94
|
+
"comment": "Bump @fluentui-react-native/experimental-avatar to v0.17.17",
|
|
95
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"author": "beachball",
|
|
99
|
+
"package": "@fluentui-react-native/tester",
|
|
100
|
+
"comment": "Bump @fluentui-react-native/experimental-button to v0.16.91",
|
|
101
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"author": "beachball",
|
|
105
|
+
"package": "@fluentui-react-native/tester",
|
|
106
|
+
"comment": "Bump @fluentui-react-native/experimental-checkbox to v0.13.39",
|
|
107
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"author": "beachball",
|
|
111
|
+
"package": "@fluentui-react-native/tester",
|
|
112
|
+
"comment": "Bump @fluentui-react-native/experimental-expander to v0.5.19",
|
|
113
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"author": "beachball",
|
|
117
|
+
"package": "@fluentui-react-native/tester",
|
|
118
|
+
"comment": "Bump @fluentui-react-native/experimental-menu-button to v0.6.32",
|
|
119
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"author": "beachball",
|
|
123
|
+
"package": "@fluentui-react-native/tester",
|
|
124
|
+
"comment": "Bump @fluentui-react-native/experimental-radio-group to v0.9.20",
|
|
125
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"author": "beachball",
|
|
129
|
+
"package": "@fluentui-react-native/tester",
|
|
130
|
+
"comment": "Bump @fluentui-react-native/experimental-shadow to v0.2.69",
|
|
131
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"author": "beachball",
|
|
135
|
+
"package": "@fluentui-react-native/tester",
|
|
136
|
+
"comment": "Bump @fluentui-react-native/experimental-shimmer to v0.8.21",
|
|
137
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"author": "beachball",
|
|
141
|
+
"package": "@fluentui-react-native/tester",
|
|
142
|
+
"comment": "Bump @fluentui-react-native/experimental-tabs to v0.8.33",
|
|
143
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"author": "beachball",
|
|
147
|
+
"package": "@fluentui-react-native/tester",
|
|
148
|
+
"comment": "Bump @fluentui-react-native/experimental-text to v0.11.52",
|
|
149
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"author": "beachball",
|
|
153
|
+
"package": "@fluentui-react-native/tester",
|
|
154
|
+
"comment": "Bump @fluentui-react-native/framework to v0.9.2",
|
|
155
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "beachball",
|
|
159
|
+
"package": "@fluentui-react-native/tester",
|
|
160
|
+
"comment": "Bump @fluentui-react-native/icon to v0.17.13",
|
|
161
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"author": "beachball",
|
|
165
|
+
"package": "@fluentui-react-native/tester",
|
|
166
|
+
"comment": "Bump @fluentui-react-native/interactive-hooks to v0.22.19",
|
|
167
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"author": "beachball",
|
|
171
|
+
"package": "@fluentui-react-native/tester",
|
|
172
|
+
"comment": "Bump @fluentui-react-native/menu to v1.4.8",
|
|
173
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"author": "beachball",
|
|
177
|
+
"package": "@fluentui-react-native/tester",
|
|
178
|
+
"comment": "Bump @fluentui-react-native/notification to v0.21.34",
|
|
179
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"author": "beachball",
|
|
183
|
+
"package": "@fluentui-react-native/tester",
|
|
184
|
+
"comment": "Bump @fluentui-react-native/separator to v0.14.16",
|
|
185
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"author": "beachball",
|
|
189
|
+
"package": "@fluentui-react-native/tester",
|
|
190
|
+
"comment": "Bump @fluentui-react-native/stack to v0.7.53",
|
|
191
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"author": "beachball",
|
|
195
|
+
"package": "@fluentui-react-native/tester",
|
|
196
|
+
"comment": "Bump @fluentui-react-native/switch to v0.8.27",
|
|
197
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"author": "beachball",
|
|
201
|
+
"package": "@fluentui-react-native/tester",
|
|
202
|
+
"comment": "Bump @fluentui-react-native/text to v0.19.21",
|
|
203
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"author": "beachball",
|
|
207
|
+
"package": "@fluentui-react-native/tester",
|
|
208
|
+
"comment": "Bump @fluentui-react-native/theming-utils to v0.23.4",
|
|
209
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"author": "beachball",
|
|
213
|
+
"package": "@fluentui-react-native/tester",
|
|
214
|
+
"comment": "Bump @fluentui-react-native/win32-theme to v0.25.2",
|
|
215
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"author": "beachball",
|
|
219
|
+
"package": "@fluentui-react-native/tester",
|
|
220
|
+
"comment": "Bump @fluentui/react-native to v0.36.3",
|
|
221
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"author": "beachball",
|
|
225
|
+
"package": "@fluentui-react-native/tester",
|
|
226
|
+
"comment": "Bump @fluentui-react-native/spinner to v0.2.2",
|
|
227
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"author": "beachball",
|
|
231
|
+
"package": "@fluentui-react-native/tester",
|
|
232
|
+
"comment": "Bump @fluentui-react-native/focus-zone to v0.11.31",
|
|
233
|
+
"commit": "a266ece54bfecbd7edd912a26f46dae655bf48ef"
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"date": "Thu, 23 Feb 2023 22:09:21 GMT",
|
|
6
240
|
"tag": "@fluentui-react-native/tester_v0.134.12",
|
|
7
241
|
"version": "0.134.12",
|
|
8
242
|
"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 Fri, 24 Feb 2023 03:20:29 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.134.14
|
|
8
|
+
|
|
9
|
+
Fri, 24 Feb 2023 03:20:29 GMT
|
|
10
|
+
|
|
11
|
+
### Patches
|
|
12
|
+
|
|
13
|
+
- Bump @fluentui-react-native/menu to v1.4.9
|
|
14
|
+
|
|
15
|
+
## 0.134.13
|
|
16
|
+
|
|
17
|
+
Fri, 24 Feb 2023 02:22:40 GMT
|
|
18
|
+
|
|
19
|
+
### Patches
|
|
20
|
+
|
|
21
|
+
- Add examples for customized dividers (winlarry@microsoft.com)
|
|
22
|
+
- Bump @fluentui-react-native/android-theme to v0.16.7
|
|
23
|
+
- Bump @fluentui-react-native/apple-theme to v0.18.13
|
|
24
|
+
- Bump @fluentui-react-native/avatar to v1.6.7
|
|
25
|
+
- Bump @fluentui-react-native/badge to v0.4.28
|
|
26
|
+
- Bump @fluentui-react-native/button to v0.32.33
|
|
27
|
+
- Bump @fluentui-react-native/default-theme to v0.17.2
|
|
28
|
+
- Bump @fluentui-react-native/divider to v0.3.0
|
|
29
|
+
- Bump @fluentui-react-native/dropdown to v0.7.30
|
|
30
|
+
- Bump @fluentui-react-native/experimental-activity-indicator to v0.7.19
|
|
31
|
+
- Bump @fluentui-react-native/experimental-appearance-additions to v0.3.3
|
|
32
|
+
- Bump @fluentui-react-native/experimental-avatar to v0.17.17
|
|
33
|
+
- Bump @fluentui-react-native/experimental-button to v0.16.91
|
|
34
|
+
- Bump @fluentui-react-native/experimental-checkbox to v0.13.39
|
|
35
|
+
- Bump @fluentui-react-native/experimental-expander to v0.5.19
|
|
36
|
+
- Bump @fluentui-react-native/experimental-menu-button to v0.6.32
|
|
37
|
+
- Bump @fluentui-react-native/experimental-radio-group to v0.9.20
|
|
38
|
+
- Bump @fluentui-react-native/experimental-shadow to v0.2.69
|
|
39
|
+
- Bump @fluentui-react-native/experimental-shimmer to v0.8.21
|
|
40
|
+
- Bump @fluentui-react-native/experimental-tabs to v0.8.33
|
|
41
|
+
- Bump @fluentui-react-native/experimental-text to v0.11.52
|
|
42
|
+
- Bump @fluentui-react-native/framework to v0.9.2
|
|
43
|
+
- Bump @fluentui-react-native/icon to v0.17.13
|
|
44
|
+
- Bump @fluentui-react-native/interactive-hooks to v0.22.19
|
|
45
|
+
- Bump @fluentui-react-native/menu to v1.4.8
|
|
46
|
+
- Bump @fluentui-react-native/notification to v0.21.34
|
|
47
|
+
- Bump @fluentui-react-native/separator to v0.14.16
|
|
48
|
+
- Bump @fluentui-react-native/stack to v0.7.53
|
|
49
|
+
- Bump @fluentui-react-native/switch to v0.8.27
|
|
50
|
+
- Bump @fluentui-react-native/text to v0.19.21
|
|
51
|
+
- Bump @fluentui-react-native/theming-utils to v0.23.4
|
|
52
|
+
- Bump @fluentui-react-native/win32-theme to v0.25.2
|
|
53
|
+
- Bump @fluentui/react-native to v0.36.3
|
|
54
|
+
- Bump @fluentui-react-native/spinner to v0.2.2
|
|
55
|
+
- Bump @fluentui-react-native/focus-zone to v0.11.31
|
|
56
|
+
|
|
7
57
|
## 0.134.12
|
|
8
58
|
|
|
9
|
-
Thu, 23 Feb 2023 22:
|
|
59
|
+
Thu, 23 Feb 2023 22:09:21 GMT
|
|
10
60
|
|
|
11
61
|
### Patches
|
|
12
62
|
|
|
@@ -3,5 +3,6 @@ export declare const HorizontalDividers: React.FunctionComponent;
|
|
|
3
3
|
export declare const VerticalDividers: React.FunctionComponent;
|
|
4
4
|
export declare const DividersWithAppearance: React.FunctionComponent;
|
|
5
5
|
export declare const DividersWithIcons: React.FunctionComponent;
|
|
6
|
+
export declare const CustomDividers: React.FunctionComponent;
|
|
6
7
|
export declare const DividerTest: React.FunctionComponent;
|
|
7
8
|
//# sourceMappingURL=DividerTest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DividerTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Divider/DividerTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DividerTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Divider/DividerTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkC/B,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAUtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAsBpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBAO1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAWrC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAelC,CAAC;AAuCF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAoB/B,CAAC"}
|
|
@@ -9,24 +9,32 @@ import { commonTestStyles } from '../Common/styles';
|
|
|
9
9
|
import TestSvg from '../../../assets/test.svg';
|
|
10
10
|
import { CustomisedMobileDividers, MobileDividers } from './MobileDividerTest';
|
|
11
11
|
var isMobile = Platform.OS === 'android' || Platform.OS === 'ios';
|
|
12
|
-
var
|
|
12
|
+
var PaddedDivider = Divider.customize({ paddingVertical: 4, thickness: 2 });
|
|
13
13
|
var CustomText = Text.customize({ margin: 8 });
|
|
14
|
-
var
|
|
14
|
+
var ColoredDivider = Divider.customize({ contentColor: '#bf5700', lineColor: '#bf5700' });
|
|
15
|
+
var ThickDivider = Divider.customize({ thickness: 3 });
|
|
16
|
+
var TextVariantDivider = Divider.customize({ variant: 'subtitle2Strong' });
|
|
17
|
+
var StyledTextDivider = Divider.customize({ fontSize: 10, fontStyle: 'italic', textDecorationLine: 'underline' });
|
|
15
18
|
var dividerTestStyles = StyleSheet.create({
|
|
16
19
|
verticalDividerContainer: {
|
|
17
20
|
marginVertical: 8,
|
|
18
21
|
flexDirection: 'row',
|
|
19
22
|
justifyContent: 'space-evenly',
|
|
20
23
|
},
|
|
24
|
+
horizontalDividerContainer: {
|
|
25
|
+
height: 120,
|
|
26
|
+
flexDirection: 'column',
|
|
27
|
+
justifyContent: 'space-evenly',
|
|
28
|
+
},
|
|
21
29
|
});
|
|
22
30
|
export var HorizontalDividers = function () { return (React.createElement(Stack, { style: commonTestStyles.stack },
|
|
23
31
|
React.createElement(CustomText, null, "Regular divider with no content below."),
|
|
24
32
|
React.createElement(Divider, null),
|
|
25
33
|
React.createElement(CustomText, null, "Regular divider with no content above."),
|
|
26
34
|
React.createElement(Divider, null, "Divider with text content."),
|
|
27
|
-
React.createElement(Divider, { insetSize: 16 }, "
|
|
28
|
-
React.createElement(
|
|
29
|
-
React.createElement(
|
|
35
|
+
React.createElement(Divider, { insetSize: 16 }, "Divider with text + inset."),
|
|
36
|
+
React.createElement(PaddedDivider, { alignContent: "start" }, "I am a start-aligned divider"),
|
|
37
|
+
React.createElement(PaddedDivider, { alignContent: "end" }, "I am a end-aligned divider"))); };
|
|
30
38
|
export var VerticalDividers = function () { return (React.createElement(Stack, { style: commonTestStyles.stack },
|
|
31
39
|
React.createElement(View, { style: dividerTestStyles.verticalDividerContainer },
|
|
32
40
|
React.createElement(CustomText, null,
|
|
@@ -37,8 +45,8 @@ export var VerticalDividers = function () { return (React.createElement(Stack, {
|
|
|
37
45
|
"Divider with an inset ",
|
|
38
46
|
'->'),
|
|
39
47
|
React.createElement(Divider, { vertical: true, insetSize: 16 }),
|
|
40
|
-
React.createElement(
|
|
41
|
-
React.createElement(
|
|
48
|
+
React.createElement(PaddedDivider, { vertical: true }, "Divider with text"),
|
|
49
|
+
React.createElement(Divider, { vertical: true, alignContent: "start" }, "Start-aligned divider"),
|
|
42
50
|
React.createElement(Divider, { vertical: true, alignContent: "end" }, "End-aligned divider")),
|
|
43
51
|
React.createElement(Divider, null),
|
|
44
52
|
React.createElement(View, { style: dividerTestStyles.verticalDividerContainer },
|
|
@@ -46,14 +54,25 @@ export var VerticalDividers = function () { return (React.createElement(Stack, {
|
|
|
46
54
|
React.createElement(Divider, { vertical: true }),
|
|
47
55
|
React.createElement(CustomText, null, "The divider to the left of me should have a min height of 24px")))); };
|
|
48
56
|
export var DividersWithAppearance = function () { return (React.createElement(Stack, { style: commonTestStyles.stack },
|
|
49
|
-
React.createElement(
|
|
50
|
-
React.createElement(
|
|
51
|
-
React.createElement(
|
|
52
|
-
React.createElement(
|
|
57
|
+
React.createElement(PaddedDivider, { appearance: "default" }, "Default divider"),
|
|
58
|
+
React.createElement(PaddedDivider, { appearance: "subtle" }, "Subtle divider"),
|
|
59
|
+
React.createElement(PaddedDivider, { appearance: "brand" }, "Branded divider"),
|
|
60
|
+
React.createElement(PaddedDivider, { appearance: "strong" }, "Strong divider"))); };
|
|
53
61
|
export var DividersWithIcons = function () { return (React.createElement(Stack, { style: commonTestStyles.stack },
|
|
54
62
|
React.createElement(Divider, { appearance: "brand", icon: { fontSource: { fontFamily: 'Arial', codepoint: 0x2663, fontSize: 32 } } }),
|
|
55
63
|
React.createElement(CustomText, { align: "center" }, "Above is a branded Divider with a font icon as content. Below me is a branded divider with an svg icon as content - this will not show on UWP."),
|
|
56
64
|
Platform.OS !== 'windows' && (React.createElement(Divider, { appearance: "brand", icon: { svgSource: { viewBox: '0 0 500 500', src: TestSvg, width: 32, height: 32 } } })))); };
|
|
65
|
+
export var CustomDividers = function () { return (React.createElement(Stack, { style: commonTestStyles.stack },
|
|
66
|
+
React.createElement(View, { style: dividerTestStyles.horizontalDividerContainer },
|
|
67
|
+
React.createElement(ColoredDivider, null, "Divider with color"),
|
|
68
|
+
React.createElement(ThickDivider, null, "Divider with thickness"),
|
|
69
|
+
React.createElement(TextVariantDivider, null, "Divider with text variant"),
|
|
70
|
+
React.createElement(StyledTextDivider, null, "Divider with text styling")),
|
|
71
|
+
React.createElement(View, { style: dividerTestStyles.verticalDividerContainer },
|
|
72
|
+
React.createElement(ColoredDivider, { vertical: true }, "Divider with color"),
|
|
73
|
+
React.createElement(ThickDivider, { vertical: true }, "Divider with thickness"),
|
|
74
|
+
React.createElement(TextVariantDivider, { vertical: true }, "Divider with text variant"),
|
|
75
|
+
React.createElement(StyledTextDivider, { vertical: true }, "Divider with text styling")))); };
|
|
57
76
|
var dividerSections = [
|
|
58
77
|
{
|
|
59
78
|
name: 'Horizontal Dividers',
|
|
@@ -68,6 +87,10 @@ var dividerSections = [
|
|
|
68
87
|
name: 'Divider Appearances',
|
|
69
88
|
component: DividersWithAppearance,
|
|
70
89
|
},
|
|
90
|
+
{
|
|
91
|
+
name: 'Custom Dividers',
|
|
92
|
+
component: CustomDividers,
|
|
93
|
+
},
|
|
71
94
|
{
|
|
72
95
|
name: 'Dividers with Icons',
|
|
73
96
|
component: DividersWithIcons,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DividerTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Divider/DividerTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,MAAM,IAAI,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,OAAO,MAAM,0BAA0B,CAAC;AAC/C,OAAO,EAAE,wBAAwB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE/E,IAAM,QAAQ,GAAG,QAAQ,CAAC,EAAE,KAAK,SAAS,IAAI,QAAQ,CAAC,EAAE,KAAK,KAAK,CAAC;AACpE,IAAM,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"DividerTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Divider/DividerTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,IAAI,EA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KAC9B,CAAC;IAEF,IAAM,WAAW,GAAG,oHAAoH,CAAC;IACzI,IAAM,iBAAiB,GAAG,4EAA4E,CAAC;IAEvG,OAAO,CACL,oBAAC,IAAI,IACH,IAAI,EAAC,cAAc,EACnB,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,WAAW,EACvD,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,eAAe,EAC5D,MAAM,EAAE,MAAM,GACR,CACT,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -54,5 +54,5 @@ export declare const focusZoneTestStyles: {
|
|
|
54
54
|
export declare const GridButton: import("@fluentui-react-native/composition").ComposeFactoryComponent<import("@fluentui/react-native").ButtonProps, import("@fluentui/react-native").ButtonSlotProps, import("@fluentui/react-native").ButtonTokens, import("@fluentui-react-native/theme-types").Theme, object>;
|
|
55
55
|
export declare const SubheaderText: import("@uifabricshared/foundation-compose").IComposeReturnType<import("@fluentui/react-native").ITextProps<import("@fluentui-react-native/adapters").ITextProps>, {
|
|
56
56
|
root: import("@fluentui-react-native/adapters").ITextProps;
|
|
57
|
-
}, import("@fluentui-react-native/tokens").FontStyleTokens & import("@fluentui-react-native/tokens").FontVariantTokens & import("@fluentui-react-native/tokens").IForegroundColorTokens & import("@fluentui-react-native/tokens").IBackgroundColorTokens, object, object>;
|
|
57
|
+
}, import("@fluentui-react-native/tokens").FontStyleTokens & import("@fluentui-react-native/tokens").FontVariantTokens & import("@fluentui-react-native/tokens/lib/text-tokens").FontDecorationTokens & import("@fluentui-react-native/tokens").IForegroundColorTokens & import("@fluentui-react-native/tokens").IBackgroundColorTokens, object, object>;
|
|
58
58
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/FocusZone/styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD9B,CAAC;AAEH,eAAO,MAAM,UAAU,iRAWrB,CAAC;AAEH,eAAO,MAAM,aAAa;;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/FocusZone/styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD9B,CAAC;AAEH,eAAO,MAAM,UAAU,iRAWrB,CAAC;AAEH,eAAO,MAAM,aAAa;;wVAGxB,CAAC"}
|
|
@@ -3,5 +3,6 @@ export declare const HorizontalDividers: React.FunctionComponent;
|
|
|
3
3
|
export declare const VerticalDividers: React.FunctionComponent;
|
|
4
4
|
export declare const DividersWithAppearance: React.FunctionComponent;
|
|
5
5
|
export declare const DividersWithIcons: React.FunctionComponent;
|
|
6
|
+
export declare const CustomDividers: React.FunctionComponent;
|
|
6
7
|
export declare const DividerTest: React.FunctionComponent;
|
|
7
8
|
//# sourceMappingURL=DividerTest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DividerTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Divider/DividerTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DividerTest.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/Divider/DividerTest.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkC/B,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,iBAUtC,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,iBAsBpC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,iBAO1C,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAWrC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAelC,CAAC;AAuCF,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,iBAoB/B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DividerTest = exports.DividersWithIcons = exports.DividersWithAppearance = exports.VerticalDividers = exports.HorizontalDividers = void 0;
|
|
3
|
+
exports.DividerTest = exports.CustomDividers = exports.DividersWithIcons = exports.DividersWithAppearance = exports.VerticalDividers = exports.HorizontalDividers = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var React = tslib_1.__importStar(require("react"));
|
|
6
6
|
var react_native_1 = require("react-native");
|
|
@@ -13,24 +13,32 @@ var styles_1 = require("../Common/styles");
|
|
|
13
13
|
var test_svg_1 = tslib_1.__importDefault(require("../../../assets/test.svg"));
|
|
14
14
|
var MobileDividerTest_1 = require("./MobileDividerTest");
|
|
15
15
|
var isMobile = react_native_1.Platform.OS === 'android' || react_native_1.Platform.OS === 'ios';
|
|
16
|
-
var
|
|
16
|
+
var PaddedDivider = divider_1.Divider.customize({ paddingVertical: 4, thickness: 2 });
|
|
17
17
|
var CustomText = text_1.TextV1.customize({ margin: 8 });
|
|
18
|
-
var
|
|
18
|
+
var ColoredDivider = divider_1.Divider.customize({ contentColor: '#bf5700', lineColor: '#bf5700' });
|
|
19
|
+
var ThickDivider = divider_1.Divider.customize({ thickness: 3 });
|
|
20
|
+
var TextVariantDivider = divider_1.Divider.customize({ variant: 'subtitle2Strong' });
|
|
21
|
+
var StyledTextDivider = divider_1.Divider.customize({ fontSize: 10, fontStyle: 'italic', textDecorationLine: 'underline' });
|
|
19
22
|
var dividerTestStyles = react_native_1.StyleSheet.create({
|
|
20
23
|
verticalDividerContainer: {
|
|
21
24
|
marginVertical: 8,
|
|
22
25
|
flexDirection: 'row',
|
|
23
26
|
justifyContent: 'space-evenly',
|
|
24
27
|
},
|
|
28
|
+
horizontalDividerContainer: {
|
|
29
|
+
height: 120,
|
|
30
|
+
flexDirection: 'column',
|
|
31
|
+
justifyContent: 'space-evenly',
|
|
32
|
+
},
|
|
25
33
|
});
|
|
26
34
|
var HorizontalDividers = function () { return (React.createElement(stack_1.Stack, { style: styles_1.commonTestStyles.stack },
|
|
27
35
|
React.createElement(CustomText, null, "Regular divider with no content below."),
|
|
28
36
|
React.createElement(divider_1.Divider, null),
|
|
29
37
|
React.createElement(CustomText, null, "Regular divider with no content above."),
|
|
30
38
|
React.createElement(divider_1.Divider, null, "Divider with text content."),
|
|
31
|
-
React.createElement(divider_1.Divider, { insetSize: 16 }, "
|
|
32
|
-
React.createElement(
|
|
33
|
-
React.createElement(
|
|
39
|
+
React.createElement(divider_1.Divider, { insetSize: 16 }, "Divider with text + inset."),
|
|
40
|
+
React.createElement(PaddedDivider, { alignContent: "start" }, "I am a start-aligned divider"),
|
|
41
|
+
React.createElement(PaddedDivider, { alignContent: "end" }, "I am a end-aligned divider"))); };
|
|
34
42
|
exports.HorizontalDividers = HorizontalDividers;
|
|
35
43
|
var VerticalDividers = function () { return (React.createElement(stack_1.Stack, { style: styles_1.commonTestStyles.stack },
|
|
36
44
|
React.createElement(react_native_1.View, { style: dividerTestStyles.verticalDividerContainer },
|
|
@@ -42,8 +50,8 @@ var VerticalDividers = function () { return (React.createElement(stack_1.Stack,
|
|
|
42
50
|
"Divider with an inset ",
|
|
43
51
|
'->'),
|
|
44
52
|
React.createElement(divider_1.Divider, { vertical: true, insetSize: 16 }),
|
|
45
|
-
React.createElement(
|
|
46
|
-
React.createElement(
|
|
53
|
+
React.createElement(PaddedDivider, { vertical: true }, "Divider with text"),
|
|
54
|
+
React.createElement(divider_1.Divider, { vertical: true, alignContent: "start" }, "Start-aligned divider"),
|
|
47
55
|
React.createElement(divider_1.Divider, { vertical: true, alignContent: "end" }, "End-aligned divider")),
|
|
48
56
|
React.createElement(divider_1.Divider, null),
|
|
49
57
|
React.createElement(react_native_1.View, { style: dividerTestStyles.verticalDividerContainer },
|
|
@@ -52,16 +60,28 @@ var VerticalDividers = function () { return (React.createElement(stack_1.Stack,
|
|
|
52
60
|
React.createElement(CustomText, null, "The divider to the left of me should have a min height of 24px")))); };
|
|
53
61
|
exports.VerticalDividers = VerticalDividers;
|
|
54
62
|
var DividersWithAppearance = function () { return (React.createElement(stack_1.Stack, { style: styles_1.commonTestStyles.stack },
|
|
55
|
-
React.createElement(
|
|
56
|
-
React.createElement(
|
|
57
|
-
React.createElement(
|
|
58
|
-
React.createElement(
|
|
63
|
+
React.createElement(PaddedDivider, { appearance: "default" }, "Default divider"),
|
|
64
|
+
React.createElement(PaddedDivider, { appearance: "subtle" }, "Subtle divider"),
|
|
65
|
+
React.createElement(PaddedDivider, { appearance: "brand" }, "Branded divider"),
|
|
66
|
+
React.createElement(PaddedDivider, { appearance: "strong" }, "Strong divider"))); };
|
|
59
67
|
exports.DividersWithAppearance = DividersWithAppearance;
|
|
60
68
|
var DividersWithIcons = function () { return (React.createElement(stack_1.Stack, { style: styles_1.commonTestStyles.stack },
|
|
61
69
|
React.createElement(divider_1.Divider, { appearance: "brand", icon: { fontSource: { fontFamily: 'Arial', codepoint: 0x2663, fontSize: 32 } } }),
|
|
62
70
|
React.createElement(CustomText, { align: "center" }, "Above is a branded Divider with a font icon as content. Below me is a branded divider with an svg icon as content - this will not show on UWP."),
|
|
63
71
|
react_native_1.Platform.OS !== 'windows' && (React.createElement(divider_1.Divider, { appearance: "brand", icon: { svgSource: { viewBox: '0 0 500 500', src: test_svg_1.default, width: 32, height: 32 } } })))); };
|
|
64
72
|
exports.DividersWithIcons = DividersWithIcons;
|
|
73
|
+
var CustomDividers = function () { return (React.createElement(stack_1.Stack, { style: styles_1.commonTestStyles.stack },
|
|
74
|
+
React.createElement(react_native_1.View, { style: dividerTestStyles.horizontalDividerContainer },
|
|
75
|
+
React.createElement(ColoredDivider, null, "Divider with color"),
|
|
76
|
+
React.createElement(ThickDivider, null, "Divider with thickness"),
|
|
77
|
+
React.createElement(TextVariantDivider, null, "Divider with text variant"),
|
|
78
|
+
React.createElement(StyledTextDivider, null, "Divider with text styling")),
|
|
79
|
+
React.createElement(react_native_1.View, { style: dividerTestStyles.verticalDividerContainer },
|
|
80
|
+
React.createElement(ColoredDivider, { vertical: true }, "Divider with color"),
|
|
81
|
+
React.createElement(ThickDivider, { vertical: true }, "Divider with thickness"),
|
|
82
|
+
React.createElement(TextVariantDivider, { vertical: true }, "Divider with text variant"),
|
|
83
|
+
React.createElement(StyledTextDivider, { vertical: true }, "Divider with text styling")))); };
|
|
84
|
+
exports.CustomDividers = CustomDividers;
|
|
65
85
|
var dividerSections = [
|
|
66
86
|
{
|
|
67
87
|
name: 'Horizontal Dividers',
|
|
@@ -76,6 +96,10 @@ var dividerSections = [
|
|
|
76
96
|
name: 'Divider Appearances',
|
|
77
97
|
component: exports.DividersWithAppearance,
|
|
78
98
|
},
|
|
99
|
+
{
|
|
100
|
+
name: 'Custom Dividers',
|
|
101
|
+
component: exports.CustomDividers,
|
|
102
|
+
},
|
|
79
103
|
{
|
|
80
104
|
name: 'Dividers with Icons',
|
|
81
105
|
component: exports.DividersWithIcons,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DividerTest.js","sourceRoot":"","sources":["../../../../../src/TestComponents/Divider/DividerTest.tsx"],"names":[],"mappings":";;;;AAAA,mDAA+B;AAC/B,6CAA0D;AAC1D,0DAAyD;AACzD,sDAAqD;AACrD,oDAA6D;AAC7D,6DAAsE;AACtE,gCAA+B;AAE/B,2CAAoD;AACpD,8EAA+C;AAC/C,yDAA+E;AAE/E,IAAM,QAAQ,GAAG,uBAAQ,CAAC,EAAE,KAAK,SAAS,IAAI,uBAAQ,CAAC,EAAE,KAAK,KAAK,CAAC;AACpE,IAAM,aAAa,GAAG,iBAAO,CAAC,SAAS,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file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C,WAAI,IACH,IAAI,EAAC,cAAc,EACnB,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,WAAW,EACvD,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,qBAAqB,CAAC,CAAC,CAAC,eAAe,EAC5D,MAAM,EAAE,MAAM,GACR,CACT,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,WAAW,eAoBtB"}
|
|
@@ -54,5 +54,5 @@ export declare const focusZoneTestStyles: {
|
|
|
54
54
|
export declare const GridButton: import("@fluentui-react-native/composition").ComposeFactoryComponent<import("@fluentui/react-native").ButtonProps, import("@fluentui/react-native").ButtonSlotProps, import("@fluentui/react-native").ButtonTokens, import("@fluentui-react-native/theme-types").Theme, object>;
|
|
55
55
|
export declare const SubheaderText: import("@uifabricshared/foundation-compose").IComposeReturnType<import("@fluentui/react-native").ITextProps<import("@fluentui-react-native/adapters").ITextProps>, {
|
|
56
56
|
root: import("@fluentui-react-native/adapters").ITextProps;
|
|
57
|
-
}, import("@fluentui-react-native/tokens").FontStyleTokens & import("@fluentui-react-native/tokens").FontVariantTokens & import("@fluentui-react-native/tokens").IForegroundColorTokens & import("@fluentui-react-native/tokens").IBackgroundColorTokens, object, object>;
|
|
57
|
+
}, import("@fluentui-react-native/tokens").FontStyleTokens & import("@fluentui-react-native/tokens").FontVariantTokens & import("@fluentui-react-native/tokens/lib/text-tokens").FontDecorationTokens & import("@fluentui-react-native/tokens").IForegroundColorTokens & import("@fluentui-react-native/tokens").IBackgroundColorTokens, object, object>;
|
|
58
58
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/FocusZone/styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD9B,CAAC;AAEH,eAAO,MAAM,UAAU,iRAWrB,CAAC;AAEH,eAAO,MAAM,aAAa;;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/TestComponents/FocusZone/styles.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD9B,CAAC;AAEH,eAAO,MAAM,UAAU,iRAWrB,CAAC;AAEH,eAAO,MAAM,aAAa;;wVAGxB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui-react-native/tester",
|
|
3
|
-
"version": "0.134.
|
|
3
|
+
"version": "0.134.14",
|
|
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>",
|
|
@@ -33,51 +33,51 @@
|
|
|
33
33
|
"directory": "apps/fluent-tester"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@fluentui-react-native/android-theme": ">=0.16.
|
|
37
|
-
"@fluentui-react-native/apple-theme": ">=0.18.
|
|
38
|
-
"@fluentui-react-native/avatar": "^1.6.
|
|
39
|
-
"@fluentui-react-native/badge": ">=0.4.
|
|
40
|
-
"@fluentui-react-native/button": ">=0.32.
|
|
41
|
-
"@fluentui-react-native/default-theme": ">=0.17.
|
|
42
|
-
"@fluentui-react-native/divider": "^0.
|
|
43
|
-
"@fluentui-react-native/dropdown": ">=0.7.
|
|
44
|
-
"@fluentui-react-native/experimental-activity-indicator": ">=0.7.
|
|
45
|
-
"@fluentui-react-native/experimental-appearance-additions": "^0.3.
|
|
46
|
-
"@fluentui-react-native/experimental-avatar": ">=0.17.
|
|
47
|
-
"@fluentui-react-native/experimental-button": "0.16.
|
|
48
|
-
"@fluentui-react-native/experimental-checkbox": "0.13.
|
|
49
|
-
"@fluentui-react-native/experimental-expander": "0.5.
|
|
50
|
-
"@fluentui-react-native/experimental-menu-button": ">=0.6.
|
|
36
|
+
"@fluentui-react-native/android-theme": ">=0.16.7 <1.0.0",
|
|
37
|
+
"@fluentui-react-native/apple-theme": ">=0.18.13 <1.0.0",
|
|
38
|
+
"@fluentui-react-native/avatar": "^1.6.7",
|
|
39
|
+
"@fluentui-react-native/badge": ">=0.4.28 <1.0.0",
|
|
40
|
+
"@fluentui-react-native/button": ">=0.32.33 <1.0.0",
|
|
41
|
+
"@fluentui-react-native/default-theme": ">=0.17.2 <1.0.0",
|
|
42
|
+
"@fluentui-react-native/divider": "^0.3.0",
|
|
43
|
+
"@fluentui-react-native/dropdown": ">=0.7.30 <1.0.0",
|
|
44
|
+
"@fluentui-react-native/experimental-activity-indicator": ">=0.7.19 <1.0.0",
|
|
45
|
+
"@fluentui-react-native/experimental-appearance-additions": "^0.3.3",
|
|
46
|
+
"@fluentui-react-native/experimental-avatar": ">=0.17.17 <1.0.0",
|
|
47
|
+
"@fluentui-react-native/experimental-button": "0.16.91",
|
|
48
|
+
"@fluentui-react-native/experimental-checkbox": "0.13.39",
|
|
49
|
+
"@fluentui-react-native/experimental-expander": "0.5.19",
|
|
50
|
+
"@fluentui-react-native/experimental-menu-button": ">=0.6.32 <1.0.0",
|
|
51
51
|
"@fluentui-react-native/experimental-native-date-picker": ">=0.7.6 <1.0.0",
|
|
52
|
-
"@fluentui-react-native/experimental-radio-group": "^0.9.
|
|
53
|
-
"@fluentui-react-native/experimental-shadow": "0.2.
|
|
54
|
-
"@fluentui-react-native/experimental-shimmer": "0.8.
|
|
55
|
-
"@fluentui-react-native/experimental-tabs": "0.8.
|
|
56
|
-
"@fluentui-react-native/experimental-text": ">=0.11.
|
|
57
|
-
"@fluentui-react-native/framework": ">=0.9.
|
|
58
|
-
"@fluentui-react-native/icon": "0.17.
|
|
59
|
-
"@fluentui-react-native/interactive-hooks": ">=0.22.
|
|
60
|
-
"@fluentui-react-native/menu": "^1.4.
|
|
52
|
+
"@fluentui-react-native/experimental-radio-group": "^0.9.20",
|
|
53
|
+
"@fluentui-react-native/experimental-shadow": "0.2.69",
|
|
54
|
+
"@fluentui-react-native/experimental-shimmer": "0.8.21",
|
|
55
|
+
"@fluentui-react-native/experimental-tabs": "0.8.33",
|
|
56
|
+
"@fluentui-react-native/experimental-text": ">=0.11.52 <1.0.0",
|
|
57
|
+
"@fluentui-react-native/framework": ">=0.9.2 <1.0.0",
|
|
58
|
+
"@fluentui-react-native/icon": "0.17.13",
|
|
59
|
+
"@fluentui-react-native/interactive-hooks": ">=0.22.19 <1.0.0",
|
|
60
|
+
"@fluentui-react-native/menu": "^1.4.9",
|
|
61
61
|
"@fluentui-react-native/merge-props": ">=0.5.2 <1.0.0",
|
|
62
|
-
"@fluentui-react-native/notification": "0.21.
|
|
63
|
-
"@fluentui-react-native/separator": "^0.14.
|
|
64
|
-
"@fluentui-react-native/stack": ">=0.7.
|
|
65
|
-
"@fluentui-react-native/switch": "^0.8.
|
|
66
|
-
"@fluentui-react-native/text": ">=0.19.
|
|
62
|
+
"@fluentui-react-native/notification": "0.21.34",
|
|
63
|
+
"@fluentui-react-native/separator": "^0.14.16",
|
|
64
|
+
"@fluentui-react-native/stack": ">=0.7.53 <1.0.0",
|
|
65
|
+
"@fluentui-react-native/switch": "^0.8.27",
|
|
66
|
+
"@fluentui-react-native/text": ">=0.19.21 <1.0.0",
|
|
67
67
|
"@fluentui-react-native/theme": ">=0.8.0 <1.0.0",
|
|
68
68
|
"@fluentui-react-native/theme-tokens": "^0.24.2",
|
|
69
69
|
"@fluentui-react-native/theme-types": ">=0.30.2 <1.0.0",
|
|
70
70
|
"@fluentui-react-native/themed-stylesheet": "^1.4.2",
|
|
71
|
-
"@fluentui-react-native/theming-utils": ">=0.23.
|
|
72
|
-
"@fluentui-react-native/win32-theme": ">=0.25.
|
|
73
|
-
"@fluentui/react-native": ">=0.36.
|
|
71
|
+
"@fluentui-react-native/theming-utils": ">=0.23.4 <1.0.0",
|
|
72
|
+
"@fluentui-react-native/win32-theme": ">=0.25.2 <1.0.0",
|
|
73
|
+
"@fluentui/react-native": ">=0.36.3 <1.0.0",
|
|
74
74
|
"@fortawesome/fontawesome-svg-core": "^6.2.0",
|
|
75
75
|
"@fortawesome/free-solid-svg-icons": "^6.2.0",
|
|
76
76
|
"@fortawesome/react-native-fontawesome": "^0.3.0",
|
|
77
77
|
"@react-native-community/slider": "^4.2.0",
|
|
78
78
|
"@react-native-menu/menu": "^0.1.2",
|
|
79
79
|
"@react-native-picker/picker": "^2.2.1",
|
|
80
|
-
"@fluentui-react-native/spinner": "^0.2.
|
|
80
|
+
"@fluentui-react-native/spinner": "^0.2.2",
|
|
81
81
|
"@warren-ms/react-native-icons": "^0.0.13",
|
|
82
82
|
"react": "17.0.2",
|
|
83
83
|
"react-native": "^0.68.0",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"@babel/core": "^7.8.0",
|
|
91
91
|
"@babel/runtime": "^7.8.0",
|
|
92
92
|
"@fluentui-react-native/eslint-config-rules": "^0.1.1",
|
|
93
|
-
"@fluentui-react-native/focus-zone": "^0.11.
|
|
93
|
+
"@fluentui-react-native/focus-zone": "^0.11.31",
|
|
94
94
|
"@fluentui-react-native/scripts": "^0.1.1",
|
|
95
95
|
"@rnx-kit/cli": "^0.16.2",
|
|
96
96
|
"@rnx-kit/metro-config": "^1.3.1",
|
|
@@ -11,10 +11,13 @@ import TestSvg from '../../../assets/test.svg';
|
|
|
11
11
|
import { CustomisedMobileDividers, MobileDividers } from './MobileDividerTest';
|
|
12
12
|
|
|
13
13
|
const isMobile = Platform.OS === 'android' || Platform.OS === 'ios';
|
|
14
|
-
const
|
|
14
|
+
const PaddedDivider = Divider.customize({ paddingVertical: 4, thickness: 2 });
|
|
15
15
|
const CustomText = Text.customize({ margin: 8 });
|
|
16
16
|
|
|
17
|
-
const
|
|
17
|
+
const ColoredDivider = Divider.customize({ contentColor: '#bf5700', lineColor: '#bf5700' });
|
|
18
|
+
const ThickDivider = Divider.customize({ thickness: 3 });
|
|
19
|
+
const TextVariantDivider = Divider.customize({ variant: 'subtitle2Strong' });
|
|
20
|
+
const StyledTextDivider = Divider.customize({ fontSize: 10, fontStyle: 'italic', textDecorationLine: 'underline' });
|
|
18
21
|
|
|
19
22
|
const dividerTestStyles = StyleSheet.create({
|
|
20
23
|
verticalDividerContainer: {
|
|
@@ -22,6 +25,11 @@ const dividerTestStyles = StyleSheet.create({
|
|
|
22
25
|
flexDirection: 'row',
|
|
23
26
|
justifyContent: 'space-evenly',
|
|
24
27
|
},
|
|
28
|
+
horizontalDividerContainer: {
|
|
29
|
+
height: 120,
|
|
30
|
+
flexDirection: 'column',
|
|
31
|
+
justifyContent: 'space-evenly',
|
|
32
|
+
},
|
|
25
33
|
});
|
|
26
34
|
|
|
27
35
|
export const HorizontalDividers: React.FunctionComponent = () => (
|
|
@@ -30,9 +38,9 @@ export const HorizontalDividers: React.FunctionComponent = () => (
|
|
|
30
38
|
<Divider />
|
|
31
39
|
<CustomText>Regular divider with no content above.</CustomText>
|
|
32
40
|
<Divider>Divider with text content.</Divider>
|
|
33
|
-
<Divider insetSize={16}>
|
|
34
|
-
<
|
|
35
|
-
<
|
|
41
|
+
<Divider insetSize={16}>Divider with text + inset.</Divider>
|
|
42
|
+
<PaddedDivider alignContent="start">I am a start-aligned divider</PaddedDivider>
|
|
43
|
+
<PaddedDivider alignContent="end">I am a end-aligned divider</PaddedDivider>
|
|
36
44
|
</Stack>
|
|
37
45
|
);
|
|
38
46
|
|
|
@@ -43,10 +51,10 @@ export const VerticalDividers: React.FunctionComponent = () => (
|
|
|
43
51
|
<Divider vertical />
|
|
44
52
|
<CustomText>Divider with an inset {'->'}</CustomText>
|
|
45
53
|
<Divider vertical insetSize={16} />
|
|
46
|
-
<
|
|
47
|
-
<
|
|
54
|
+
<PaddedDivider vertical>Divider with text</PaddedDivider>
|
|
55
|
+
<Divider vertical alignContent="start">
|
|
48
56
|
Start-aligned divider
|
|
49
|
-
</
|
|
57
|
+
</Divider>
|
|
50
58
|
<Divider vertical alignContent="end">
|
|
51
59
|
End-aligned divider
|
|
52
60
|
</Divider>
|
|
@@ -62,10 +70,10 @@ export const VerticalDividers: React.FunctionComponent = () => (
|
|
|
62
70
|
|
|
63
71
|
export const DividersWithAppearance: React.FunctionComponent = () => (
|
|
64
72
|
<Stack style={commonTestStyles.stack}>
|
|
65
|
-
<
|
|
66
|
-
<
|
|
67
|
-
<
|
|
68
|
-
<
|
|
73
|
+
<PaddedDivider appearance="default">Default divider</PaddedDivider>
|
|
74
|
+
<PaddedDivider appearance="subtle">Subtle divider</PaddedDivider>
|
|
75
|
+
<PaddedDivider appearance="brand">Branded divider</PaddedDivider>
|
|
76
|
+
<PaddedDivider appearance="strong">Strong divider</PaddedDivider>
|
|
69
77
|
</Stack>
|
|
70
78
|
);
|
|
71
79
|
|
|
@@ -82,6 +90,23 @@ export const DividersWithIcons: React.FunctionComponent = () => (
|
|
|
82
90
|
</Stack>
|
|
83
91
|
);
|
|
84
92
|
|
|
93
|
+
export const CustomDividers: React.FunctionComponent = () => (
|
|
94
|
+
<Stack style={commonTestStyles.stack}>
|
|
95
|
+
<View style={dividerTestStyles.horizontalDividerContainer}>
|
|
96
|
+
<ColoredDivider>Divider with color</ColoredDivider>
|
|
97
|
+
<ThickDivider>Divider with thickness</ThickDivider>
|
|
98
|
+
<TextVariantDivider>Divider with text variant</TextVariantDivider>
|
|
99
|
+
<StyledTextDivider>Divider with text styling</StyledTextDivider>
|
|
100
|
+
</View>
|
|
101
|
+
<View style={dividerTestStyles.verticalDividerContainer}>
|
|
102
|
+
<ColoredDivider vertical>Divider with color</ColoredDivider>
|
|
103
|
+
<ThickDivider vertical>Divider with thickness</ThickDivider>
|
|
104
|
+
<TextVariantDivider vertical>Divider with text variant</TextVariantDivider>
|
|
105
|
+
<StyledTextDivider vertical>Divider with text styling</StyledTextDivider>
|
|
106
|
+
</View>
|
|
107
|
+
</Stack>
|
|
108
|
+
);
|
|
109
|
+
|
|
85
110
|
const dividerSections: TestSection[] = [
|
|
86
111
|
{
|
|
87
112
|
name: 'Horizontal Dividers',
|
|
@@ -96,6 +121,10 @@ const dividerSections: TestSection[] = [
|
|
|
96
121
|
name: 'Divider Appearances',
|
|
97
122
|
component: DividersWithAppearance,
|
|
98
123
|
},
|
|
124
|
+
{
|
|
125
|
+
name: 'Custom Dividers',
|
|
126
|
+
component: CustomDividers,
|
|
127
|
+
},
|
|
99
128
|
{
|
|
100
129
|
name: 'Dividers with Icons',
|
|
101
130
|
component: DividersWithIcons,
|