@tactics/toddle-styleguide 4.2.0 → 5.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.
package/App.tsx
CHANGED
|
@@ -336,183 +336,313 @@ function App() {
|
|
|
336
336
|
<ThemeCtx.Provider value={StaffMemberTheme}>
|
|
337
337
|
<NavigationContainer>
|
|
338
338
|
<Stack.Navigator>
|
|
339
|
-
<Stack.Screen name="home"
|
|
339
|
+
<Stack.Screen name="home" options={{
|
|
340
|
+
freezeOnBlur: false,
|
|
341
|
+
}}>
|
|
340
342
|
{(props) => <HomeScreen {...props} />}
|
|
341
343
|
</Stack.Screen>
|
|
342
|
-
<Stack.Screen name="avatar"
|
|
343
|
-
|
|
344
|
-
|
|
344
|
+
<Stack.Screen name="avatar"options={{
|
|
345
|
+
freezeOnBlur: false,
|
|
346
|
+
}}>{() => <AvatarPreview />}</Stack.Screen>
|
|
347
|
+
<Stack.Screen name="amount"options={{
|
|
348
|
+
freezeOnBlur: false,
|
|
349
|
+
}}>{() => <AmountPreview />}</Stack.Screen>
|
|
350
|
+
<Stack.Screen name="background-gradient" options={{
|
|
351
|
+
freezeOnBlur: false,
|
|
352
|
+
}}>
|
|
345
353
|
{() => <BackgroundGradientPreview />}
|
|
346
354
|
</Stack.Screen>
|
|
347
|
-
<Stack.Screen name="blocked-message"
|
|
355
|
+
<Stack.Screen name="blocked-message" options={{
|
|
356
|
+
freezeOnBlur: false,
|
|
357
|
+
}}>
|
|
348
358
|
{() => <BlockedMessagePreview />}
|
|
349
359
|
</Stack.Screen>
|
|
350
|
-
<Stack.Screen name="button"
|
|
351
|
-
|
|
360
|
+
<Stack.Screen name="button" options={{
|
|
361
|
+
freezeOnBlur: false,
|
|
362
|
+
}}>{() => <ButtonPreview />}</Stack.Screen>
|
|
363
|
+
<Stack.Screen name="calendar" options={{
|
|
364
|
+
freezeOnBlur: false,
|
|
365
|
+
}}>
|
|
352
366
|
{() => <CalendarPreview />}
|
|
353
367
|
</Stack.Screen>
|
|
354
|
-
<Stack.Screen name="calendar-select"
|
|
368
|
+
<Stack.Screen name="calendar-select" options={{
|
|
369
|
+
freezeOnBlur: false,
|
|
370
|
+
}}>
|
|
355
371
|
{() => <CalendarSelectPreview />}
|
|
356
372
|
</Stack.Screen>
|
|
357
|
-
<Stack.Screen name="cancel-link"
|
|
373
|
+
<Stack.Screen name="cancel-link" options={{
|
|
374
|
+
freezeOnBlur: false,
|
|
375
|
+
}}>
|
|
358
376
|
{() => <CancelLinkPreview />}
|
|
359
377
|
</Stack.Screen>
|
|
360
|
-
<Stack.Screen name="checkbox"
|
|
378
|
+
<Stack.Screen name="checkbox" options={{
|
|
379
|
+
freezeOnBlur: false,
|
|
380
|
+
}}>
|
|
361
381
|
{() => <CheckboxPreview />}
|
|
362
382
|
</Stack.Screen>
|
|
363
|
-
<Stack.Screen name="check-switch"
|
|
383
|
+
<Stack.Screen name="check-switch" options={{
|
|
384
|
+
freezeOnBlur: false,
|
|
385
|
+
}}>
|
|
364
386
|
{() => <CheckPreview />}
|
|
365
387
|
</Stack.Screen>
|
|
366
|
-
<Stack.Screen name="child-list-item"
|
|
388
|
+
<Stack.Screen name="child-list-item" options={{
|
|
389
|
+
freezeOnBlur: false,
|
|
390
|
+
}}>
|
|
367
391
|
{() => <ChildListItemPreview />}
|
|
368
392
|
</Stack.Screen>
|
|
369
|
-
<Stack.Screen name="contact-item"
|
|
393
|
+
<Stack.Screen name="contact-item" options={{
|
|
394
|
+
freezeOnBlur: false,
|
|
395
|
+
}}>
|
|
370
396
|
{() => <ContactItemPreview />}
|
|
371
397
|
</Stack.Screen>
|
|
372
|
-
<Stack.Screen name="contact-role"
|
|
398
|
+
<Stack.Screen name="contact-role" options={{
|
|
399
|
+
freezeOnBlur: false,
|
|
400
|
+
}}>
|
|
373
401
|
{() => <ContactRolePreview />}
|
|
374
402
|
</Stack.Screen>
|
|
375
|
-
<Stack.Screen name="context-label"
|
|
403
|
+
<Stack.Screen name="context-label" options={{
|
|
404
|
+
freezeOnBlur: false,
|
|
405
|
+
}}>
|
|
376
406
|
{() => <ContextLabelPreview />}
|
|
377
407
|
</Stack.Screen>
|
|
378
|
-
<Stack.Screen name="count"
|
|
408
|
+
<Stack.Screen name="count" options={{
|
|
409
|
+
freezeOnBlur: false,
|
|
410
|
+
}}>
|
|
379
411
|
{() => <CountPreview />}
|
|
380
412
|
</Stack.Screen>
|
|
381
|
-
<Stack.Screen name="date-input"
|
|
413
|
+
<Stack.Screen name="date-input" options={{
|
|
414
|
+
freezeOnBlur: false,
|
|
415
|
+
}}>
|
|
382
416
|
{() => <DateInputPreview />}
|
|
383
417
|
</Stack.Screen>
|
|
384
|
-
<Stack.Screen name="default-select"
|
|
418
|
+
<Stack.Screen name="default-select" options={{
|
|
419
|
+
freezeOnBlur: false,
|
|
420
|
+
}}>
|
|
385
421
|
{() => <DefaultSelectPreview />}
|
|
386
422
|
</Stack.Screen>
|
|
387
|
-
<Stack.Screen name="department-logo"
|
|
423
|
+
<Stack.Screen name="department-logo" options={{
|
|
424
|
+
freezeOnBlur: false,
|
|
425
|
+
}}>
|
|
388
426
|
{() => <DepartmentLogoPreview />}
|
|
389
427
|
</Stack.Screen>
|
|
390
|
-
<Stack.Screen name="filter-tab"
|
|
428
|
+
<Stack.Screen name="filter-tab" options={{
|
|
429
|
+
freezeOnBlur: false,
|
|
430
|
+
}}>
|
|
391
431
|
{() => <FilterTabPreview />}
|
|
392
432
|
</Stack.Screen>
|
|
393
|
-
<Stack.Screen name="filter-range"
|
|
433
|
+
<Stack.Screen name="filter-range" options={{
|
|
434
|
+
freezeOnBlur: false,
|
|
435
|
+
}}>
|
|
394
436
|
{() => <FilterRangePreview />}
|
|
395
437
|
</Stack.Screen>
|
|
396
|
-
<Stack.Screen name="footer"
|
|
397
|
-
|
|
438
|
+
<Stack.Screen name="footer" options={{
|
|
439
|
+
freezeOnBlur: false,
|
|
440
|
+
}}>{() => <FooterPreview />}</Stack.Screen>
|
|
441
|
+
<Stack.Screen name="headings" options={{
|
|
442
|
+
freezeOnBlur: false,
|
|
443
|
+
}}>
|
|
398
444
|
{() => <HeadingsPreview />}
|
|
399
445
|
</Stack.Screen>
|
|
400
|
-
<Stack.Screen name="icons default"
|
|
446
|
+
<Stack.Screen name="icons default" options={{
|
|
447
|
+
freezeOnBlur: false,
|
|
448
|
+
}}>
|
|
401
449
|
{() => <IconOutlineDefaultPreview />}
|
|
402
450
|
</Stack.Screen>
|
|
403
|
-
<Stack.Screen name="icons grey"
|
|
451
|
+
<Stack.Screen name="icons grey" options={{
|
|
452
|
+
freezeOnBlur: false,
|
|
453
|
+
}}>
|
|
404
454
|
{() => <IconOutlineGreyPreview />}
|
|
405
455
|
</Stack.Screen>
|
|
406
|
-
<Stack.Screen name="icons solid"
|
|
456
|
+
<Stack.Screen name="icons solid" options={{
|
|
457
|
+
freezeOnBlur: false,
|
|
458
|
+
}}>
|
|
407
459
|
{() => <IconSolidPreview />}
|
|
408
460
|
</Stack.Screen>
|
|
409
|
-
<Stack.Screen name="icons white"
|
|
461
|
+
<Stack.Screen name="icons white" options={{
|
|
462
|
+
freezeOnBlur: false,
|
|
463
|
+
}}>
|
|
410
464
|
{() => <IconOutlineWhitePreview />}
|
|
411
465
|
</Stack.Screen>
|
|
412
|
-
<Stack.Screen name="image-bubble"
|
|
466
|
+
<Stack.Screen name="image-bubble" options={{
|
|
467
|
+
freezeOnBlur: false,
|
|
468
|
+
}}>
|
|
413
469
|
{() => <ImageBubblePreview />}
|
|
414
470
|
</Stack.Screen>
|
|
415
|
-
<Stack.Screen name="increment-input"
|
|
471
|
+
<Stack.Screen name="increment-input" options={{
|
|
472
|
+
freezeOnBlur: false,
|
|
473
|
+
}}>
|
|
416
474
|
{() => <IncrementInputPreview />}
|
|
417
475
|
</Stack.Screen>
|
|
418
|
-
<Stack.Screen name="info"
|
|
419
|
-
|
|
476
|
+
<Stack.Screen name="info" options={{
|
|
477
|
+
freezeOnBlur: false,
|
|
478
|
+
}}>{() => <InfoPreview />}</Stack.Screen>
|
|
479
|
+
<Stack.Screen name="journal-entry" options={{
|
|
480
|
+
freezeOnBlur: false,
|
|
481
|
+
}}>
|
|
420
482
|
{() => <JournalEntryPreview />}
|
|
421
483
|
</Stack.Screen>
|
|
422
|
-
<Stack.Screen name="language-button"
|
|
484
|
+
<Stack.Screen name="language-button" options={{
|
|
485
|
+
freezeOnBlur: false,
|
|
486
|
+
}}>
|
|
423
487
|
{() => <LanguageButtonPreview />}
|
|
424
488
|
</Stack.Screen>
|
|
425
|
-
<Stack.Screen name="line"
|
|
426
|
-
|
|
489
|
+
<Stack.Screen name="line" options={{
|
|
490
|
+
freezeOnBlur: false,
|
|
491
|
+
}}>{() => <LinePreview />}</Stack.Screen>
|
|
492
|
+
<Stack.Screen name="loading-indicator" options={{
|
|
493
|
+
freezeOnBlur: false,
|
|
494
|
+
}}>
|
|
427
495
|
{() => <LoadingIndicatorPreview />}
|
|
428
496
|
</Stack.Screen>
|
|
429
|
-
<Stack.Screen name="logo"
|
|
430
|
-
|
|
497
|
+
<Stack.Screen name="logo" options={{
|
|
498
|
+
freezeOnBlur: false,
|
|
499
|
+
}}>{() => <LogoPreview />}</Stack.Screen>
|
|
500
|
+
<Stack.Screen name="message-input" options={{
|
|
501
|
+
freezeOnBlur: false,
|
|
502
|
+
}}>
|
|
431
503
|
{() => <MessageInputPreview />}
|
|
432
504
|
</Stack.Screen>
|
|
433
|
-
<Stack.Screen name="modal" options={{headerShown: false}}>
|
|
505
|
+
<Stack.Screen name="modal" options={{headerShown: false, freezeOnBlur: false}}>
|
|
434
506
|
{() => <ModalPreview />}
|
|
435
507
|
</Stack.Screen>
|
|
436
|
-
<Stack.Screen name="more-info-button"
|
|
508
|
+
<Stack.Screen name="more-info-button" options={{
|
|
509
|
+
freezeOnBlur: false,
|
|
510
|
+
}}>
|
|
437
511
|
{() => <MoreInfoButtonPreview />}
|
|
438
512
|
</Stack.Screen>
|
|
439
|
-
<Stack.Screen name="my-child-list-item"
|
|
513
|
+
<Stack.Screen name="my-child-list-item" options={{
|
|
514
|
+
freezeOnBlur: false,
|
|
515
|
+
}}>
|
|
440
516
|
{() => <MyChildListItemPreview />}
|
|
441
517
|
</Stack.Screen>
|
|
442
|
-
<Stack.Screen name="paragraphs"
|
|
518
|
+
<Stack.Screen name="paragraphs" options={{
|
|
519
|
+
freezeOnBlur: false,
|
|
520
|
+
}}>
|
|
443
521
|
{() => <ParagraphComponentsPreview />}
|
|
444
522
|
</Stack.Screen>
|
|
445
|
-
<Stack.Screen name="password-input"
|
|
523
|
+
<Stack.Screen name="password-input" options={{
|
|
524
|
+
freezeOnBlur: false,
|
|
525
|
+
}}>
|
|
446
526
|
{() => <PasswordInputPreview />}
|
|
447
527
|
</Stack.Screen>
|
|
448
|
-
<Stack.Screen name="person-info-card"
|
|
528
|
+
<Stack.Screen name="person-info-card" options={{
|
|
529
|
+
freezeOnBlur: false,
|
|
530
|
+
}}>
|
|
449
531
|
{() => <PersonInfoCardPreview />}
|
|
450
532
|
</Stack.Screen>
|
|
451
|
-
<Stack.Screen name="pill"
|
|
452
|
-
|
|
533
|
+
<Stack.Screen name="pill" options={{
|
|
534
|
+
freezeOnBlur: false,
|
|
535
|
+
}}>{() => <PillPreview />}</Stack.Screen>
|
|
536
|
+
<Stack.Screen name="popover" options={{headerShown: false, freezeOnBlur:false}}>
|
|
453
537
|
{() => <PopoverPreview />}
|
|
454
538
|
</Stack.Screen>
|
|
455
|
-
<Stack.Screen name="pressable-icon"
|
|
539
|
+
<Stack.Screen name="pressable-icon" options={{
|
|
540
|
+
freezeOnBlur: false,
|
|
541
|
+
}}>
|
|
456
542
|
{() => <PressableIconPreview />}
|
|
457
543
|
</Stack.Screen>
|
|
458
|
-
<Stack.Screen name="quick-filter"
|
|
544
|
+
<Stack.Screen name="quick-filter" options={{
|
|
545
|
+
freezeOnBlur: false,
|
|
546
|
+
}}>
|
|
459
547
|
{() => <QuickFilterPreview />}
|
|
460
548
|
</Stack.Screen>
|
|
461
|
-
<Stack.Screen name="quick-message"
|
|
549
|
+
<Stack.Screen name="quick-message" options={{
|
|
550
|
+
freezeOnBlur: false,
|
|
551
|
+
}}>
|
|
462
552
|
{() => <QuickMessagePreview />}
|
|
463
553
|
</Stack.Screen>
|
|
464
|
-
<Stack.Screen name="search"
|
|
465
|
-
|
|
554
|
+
<Stack.Screen name="search" options={{
|
|
555
|
+
freezeOnBlur: false,
|
|
556
|
+
}}>{() => <SearchPreview />}</Stack.Screen>
|
|
557
|
+
<Stack.Screen name="select-link" options={{
|
|
558
|
+
freezeOnBlur: false,
|
|
559
|
+
}}>
|
|
466
560
|
{() => <SelectLinkPreview />}
|
|
467
561
|
</Stack.Screen>
|
|
468
|
-
<Stack.Screen name="select-list-item"
|
|
562
|
+
<Stack.Screen name="select-list-item" options={{
|
|
563
|
+
freezeOnBlur: false,
|
|
564
|
+
}}>
|
|
469
565
|
{() => <SelectListItemPreview />}
|
|
470
566
|
</Stack.Screen>
|
|
471
|
-
<Stack.Screen name="select-picker"
|
|
567
|
+
<Stack.Screen name="select-picker" options={{
|
|
568
|
+
freezeOnBlur: false,
|
|
569
|
+
}}>
|
|
472
570
|
{() => <SelectPickerPreview />}
|
|
473
571
|
</Stack.Screen>
|
|
474
|
-
<Stack.Screen name="snackbar"
|
|
572
|
+
<Stack.Screen name="snackbar" options={{
|
|
573
|
+
freezeOnBlur: false,
|
|
574
|
+
}}>
|
|
475
575
|
{() => <SnackbarPreview />}
|
|
476
576
|
</Stack.Screen>
|
|
477
|
-
<Stack.Screen name="split-container"
|
|
577
|
+
<Stack.Screen name="split-container" options={{
|
|
578
|
+
freezeOnBlur: false,
|
|
579
|
+
}}>
|
|
478
580
|
{() => <SplitContainerPreview />}
|
|
479
581
|
</Stack.Screen>
|
|
480
|
-
<Stack.Screen name="swiper"
|
|
481
|
-
|
|
482
|
-
|
|
582
|
+
<Stack.Screen name="swiper" options={{
|
|
583
|
+
freezeOnBlur: false,
|
|
584
|
+
}}>{() => <SwipePreview />}</Stack.Screen>
|
|
585
|
+
<Stack.Screen name="tag" options={{
|
|
586
|
+
freezeOnBlur: false,
|
|
587
|
+
}}>{() => <TagPreview />}</Stack.Screen>
|
|
588
|
+
<Stack.Screen name="textBubble" options={{
|
|
589
|
+
freezeOnBlur: false,
|
|
590
|
+
}}>
|
|
483
591
|
{() => <TextBubblePreview />}
|
|
484
592
|
</Stack.Screen>
|
|
485
|
-
<Stack.Screen name="textInputs"
|
|
593
|
+
<Stack.Screen name="textInputs" options={{
|
|
594
|
+
freezeOnBlur: false,
|
|
595
|
+
}}>
|
|
486
596
|
{() => <TextInputPreview />}
|
|
487
597
|
</Stack.Screen>
|
|
488
|
-
<Stack.Screen name="time-picker"
|
|
598
|
+
<Stack.Screen name="time-picker" options={{
|
|
599
|
+
freezeOnBlur: false,
|
|
600
|
+
}}>
|
|
489
601
|
{() => <TimePickerPreview />}
|
|
490
602
|
</Stack.Screen>
|
|
491
|
-
<Stack.Screen name="bare-time-picker"
|
|
603
|
+
<Stack.Screen name="bare-time-picker" options={{
|
|
604
|
+
freezeOnBlur: false,
|
|
605
|
+
}}>
|
|
492
606
|
{() => <BareTimePickerPreview />}
|
|
493
607
|
</Stack.Screen>
|
|
494
|
-
<Stack.Screen name="time-tracker"
|
|
608
|
+
<Stack.Screen name="time-tracker" options={{
|
|
609
|
+
freezeOnBlur: false,
|
|
610
|
+
}}>
|
|
495
611
|
{() => <TimeTrackerPreview />}
|
|
496
612
|
</Stack.Screen>
|
|
497
|
-
<Stack.Screen name="timetable-editor"
|
|
613
|
+
<Stack.Screen name="timetable-editor" options={{
|
|
614
|
+
freezeOnBlur: false,
|
|
615
|
+
}}>
|
|
498
616
|
{() => <TimetableEditorPreview />}
|
|
499
617
|
</Stack.Screen>
|
|
500
|
-
<Stack.Screen name="timeline"
|
|
618
|
+
<Stack.Screen name="timeline" options={{
|
|
619
|
+
freezeOnBlur: false,
|
|
620
|
+
}}>
|
|
501
621
|
{() => <TimeLinePreview />}
|
|
502
622
|
</Stack.Screen>
|
|
503
|
-
<Stack.Screen name="toddle-datetime"
|
|
623
|
+
<Stack.Screen name="toddle-datetime" options={{
|
|
624
|
+
freezeOnBlur: false,
|
|
625
|
+
}}>
|
|
504
626
|
{() => <ToddleDateTimePreview />}
|
|
505
627
|
</Stack.Screen>
|
|
506
|
-
<Stack.Screen name="wave"
|
|
628
|
+
<Stack.Screen name="wave" options={{
|
|
629
|
+
freezeOnBlur: false,
|
|
630
|
+
}}>
|
|
507
631
|
{() => <WaveBackgroundPreview />}
|
|
508
632
|
</Stack.Screen>
|
|
509
|
-
<Stack.Screen name="wide-button"
|
|
633
|
+
<Stack.Screen name="wide-button" options={{
|
|
634
|
+
freezeOnBlur: false,
|
|
635
|
+
}}>
|
|
510
636
|
{() => <WideButtonPreview />}
|
|
511
637
|
</Stack.Screen>
|
|
512
|
-
<Stack.Screen name="inline-error"
|
|
638
|
+
<Stack.Screen name="inline-error" options={{
|
|
639
|
+
freezeOnBlur: false,
|
|
640
|
+
}}>
|
|
513
641
|
{() => <InlineErrorPreview />}
|
|
514
642
|
</Stack.Screen>
|
|
515
|
-
<Stack.Screen name="selectable-list-item"
|
|
643
|
+
<Stack.Screen name="selectable-list-item" options={{
|
|
644
|
+
freezeOnBlur: false,
|
|
645
|
+
}}>
|
|
516
646
|
{() => <SelectableListItemPreview />}
|
|
517
647
|
</Stack.Screen>
|
|
518
648
|
</Stack.Navigator>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tactics/toddle-styleguide",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"main": "index.tsx",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"prepublish": "tsc",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"packageManager": "yarn@3.3.1",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@callstack/react-theme-provider": "^3.0.8",
|
|
22
|
-
"@expo/config-plugins": "~
|
|
23
|
-
"@expo/metro-runtime": "~3.
|
|
22
|
+
"@expo/config-plugins": "~8.0.0",
|
|
23
|
+
"@expo/metro-runtime": "~3.2.3",
|
|
24
24
|
"@expo/webpack-config": "~19.0.1",
|
|
25
25
|
"@miblanchard/react-native-slider": "^2.3.1",
|
|
26
|
-
"@react-native-picker/picker": "2.
|
|
26
|
+
"@react-native-picker/picker": "2.7.5",
|
|
27
27
|
"@react-navigation/bottom-tabs": "^6.5.8",
|
|
28
28
|
"@react-navigation/drawer": "^6.6.3",
|
|
29
29
|
"@react-navigation/native": "^6.1.7",
|
|
@@ -33,48 +33,48 @@
|
|
|
33
33
|
"@testing-library/react-native": "^12.1.2",
|
|
34
34
|
"@types/luxon": "^3.3.0",
|
|
35
35
|
"@types/xdate": "^0.8.32",
|
|
36
|
-
"expo": "^
|
|
37
|
-
"expo-font": "~
|
|
38
|
-
"expo-haptics": "~
|
|
39
|
-
"expo-linear-gradient": "~
|
|
40
|
-
"expo-status-bar": "~1.
|
|
36
|
+
"expo": "^51.0.0",
|
|
37
|
+
"expo-font": "~12.0.10",
|
|
38
|
+
"expo-haptics": "~13.0.1",
|
|
39
|
+
"expo-linear-gradient": "~13.0.2",
|
|
40
|
+
"expo-status-bar": "~1.12.1",
|
|
41
41
|
"intl": "^1.2.5",
|
|
42
42
|
"jsc-android": "^250231.0.0",
|
|
43
43
|
"lottie-ios": "4.2.0",
|
|
44
|
-
"lottie-react-native": "6.
|
|
44
|
+
"lottie-react-native": "6.7.0",
|
|
45
45
|
"luxon": "^3.3.0",
|
|
46
46
|
"react": "18.2.0",
|
|
47
47
|
"react-dom": "18.2.0",
|
|
48
|
-
"react-native": "0.
|
|
48
|
+
"react-native": "0.74.5",
|
|
49
49
|
"react-native-calendar-strip": "^2.2.6",
|
|
50
50
|
"react-native-calendars": "^1.1299.0",
|
|
51
|
-
"react-native-gesture-handler": "~2.
|
|
52
|
-
"react-native-pager-view": "6.
|
|
51
|
+
"react-native-gesture-handler": "~2.16.1",
|
|
52
|
+
"react-native-pager-view": "6.3.0",
|
|
53
53
|
"react-native-picker-select": "^8.0.4",
|
|
54
|
-
"react-native-reanimated": "~3.
|
|
55
|
-
"react-native-safe-area-context": "4.
|
|
56
|
-
"react-native-screens": "
|
|
57
|
-
"react-native-svg": "
|
|
54
|
+
"react-native-reanimated": "~3.10.1",
|
|
55
|
+
"react-native-safe-area-context": "4.10.5",
|
|
56
|
+
"react-native-screens": "3.31.1",
|
|
57
|
+
"react-native-svg": "15.2.0",
|
|
58
58
|
"react-native-swipe-gestures": "^1.0.5",
|
|
59
|
-
"react-native-web": "~0.19.
|
|
59
|
+
"react-native-web": "~0.19.10",
|
|
60
60
|
"react-native-wheel-picker-expo": "^0.5.4",
|
|
61
61
|
"react-native-wheely": "^0.6.0",
|
|
62
62
|
"react-test-renderer": "^18.2.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@babel/core": "^7.
|
|
65
|
+
"@babel/core": "^7.24.0",
|
|
66
66
|
"@babel/preset-typescript": "^7.22.5",
|
|
67
67
|
"@types/jest": "^29.5.2",
|
|
68
68
|
"@types/luxon": "^3.3.0",
|
|
69
69
|
"@types/node": "^20.3.1",
|
|
70
|
-
"@types/react": "~18.2.
|
|
71
|
-
"@types/react-dom": "~18.
|
|
70
|
+
"@types/react": "~18.2.79",
|
|
71
|
+
"@types/react-dom": "~18.2.25",
|
|
72
72
|
"@types/react-test-renderer": "^18.0.0",
|
|
73
73
|
"jest": "^29.5.0",
|
|
74
|
-
"jest-expo": "~
|
|
74
|
+
"jest-expo": "~51.0.4",
|
|
75
75
|
"prettier": "2.8.8",
|
|
76
76
|
"ts-jest": "^29.1.0",
|
|
77
77
|
"ts-node": "^10.9.1",
|
|
78
|
-
"typescript": "
|
|
78
|
+
"typescript": "~5.3.3"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
@@ -55,7 +55,9 @@ export const JournalEntry = ({
|
|
|
55
55
|
).current;
|
|
56
56
|
|
|
57
57
|
if (Platform.OS === 'android') {
|
|
58
|
-
UIManager.setLayoutAnimationEnabledExperimental
|
|
58
|
+
if (UIManager.setLayoutAnimationEnabledExperimental) {
|
|
59
|
+
UIManager.setLayoutAnimationEnabledExperimental(true);
|
|
60
|
+
}
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
if (loadingNewEntry) {
|