ferns-ui 2.0.0-beta.4 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,604 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`EmojiSelector matches snapshot 1`] = `
4
+ <View
5
+ onLayout={[Function]}
6
+ style={
7
+ {
8
+ "flex": 1,
9
+ "width": "100%",
10
+ }
11
+ }
12
+ >
13
+ <View
14
+ style={
15
+ {
16
+ "flexDirection": "row",
17
+ "maxHeight": 60,
18
+ "minHeight": 44,
19
+ }
20
+ }
21
+ >
22
+ <View
23
+ accessibilityState={
24
+ {
25
+ "busy": undefined,
26
+ "checked": undefined,
27
+ "disabled": undefined,
28
+ "expanded": undefined,
29
+ "selected": undefined,
30
+ }
31
+ }
32
+ accessibilityValue={
33
+ {
34
+ "max": undefined,
35
+ "min": undefined,
36
+ "now": undefined,
37
+ "text": undefined,
38
+ }
39
+ }
40
+ accessible={true}
41
+ collapsable={false}
42
+ focusable={true}
43
+ onClick={[Function]}
44
+ onResponderGrant={[Function]}
45
+ onResponderMove={[Function]}
46
+ onResponderRelease={[Function]}
47
+ onResponderTerminate={[Function]}
48
+ onResponderTerminationRequest={[Function]}
49
+ onStartShouldSetResponder={[Function]}
50
+ style={
51
+ {
52
+ "alignItems": "center",
53
+ "borderBottomWidth": 2,
54
+ "borderColor": "#EEEEEE",
55
+ "flex": 1,
56
+ "justifyContent": "center",
57
+ "maxHeight": 60,
58
+ "minHeight": 44,
59
+ "opacity": 1,
60
+ }
61
+ }
62
+ >
63
+ <Text
64
+ style={
65
+ {
66
+ "fontSize": 18,
67
+ "paddingBottom": 8,
68
+ "textAlign": "center",
69
+ }
70
+ }
71
+ >
72
+ 🕘
73
+ </Text>
74
+ </View>
75
+ <View
76
+ accessibilityState={
77
+ {
78
+ "busy": undefined,
79
+ "checked": undefined,
80
+ "disabled": undefined,
81
+ "expanded": undefined,
82
+ "selected": undefined,
83
+ }
84
+ }
85
+ accessibilityValue={
86
+ {
87
+ "max": undefined,
88
+ "min": undefined,
89
+ "now": undefined,
90
+ "text": undefined,
91
+ }
92
+ }
93
+ accessible={true}
94
+ collapsable={false}
95
+ focusable={true}
96
+ onClick={[Function]}
97
+ onResponderGrant={[Function]}
98
+ onResponderMove={[Function]}
99
+ onResponderRelease={[Function]}
100
+ onResponderTerminate={[Function]}
101
+ onResponderTerminationRequest={[Function]}
102
+ onStartShouldSetResponder={[Function]}
103
+ style={
104
+ {
105
+ "alignItems": "center",
106
+ "borderBottomWidth": 2,
107
+ "borderColor": "#EEEEEE",
108
+ "flex": 1,
109
+ "justifyContent": "center",
110
+ "maxHeight": 60,
111
+ "minHeight": 44,
112
+ "opacity": 1,
113
+ }
114
+ }
115
+ >
116
+ <Text
117
+ style={
118
+ {
119
+ "fontSize": 18,
120
+ "paddingBottom": 8,
121
+ "textAlign": "center",
122
+ }
123
+ }
124
+ >
125
+ 😀
126
+ </Text>
127
+ </View>
128
+ <View
129
+ accessibilityState={
130
+ {
131
+ "busy": undefined,
132
+ "checked": undefined,
133
+ "disabled": undefined,
134
+ "expanded": undefined,
135
+ "selected": undefined,
136
+ }
137
+ }
138
+ accessibilityValue={
139
+ {
140
+ "max": undefined,
141
+ "min": undefined,
142
+ "now": undefined,
143
+ "text": undefined,
144
+ }
145
+ }
146
+ accessible={true}
147
+ collapsable={false}
148
+ focusable={true}
149
+ onClick={[Function]}
150
+ onResponderGrant={[Function]}
151
+ onResponderMove={[Function]}
152
+ onResponderRelease={[Function]}
153
+ onResponderTerminate={[Function]}
154
+ onResponderTerminationRequest={[Function]}
155
+ onStartShouldSetResponder={[Function]}
156
+ style={
157
+ {
158
+ "alignItems": "center",
159
+ "borderBottomWidth": 2,
160
+ "borderColor": "#007AFF",
161
+ "flex": 1,
162
+ "justifyContent": "center",
163
+ "maxHeight": 60,
164
+ "minHeight": 44,
165
+ "opacity": 1,
166
+ }
167
+ }
168
+ >
169
+ <Text
170
+ style={
171
+ {
172
+ "fontSize": 18,
173
+ "paddingBottom": 8,
174
+ "textAlign": "center",
175
+ }
176
+ }
177
+ >
178
+ 🧑
179
+ </Text>
180
+ </View>
181
+ <View
182
+ accessibilityState={
183
+ {
184
+ "busy": undefined,
185
+ "checked": undefined,
186
+ "disabled": undefined,
187
+ "expanded": undefined,
188
+ "selected": undefined,
189
+ }
190
+ }
191
+ accessibilityValue={
192
+ {
193
+ "max": undefined,
194
+ "min": undefined,
195
+ "now": undefined,
196
+ "text": undefined,
197
+ }
198
+ }
199
+ accessible={true}
200
+ collapsable={false}
201
+ focusable={true}
202
+ onClick={[Function]}
203
+ onResponderGrant={[Function]}
204
+ onResponderMove={[Function]}
205
+ onResponderRelease={[Function]}
206
+ onResponderTerminate={[Function]}
207
+ onResponderTerminationRequest={[Function]}
208
+ onStartShouldSetResponder={[Function]}
209
+ style={
210
+ {
211
+ "alignItems": "center",
212
+ "borderBottomWidth": 2,
213
+ "borderColor": "#EEEEEE",
214
+ "flex": 1,
215
+ "justifyContent": "center",
216
+ "maxHeight": 60,
217
+ "minHeight": 44,
218
+ "opacity": 1,
219
+ }
220
+ }
221
+ >
222
+ <Text
223
+ style={
224
+ {
225
+ "fontSize": 18,
226
+ "paddingBottom": 8,
227
+ "textAlign": "center",
228
+ }
229
+ }
230
+ >
231
+ 🦄
232
+ </Text>
233
+ </View>
234
+ <View
235
+ accessibilityState={
236
+ {
237
+ "busy": undefined,
238
+ "checked": undefined,
239
+ "disabled": undefined,
240
+ "expanded": undefined,
241
+ "selected": undefined,
242
+ }
243
+ }
244
+ accessibilityValue={
245
+ {
246
+ "max": undefined,
247
+ "min": undefined,
248
+ "now": undefined,
249
+ "text": undefined,
250
+ }
251
+ }
252
+ accessible={true}
253
+ collapsable={false}
254
+ focusable={true}
255
+ onClick={[Function]}
256
+ onResponderGrant={[Function]}
257
+ onResponderMove={[Function]}
258
+ onResponderRelease={[Function]}
259
+ onResponderTerminate={[Function]}
260
+ onResponderTerminationRequest={[Function]}
261
+ onStartShouldSetResponder={[Function]}
262
+ style={
263
+ {
264
+ "alignItems": "center",
265
+ "borderBottomWidth": 2,
266
+ "borderColor": "#EEEEEE",
267
+ "flex": 1,
268
+ "justifyContent": "center",
269
+ "maxHeight": 60,
270
+ "minHeight": 44,
271
+ "opacity": 1,
272
+ }
273
+ }
274
+ >
275
+ <Text
276
+ style={
277
+ {
278
+ "fontSize": 18,
279
+ "paddingBottom": 8,
280
+ "textAlign": "center",
281
+ }
282
+ }
283
+ >
284
+ 🍔
285
+ </Text>
286
+ </View>
287
+ <View
288
+ accessibilityState={
289
+ {
290
+ "busy": undefined,
291
+ "checked": undefined,
292
+ "disabled": undefined,
293
+ "expanded": undefined,
294
+ "selected": undefined,
295
+ }
296
+ }
297
+ accessibilityValue={
298
+ {
299
+ "max": undefined,
300
+ "min": undefined,
301
+ "now": undefined,
302
+ "text": undefined,
303
+ }
304
+ }
305
+ accessible={true}
306
+ collapsable={false}
307
+ focusable={true}
308
+ onClick={[Function]}
309
+ onResponderGrant={[Function]}
310
+ onResponderMove={[Function]}
311
+ onResponderRelease={[Function]}
312
+ onResponderTerminate={[Function]}
313
+ onResponderTerminationRequest={[Function]}
314
+ onStartShouldSetResponder={[Function]}
315
+ style={
316
+ {
317
+ "alignItems": "center",
318
+ "borderBottomWidth": 2,
319
+ "borderColor": "#EEEEEE",
320
+ "flex": 1,
321
+ "justifyContent": "center",
322
+ "maxHeight": 60,
323
+ "minHeight": 44,
324
+ "opacity": 1,
325
+ }
326
+ }
327
+ >
328
+ <Text
329
+ style={
330
+ {
331
+ "fontSize": 18,
332
+ "paddingBottom": 8,
333
+ "textAlign": "center",
334
+ }
335
+ }
336
+ >
337
+ ⚾️
338
+ </Text>
339
+ </View>
340
+ <View
341
+ accessibilityState={
342
+ {
343
+ "busy": undefined,
344
+ "checked": undefined,
345
+ "disabled": undefined,
346
+ "expanded": undefined,
347
+ "selected": undefined,
348
+ }
349
+ }
350
+ accessibilityValue={
351
+ {
352
+ "max": undefined,
353
+ "min": undefined,
354
+ "now": undefined,
355
+ "text": undefined,
356
+ }
357
+ }
358
+ accessible={true}
359
+ collapsable={false}
360
+ focusable={true}
361
+ onClick={[Function]}
362
+ onResponderGrant={[Function]}
363
+ onResponderMove={[Function]}
364
+ onResponderRelease={[Function]}
365
+ onResponderTerminate={[Function]}
366
+ onResponderTerminationRequest={[Function]}
367
+ onStartShouldSetResponder={[Function]}
368
+ style={
369
+ {
370
+ "alignItems": "center",
371
+ "borderBottomWidth": 2,
372
+ "borderColor": "#EEEEEE",
373
+ "flex": 1,
374
+ "justifyContent": "center",
375
+ "maxHeight": 60,
376
+ "minHeight": 44,
377
+ "opacity": 1,
378
+ }
379
+ }
380
+ >
381
+ <Text
382
+ style={
383
+ {
384
+ "fontSize": 18,
385
+ "paddingBottom": 8,
386
+ "textAlign": "center",
387
+ }
388
+ }
389
+ >
390
+ ✈️
391
+ </Text>
392
+ </View>
393
+ <View
394
+ accessibilityState={
395
+ {
396
+ "busy": undefined,
397
+ "checked": undefined,
398
+ "disabled": undefined,
399
+ "expanded": undefined,
400
+ "selected": undefined,
401
+ }
402
+ }
403
+ accessibilityValue={
404
+ {
405
+ "max": undefined,
406
+ "min": undefined,
407
+ "now": undefined,
408
+ "text": undefined,
409
+ }
410
+ }
411
+ accessible={true}
412
+ collapsable={false}
413
+ focusable={true}
414
+ onClick={[Function]}
415
+ onResponderGrant={[Function]}
416
+ onResponderMove={[Function]}
417
+ onResponderRelease={[Function]}
418
+ onResponderTerminate={[Function]}
419
+ onResponderTerminationRequest={[Function]}
420
+ onStartShouldSetResponder={[Function]}
421
+ style={
422
+ {
423
+ "alignItems": "center",
424
+ "borderBottomWidth": 2,
425
+ "borderColor": "#EEEEEE",
426
+ "flex": 1,
427
+ "justifyContent": "center",
428
+ "maxHeight": 60,
429
+ "minHeight": 44,
430
+ "opacity": 1,
431
+ }
432
+ }
433
+ >
434
+ <Text
435
+ style={
436
+ {
437
+ "fontSize": 18,
438
+ "paddingBottom": 8,
439
+ "textAlign": "center",
440
+ }
441
+ }
442
+ >
443
+ 💡
444
+ </Text>
445
+ </View>
446
+ <View
447
+ accessibilityState={
448
+ {
449
+ "busy": undefined,
450
+ "checked": undefined,
451
+ "disabled": undefined,
452
+ "expanded": undefined,
453
+ "selected": undefined,
454
+ }
455
+ }
456
+ accessibilityValue={
457
+ {
458
+ "max": undefined,
459
+ "min": undefined,
460
+ "now": undefined,
461
+ "text": undefined,
462
+ }
463
+ }
464
+ accessible={true}
465
+ collapsable={false}
466
+ focusable={true}
467
+ onClick={[Function]}
468
+ onResponderGrant={[Function]}
469
+ onResponderMove={[Function]}
470
+ onResponderRelease={[Function]}
471
+ onResponderTerminate={[Function]}
472
+ onResponderTerminationRequest={[Function]}
473
+ onStartShouldSetResponder={[Function]}
474
+ style={
475
+ {
476
+ "alignItems": "center",
477
+ "borderBottomWidth": 2,
478
+ "borderColor": "#EEEEEE",
479
+ "flex": 1,
480
+ "justifyContent": "center",
481
+ "maxHeight": 60,
482
+ "minHeight": 44,
483
+ "opacity": 1,
484
+ }
485
+ }
486
+ >
487
+ <Text
488
+ style={
489
+ {
490
+ "fontSize": 18,
491
+ "paddingBottom": 8,
492
+ "textAlign": "center",
493
+ }
494
+ }
495
+ >
496
+ 🔣
497
+ </Text>
498
+ </View>
499
+ <View
500
+ accessibilityState={
501
+ {
502
+ "busy": undefined,
503
+ "checked": undefined,
504
+ "disabled": undefined,
505
+ "expanded": undefined,
506
+ "selected": undefined,
507
+ }
508
+ }
509
+ accessibilityValue={
510
+ {
511
+ "max": undefined,
512
+ "min": undefined,
513
+ "now": undefined,
514
+ "text": undefined,
515
+ }
516
+ }
517
+ accessible={true}
518
+ collapsable={false}
519
+ focusable={true}
520
+ onClick={[Function]}
521
+ onResponderGrant={[Function]}
522
+ onResponderMove={[Function]}
523
+ onResponderRelease={[Function]}
524
+ onResponderTerminate={[Function]}
525
+ onResponderTerminationRequest={[Function]}
526
+ onStartShouldSetResponder={[Function]}
527
+ style={
528
+ {
529
+ "alignItems": "center",
530
+ "borderBottomWidth": 2,
531
+ "borderColor": "#EEEEEE",
532
+ "flex": 1,
533
+ "justifyContent": "center",
534
+ "maxHeight": 60,
535
+ "minHeight": 44,
536
+ "opacity": 1,
537
+ }
538
+ }
539
+ >
540
+ <Text
541
+ style={
542
+ {
543
+ "fontSize": 18,
544
+ "paddingBottom": 8,
545
+ "textAlign": "center",
546
+ }
547
+ }
548
+ >
549
+ 🏳️‍🌈
550
+ </Text>
551
+ </View>
552
+ </View>
553
+ <View
554
+ style={
555
+ {
556
+ "flex": 1,
557
+ }
558
+ }
559
+ >
560
+ <View
561
+ style={
562
+ {
563
+ "backgroundColor": "rgba(255,255,255,0.75)",
564
+ "width": "100%",
565
+ "zIndex": 1,
566
+ }
567
+ }
568
+ >
569
+ <TextInput
570
+ autoCorrect={false}
571
+ clearButtonMode="always"
572
+ onChangeText={[Function]}
573
+ placeholder="Search emojis"
574
+ returnKeyType="done"
575
+ style={
576
+ {
577
+ "backgroundColor": "#E5E8E9",
578
+ "borderRadius": 10,
579
+ "height": 36,
580
+ "margin": 8,
581
+ "paddingLeft": 8,
582
+ }
583
+ }
584
+ underlineColorAndroid="#007AFF"
585
+ value=""
586
+ />
587
+ </View>
588
+ <View
589
+ style={
590
+ {
591
+ "alignItems": "center",
592
+ "flex": 1,
593
+ "justifyContent": "center",
594
+ }
595
+ }
596
+ >
597
+ <ActivityIndicator
598
+ color="#000000"
599
+ size="large"
600
+ />
601
+ </View>
602
+ </View>
603
+ </View>
604
+ `;
package/src/index.tsx CHANGED
@@ -20,6 +20,7 @@ export * from "./DateUtilities";
20
20
  export * from "./DecimalRangeActionSheet";
21
21
  export * from "./DismissButton";
22
22
  export * from "./EmailField";
23
+ export {default as EmojiSelector} from "./EmojiSelector";
23
24
  export * from "./ErrorBoundary";
24
25
  export * from "./ErrorPage";
25
26
  export * from "./FernsProvider";