@terreno/ui 0.30.0 → 56.0.0-beta.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/dist/ActionSheet.d.ts +1 -1
- package/dist/Avatar.js +1 -4
- package/dist/Avatar.js.map +1 -1
- package/dist/Box.js +45 -9
- package/dist/Box.js.map +1 -1
- package/dist/Common.d.ts +21 -0
- package/dist/Common.js.map +1 -1
- package/dist/ConflictSheet.d.ts +53 -0
- package/dist/ConflictSheet.js +132 -0
- package/dist/ConflictSheet.js.map +1 -0
- package/dist/DateTimeActionSheet.d.ts +2 -1
- package/dist/DecimalRangeActionSheet.d.ts +1 -1
- package/dist/EmojiSelector.d.ts +1 -1
- package/dist/ErrorPage.d.ts +1 -1
- package/dist/HeightActionSheet.d.ts +1 -1
- package/dist/Hyperlink.d.ts +2 -1
- package/dist/Hyperlink.js +2 -1
- package/dist/Hyperlink.js.map +1 -1
- package/dist/Image.d.ts +1 -1
- package/dist/ImageBackground.d.ts +1 -1
- package/dist/MobileAddressAutoComplete.d.ts +1 -1
- package/dist/NumberPickerActionSheet.d.ts +1 -1
- package/dist/Page.d.ts +3 -3
- package/dist/PickerSelect.d.ts +1 -1
- package/dist/SidebarNavigation.js +1 -1
- package/dist/SidebarNavigation.js.map +1 -1
- package/dist/SidebarNavigation.native.js +1 -1
- package/dist/SidebarNavigation.native.js.map +1 -1
- package/dist/SplitPage.d.ts +1 -1
- package/dist/SplitPage.js +1 -4
- package/dist/SplitPage.js.map +1 -1
- package/dist/SplitPage.native.d.ts +1 -1
- package/dist/SyncStatusBanner.d.ts +46 -0
- package/dist/SyncStatusBanner.js +29 -0
- package/dist/SyncStatusBanner.js.map +1 -0
- package/dist/Theme.d.ts +1 -1
- package/dist/Toast.d.ts +9 -1
- package/dist/Toast.js +20 -7
- package/dist/Toast.js.map +1 -1
- package/dist/ToastNotifications.js +23 -1
- package/dist/ToastNotifications.js.map +1 -1
- package/dist/UnifiedAddressAutoComplete.d.ts +1 -1
- package/dist/Unifier.js +1 -1
- package/dist/Unifier.js.map +1 -1
- package/dist/conflictFieldDiff.d.ts +14 -0
- package/dist/conflictFieldDiff.js +62 -0
- package/dist/conflictFieldDiff.js.map +1 -0
- package/dist/icons/OfflineIcon.d.ts +1 -1
- package/dist/icons/OnlineIcon.d.ts +1 -1
- package/dist/icons/OutOfficeIcon.d.ts +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/pdfHtmlTemplate.d.ts +30 -0
- package/dist/pdfHtmlTemplate.js +170 -0
- package/dist/pdfHtmlTemplate.js.map +1 -0
- package/dist/table/TableTitle.js +1 -3
- package/dist/table/TableTitle.js.map +1 -1
- package/dist/useAppLaunchOrForeground.d.ts +9 -0
- package/dist/useAppLaunchOrForeground.js +27 -0
- package/dist/useAppLaunchOrForeground.js.map +1 -0
- package/package.json +44 -37
- package/src/Box.test.tsx +39 -9
- package/src/Box.tsx +46 -7
- package/src/Common.ts +21 -3
- package/src/ConflictSheet.test.tsx +461 -0
- package/src/ConflictSheet.tsx +399 -0
- package/src/DataTable.test.tsx +15 -21
- package/src/Hyperlink.tsx +1 -1
- package/src/SidebarNavigation.native.tsx +1 -1
- package/src/SidebarNavigation.tsx +1 -1
- package/src/SyncStatusBanner.test.tsx +204 -0
- package/src/SyncStatusBanner.tsx +148 -0
- package/src/TapToEdit.test.tsx +8 -14
- package/src/TerrenoProvider.test.tsx +3 -4
- package/src/Toast.test.tsx +60 -0
- package/src/Toast.tsx +46 -1
- package/src/ToastNotifications.test.tsx +82 -0
- package/src/ToastNotifications.tsx +25 -1
- package/src/Tooltip.test.tsx +1 -0
- package/src/Unifier.ts +1 -1
- package/src/__snapshots__/AiSuggestionBox.test.tsx.snap +0 -3
- package/src/__snapshots__/Body.test.tsx.snap +0 -16
- package/src/__snapshots__/Box.test.tsx.snap +4 -13
- package/src/__snapshots__/Page.test.tsx.snap +0 -84
- package/src/__snapshots__/SplitPage.test.tsx.snap +24 -120
- package/src/__snapshots__/TapToEdit.test.tsx.snap +5 -16
- package/src/__snapshots__/Toast.test.tsx.snap +4 -2
- package/src/bunSetup.ts +19 -0
- package/src/conflictFieldDiff.test.ts +26 -0
- package/src/conflictFieldDiff.ts +78 -0
- package/src/index.tsx +5 -2
- package/src/login/__snapshots__/LoginScreen.test.tsx.snap +0 -9
- package/src/pdfHtmlTemplate.ts +219 -0
- package/src/signUp/__snapshots__/OAuthButtons.test.tsx.snap +0 -1
- package/src/signUp/__snapshots__/PasswordRequirements.test.tsx.snap +2 -16
- package/src/signUp/__snapshots__/SignUpScreen.test.tsx.snap +1 -17
- package/src/signUp/__snapshots__/Swiper.test.tsx.snap +0 -1
- package/src/table/__snapshots__/Table.test.tsx.snap +22 -87
- package/src/table/__snapshots__/TableHeader.test.tsx.snap +10 -50
- package/src/table/__snapshots__/TableHeaderCell.test.tsx.snap +10 -84
- package/src/table/__snapshots__/TableRow.test.tsx.snap +12 -77
- package/src/useAppLaunchOrForeground.test.tsx +54 -0
- package/src/useAppLaunchOrForeground.ts +30 -0
- package/dist/ConsentHistory.d.ts +0 -9
- package/dist/ConsentHistory.js +0 -70
- package/dist/ConsentHistory.js.map +0 -1
- package/dist/generateConsentHistoryPdf.d.ts +0 -2
- package/dist/generateConsentHistoryPdf.js +0 -185
- package/dist/generateConsentHistoryPdf.js.map +0 -1
- package/dist/useConsentHistory.d.ts +0 -63
- package/dist/useConsentHistory.js +0 -40
- package/dist/useConsentHistory.js.map +0 -1
- package/src/ConsentHistory.test.tsx +0 -161
- package/src/ConsentHistory.tsx +0 -249
- package/src/generateConsentHistoryPdf.ts +0 -211
- package/src/useConsentHistory.test.ts +0 -106
- package/src/useConsentHistory.ts +0 -94
|
@@ -540,7 +540,18 @@ const ToastContainer = forwardRef<ToastContainerRef, ToastContainerProps>((props
|
|
|
540
540
|
|
|
541
541
|
const [toasts, setToasts] = useState<Array<ToastProps>>([]);
|
|
542
542
|
|
|
543
|
+
// `show` defers insertion to the next frame, so a `hide` can arrive before the
|
|
544
|
+
// toast it targets exists in state. These track ids whose insertion is still
|
|
545
|
+
// scheduled, and of those, the ones that have since been hidden — without
|
|
546
|
+
// them the deferred insert would resurrect an already-hidden toast, leaving it
|
|
547
|
+
// stuck on screen forever (persistent toasts never time out).
|
|
548
|
+
const pendingShowsRef = useRef<Set<string>>(new Set());
|
|
549
|
+
const cancelledShowsRef = useRef<Set<string>>(new Set());
|
|
550
|
+
|
|
543
551
|
const hide = useCallback((id: string) => {
|
|
552
|
+
if (pendingShowsRef.current.has(id)) {
|
|
553
|
+
cancelledShowsRef.current.add(id);
|
|
554
|
+
}
|
|
544
555
|
setToasts((prev) => prev.map((t) => (t.id === id ? {...t, open: false} : t)));
|
|
545
556
|
}, []);
|
|
546
557
|
|
|
@@ -552,7 +563,15 @@ const ToastContainer = forwardRef<ToastContainerRef, ToastContainerProps>((props
|
|
|
552
563
|
setToasts((prev) => prev.filter((t) => t.id !== id));
|
|
553
564
|
};
|
|
554
565
|
|
|
566
|
+
// Re-showing an id supersedes any hide that raced ahead of it.
|
|
567
|
+
cancelledShowsRef.current.delete(id);
|
|
568
|
+
pendingShowsRef.current.add(id);
|
|
569
|
+
|
|
555
570
|
requestAnimationFrame(() => {
|
|
571
|
+
pendingShowsRef.current.delete(id);
|
|
572
|
+
if (cancelledShowsRef.current.delete(id)) {
|
|
573
|
+
return;
|
|
574
|
+
}
|
|
556
575
|
setToasts((prev) => [
|
|
557
576
|
{
|
|
558
577
|
id,
|
|
@@ -565,7 +584,9 @@ const ToastContainer = forwardRef<ToastContainerRef, ToastContainerProps>((props
|
|
|
565
584
|
...toastDefaults,
|
|
566
585
|
...toastOptions,
|
|
567
586
|
},
|
|
568
|
-
|
|
587
|
+
// Replace rather than stack any toast already using this id, so a
|
|
588
|
+
// caller-supplied id always maps to exactly one toast on screen.
|
|
589
|
+
...prev.filter((t) => t.open && t.id !== id),
|
|
569
590
|
]);
|
|
570
591
|
});
|
|
571
592
|
|
|
@@ -584,6 +605,9 @@ const ToastContainer = forwardRef<ToastContainerRef, ToastContainerProps>((props
|
|
|
584
605
|
);
|
|
585
606
|
|
|
586
607
|
const hideAll = useCallback(() => {
|
|
608
|
+
for (const id of pendingShowsRef.current) {
|
|
609
|
+
cancelledShowsRef.current.add(id);
|
|
610
|
+
}
|
|
587
611
|
setToasts((prev) => prev.map((t) => ({...t, open: false})));
|
|
588
612
|
}, []);
|
|
589
613
|
|
package/src/Tooltip.test.tsx
CHANGED
|
@@ -775,6 +775,7 @@ describe("Tooltip", () => {
|
|
|
775
775
|
const wrapper = (treeAfter.children as TestNode[]).find(
|
|
776
776
|
(c: TestNode) => c.props && (c.props as {hitSlop?: object}).hitSlop !== undefined
|
|
777
777
|
) as TestNode | undefined;
|
|
778
|
+
expect(wrapper).toBeTruthy();
|
|
778
779
|
await act(async () => {
|
|
779
780
|
(wrapper?.props as {onPress?: () => void} | undefined)?.onPress?.();
|
|
780
781
|
});
|
package/src/Unifier.ts
CHANGED
|
@@ -503,7 +503,6 @@ exports[`AiSuggestionBox in TextArea snapshots should match snapshot for ready s
|
|
|
503
503
|
"alignItems": "center",
|
|
504
504
|
"display": "flex",
|
|
505
505
|
"flexDirection": "row",
|
|
506
|
-
"testID": "test-ai-suggestion-feedback",
|
|
507
506
|
},
|
|
508
507
|
"testID": "test-ai-suggestion-feedback",
|
|
509
508
|
},
|
|
@@ -1024,7 +1023,6 @@ exports[`AiSuggestionBox in TextArea snapshots should match snapshot for hidden
|
|
|
1024
1023
|
"alignItems": "center",
|
|
1025
1024
|
"display": "flex",
|
|
1026
1025
|
"flexDirection": "row",
|
|
1027
|
-
"testID": "test-ai-suggestion-feedback",
|
|
1028
1026
|
},
|
|
1029
1027
|
"testID": "test-ai-suggestion-feedback",
|
|
1030
1028
|
},
|
|
@@ -1364,7 +1362,6 @@ exports[`AiSuggestionBox in TextArea snapshots should match snapshot for added s
|
|
|
1364
1362
|
"alignItems": "center",
|
|
1365
1363
|
"display": "flex",
|
|
1366
1364
|
"flexDirection": "row",
|
|
1367
|
-
"testID": "test-ai-suggestion-feedback",
|
|
1368
1365
|
},
|
|
1369
1366
|
"testID": "test-ai-suggestion-feedback",
|
|
1370
1367
|
},
|
|
@@ -58,9 +58,7 @@ exports[`Body renders correctly with default props 1`] = `
|
|
|
58
58
|
"onPointerEnter": [Function: AsyncFunction],
|
|
59
59
|
"onPointerLeave": [Function: AsyncFunction],
|
|
60
60
|
"style": {
|
|
61
|
-
"avoidKeyboard": true,
|
|
62
61
|
"height": "100%",
|
|
63
|
-
"scroll": undefined,
|
|
64
62
|
},
|
|
65
63
|
"testID": undefined,
|
|
66
64
|
},
|
|
@@ -155,9 +153,7 @@ exports[`Body renders with scroll enabled 1`] = `
|
|
|
155
153
|
"onPointerEnter": [Function: AsyncFunction],
|
|
156
154
|
"onPointerLeave": [Function: AsyncFunction],
|
|
157
155
|
"style": {
|
|
158
|
-
"avoidKeyboard": true,
|
|
159
156
|
"height": "100%",
|
|
160
|
-
"scroll": true,
|
|
161
157
|
},
|
|
162
158
|
"testID": undefined,
|
|
163
159
|
},
|
|
@@ -179,9 +175,7 @@ exports[`Body renders with scroll enabled 1`] = `
|
|
|
179
175
|
},
|
|
180
176
|
"scrollEventThrottle": 50,
|
|
181
177
|
"style": {
|
|
182
|
-
"avoidKeyboard": true,
|
|
183
178
|
"height": "100%",
|
|
184
|
-
"scroll": true,
|
|
185
179
|
},
|
|
186
180
|
},
|
|
187
181
|
"type": "ScrollView",
|
|
@@ -281,9 +275,7 @@ exports[`Body renders with loading state 1`] = `
|
|
|
281
275
|
"onPointerEnter": [Function: AsyncFunction],
|
|
282
276
|
"onPointerLeave": [Function: AsyncFunction],
|
|
283
277
|
"style": {
|
|
284
|
-
"avoidKeyboard": true,
|
|
285
278
|
"height": "100%",
|
|
286
|
-
"scroll": undefined,
|
|
287
279
|
},
|
|
288
280
|
"testID": undefined,
|
|
289
281
|
},
|
|
@@ -375,9 +367,7 @@ exports[`Body renders with custom padding 1`] = `
|
|
|
375
367
|
"onPointerEnter": [Function: AsyncFunction],
|
|
376
368
|
"onPointerLeave": [Function: AsyncFunction],
|
|
377
369
|
"style": {
|
|
378
|
-
"avoidKeyboard": true,
|
|
379
370
|
"height": "100%",
|
|
380
|
-
"scroll": undefined,
|
|
381
371
|
},
|
|
382
372
|
"testID": undefined,
|
|
383
373
|
},
|
|
@@ -469,9 +459,7 @@ exports[`Body renders with custom height 1`] = `
|
|
|
469
459
|
"onPointerEnter": [Function: AsyncFunction],
|
|
470
460
|
"onPointerLeave": [Function: AsyncFunction],
|
|
471
461
|
"style": {
|
|
472
|
-
"avoidKeyboard": true,
|
|
473
462
|
"height": "100%",
|
|
474
|
-
"scroll": undefined,
|
|
475
463
|
},
|
|
476
464
|
"testID": undefined,
|
|
477
465
|
},
|
|
@@ -560,9 +548,7 @@ exports[`Body renders without keyboard avoiding when avoidKeyboard is false 1`]
|
|
|
560
548
|
"onPointerEnter": [Function: AsyncFunction],
|
|
561
549
|
"onPointerLeave": [Function: AsyncFunction],
|
|
562
550
|
"style": {
|
|
563
|
-
"avoidKeyboard": true,
|
|
564
551
|
"height": "100%",
|
|
565
|
-
"scroll": undefined,
|
|
566
552
|
},
|
|
567
553
|
"testID": undefined,
|
|
568
554
|
},
|
|
@@ -648,9 +634,7 @@ exports[`Body renders with keyboard avoiding by default 1`] = `
|
|
|
648
634
|
"onPointerEnter": [Function: AsyncFunction],
|
|
649
635
|
"onPointerLeave": [Function: AsyncFunction],
|
|
650
636
|
"style": {
|
|
651
|
-
"avoidKeyboard": true,
|
|
652
637
|
"height": "100%",
|
|
653
|
-
"scroll": undefined,
|
|
654
638
|
},
|
|
655
639
|
"testID": undefined,
|
|
656
640
|
},
|
|
@@ -49,10 +49,7 @@ exports[`Box snapshots should match snapshot with clickable props 1`] = `
|
|
|
49
49
|
"onPointerEnter": [Function: AsyncFunction],
|
|
50
50
|
"onPointerLeave": [Function: AsyncFunction],
|
|
51
51
|
"onPress": [Function: AsyncFunction],
|
|
52
|
-
"style": {
|
|
53
|
-
"accessibilityHint": "Tap to trigger action",
|
|
54
|
-
"accessibilityLabel": "Click me",
|
|
55
|
-
},
|
|
52
|
+
"style": {},
|
|
56
53
|
"testID": undefined,
|
|
57
54
|
},
|
|
58
55
|
"type": "Pressable",
|
|
@@ -69,9 +66,7 @@ exports[`Box snapshots should match snapshot with scroll enabled 1`] = `
|
|
|
69
66
|
"props": {
|
|
70
67
|
"onPointerEnter": [Function: AsyncFunction],
|
|
71
68
|
"onPointerLeave": [Function: AsyncFunction],
|
|
72
|
-
"style": {
|
|
73
|
-
"scroll": true,
|
|
74
|
-
},
|
|
69
|
+
"style": {},
|
|
75
70
|
"testID": undefined,
|
|
76
71
|
},
|
|
77
72
|
"type": "View",
|
|
@@ -91,9 +86,7 @@ exports[`Box snapshots should match snapshot with scroll enabled 1`] = `
|
|
|
91
86
|
"current": null,
|
|
92
87
|
},
|
|
93
88
|
"scrollEventThrottle": 50,
|
|
94
|
-
"style": {
|
|
95
|
-
"scroll": true,
|
|
96
|
-
},
|
|
89
|
+
"style": {},
|
|
97
90
|
},
|
|
98
91
|
"type": "ScrollView",
|
|
99
92
|
}
|
|
@@ -112,9 +105,7 @@ exports[`Box snapshots should match snapshot with keyboard avoidance 1`] = `
|
|
|
112
105
|
"props": {
|
|
113
106
|
"onPointerEnter": [Function: AsyncFunction],
|
|
114
107
|
"onPointerLeave": [Function: AsyncFunction],
|
|
115
|
-
"style": {
|
|
116
|
-
"avoidKeyboard": true,
|
|
117
|
-
},
|
|
108
|
+
"style": {},
|
|
118
109
|
"testID": undefined,
|
|
119
110
|
},
|
|
120
111
|
"type": "View",
|
|
@@ -44,7 +44,6 @@ exports[`Page renders correctly with default props 1`] = `
|
|
|
44
44
|
"onPointerLeave": [Function: AsyncFunction],
|
|
45
45
|
"style": {
|
|
46
46
|
"alignSelf": "center",
|
|
47
|
-
"avoidKeyboard": true,
|
|
48
47
|
"backgroundColor": "#FFFFFF",
|
|
49
48
|
"display": "flex",
|
|
50
49
|
"flex": undefined,
|
|
@@ -52,11 +51,8 @@ exports[`Page renders correctly with default props 1`] = `
|
|
|
52
51
|
"flexGrow": 1,
|
|
53
52
|
"flexShrink": 1,
|
|
54
53
|
"height": "100%",
|
|
55
|
-
"keyboardOffset": undefined,
|
|
56
54
|
"maxWidth": 800,
|
|
57
55
|
"padding": 8,
|
|
58
|
-
"scroll": true,
|
|
59
|
-
"testID": undefined,
|
|
60
56
|
"width": "100%",
|
|
61
57
|
},
|
|
62
58
|
"testID": undefined,
|
|
@@ -80,7 +76,6 @@ exports[`Page renders correctly with default props 1`] = `
|
|
|
80
76
|
"scrollEventThrottle": 50,
|
|
81
77
|
"style": {
|
|
82
78
|
"alignSelf": "center",
|
|
83
|
-
"avoidKeyboard": true,
|
|
84
79
|
"backgroundColor": "#FFFFFF",
|
|
85
80
|
"display": "flex",
|
|
86
81
|
"flex": undefined,
|
|
@@ -88,11 +83,8 @@ exports[`Page renders correctly with default props 1`] = `
|
|
|
88
83
|
"flexGrow": 1,
|
|
89
84
|
"flexShrink": 1,
|
|
90
85
|
"height": "100%",
|
|
91
|
-
"keyboardOffset": undefined,
|
|
92
86
|
"maxWidth": 800,
|
|
93
87
|
"padding": 8,
|
|
94
|
-
"scroll": true,
|
|
95
|
-
"testID": undefined,
|
|
96
88
|
"width": "100%",
|
|
97
89
|
},
|
|
98
90
|
},
|
|
@@ -217,7 +209,6 @@ exports[`Page renders with title 1`] = `
|
|
|
217
209
|
"onPointerLeave": [Function: AsyncFunction],
|
|
218
210
|
"style": {
|
|
219
211
|
"alignSelf": "center",
|
|
220
|
-
"avoidKeyboard": true,
|
|
221
212
|
"backgroundColor": "#FFFFFF",
|
|
222
213
|
"display": "flex",
|
|
223
214
|
"flex": undefined,
|
|
@@ -225,11 +216,8 @@ exports[`Page renders with title 1`] = `
|
|
|
225
216
|
"flexGrow": 1,
|
|
226
217
|
"flexShrink": 1,
|
|
227
218
|
"height": "100%",
|
|
228
|
-
"keyboardOffset": undefined,
|
|
229
219
|
"maxWidth": 800,
|
|
230
220
|
"padding": 8,
|
|
231
|
-
"scroll": true,
|
|
232
|
-
"testID": undefined,
|
|
233
221
|
"width": "100%",
|
|
234
222
|
},
|
|
235
223
|
"testID": undefined,
|
|
@@ -253,7 +241,6 @@ exports[`Page renders with title 1`] = `
|
|
|
253
241
|
"scrollEventThrottle": 50,
|
|
254
242
|
"style": {
|
|
255
243
|
"alignSelf": "center",
|
|
256
|
-
"avoidKeyboard": true,
|
|
257
244
|
"backgroundColor": "#FFFFFF",
|
|
258
245
|
"display": "flex",
|
|
259
246
|
"flex": undefined,
|
|
@@ -261,11 +248,8 @@ exports[`Page renders with title 1`] = `
|
|
|
261
248
|
"flexGrow": 1,
|
|
262
249
|
"flexShrink": 1,
|
|
263
250
|
"height": "100%",
|
|
264
|
-
"keyboardOffset": undefined,
|
|
265
251
|
"maxWidth": 800,
|
|
266
252
|
"padding": 8,
|
|
267
|
-
"scroll": true,
|
|
268
|
-
"testID": undefined,
|
|
269
253
|
"width": "100%",
|
|
270
254
|
},
|
|
271
255
|
},
|
|
@@ -431,7 +415,6 @@ exports[`Page renders with back button 1`] = `
|
|
|
431
415
|
"onPointerLeave": [Function: AsyncFunction],
|
|
432
416
|
"style": {
|
|
433
417
|
"alignSelf": "center",
|
|
434
|
-
"avoidKeyboard": true,
|
|
435
418
|
"backgroundColor": "#FFFFFF",
|
|
436
419
|
"display": "flex",
|
|
437
420
|
"flex": undefined,
|
|
@@ -439,11 +422,8 @@ exports[`Page renders with back button 1`] = `
|
|
|
439
422
|
"flexGrow": 1,
|
|
440
423
|
"flexShrink": 1,
|
|
441
424
|
"height": "100%",
|
|
442
|
-
"keyboardOffset": undefined,
|
|
443
425
|
"maxWidth": 800,
|
|
444
426
|
"padding": 8,
|
|
445
|
-
"scroll": true,
|
|
446
|
-
"testID": undefined,
|
|
447
427
|
"width": "100%",
|
|
448
428
|
},
|
|
449
429
|
"testID": undefined,
|
|
@@ -467,7 +447,6 @@ exports[`Page renders with back button 1`] = `
|
|
|
467
447
|
"scrollEventThrottle": 50,
|
|
468
448
|
"style": {
|
|
469
449
|
"alignSelf": "center",
|
|
470
|
-
"avoidKeyboard": true,
|
|
471
450
|
"backgroundColor": "#FFFFFF",
|
|
472
451
|
"display": "flex",
|
|
473
452
|
"flex": undefined,
|
|
@@ -475,11 +454,8 @@ exports[`Page renders with back button 1`] = `
|
|
|
475
454
|
"flexGrow": 1,
|
|
476
455
|
"flexShrink": 1,
|
|
477
456
|
"height": "100%",
|
|
478
|
-
"keyboardOffset": undefined,
|
|
479
457
|
"maxWidth": 800,
|
|
480
458
|
"padding": 8,
|
|
481
|
-
"scroll": true,
|
|
482
|
-
"testID": undefined,
|
|
483
459
|
"width": "100%",
|
|
484
460
|
},
|
|
485
461
|
},
|
|
@@ -645,7 +621,6 @@ exports[`Page renders with close button 1`] = `
|
|
|
645
621
|
"onPointerLeave": [Function: AsyncFunction],
|
|
646
622
|
"style": {
|
|
647
623
|
"alignSelf": "center",
|
|
648
|
-
"avoidKeyboard": true,
|
|
649
624
|
"backgroundColor": "#FFFFFF",
|
|
650
625
|
"display": "flex",
|
|
651
626
|
"flex": undefined,
|
|
@@ -653,11 +628,8 @@ exports[`Page renders with close button 1`] = `
|
|
|
653
628
|
"flexGrow": 1,
|
|
654
629
|
"flexShrink": 1,
|
|
655
630
|
"height": "100%",
|
|
656
|
-
"keyboardOffset": undefined,
|
|
657
631
|
"maxWidth": 800,
|
|
658
632
|
"padding": 8,
|
|
659
|
-
"scroll": true,
|
|
660
|
-
"testID": undefined,
|
|
661
633
|
"width": "100%",
|
|
662
634
|
},
|
|
663
635
|
"testID": undefined,
|
|
@@ -681,7 +653,6 @@ exports[`Page renders with close button 1`] = `
|
|
|
681
653
|
"scrollEventThrottle": 50,
|
|
682
654
|
"style": {
|
|
683
655
|
"alignSelf": "center",
|
|
684
|
-
"avoidKeyboard": true,
|
|
685
656
|
"backgroundColor": "#FFFFFF",
|
|
686
657
|
"display": "flex",
|
|
687
658
|
"flex": undefined,
|
|
@@ -689,11 +660,8 @@ exports[`Page renders with close button 1`] = `
|
|
|
689
660
|
"flexGrow": 1,
|
|
690
661
|
"flexShrink": 1,
|
|
691
662
|
"height": "100%",
|
|
692
|
-
"keyboardOffset": undefined,
|
|
693
663
|
"maxWidth": 800,
|
|
694
664
|
"padding": 8,
|
|
695
|
-
"scroll": true,
|
|
696
|
-
"testID": undefined,
|
|
697
665
|
"width": "100%",
|
|
698
666
|
},
|
|
699
667
|
},
|
|
@@ -906,7 +874,6 @@ exports[`Page renders with right button 1`] = `
|
|
|
906
874
|
"onPointerLeave": [Function: AsyncFunction],
|
|
907
875
|
"style": {
|
|
908
876
|
"alignSelf": "center",
|
|
909
|
-
"avoidKeyboard": true,
|
|
910
877
|
"backgroundColor": "#FFFFFF",
|
|
911
878
|
"display": "flex",
|
|
912
879
|
"flex": undefined,
|
|
@@ -914,11 +881,8 @@ exports[`Page renders with right button 1`] = `
|
|
|
914
881
|
"flexGrow": 1,
|
|
915
882
|
"flexShrink": 1,
|
|
916
883
|
"height": "100%",
|
|
917
|
-
"keyboardOffset": undefined,
|
|
918
884
|
"maxWidth": 800,
|
|
919
885
|
"padding": 8,
|
|
920
|
-
"scroll": true,
|
|
921
|
-
"testID": undefined,
|
|
922
886
|
"width": "100%",
|
|
923
887
|
},
|
|
924
888
|
"testID": undefined,
|
|
@@ -942,7 +906,6 @@ exports[`Page renders with right button 1`] = `
|
|
|
942
906
|
"scrollEventThrottle": 50,
|
|
943
907
|
"style": {
|
|
944
908
|
"alignSelf": "center",
|
|
945
|
-
"avoidKeyboard": true,
|
|
946
909
|
"backgroundColor": "#FFFFFF",
|
|
947
910
|
"display": "flex",
|
|
948
911
|
"flex": undefined,
|
|
@@ -950,11 +913,8 @@ exports[`Page renders with right button 1`] = `
|
|
|
950
913
|
"flexGrow": 1,
|
|
951
914
|
"flexShrink": 1,
|
|
952
915
|
"height": "100%",
|
|
953
|
-
"keyboardOffset": undefined,
|
|
954
916
|
"maxWidth": 800,
|
|
955
917
|
"padding": 8,
|
|
956
|
-
"scroll": true,
|
|
957
|
-
"testID": undefined,
|
|
958
918
|
"width": "100%",
|
|
959
919
|
},
|
|
960
920
|
},
|
|
@@ -1021,7 +981,6 @@ exports[`Page renders loading state 1`] = `
|
|
|
1021
981
|
"onPointerLeave": [Function: AsyncFunction],
|
|
1022
982
|
"style": {
|
|
1023
983
|
"alignSelf": "center",
|
|
1024
|
-
"avoidKeyboard": true,
|
|
1025
984
|
"backgroundColor": "#FFFFFF",
|
|
1026
985
|
"display": "flex",
|
|
1027
986
|
"flex": undefined,
|
|
@@ -1029,11 +988,8 @@ exports[`Page renders loading state 1`] = `
|
|
|
1029
988
|
"flexGrow": 1,
|
|
1030
989
|
"flexShrink": 1,
|
|
1031
990
|
"height": "100%",
|
|
1032
|
-
"keyboardOffset": undefined,
|
|
1033
991
|
"maxWidth": 800,
|
|
1034
992
|
"padding": 8,
|
|
1035
|
-
"scroll": true,
|
|
1036
|
-
"testID": undefined,
|
|
1037
993
|
"width": "100%",
|
|
1038
994
|
},
|
|
1039
995
|
"testID": undefined,
|
|
@@ -1057,7 +1013,6 @@ exports[`Page renders loading state 1`] = `
|
|
|
1057
1013
|
"scrollEventThrottle": 50,
|
|
1058
1014
|
"style": {
|
|
1059
1015
|
"alignSelf": "center",
|
|
1060
|
-
"avoidKeyboard": true,
|
|
1061
1016
|
"backgroundColor": "#FFFFFF",
|
|
1062
1017
|
"display": "flex",
|
|
1063
1018
|
"flex": undefined,
|
|
@@ -1065,11 +1020,8 @@ exports[`Page renders loading state 1`] = `
|
|
|
1065
1020
|
"flexGrow": 1,
|
|
1066
1021
|
"flexShrink": 1,
|
|
1067
1022
|
"height": "100%",
|
|
1068
|
-
"keyboardOffset": undefined,
|
|
1069
1023
|
"maxWidth": 800,
|
|
1070
1024
|
"padding": 8,
|
|
1071
|
-
"scroll": true,
|
|
1072
|
-
"testID": undefined,
|
|
1073
1025
|
"width": "100%",
|
|
1074
1026
|
},
|
|
1075
1027
|
},
|
|
@@ -1142,7 +1094,6 @@ exports[`Page renders with footer 1`] = `
|
|
|
1142
1094
|
"onPointerLeave": [Function: AsyncFunction],
|
|
1143
1095
|
"style": {
|
|
1144
1096
|
"alignSelf": "center",
|
|
1145
|
-
"avoidKeyboard": true,
|
|
1146
1097
|
"backgroundColor": "#FFFFFF",
|
|
1147
1098
|
"display": "flex",
|
|
1148
1099
|
"flex": undefined,
|
|
@@ -1150,11 +1101,8 @@ exports[`Page renders with footer 1`] = `
|
|
|
1150
1101
|
"flexGrow": 1,
|
|
1151
1102
|
"flexShrink": 1,
|
|
1152
1103
|
"height": "100%",
|
|
1153
|
-
"keyboardOffset": undefined,
|
|
1154
1104
|
"maxWidth": 800,
|
|
1155
1105
|
"padding": 8,
|
|
1156
|
-
"scroll": true,
|
|
1157
|
-
"testID": undefined,
|
|
1158
1106
|
"width": "100%",
|
|
1159
1107
|
},
|
|
1160
1108
|
"testID": undefined,
|
|
@@ -1178,7 +1126,6 @@ exports[`Page renders with footer 1`] = `
|
|
|
1178
1126
|
"scrollEventThrottle": 50,
|
|
1179
1127
|
"style": {
|
|
1180
1128
|
"alignSelf": "center",
|
|
1181
|
-
"avoidKeyboard": true,
|
|
1182
1129
|
"backgroundColor": "#FFFFFF",
|
|
1183
1130
|
"display": "flex",
|
|
1184
1131
|
"flex": undefined,
|
|
@@ -1186,11 +1133,8 @@ exports[`Page renders with footer 1`] = `
|
|
|
1186
1133
|
"flexGrow": 1,
|
|
1187
1134
|
"flexShrink": 1,
|
|
1188
1135
|
"height": "100%",
|
|
1189
|
-
"keyboardOffset": undefined,
|
|
1190
1136
|
"maxWidth": 800,
|
|
1191
1137
|
"padding": 8,
|
|
1192
|
-
"scroll": true,
|
|
1193
|
-
"testID": undefined,
|
|
1194
1138
|
"width": "100%",
|
|
1195
1139
|
},
|
|
1196
1140
|
},
|
|
@@ -1314,7 +1258,6 @@ exports[`Page renders with custom padding 1`] = `
|
|
|
1314
1258
|
"onPointerLeave": [Function: AsyncFunction],
|
|
1315
1259
|
"style": {
|
|
1316
1260
|
"alignSelf": "center",
|
|
1317
|
-
"avoidKeyboard": true,
|
|
1318
1261
|
"backgroundColor": "#FFFFFF",
|
|
1319
1262
|
"display": "flex",
|
|
1320
1263
|
"flex": undefined,
|
|
@@ -1322,11 +1265,8 @@ exports[`Page renders with custom padding 1`] = `
|
|
|
1322
1265
|
"flexGrow": 1,
|
|
1323
1266
|
"flexShrink": 1,
|
|
1324
1267
|
"height": "100%",
|
|
1325
|
-
"keyboardOffset": undefined,
|
|
1326
1268
|
"maxWidth": 800,
|
|
1327
1269
|
"padding": 24,
|
|
1328
|
-
"scroll": true,
|
|
1329
|
-
"testID": undefined,
|
|
1330
1270
|
"width": "100%",
|
|
1331
1271
|
},
|
|
1332
1272
|
"testID": undefined,
|
|
@@ -1350,7 +1290,6 @@ exports[`Page renders with custom padding 1`] = `
|
|
|
1350
1290
|
"scrollEventThrottle": 50,
|
|
1351
1291
|
"style": {
|
|
1352
1292
|
"alignSelf": "center",
|
|
1353
|
-
"avoidKeyboard": true,
|
|
1354
1293
|
"backgroundColor": "#FFFFFF",
|
|
1355
1294
|
"display": "flex",
|
|
1356
1295
|
"flex": undefined,
|
|
@@ -1358,11 +1297,8 @@ exports[`Page renders with custom padding 1`] = `
|
|
|
1358
1297
|
"flexGrow": 1,
|
|
1359
1298
|
"flexShrink": 1,
|
|
1360
1299
|
"height": "100%",
|
|
1361
|
-
"keyboardOffset": undefined,
|
|
1362
1300
|
"maxWidth": 800,
|
|
1363
1301
|
"padding": 24,
|
|
1364
|
-
"scroll": true,
|
|
1365
|
-
"testID": undefined,
|
|
1366
1302
|
"width": "100%",
|
|
1367
1303
|
},
|
|
1368
1304
|
},
|
|
@@ -1434,7 +1370,6 @@ exports[`Page renders with custom color 1`] = `
|
|
|
1434
1370
|
"onPointerLeave": [Function: AsyncFunction],
|
|
1435
1371
|
"style": {
|
|
1436
1372
|
"alignSelf": "center",
|
|
1437
|
-
"avoidKeyboard": true,
|
|
1438
1373
|
"backgroundColor": undefined,
|
|
1439
1374
|
"display": "flex",
|
|
1440
1375
|
"flex": undefined,
|
|
@@ -1442,11 +1377,8 @@ exports[`Page renders with custom color 1`] = `
|
|
|
1442
1377
|
"flexGrow": 1,
|
|
1443
1378
|
"flexShrink": 1,
|
|
1444
1379
|
"height": "100%",
|
|
1445
|
-
"keyboardOffset": undefined,
|
|
1446
1380
|
"maxWidth": 800,
|
|
1447
1381
|
"padding": 8,
|
|
1448
|
-
"scroll": true,
|
|
1449
|
-
"testID": undefined,
|
|
1450
1382
|
"width": "100%",
|
|
1451
1383
|
},
|
|
1452
1384
|
"testID": undefined,
|
|
@@ -1470,7 +1402,6 @@ exports[`Page renders with custom color 1`] = `
|
|
|
1470
1402
|
"scrollEventThrottle": 50,
|
|
1471
1403
|
"style": {
|
|
1472
1404
|
"alignSelf": "center",
|
|
1473
|
-
"avoidKeyboard": true,
|
|
1474
1405
|
"backgroundColor": undefined,
|
|
1475
1406
|
"display": "flex",
|
|
1476
1407
|
"flex": undefined,
|
|
@@ -1478,11 +1409,8 @@ exports[`Page renders with custom color 1`] = `
|
|
|
1478
1409
|
"flexGrow": 1,
|
|
1479
1410
|
"flexShrink": 1,
|
|
1480
1411
|
"height": "100%",
|
|
1481
|
-
"keyboardOffset": undefined,
|
|
1482
1412
|
"maxWidth": 800,
|
|
1483
1413
|
"padding": 8,
|
|
1484
|
-
"scroll": true,
|
|
1485
|
-
"testID": undefined,
|
|
1486
1414
|
"width": "100%",
|
|
1487
1415
|
},
|
|
1488
1416
|
},
|
|
@@ -1551,7 +1479,6 @@ exports[`Page renders with scroll disabled 1`] = `
|
|
|
1551
1479
|
"onPointerLeave": [Function: AsyncFunction],
|
|
1552
1480
|
"style": {
|
|
1553
1481
|
"alignSelf": "center",
|
|
1554
|
-
"avoidKeyboard": true,
|
|
1555
1482
|
"backgroundColor": "#FFFFFF",
|
|
1556
1483
|
"display": "flex",
|
|
1557
1484
|
"flex": undefined,
|
|
@@ -1559,11 +1486,8 @@ exports[`Page renders with scroll disabled 1`] = `
|
|
|
1559
1486
|
"flexGrow": 1,
|
|
1560
1487
|
"flexShrink": 1,
|
|
1561
1488
|
"height": "100%",
|
|
1562
|
-
"keyboardOffset": undefined,
|
|
1563
1489
|
"maxWidth": 800,
|
|
1564
1490
|
"padding": 8,
|
|
1565
|
-
"scroll": false,
|
|
1566
|
-
"testID": undefined,
|
|
1567
1491
|
"width": "100%",
|
|
1568
1492
|
},
|
|
1569
1493
|
"testID": undefined,
|
|
@@ -1636,7 +1560,6 @@ exports[`Page renders with custom maxWidth 1`] = `
|
|
|
1636
1560
|
"onPointerLeave": [Function: AsyncFunction],
|
|
1637
1561
|
"style": {
|
|
1638
1562
|
"alignSelf": "center",
|
|
1639
|
-
"avoidKeyboard": true,
|
|
1640
1563
|
"backgroundColor": "#FFFFFF",
|
|
1641
1564
|
"display": "flex",
|
|
1642
1565
|
"flex": undefined,
|
|
@@ -1644,11 +1567,8 @@ exports[`Page renders with custom maxWidth 1`] = `
|
|
|
1644
1567
|
"flexGrow": 1,
|
|
1645
1568
|
"flexShrink": 1,
|
|
1646
1569
|
"height": "100%",
|
|
1647
|
-
"keyboardOffset": undefined,
|
|
1648
1570
|
"maxWidth": 600,
|
|
1649
1571
|
"padding": 8,
|
|
1650
|
-
"scroll": true,
|
|
1651
|
-
"testID": undefined,
|
|
1652
1572
|
"width": "100%",
|
|
1653
1573
|
},
|
|
1654
1574
|
"testID": undefined,
|
|
@@ -1672,7 +1592,6 @@ exports[`Page renders with custom maxWidth 1`] = `
|
|
|
1672
1592
|
"scrollEventThrottle": 50,
|
|
1673
1593
|
"style": {
|
|
1674
1594
|
"alignSelf": "center",
|
|
1675
|
-
"avoidKeyboard": true,
|
|
1676
1595
|
"backgroundColor": "#FFFFFF",
|
|
1677
1596
|
"display": "flex",
|
|
1678
1597
|
"flex": undefined,
|
|
@@ -1680,11 +1599,8 @@ exports[`Page renders with custom maxWidth 1`] = `
|
|
|
1680
1599
|
"flexGrow": 1,
|
|
1681
1600
|
"flexShrink": 1,
|
|
1682
1601
|
"height": "100%",
|
|
1683
|
-
"keyboardOffset": undefined,
|
|
1684
1602
|
"maxWidth": 600,
|
|
1685
1603
|
"padding": 8,
|
|
1686
|
-
"scroll": true,
|
|
1687
|
-
"testID": undefined,
|
|
1688
1604
|
"width": "100%",
|
|
1689
1605
|
},
|
|
1690
1606
|
},
|