@terreno/ui 0.9.3 → 0.11.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.
Files changed (94) hide show
  1. package/dist/Banner.js +2 -2
  2. package/dist/Banner.js.map +1 -1
  3. package/dist/Common.d.ts +6 -10
  4. package/dist/Common.js.map +1 -1
  5. package/dist/ConsentHistory.d.ts +2 -1
  6. package/dist/DataTable.js +4 -2
  7. package/dist/DataTable.js.map +1 -1
  8. package/dist/DateUtilities.js +16 -7
  9. package/dist/DateUtilities.js.map +1 -1
  10. package/dist/DraggableList.d.ts +5 -4
  11. package/dist/DraggableList.js.map +1 -1
  12. package/dist/Icon.js +0 -3
  13. package/dist/Icon.js.map +1 -1
  14. package/dist/PasswordField.d.ts +1 -1
  15. package/dist/PasswordField.js.map +1 -1
  16. package/dist/TextFieldNumberActionSheet.d.ts +1 -1
  17. package/dist/Toast.d.ts +1 -1
  18. package/dist/Toast.js +2 -2
  19. package/dist/Toast.js.map +1 -1
  20. package/dist/index.d.ts +2 -2
  21. package/package.json +2 -1
  22. package/src/ActionSheet.test.tsx +262 -3
  23. package/src/AddressField.test.tsx +50 -0
  24. package/src/Banner.test.tsx +22 -0
  25. package/src/Banner.tsx +2 -2
  26. package/src/Box.test.tsx +218 -0
  27. package/src/Button.test.tsx +71 -0
  28. package/src/Common.ts +11 -9
  29. package/src/ConsentFormScreen.test.tsx +167 -0
  30. package/src/ConsentHistory.tsx +1 -1
  31. package/src/ConsentNavigator.test.tsx +210 -4
  32. package/src/DataTable.tsx +15 -15
  33. package/src/DateUtilities.test.ts +34 -16
  34. package/src/DateUtilities.tsx +24 -13
  35. package/src/DecimalRangeActionSheet.test.tsx +53 -2
  36. package/src/DraggableList.tsx +5 -5
  37. package/src/EmailField.test.tsx +81 -0
  38. package/src/EmojiSelector.test.tsx +262 -1
  39. package/src/ErrorBoundary.test.tsx +52 -1
  40. package/src/HeightActionSheet.test.tsx +57 -2
  41. package/src/Icon.tsx +0 -3
  42. package/src/InfoModalIcon.test.tsx +16 -0
  43. package/src/InfoTooltipButton.test.tsx +53 -1
  44. package/src/MobileAddressAutoComplete.test.tsx +137 -7
  45. package/src/Modal.test.tsx +188 -0
  46. package/src/NumberPickerActionSheet.test.tsx +59 -2
  47. package/src/OpenAPIContext.test.tsx +184 -3
  48. package/src/Page.test.tsx +162 -1
  49. package/src/Pagination.test.tsx +16 -0
  50. package/src/PasswordField.tsx +1 -1
  51. package/src/PhoneNumberField.test.tsx +46 -9
  52. package/src/PickerSelect.test.tsx +230 -0
  53. package/src/SegmentedControl.test.tsx +38 -0
  54. package/src/SelectBadge.test.tsx +52 -1
  55. package/src/SideDrawer.test.tsx +69 -0
  56. package/src/Signature.test.tsx +42 -5
  57. package/src/SignatureField.test.tsx +35 -0
  58. package/src/Slider.test.tsx +59 -0
  59. package/src/Spinner.test.tsx +6 -0
  60. package/src/SplitPage.test.tsx +228 -2
  61. package/src/TapToEdit.test.tsx +171 -1
  62. package/src/TerrenoProvider.test.tsx +42 -2
  63. package/src/TextFieldNumberActionSheet.tsx +1 -1
  64. package/src/Theme.test.tsx +118 -28
  65. package/src/Toast.test.tsx +95 -2
  66. package/src/Toast.tsx +3 -3
  67. package/src/Tooltip.test.tsx +204 -1
  68. package/src/UnifiedAddressAutoComplete.test.tsx +38 -19
  69. package/src/UserInactivity.test.tsx +73 -1
  70. package/src/Utilities.test.tsx +190 -2
  71. package/src/WebAddressAutocomplete.test.tsx +148 -1
  72. package/src/__snapshots__/ActionSheet.test.tsx.snap +1736 -0
  73. package/src/__snapshots__/Button.test.tsx.snap +68 -0
  74. package/src/__snapshots__/EmojiSelector.test.tsx.snap +1363 -0
  75. package/src/__snapshots__/InfoTooltipButton.test.tsx.snap +72 -3
  76. package/src/__snapshots__/MobileAddressAutoComplete.test.tsx.snap +60 -9
  77. package/src/__snapshots__/Modal.test.tsx.snap +181 -0
  78. package/src/__snapshots__/Page.test.tsx.snap +48 -2
  79. package/src/__snapshots__/PhoneNumberField.test.tsx.snap +0 -93
  80. package/src/__snapshots__/PickerSelect.test.tsx.snap +706 -0
  81. package/src/__snapshots__/SideDrawer.test.tsx.snap +533 -1399
  82. package/src/__snapshots__/Signature.test.tsx.snap +0 -3
  83. package/src/__snapshots__/SplitPage.test.tsx.snap +970 -0
  84. package/src/__snapshots__/UnifiedAddressAutoComplete.test.tsx.snap +220 -4
  85. package/src/__snapshots__/WebAddressAutocomplete.test.tsx.snap +93 -0
  86. package/src/bunSetup.ts +204 -121
  87. package/src/index.tsx +2 -2
  88. package/src/table/TableHeaderCell.test.tsx +142 -0
  89. package/src/table/TableRow.test.tsx +33 -0
  90. package/src/table/__snapshots__/TableRow.test.tsx.snap +403 -0
  91. package/src/table/tableContext.test.tsx +96 -0
  92. package/src/test-utils.tsx +1 -1
  93. package/src/useConsentForms.test.ts +130 -0
  94. package/src/useSubmitConsent.test.ts +64 -0
@@ -684,3 +684,973 @@ exports[`SplitPage renders with tabs when more than 2 children 1`] = `
684
684
  "type": "KeyboardAvoidingView",
685
685
  }
686
686
  `;
687
+
688
+ exports[`SplitPage renders with list view header 1`] = `
689
+ {
690
+ "$$typeof": Symbol(react.test.json),
691
+ "children": [
692
+ {
693
+ "$$typeof": Symbol(react.test.json),
694
+ "children": [
695
+ {
696
+ "$$typeof": Symbol(react.test.json),
697
+ "children": [
698
+ {
699
+ "$$typeof": Symbol(react.test.json),
700
+ "children": [
701
+ {
702
+ "$$typeof": Symbol(react.test.json),
703
+ "children": null,
704
+ "props": {
705
+ "style": undefined,
706
+ "testID": "list-header",
707
+ },
708
+ "type": "View",
709
+ },
710
+ {
711
+ "$$typeof": Symbol(react.test.json),
712
+ "children": [
713
+ {
714
+ "$$typeof": Symbol(react.test.json),
715
+ "children": [
716
+ {
717
+ "$$typeof": Symbol(react.test.json),
718
+ "children": null,
719
+ "props": {
720
+ "style": undefined,
721
+ "testID": "item-1",
722
+ },
723
+ "type": "View",
724
+ },
725
+ ],
726
+ "props": {
727
+ "accessibilityHint": "",
728
+ "aria-label": "Select",
729
+ "aria-role": "button",
730
+ "onLayout": undefined,
731
+ "onPointerEnter": [Function: AsyncFunction],
732
+ "onPointerLeave": [Function: AsyncFunction],
733
+ "onPress": [Function: AsyncFunction],
734
+ "style": {
735
+ "accessibilityHint": "",
736
+ "accessibilityLabel": "Select",
737
+ },
738
+ "testID": undefined,
739
+ },
740
+ "type": "Pressable",
741
+ },
742
+ {
743
+ "$$typeof": Symbol(react.test.json),
744
+ "children": [
745
+ {
746
+ "$$typeof": Symbol(react.test.json),
747
+ "children": null,
748
+ "props": {
749
+ "style": undefined,
750
+ "testID": "item-2",
751
+ },
752
+ "type": "View",
753
+ },
754
+ ],
755
+ "props": {
756
+ "accessibilityHint": "",
757
+ "aria-label": "Select",
758
+ "aria-role": "button",
759
+ "onLayout": undefined,
760
+ "onPointerEnter": [Function: AsyncFunction],
761
+ "onPointerLeave": [Function: AsyncFunction],
762
+ "onPress": [Function: AsyncFunction],
763
+ "style": {
764
+ "accessibilityHint": "",
765
+ "accessibilityLabel": "Select",
766
+ },
767
+ "testID": undefined,
768
+ },
769
+ "type": "Pressable",
770
+ },
771
+ ],
772
+ "props": {
773
+ "extraData": undefined,
774
+ "nestedScrollEnabled": true,
775
+ },
776
+ "type": "FlatList",
777
+ },
778
+ ],
779
+ "props": {
780
+ "style": {
781
+ "display": "flex",
782
+ "flexDirection": "column",
783
+ "flexGrow": 1,
784
+ "flexShrink": 0,
785
+ "height": "100%",
786
+ "maxWidth": "100%",
787
+ "width": "100%",
788
+ },
789
+ "testID": undefined,
790
+ },
791
+ "type": "View",
792
+ },
793
+ ],
794
+ "props": {
795
+ "onPointerEnter": [Function: AsyncFunction],
796
+ "onPointerLeave": [Function: AsyncFunction],
797
+ "style": {
798
+ "avoidKeyboard": true,
799
+ "backgroundColor": "#D9D9D9",
800
+ "display": "flex",
801
+ "flex": undefined,
802
+ "flexDirection": "row",
803
+ "height": "100%",
804
+ "keyboardOffset": undefined,
805
+ "padding": 8,
806
+ "width": "100%",
807
+ },
808
+ "testID": undefined,
809
+ },
810
+ "type": "View",
811
+ },
812
+ ],
813
+ "props": {
814
+ "style": {
815
+ "display": "flex",
816
+ "flex": 1,
817
+ },
818
+ },
819
+ "type": "SafeAreaView",
820
+ },
821
+ ],
822
+ "props": {
823
+ "behavior": "padding",
824
+ "keyboardVerticalOffset": undefined,
825
+ "style": {
826
+ "display": "flex",
827
+ "flex": 1,
828
+ },
829
+ },
830
+ "type": "KeyboardAvoidingView",
831
+ }
832
+ `;
833
+
834
+ exports[`SplitPage renders with custom list view width and max width 1`] = `
835
+ {
836
+ "$$typeof": Symbol(react.test.json),
837
+ "children": [
838
+ {
839
+ "$$typeof": Symbol(react.test.json),
840
+ "children": [
841
+ {
842
+ "$$typeof": Symbol(react.test.json),
843
+ "children": [
844
+ {
845
+ "$$typeof": Symbol(react.test.json),
846
+ "children": [
847
+ {
848
+ "$$typeof": Symbol(react.test.json),
849
+ "children": [
850
+ {
851
+ "$$typeof": Symbol(react.test.json),
852
+ "children": [
853
+ {
854
+ "$$typeof": Symbol(react.test.json),
855
+ "children": null,
856
+ "props": {
857
+ "style": undefined,
858
+ "testID": "item-1",
859
+ },
860
+ "type": "View",
861
+ },
862
+ ],
863
+ "props": {
864
+ "accessibilityHint": "",
865
+ "aria-label": "Select",
866
+ "aria-role": "button",
867
+ "onLayout": undefined,
868
+ "onPointerEnter": [Function: AsyncFunction],
869
+ "onPointerLeave": [Function: AsyncFunction],
870
+ "onPress": [Function: AsyncFunction],
871
+ "style": {
872
+ "accessibilityHint": "",
873
+ "accessibilityLabel": "Select",
874
+ },
875
+ "testID": undefined,
876
+ },
877
+ "type": "Pressable",
878
+ },
879
+ {
880
+ "$$typeof": Symbol(react.test.json),
881
+ "children": [
882
+ {
883
+ "$$typeof": Symbol(react.test.json),
884
+ "children": null,
885
+ "props": {
886
+ "style": undefined,
887
+ "testID": "item-2",
888
+ },
889
+ "type": "View",
890
+ },
891
+ ],
892
+ "props": {
893
+ "accessibilityHint": "",
894
+ "aria-label": "Select",
895
+ "aria-role": "button",
896
+ "onLayout": undefined,
897
+ "onPointerEnter": [Function: AsyncFunction],
898
+ "onPointerLeave": [Function: AsyncFunction],
899
+ "onPress": [Function: AsyncFunction],
900
+ "style": {
901
+ "accessibilityHint": "",
902
+ "accessibilityLabel": "Select",
903
+ },
904
+ "testID": undefined,
905
+ },
906
+ "type": "Pressable",
907
+ },
908
+ ],
909
+ "props": {
910
+ "extraData": undefined,
911
+ "nestedScrollEnabled": true,
912
+ },
913
+ "type": "FlatList",
914
+ },
915
+ ],
916
+ "props": {
917
+ "style": {
918
+ "display": "flex",
919
+ "flexDirection": "column",
920
+ "flexGrow": 1,
921
+ "flexShrink": 0,
922
+ "height": "100%",
923
+ "maxWidth": "100%",
924
+ "width": "100%",
925
+ },
926
+ "testID": undefined,
927
+ },
928
+ "type": "View",
929
+ },
930
+ ],
931
+ "props": {
932
+ "onPointerEnter": [Function: AsyncFunction],
933
+ "onPointerLeave": [Function: AsyncFunction],
934
+ "style": {
935
+ "avoidKeyboard": true,
936
+ "backgroundColor": "#D9D9D9",
937
+ "display": "flex",
938
+ "flex": undefined,
939
+ "flexDirection": "row",
940
+ "height": "100%",
941
+ "keyboardOffset": undefined,
942
+ "padding": 8,
943
+ "width": "100%",
944
+ },
945
+ "testID": undefined,
946
+ },
947
+ "type": "View",
948
+ },
949
+ ],
950
+ "props": {
951
+ "style": {
952
+ "display": "flex",
953
+ "flex": 1,
954
+ },
955
+ },
956
+ "type": "SafeAreaView",
957
+ },
958
+ ],
959
+ "props": {
960
+ "behavior": "padding",
961
+ "keyboardVerticalOffset": undefined,
962
+ "style": {
963
+ "display": "flex",
964
+ "flex": 1,
965
+ },
966
+ },
967
+ "type": "KeyboardAvoidingView",
968
+ }
969
+ `;
970
+
971
+ exports[`SplitPage renders with listViewExtraData 1`] = `
972
+ {
973
+ "$$typeof": Symbol(react.test.json),
974
+ "children": [
975
+ {
976
+ "$$typeof": Symbol(react.test.json),
977
+ "children": [
978
+ {
979
+ "$$typeof": Symbol(react.test.json),
980
+ "children": [
981
+ {
982
+ "$$typeof": Symbol(react.test.json),
983
+ "children": [
984
+ {
985
+ "$$typeof": Symbol(react.test.json),
986
+ "children": [
987
+ {
988
+ "$$typeof": Symbol(react.test.json),
989
+ "children": [
990
+ {
991
+ "$$typeof": Symbol(react.test.json),
992
+ "children": null,
993
+ "props": {
994
+ "style": undefined,
995
+ "testID": "item-1",
996
+ },
997
+ "type": "View",
998
+ },
999
+ ],
1000
+ "props": {
1001
+ "accessibilityHint": "",
1002
+ "aria-label": "Select",
1003
+ "aria-role": "button",
1004
+ "onLayout": undefined,
1005
+ "onPointerEnter": [Function: AsyncFunction],
1006
+ "onPointerLeave": [Function: AsyncFunction],
1007
+ "onPress": [Function: AsyncFunction],
1008
+ "style": {
1009
+ "accessibilityHint": "",
1010
+ "accessibilityLabel": "Select",
1011
+ },
1012
+ "testID": undefined,
1013
+ },
1014
+ "type": "Pressable",
1015
+ },
1016
+ {
1017
+ "$$typeof": Symbol(react.test.json),
1018
+ "children": [
1019
+ {
1020
+ "$$typeof": Symbol(react.test.json),
1021
+ "children": null,
1022
+ "props": {
1023
+ "style": undefined,
1024
+ "testID": "item-2",
1025
+ },
1026
+ "type": "View",
1027
+ },
1028
+ ],
1029
+ "props": {
1030
+ "accessibilityHint": "",
1031
+ "aria-label": "Select",
1032
+ "aria-role": "button",
1033
+ "onLayout": undefined,
1034
+ "onPointerEnter": [Function: AsyncFunction],
1035
+ "onPointerLeave": [Function: AsyncFunction],
1036
+ "onPress": [Function: AsyncFunction],
1037
+ "style": {
1038
+ "accessibilityHint": "",
1039
+ "accessibilityLabel": "Select",
1040
+ },
1041
+ "testID": undefined,
1042
+ },
1043
+ "type": "Pressable",
1044
+ },
1045
+ ],
1046
+ "props": {
1047
+ "extraData": {
1048
+ "counter": 1,
1049
+ },
1050
+ "nestedScrollEnabled": true,
1051
+ },
1052
+ "type": "FlatList",
1053
+ },
1054
+ ],
1055
+ "props": {
1056
+ "style": {
1057
+ "display": "flex",
1058
+ "flexDirection": "column",
1059
+ "flexGrow": 1,
1060
+ "flexShrink": 0,
1061
+ "height": "100%",
1062
+ "maxWidth": "100%",
1063
+ "width": "100%",
1064
+ },
1065
+ "testID": undefined,
1066
+ },
1067
+ "type": "View",
1068
+ },
1069
+ ],
1070
+ "props": {
1071
+ "onPointerEnter": [Function: AsyncFunction],
1072
+ "onPointerLeave": [Function: AsyncFunction],
1073
+ "style": {
1074
+ "avoidKeyboard": true,
1075
+ "backgroundColor": "#D9D9D9",
1076
+ "display": "flex",
1077
+ "flex": undefined,
1078
+ "flexDirection": "row",
1079
+ "height": "100%",
1080
+ "keyboardOffset": undefined,
1081
+ "padding": 8,
1082
+ "width": "100%",
1083
+ },
1084
+ "testID": undefined,
1085
+ },
1086
+ "type": "View",
1087
+ },
1088
+ ],
1089
+ "props": {
1090
+ "style": {
1091
+ "display": "flex",
1092
+ "flex": 1,
1093
+ },
1094
+ },
1095
+ "type": "SafeAreaView",
1096
+ },
1097
+ ],
1098
+ "props": {
1099
+ "behavior": "padding",
1100
+ "keyboardVerticalOffset": undefined,
1101
+ "style": {
1102
+ "display": "flex",
1103
+ "flex": 1,
1104
+ },
1105
+ },
1106
+ "type": "KeyboardAvoidingView",
1107
+ }
1108
+ `;
1109
+
1110
+ exports[`SplitPage renders with keyboard offset 1`] = `
1111
+ {
1112
+ "$$typeof": Symbol(react.test.json),
1113
+ "children": [
1114
+ {
1115
+ "$$typeof": Symbol(react.test.json),
1116
+ "children": [
1117
+ {
1118
+ "$$typeof": Symbol(react.test.json),
1119
+ "children": [
1120
+ {
1121
+ "$$typeof": Symbol(react.test.json),
1122
+ "children": [
1123
+ {
1124
+ "$$typeof": Symbol(react.test.json),
1125
+ "children": [
1126
+ {
1127
+ "$$typeof": Symbol(react.test.json),
1128
+ "children": [
1129
+ {
1130
+ "$$typeof": Symbol(react.test.json),
1131
+ "children": null,
1132
+ "props": {
1133
+ "style": undefined,
1134
+ "testID": "item-1",
1135
+ },
1136
+ "type": "View",
1137
+ },
1138
+ ],
1139
+ "props": {
1140
+ "accessibilityHint": "",
1141
+ "aria-label": "Select",
1142
+ "aria-role": "button",
1143
+ "onLayout": undefined,
1144
+ "onPointerEnter": [Function: AsyncFunction],
1145
+ "onPointerLeave": [Function: AsyncFunction],
1146
+ "onPress": [Function: AsyncFunction],
1147
+ "style": {
1148
+ "accessibilityHint": "",
1149
+ "accessibilityLabel": "Select",
1150
+ },
1151
+ "testID": undefined,
1152
+ },
1153
+ "type": "Pressable",
1154
+ },
1155
+ {
1156
+ "$$typeof": Symbol(react.test.json),
1157
+ "children": [
1158
+ {
1159
+ "$$typeof": Symbol(react.test.json),
1160
+ "children": null,
1161
+ "props": {
1162
+ "style": undefined,
1163
+ "testID": "item-2",
1164
+ },
1165
+ "type": "View",
1166
+ },
1167
+ ],
1168
+ "props": {
1169
+ "accessibilityHint": "",
1170
+ "aria-label": "Select",
1171
+ "aria-role": "button",
1172
+ "onLayout": undefined,
1173
+ "onPointerEnter": [Function: AsyncFunction],
1174
+ "onPointerLeave": [Function: AsyncFunction],
1175
+ "onPress": [Function: AsyncFunction],
1176
+ "style": {
1177
+ "accessibilityHint": "",
1178
+ "accessibilityLabel": "Select",
1179
+ },
1180
+ "testID": undefined,
1181
+ },
1182
+ "type": "Pressable",
1183
+ },
1184
+ ],
1185
+ "props": {
1186
+ "extraData": undefined,
1187
+ "nestedScrollEnabled": true,
1188
+ },
1189
+ "type": "FlatList",
1190
+ },
1191
+ ],
1192
+ "props": {
1193
+ "style": {
1194
+ "display": "flex",
1195
+ "flexDirection": "column",
1196
+ "flexGrow": 1,
1197
+ "flexShrink": 0,
1198
+ "height": "100%",
1199
+ "maxWidth": "100%",
1200
+ "width": "100%",
1201
+ },
1202
+ "testID": undefined,
1203
+ },
1204
+ "type": "View",
1205
+ },
1206
+ ],
1207
+ "props": {
1208
+ "onPointerEnter": [Function: AsyncFunction],
1209
+ "onPointerLeave": [Function: AsyncFunction],
1210
+ "style": {
1211
+ "avoidKeyboard": true,
1212
+ "backgroundColor": "#D9D9D9",
1213
+ "display": "flex",
1214
+ "flex": undefined,
1215
+ "flexDirection": "row",
1216
+ "height": "100%",
1217
+ "keyboardOffset": 100,
1218
+ "padding": 8,
1219
+ "width": "100%",
1220
+ },
1221
+ "testID": undefined,
1222
+ },
1223
+ "type": "View",
1224
+ },
1225
+ ],
1226
+ "props": {
1227
+ "style": {
1228
+ "display": "flex",
1229
+ "flex": 1,
1230
+ },
1231
+ },
1232
+ "type": "SafeAreaView",
1233
+ },
1234
+ ],
1235
+ "props": {
1236
+ "behavior": "padding",
1237
+ "keyboardVerticalOffset": 100,
1238
+ "style": {
1239
+ "display": "flex",
1240
+ "flex": 1,
1241
+ },
1242
+ },
1243
+ "type": "KeyboardAvoidingView",
1244
+ }
1245
+ `;
1246
+
1247
+ exports[`SplitPage filters out null children 1`] = `
1248
+ {
1249
+ "$$typeof": Symbol(react.test.json),
1250
+ "children": [
1251
+ {
1252
+ "$$typeof": Symbol(react.test.json),
1253
+ "children": [
1254
+ {
1255
+ "$$typeof": Symbol(react.test.json),
1256
+ "children": [
1257
+ {
1258
+ "$$typeof": Symbol(react.test.json),
1259
+ "children": [
1260
+ {
1261
+ "$$typeof": Symbol(react.test.json),
1262
+ "children": [
1263
+ {
1264
+ "$$typeof": Symbol(react.test.json),
1265
+ "children": [
1266
+ {
1267
+ "$$typeof": Symbol(react.test.json),
1268
+ "children": null,
1269
+ "props": {
1270
+ "style": undefined,
1271
+ "testID": "item-1",
1272
+ },
1273
+ "type": "View",
1274
+ },
1275
+ ],
1276
+ "props": {
1277
+ "accessibilityHint": "",
1278
+ "aria-label": "Select",
1279
+ "aria-role": "button",
1280
+ "onLayout": undefined,
1281
+ "onPointerEnter": [Function: AsyncFunction],
1282
+ "onPointerLeave": [Function: AsyncFunction],
1283
+ "onPress": [Function: AsyncFunction],
1284
+ "style": {
1285
+ "accessibilityHint": "",
1286
+ "accessibilityLabel": "Select",
1287
+ },
1288
+ "testID": undefined,
1289
+ },
1290
+ "type": "Pressable",
1291
+ },
1292
+ {
1293
+ "$$typeof": Symbol(react.test.json),
1294
+ "children": [
1295
+ {
1296
+ "$$typeof": Symbol(react.test.json),
1297
+ "children": null,
1298
+ "props": {
1299
+ "style": undefined,
1300
+ "testID": "item-2",
1301
+ },
1302
+ "type": "View",
1303
+ },
1304
+ ],
1305
+ "props": {
1306
+ "accessibilityHint": "",
1307
+ "aria-label": "Select",
1308
+ "aria-role": "button",
1309
+ "onLayout": undefined,
1310
+ "onPointerEnter": [Function: AsyncFunction],
1311
+ "onPointerLeave": [Function: AsyncFunction],
1312
+ "onPress": [Function: AsyncFunction],
1313
+ "style": {
1314
+ "accessibilityHint": "",
1315
+ "accessibilityLabel": "Select",
1316
+ },
1317
+ "testID": undefined,
1318
+ },
1319
+ "type": "Pressable",
1320
+ },
1321
+ ],
1322
+ "props": {
1323
+ "extraData": undefined,
1324
+ "nestedScrollEnabled": true,
1325
+ },
1326
+ "type": "FlatList",
1327
+ },
1328
+ ],
1329
+ "props": {
1330
+ "style": {
1331
+ "display": "flex",
1332
+ "flexDirection": "column",
1333
+ "flexGrow": 1,
1334
+ "flexShrink": 0,
1335
+ "height": "100%",
1336
+ "maxWidth": "100%",
1337
+ "width": "100%",
1338
+ },
1339
+ "testID": undefined,
1340
+ },
1341
+ "type": "View",
1342
+ },
1343
+ ],
1344
+ "props": {
1345
+ "onPointerEnter": [Function: AsyncFunction],
1346
+ "onPointerLeave": [Function: AsyncFunction],
1347
+ "style": {
1348
+ "avoidKeyboard": true,
1349
+ "backgroundColor": "#D9D9D9",
1350
+ "display": "flex",
1351
+ "flex": undefined,
1352
+ "flexDirection": "row",
1353
+ "height": "100%",
1354
+ "keyboardOffset": undefined,
1355
+ "padding": 8,
1356
+ "width": "100%",
1357
+ },
1358
+ "testID": undefined,
1359
+ },
1360
+ "type": "View",
1361
+ },
1362
+ ],
1363
+ "props": {
1364
+ "style": {
1365
+ "display": "flex",
1366
+ "flex": 1,
1367
+ },
1368
+ },
1369
+ "type": "SafeAreaView",
1370
+ },
1371
+ ],
1372
+ "props": {
1373
+ "behavior": "padding",
1374
+ "keyboardVerticalOffset": undefined,
1375
+ "style": {
1376
+ "display": "flex",
1377
+ "flex": 1,
1378
+ },
1379
+ },
1380
+ "type": "KeyboardAvoidingView",
1381
+ }
1382
+ `;
1383
+
1384
+ exports[`SplitPage renders with showItemList true to reset selection 1`] = `
1385
+ {
1386
+ "$$typeof": Symbol(react.test.json),
1387
+ "children": [
1388
+ {
1389
+ "$$typeof": Symbol(react.test.json),
1390
+ "children": [
1391
+ {
1392
+ "$$typeof": Symbol(react.test.json),
1393
+ "children": [
1394
+ {
1395
+ "$$typeof": Symbol(react.test.json),
1396
+ "children": [
1397
+ {
1398
+ "$$typeof": Symbol(react.test.json),
1399
+ "children": [
1400
+ {
1401
+ "$$typeof": Symbol(react.test.json),
1402
+ "children": [
1403
+ {
1404
+ "$$typeof": Symbol(react.test.json),
1405
+ "children": null,
1406
+ "props": {
1407
+ "style": undefined,
1408
+ "testID": "item-1",
1409
+ },
1410
+ "type": "View",
1411
+ },
1412
+ ],
1413
+ "props": {
1414
+ "accessibilityHint": "",
1415
+ "aria-label": "Select",
1416
+ "aria-role": "button",
1417
+ "onLayout": undefined,
1418
+ "onPointerEnter": [Function: AsyncFunction],
1419
+ "onPointerLeave": [Function: AsyncFunction],
1420
+ "onPress": [Function: AsyncFunction],
1421
+ "style": {
1422
+ "accessibilityHint": "",
1423
+ "accessibilityLabel": "Select",
1424
+ },
1425
+ "testID": undefined,
1426
+ },
1427
+ "type": "Pressable",
1428
+ },
1429
+ {
1430
+ "$$typeof": Symbol(react.test.json),
1431
+ "children": [
1432
+ {
1433
+ "$$typeof": Symbol(react.test.json),
1434
+ "children": null,
1435
+ "props": {
1436
+ "style": undefined,
1437
+ "testID": "item-2",
1438
+ },
1439
+ "type": "View",
1440
+ },
1441
+ ],
1442
+ "props": {
1443
+ "accessibilityHint": "",
1444
+ "aria-label": "Select",
1445
+ "aria-role": "button",
1446
+ "onLayout": undefined,
1447
+ "onPointerEnter": [Function: AsyncFunction],
1448
+ "onPointerLeave": [Function: AsyncFunction],
1449
+ "onPress": [Function: AsyncFunction],
1450
+ "style": {
1451
+ "accessibilityHint": "",
1452
+ "accessibilityLabel": "Select",
1453
+ },
1454
+ "testID": undefined,
1455
+ },
1456
+ "type": "Pressable",
1457
+ },
1458
+ ],
1459
+ "props": {
1460
+ "extraData": undefined,
1461
+ "nestedScrollEnabled": true,
1462
+ },
1463
+ "type": "FlatList",
1464
+ },
1465
+ ],
1466
+ "props": {
1467
+ "style": {
1468
+ "display": "flex",
1469
+ "flexDirection": "column",
1470
+ "flexGrow": 1,
1471
+ "flexShrink": 0,
1472
+ "height": "100%",
1473
+ "maxWidth": "100%",
1474
+ "width": "100%",
1475
+ },
1476
+ "testID": undefined,
1477
+ },
1478
+ "type": "View",
1479
+ },
1480
+ ],
1481
+ "props": {
1482
+ "onPointerEnter": [Function: AsyncFunction],
1483
+ "onPointerLeave": [Function: AsyncFunction],
1484
+ "style": {
1485
+ "avoidKeyboard": true,
1486
+ "backgroundColor": "#D9D9D9",
1487
+ "display": "flex",
1488
+ "flex": undefined,
1489
+ "flexDirection": "row",
1490
+ "height": "100%",
1491
+ "keyboardOffset": undefined,
1492
+ "padding": 8,
1493
+ "width": "100%",
1494
+ },
1495
+ "testID": undefined,
1496
+ },
1497
+ "type": "View",
1498
+ },
1499
+ ],
1500
+ "props": {
1501
+ "style": {
1502
+ "display": "flex",
1503
+ "flex": 1,
1504
+ },
1505
+ },
1506
+ "type": "SafeAreaView",
1507
+ },
1508
+ ],
1509
+ "props": {
1510
+ "behavior": "padding",
1511
+ "keyboardVerticalOffset": undefined,
1512
+ "style": {
1513
+ "display": "flex",
1514
+ "flex": 1,
1515
+ },
1516
+ },
1517
+ "type": "KeyboardAvoidingView",
1518
+ }
1519
+ `;
1520
+
1521
+ exports[`SplitPage renders with bottomNavBarHeight 1`] = `
1522
+ {
1523
+ "$$typeof": Symbol(react.test.json),
1524
+ "children": [
1525
+ {
1526
+ "$$typeof": Symbol(react.test.json),
1527
+ "children": [
1528
+ {
1529
+ "$$typeof": Symbol(react.test.json),
1530
+ "children": [
1531
+ {
1532
+ "$$typeof": Symbol(react.test.json),
1533
+ "children": [
1534
+ {
1535
+ "$$typeof": Symbol(react.test.json),
1536
+ "children": [
1537
+ {
1538
+ "$$typeof": Symbol(react.test.json),
1539
+ "children": [
1540
+ {
1541
+ "$$typeof": Symbol(react.test.json),
1542
+ "children": null,
1543
+ "props": {
1544
+ "style": undefined,
1545
+ "testID": "item-1",
1546
+ },
1547
+ "type": "View",
1548
+ },
1549
+ ],
1550
+ "props": {
1551
+ "accessibilityHint": "",
1552
+ "aria-label": "Select",
1553
+ "aria-role": "button",
1554
+ "onLayout": undefined,
1555
+ "onPointerEnter": [Function: AsyncFunction],
1556
+ "onPointerLeave": [Function: AsyncFunction],
1557
+ "onPress": [Function: AsyncFunction],
1558
+ "style": {
1559
+ "accessibilityHint": "",
1560
+ "accessibilityLabel": "Select",
1561
+ },
1562
+ "testID": undefined,
1563
+ },
1564
+ "type": "Pressable",
1565
+ },
1566
+ {
1567
+ "$$typeof": Symbol(react.test.json),
1568
+ "children": [
1569
+ {
1570
+ "$$typeof": Symbol(react.test.json),
1571
+ "children": null,
1572
+ "props": {
1573
+ "style": undefined,
1574
+ "testID": "item-2",
1575
+ },
1576
+ "type": "View",
1577
+ },
1578
+ ],
1579
+ "props": {
1580
+ "accessibilityHint": "",
1581
+ "aria-label": "Select",
1582
+ "aria-role": "button",
1583
+ "onLayout": undefined,
1584
+ "onPointerEnter": [Function: AsyncFunction],
1585
+ "onPointerLeave": [Function: AsyncFunction],
1586
+ "onPress": [Function: AsyncFunction],
1587
+ "style": {
1588
+ "accessibilityHint": "",
1589
+ "accessibilityLabel": "Select",
1590
+ },
1591
+ "testID": undefined,
1592
+ },
1593
+ "type": "Pressable",
1594
+ },
1595
+ ],
1596
+ "props": {
1597
+ "extraData": undefined,
1598
+ "nestedScrollEnabled": true,
1599
+ },
1600
+ "type": "FlatList",
1601
+ },
1602
+ ],
1603
+ "props": {
1604
+ "style": {
1605
+ "display": "flex",
1606
+ "flexDirection": "column",
1607
+ "flexGrow": 1,
1608
+ "flexShrink": 0,
1609
+ "height": "100%",
1610
+ "maxWidth": "100%",
1611
+ "width": "100%",
1612
+ },
1613
+ "testID": undefined,
1614
+ },
1615
+ "type": "View",
1616
+ },
1617
+ ],
1618
+ "props": {
1619
+ "onPointerEnter": [Function: AsyncFunction],
1620
+ "onPointerLeave": [Function: AsyncFunction],
1621
+ "style": {
1622
+ "avoidKeyboard": true,
1623
+ "backgroundColor": "#D9D9D9",
1624
+ "display": "flex",
1625
+ "flex": undefined,
1626
+ "flexDirection": "row",
1627
+ "height": "100%",
1628
+ "keyboardOffset": undefined,
1629
+ "padding": 8,
1630
+ "width": "100%",
1631
+ },
1632
+ "testID": undefined,
1633
+ },
1634
+ "type": "View",
1635
+ },
1636
+ ],
1637
+ "props": {
1638
+ "style": {
1639
+ "display": "flex",
1640
+ "flex": 1,
1641
+ },
1642
+ },
1643
+ "type": "SafeAreaView",
1644
+ },
1645
+ ],
1646
+ "props": {
1647
+ "behavior": "padding",
1648
+ "keyboardVerticalOffset": undefined,
1649
+ "style": {
1650
+ "display": "flex",
1651
+ "flex": 1,
1652
+ },
1653
+ },
1654
+ "type": "KeyboardAvoidingView",
1655
+ }
1656
+ `;