@terreno/ui 0.13.0 → 0.14.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 +4 -4
- package/dist/ActionSheet.js.map +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Avatar.js.map +1 -1
- package/dist/Banner.js.map +1 -1
- package/dist/Box.js +2 -0
- package/dist/Box.js.map +1 -1
- package/dist/Button.d.ts +2 -2
- package/dist/Button.js +35 -23
- package/dist/Button.js.map +1 -1
- package/dist/Common.d.ts +8 -2
- package/dist/Common.js.map +1 -1
- package/dist/ConsentFormScreen.js +9 -8
- package/dist/ConsentFormScreen.js.map +1 -1
- package/dist/ConsentNavigator.d.ts +1 -1
- package/dist/ConsentNavigator.js +2 -1
- package/dist/ConsentNavigator.js.map +1 -1
- package/dist/CustomSelectField.js +3 -1
- package/dist/CustomSelectField.js.map +1 -1
- package/dist/DataTable.js +1 -1
- package/dist/DataTable.js.map +1 -1
- package/dist/DateTimeActionSheet.js +2 -1
- package/dist/DateTimeActionSheet.js.map +1 -1
- package/dist/DateTimeField.js +3 -2
- package/dist/DateTimeField.js.map +1 -1
- package/dist/DateUtilities.js.map +1 -1
- package/dist/HeightField.js.map +1 -1
- package/dist/Hyperlink.js +19 -9
- package/dist/Hyperlink.js.map +1 -1
- package/dist/IconButton.js.map +1 -1
- package/dist/ImageBackground.d.ts +2 -5
- package/dist/ImageBackground.js +1 -1
- package/dist/ImageBackground.js.map +1 -1
- package/dist/ModalSheet.d.ts +3 -2
- package/dist/ModalSheet.js +1 -1
- package/dist/ModalSheet.js.map +1 -1
- package/dist/OfflineBanner.d.ts +21 -0
- package/dist/OfflineBanner.js +25 -0
- package/dist/OfflineBanner.js.map +1 -0
- package/dist/OpenAPIContext.js +1 -1
- package/dist/OpenAPIContext.js.map +1 -1
- package/dist/Page.js +1 -0
- package/dist/Page.js.map +1 -1
- package/dist/Pagination.js.map +1 -1
- package/dist/Permissions.js +3 -0
- package/dist/Permissions.js.map +1 -1
- package/dist/PickerSelect.d.ts +22 -10
- package/dist/PickerSelect.js +14 -9
- package/dist/PickerSelect.js.map +1 -1
- package/dist/SelectBadge.js +11 -1
- package/dist/SelectBadge.js.map +1 -1
- package/dist/SelectField.js +3 -3
- package/dist/SelectField.js.map +1 -1
- package/dist/SidebarNavigation.native.js.map +1 -1
- package/dist/Signature.js +4 -0
- package/dist/Signature.js.map +1 -1
- package/dist/Signature.native.js +4 -0
- package/dist/Signature.native.js.map +1 -1
- package/dist/SplitPage.js +7 -2
- package/dist/SplitPage.js.map +1 -1
- package/dist/SplitPage.native.js +4 -1
- package/dist/SplitPage.native.js.map +1 -1
- package/dist/TapToEdit.js +10 -11
- package/dist/TapToEdit.js.map +1 -1
- package/dist/Theme.d.ts +1 -1
- package/dist/Theme.js.map +1 -1
- package/dist/Toast.js.map +1 -1
- package/dist/ToastNotifications.js.map +1 -1
- package/dist/Unifier.d.ts +2 -2
- package/dist/Unifier.js +1 -1
- package/dist/Unifier.js.map +1 -1
- package/dist/Utilities.d.ts +8 -4
- package/dist/Utilities.js +1 -1
- package/dist/Utilities.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/useConsentForms.d.ts +4 -3
- package/dist/useConsentForms.js +26 -4
- package/dist/useConsentForms.js.map +1 -1
- package/dist/useConsentHistory.d.ts +4 -3
- package/dist/useConsentHistory.js +26 -4
- package/dist/useConsentHistory.js.map +1 -1
- package/dist/useSubmitConsent.d.ts +7 -6
- package/dist/useSubmitConsent.js +25 -3
- package/dist/useSubmitConsent.js.map +1 -1
- package/package.json +2 -1
- package/src/ActionSheet.test.tsx +1 -0
- package/src/ActionSheet.tsx +6 -4
- package/src/Avatar.tsx +9 -2
- package/src/Badge.test.tsx +1 -0
- package/src/Banner.tsx +1 -1
- package/src/Box.test.tsx +1 -0
- package/src/Box.tsx +10 -6
- package/src/Button.test.tsx +35 -0
- package/src/Button.tsx +65 -34
- package/src/Common.ts +32 -15
- package/src/ConsentFormScreen.test.tsx +149 -0
- package/src/ConsentFormScreen.tsx +20 -3
- package/src/ConsentNavigator.test.tsx +1 -0
- package/src/ConsentNavigator.tsx +5 -3
- package/src/CustomSelectField.tsx +3 -1
- package/src/DataTable.test.tsx +1 -0
- package/src/DataTable.tsx +1 -1
- package/src/DateTimeActionSheet.tsx +7 -3
- package/src/DateTimeField.test.tsx +1 -0
- package/src/DateTimeField.tsx +3 -2
- package/src/DateUtilities.test.ts +111 -0
- package/src/DateUtilities.tsx +6 -6
- package/src/DecimalRangeActionSheet.test.tsx +28 -0
- package/src/ErrorBoundary.test.tsx +1 -0
- package/src/HeightField.test.tsx +68 -0
- package/src/HeightField.tsx +2 -1
- package/src/Hyperlink.tsx +83 -52
- package/src/IconButton.tsx +1 -1
- package/src/ImageBackground.tsx +5 -6
- package/src/Modal.tsx +2 -2
- package/src/ModalSheet.test.tsx +1 -5
- package/src/ModalSheet.tsx +15 -6
- package/src/NumberField.test.tsx +14 -0
- package/src/OfflineBanner.test.tsx +70 -0
- package/src/OfflineBanner.tsx +54 -0
- package/src/OpenAPIContext.tsx +3 -2
- package/src/Page.tsx +1 -0
- package/src/Pagination.tsx +1 -1
- package/src/Permissions.ts +3 -0
- package/src/PickerSelect.tsx +48 -31
- package/src/SelectBadge.test.tsx +1 -0
- package/src/SelectBadge.tsx +7 -3
- package/src/SelectField.tsx +3 -3
- package/src/SidebarNavigation.native.tsx +6 -2
- package/src/Signature.native.tsx +4 -0
- package/src/Signature.test.tsx +11 -0
- package/src/Signature.tsx +4 -0
- package/src/SplitPage.native.tsx +2 -0
- package/src/SplitPage.tsx +6 -1
- package/src/TapToEdit.test.tsx +17 -0
- package/src/TapToEdit.tsx +11 -11
- package/src/Theme.tsx +17 -14
- package/src/Toast.tsx +1 -1
- package/src/ToastNotifications.tsx +1 -4
- package/src/Tooltip.test.tsx +40 -28
- package/src/Unifier.ts +6 -5
- package/src/Utilities.tsx +9 -6
- package/src/__snapshots__/AddressField.test.tsx.snap +3 -2
- package/src/__snapshots__/Button.test.tsx.snap +92 -50
- package/src/__snapshots__/CustomSelectField.test.tsx.snap +21 -14
- package/src/__snapshots__/DecimalRangeActionSheet.test.tsx.snap +14 -8
- package/src/__snapshots__/ErrorPage.test.tsx.snap +7 -4
- package/src/__snapshots__/Field.test.tsx.snap +18 -12
- package/src/__snapshots__/HeightActionSheet.test.tsx.snap +14 -8
- package/src/__snapshots__/HeightField.test.tsx.snap +35 -20
- package/src/__snapshots__/InfoModalIcon.test.tsx.snap +28 -16
- package/src/__snapshots__/Modal.test.tsx.snap +19 -10
- package/src/__snapshots__/ModalSheet.test.tsx.snap +0 -1
- package/src/__snapshots__/NumberPickerActionSheet.test.tsx.snap +14 -8
- package/src/__snapshots__/Page.test.tsx.snap +7 -4
- package/src/__snapshots__/PickerSelect.test.tsx.snap +0 -7
- package/src/__snapshots__/SelectField.test.tsx.snap +18 -12
- package/src/__snapshots__/TerrenoProvider.test.tsx.snap +2 -18
- package/src/__snapshots__/TimezonePicker.test.tsx.snap +18 -12
- package/src/bunSetup.ts +45 -0
- package/src/index.tsx +1 -0
- package/src/login/__snapshots__/LoginScreen.test.tsx.snap +15 -6
- package/src/signUp/__snapshots__/SignUpScreen.test.tsx.snap +10 -4
- package/src/table/__snapshots__/TableBadge.test.tsx.snap +3 -2
- package/src/types/react-native-swiper-flatlist.d.ts +1 -0
- package/src/useConsentForms.test.ts +25 -0
- package/src/useConsentForms.ts +32 -7
- package/src/useConsentHistory.test.ts +99 -0
- package/src/useConsentHistory.ts +31 -6
- package/src/useSubmitConsent.test.ts +24 -0
- package/src/useSubmitConsent.ts +35 -10
|
@@ -57,7 +57,6 @@ exports[`CustomSelectField renders correctly with default props 1`] = `
|
|
|
57
57
|
},
|
|
58
58
|
],
|
|
59
59
|
"props": {
|
|
60
|
-
"activeOpacity": 1,
|
|
61
60
|
"onPress": [Function],
|
|
62
61
|
"style": {
|
|
63
62
|
"alignItems": "center",
|
|
@@ -284,7 +283,9 @@ exports[`CustomSelectField renders correctly with default props 1`] = `
|
|
|
284
283
|
},
|
|
285
284
|
],
|
|
286
285
|
"props": {
|
|
287
|
-
"style":
|
|
286
|
+
"style": {
|
|
287
|
+
"width": "100%",
|
|
288
|
+
},
|
|
288
289
|
"testID": undefined,
|
|
289
290
|
},
|
|
290
291
|
"type": "View",
|
|
@@ -385,7 +386,6 @@ exports[`CustomSelectField renders with title 1`] = `
|
|
|
385
386
|
},
|
|
386
387
|
],
|
|
387
388
|
"props": {
|
|
388
|
-
"activeOpacity": 1,
|
|
389
389
|
"onPress": [Function],
|
|
390
390
|
"style": {
|
|
391
391
|
"alignItems": "center",
|
|
@@ -612,7 +612,9 @@ exports[`CustomSelectField renders with title 1`] = `
|
|
|
612
612
|
},
|
|
613
613
|
],
|
|
614
614
|
"props": {
|
|
615
|
-
"style":
|
|
615
|
+
"style": {
|
|
616
|
+
"width": "100%",
|
|
617
|
+
},
|
|
616
618
|
"testID": undefined,
|
|
617
619
|
},
|
|
618
620
|
"type": "View",
|
|
@@ -698,7 +700,6 @@ exports[`CustomSelectField renders with placeholder 1`] = `
|
|
|
698
700
|
},
|
|
699
701
|
],
|
|
700
702
|
"props": {
|
|
701
|
-
"activeOpacity": 1,
|
|
702
703
|
"onPress": [Function],
|
|
703
704
|
"style": {
|
|
704
705
|
"alignItems": "center",
|
|
@@ -925,7 +926,9 @@ exports[`CustomSelectField renders with placeholder 1`] = `
|
|
|
925
926
|
},
|
|
926
927
|
],
|
|
927
928
|
"props": {
|
|
928
|
-
"style":
|
|
929
|
+
"style": {
|
|
930
|
+
"width": "100%",
|
|
931
|
+
},
|
|
929
932
|
"testID": undefined,
|
|
930
933
|
},
|
|
931
934
|
"type": "View",
|
|
@@ -1011,7 +1014,6 @@ exports[`CustomSelectField renders with selected value 1`] = `
|
|
|
1011
1014
|
},
|
|
1012
1015
|
],
|
|
1013
1016
|
"props": {
|
|
1014
|
-
"activeOpacity": 1,
|
|
1015
1017
|
"onPress": [Function],
|
|
1016
1018
|
"style": {
|
|
1017
1019
|
"alignItems": "center",
|
|
@@ -1238,7 +1240,9 @@ exports[`CustomSelectField renders with selected value 1`] = `
|
|
|
1238
1240
|
},
|
|
1239
1241
|
],
|
|
1240
1242
|
"props": {
|
|
1241
|
-
"style":
|
|
1243
|
+
"style": {
|
|
1244
|
+
"width": "100%",
|
|
1245
|
+
},
|
|
1242
1246
|
"testID": undefined,
|
|
1243
1247
|
},
|
|
1244
1248
|
"type": "View",
|
|
@@ -1324,7 +1328,6 @@ exports[`CustomSelectField renders with custom value (not in options) 1`] = `
|
|
|
1324
1328
|
},
|
|
1325
1329
|
],
|
|
1326
1330
|
"props": {
|
|
1327
|
-
"activeOpacity": 1,
|
|
1328
1331
|
"onPress": [Function],
|
|
1329
1332
|
"style": {
|
|
1330
1333
|
"alignItems": "center",
|
|
@@ -1551,7 +1554,9 @@ exports[`CustomSelectField renders with custom value (not in options) 1`] = `
|
|
|
1551
1554
|
},
|
|
1552
1555
|
],
|
|
1553
1556
|
"props": {
|
|
1554
|
-
"style":
|
|
1557
|
+
"style": {
|
|
1558
|
+
"width": "100%",
|
|
1559
|
+
},
|
|
1555
1560
|
"testID": undefined,
|
|
1556
1561
|
},
|
|
1557
1562
|
"type": "View",
|
|
@@ -1741,7 +1746,6 @@ exports[`CustomSelectField renders disabled state 1`] = `
|
|
|
1741
1746
|
},
|
|
1742
1747
|
],
|
|
1743
1748
|
"props": {
|
|
1744
|
-
"activeOpacity": 1,
|
|
1745
1749
|
"onPress": [Function],
|
|
1746
1750
|
"style": {
|
|
1747
1751
|
"alignItems": "center",
|
|
@@ -1970,7 +1974,9 @@ exports[`CustomSelectField renders disabled state 1`] = `
|
|
|
1970
1974
|
},
|
|
1971
1975
|
],
|
|
1972
1976
|
"props": {
|
|
1973
|
-
"style":
|
|
1977
|
+
"style": {
|
|
1978
|
+
"width": "100%",
|
|
1979
|
+
},
|
|
1974
1980
|
"testID": undefined,
|
|
1975
1981
|
},
|
|
1976
1982
|
"type": "View",
|
|
@@ -2056,7 +2062,6 @@ exports[`CustomSelectField includes custom option in dropdown 1`] = `
|
|
|
2056
2062
|
},
|
|
2057
2063
|
],
|
|
2058
2064
|
"props": {
|
|
2059
|
-
"activeOpacity": 1,
|
|
2060
2065
|
"onPress": [Function],
|
|
2061
2066
|
"style": {
|
|
2062
2067
|
"alignItems": "center",
|
|
@@ -2283,7 +2288,9 @@ exports[`CustomSelectField includes custom option in dropdown 1`] = `
|
|
|
2283
2288
|
},
|
|
2284
2289
|
],
|
|
2285
2290
|
"props": {
|
|
2286
|
-
"style":
|
|
2291
|
+
"style": {
|
|
2292
|
+
"width": "100%",
|
|
2293
|
+
},
|
|
2287
2294
|
"testID": undefined,
|
|
2288
2295
|
},
|
|
2289
2296
|
"type": "View",
|
|
@@ -168,9 +168,12 @@ exports[`DecimalRangeActionSheet renders correctly 1`] = `
|
|
|
168
168
|
],
|
|
169
169
|
"props": {
|
|
170
170
|
"accessibilityHint": "Press to perform action",
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
171
|
+
"accessibilityLabel": "Close",
|
|
172
|
+
"accessibilityRole": "button",
|
|
173
|
+
"accessibilityState": {
|
|
174
|
+
"disabled": false,
|
|
175
|
+
},
|
|
176
|
+
"disabled": false,
|
|
174
177
|
"onPress": [Function: debounced],
|
|
175
178
|
"style": {
|
|
176
179
|
"alignItems": "center",
|
|
@@ -187,7 +190,7 @@ exports[`DecimalRangeActionSheet renders correctly 1`] = `
|
|
|
187
190
|
},
|
|
188
191
|
"testID": undefined,
|
|
189
192
|
},
|
|
190
|
-
"type": "
|
|
193
|
+
"type": "PressableScale",
|
|
191
194
|
},
|
|
192
195
|
],
|
|
193
196
|
"props": {
|
|
@@ -847,9 +850,12 @@ exports[`DecimalRangeActionSheet renders with different min/max range 1`] = `
|
|
|
847
850
|
],
|
|
848
851
|
"props": {
|
|
849
852
|
"accessibilityHint": "Press to perform action",
|
|
850
|
-
"
|
|
851
|
-
"
|
|
852
|
-
"
|
|
853
|
+
"accessibilityLabel": "Close",
|
|
854
|
+
"accessibilityRole": "button",
|
|
855
|
+
"accessibilityState": {
|
|
856
|
+
"disabled": false,
|
|
857
|
+
},
|
|
858
|
+
"disabled": false,
|
|
853
859
|
"onPress": [Function: debounced],
|
|
854
860
|
"style": {
|
|
855
861
|
"alignItems": "center",
|
|
@@ -866,7 +872,7 @@ exports[`DecimalRangeActionSheet renders with different min/max range 1`] = `
|
|
|
866
872
|
},
|
|
867
873
|
"testID": undefined,
|
|
868
874
|
},
|
|
869
|
-
"type": "
|
|
875
|
+
"type": "PressableScale",
|
|
870
876
|
},
|
|
871
877
|
],
|
|
872
878
|
"props": {
|
|
@@ -153,9 +153,12 @@ exports[`ErrorPage renders correctly 1`] = `
|
|
|
153
153
|
],
|
|
154
154
|
"props": {
|
|
155
155
|
"accessibilityHint": "Press to perform action",
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
156
|
+
"accessibilityLabel": "Try again",
|
|
157
|
+
"accessibilityRole": "button",
|
|
158
|
+
"accessibilityState": {
|
|
159
|
+
"disabled": false,
|
|
160
|
+
},
|
|
161
|
+
"disabled": false,
|
|
159
162
|
"onPress": [Function: debounced],
|
|
160
163
|
"style": {
|
|
161
164
|
"alignItems": "center",
|
|
@@ -172,7 +175,7 @@ exports[`ErrorPage renders correctly 1`] = `
|
|
|
172
175
|
},
|
|
173
176
|
"testID": undefined,
|
|
174
177
|
},
|
|
175
|
-
"type": "
|
|
178
|
+
"type": "PressableScale",
|
|
176
179
|
},
|
|
177
180
|
],
|
|
178
181
|
"props": {
|
|
@@ -1224,7 +1224,6 @@ exports[`Field renders time field 1`] = `
|
|
|
1224
1224
|
},
|
|
1225
1225
|
],
|
|
1226
1226
|
"props": {
|
|
1227
|
-
"activeOpacity": 1,
|
|
1228
1227
|
"onPress": [Function],
|
|
1229
1228
|
"style": {
|
|
1230
1229
|
"alignItems": "center",
|
|
@@ -1421,7 +1420,9 @@ exports[`Field renders time field 1`] = `
|
|
|
1421
1420
|
},
|
|
1422
1421
|
],
|
|
1423
1422
|
"props": {
|
|
1424
|
-
"style":
|
|
1423
|
+
"style": {
|
|
1424
|
+
"width": "100%",
|
|
1425
|
+
},
|
|
1425
1426
|
"testID": undefined,
|
|
1426
1427
|
},
|
|
1427
1428
|
"type": "View",
|
|
@@ -1494,7 +1495,6 @@ exports[`Field renders time field 1`] = `
|
|
|
1494
1495
|
},
|
|
1495
1496
|
],
|
|
1496
1497
|
"props": {
|
|
1497
|
-
"activeOpacity": 1,
|
|
1498
1498
|
"onPress": [Function],
|
|
1499
1499
|
"style": {
|
|
1500
1500
|
"alignItems": "center",
|
|
@@ -1751,7 +1751,9 @@ exports[`Field renders time field 1`] = `
|
|
|
1751
1751
|
},
|
|
1752
1752
|
],
|
|
1753
1753
|
"props": {
|
|
1754
|
-
"style":
|
|
1754
|
+
"style": {
|
|
1755
|
+
"width": "100%",
|
|
1756
|
+
},
|
|
1755
1757
|
"testID": undefined,
|
|
1756
1758
|
},
|
|
1757
1759
|
"type": "View",
|
|
@@ -2219,7 +2221,6 @@ exports[`Field renders datetime field 1`] = `
|
|
|
2219
2221
|
},
|
|
2220
2222
|
],
|
|
2221
2223
|
"props": {
|
|
2222
|
-
"activeOpacity": 1,
|
|
2223
2224
|
"onPress": [Function],
|
|
2224
2225
|
"style": {
|
|
2225
2226
|
"alignItems": "center",
|
|
@@ -2416,7 +2417,9 @@ exports[`Field renders datetime field 1`] = `
|
|
|
2416
2417
|
},
|
|
2417
2418
|
],
|
|
2418
2419
|
"props": {
|
|
2419
|
-
"style":
|
|
2420
|
+
"style": {
|
|
2421
|
+
"width": "100%",
|
|
2422
|
+
},
|
|
2420
2423
|
"testID": undefined,
|
|
2421
2424
|
},
|
|
2422
2425
|
"type": "View",
|
|
@@ -2489,7 +2492,6 @@ exports[`Field renders datetime field 1`] = `
|
|
|
2489
2492
|
},
|
|
2490
2493
|
],
|
|
2491
2494
|
"props": {
|
|
2492
|
-
"activeOpacity": 1,
|
|
2493
2495
|
"onPress": [Function],
|
|
2494
2496
|
"style": {
|
|
2495
2497
|
"alignItems": "center",
|
|
@@ -2746,7 +2748,9 @@ exports[`Field renders datetime field 1`] = `
|
|
|
2746
2748
|
},
|
|
2747
2749
|
],
|
|
2748
2750
|
"props": {
|
|
2749
|
-
"style":
|
|
2751
|
+
"style": {
|
|
2752
|
+
"width": "100%",
|
|
2753
|
+
},
|
|
2750
2754
|
"testID": undefined,
|
|
2751
2755
|
},
|
|
2752
2756
|
"type": "View",
|
|
@@ -2860,7 +2864,6 @@ exports[`Field renders select field 1`] = `
|
|
|
2860
2864
|
},
|
|
2861
2865
|
],
|
|
2862
2866
|
"props": {
|
|
2863
|
-
"activeOpacity": 1,
|
|
2864
2867
|
"onPress": [Function],
|
|
2865
2868
|
"style": {
|
|
2866
2869
|
"alignItems": "center",
|
|
@@ -3067,7 +3070,9 @@ exports[`Field renders select field 1`] = `
|
|
|
3067
3070
|
},
|
|
3068
3071
|
],
|
|
3069
3072
|
"props": {
|
|
3070
|
-
"style":
|
|
3073
|
+
"style": {
|
|
3074
|
+
"width": "100%",
|
|
3075
|
+
},
|
|
3071
3076
|
"testID": undefined,
|
|
3072
3077
|
},
|
|
3073
3078
|
"type": "View",
|
|
@@ -3737,7 +3742,6 @@ exports[`Field renders address field 1`] = `
|
|
|
3737
3742
|
},
|
|
3738
3743
|
],
|
|
3739
3744
|
"props": {
|
|
3740
|
-
"activeOpacity": 1,
|
|
3741
3745
|
"onPress": [Function],
|
|
3742
3746
|
"style": {
|
|
3743
3747
|
"alignItems": "center",
|
|
@@ -4434,7 +4438,9 @@ exports[`Field renders address field 1`] = `
|
|
|
4434
4438
|
},
|
|
4435
4439
|
],
|
|
4436
4440
|
"props": {
|
|
4437
|
-
"style":
|
|
4441
|
+
"style": {
|
|
4442
|
+
"width": "100%",
|
|
4443
|
+
},
|
|
4438
4444
|
"testID": undefined,
|
|
4439
4445
|
},
|
|
4440
4446
|
"type": "View",
|
|
@@ -183,9 +183,12 @@ exports[`HeightActionSheet renders correctly 1`] = `
|
|
|
183
183
|
],
|
|
184
184
|
"props": {
|
|
185
185
|
"accessibilityHint": "Press to perform action",
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
186
|
+
"accessibilityLabel": "Done",
|
|
187
|
+
"accessibilityRole": "button",
|
|
188
|
+
"accessibilityState": {
|
|
189
|
+
"disabled": false,
|
|
190
|
+
},
|
|
191
|
+
"disabled": false,
|
|
189
192
|
"onPress": [Function: debounced],
|
|
190
193
|
"style": {
|
|
191
194
|
"alignItems": "center",
|
|
@@ -202,7 +205,7 @@ exports[`HeightActionSheet renders correctly 1`] = `
|
|
|
202
205
|
},
|
|
203
206
|
"testID": undefined,
|
|
204
207
|
},
|
|
205
|
-
"type": "
|
|
208
|
+
"type": "PressableScale",
|
|
206
209
|
},
|
|
207
210
|
],
|
|
208
211
|
"props": {
|
|
@@ -874,9 +877,12 @@ exports[`HeightActionSheet renders with different height value 1`] = `
|
|
|
874
877
|
],
|
|
875
878
|
"props": {
|
|
876
879
|
"accessibilityHint": "Press to perform action",
|
|
877
|
-
"
|
|
878
|
-
"
|
|
879
|
-
"
|
|
880
|
+
"accessibilityLabel": "Done",
|
|
881
|
+
"accessibilityRole": "button",
|
|
882
|
+
"accessibilityState": {
|
|
883
|
+
"disabled": false,
|
|
884
|
+
},
|
|
885
|
+
"disabled": false,
|
|
880
886
|
"onPress": [Function: debounced],
|
|
881
887
|
"style": {
|
|
882
888
|
"alignItems": "center",
|
|
@@ -893,7 +899,7 @@ exports[`HeightActionSheet renders with different height value 1`] = `
|
|
|
893
899
|
},
|
|
894
900
|
"testID": undefined,
|
|
895
901
|
},
|
|
896
|
-
"type": "
|
|
902
|
+
"type": "PressableScale",
|
|
897
903
|
},
|
|
898
904
|
],
|
|
899
905
|
"props": {
|
|
@@ -244,9 +244,12 @@ exports[`HeightField snapshots should match snapshot with default props 1`] = `
|
|
|
244
244
|
],
|
|
245
245
|
"props": {
|
|
246
246
|
"accessibilityHint": "Press to perform action",
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
247
|
+
"accessibilityLabel": "Done",
|
|
248
|
+
"accessibilityRole": "button",
|
|
249
|
+
"accessibilityState": {
|
|
250
|
+
"disabled": false,
|
|
251
|
+
},
|
|
252
|
+
"disabled": false,
|
|
250
253
|
"onPress": [Function: debounced],
|
|
251
254
|
"style": {
|
|
252
255
|
"alignItems": "center",
|
|
@@ -263,7 +266,7 @@ exports[`HeightField snapshots should match snapshot with default props 1`] = `
|
|
|
263
266
|
},
|
|
264
267
|
"testID": undefined,
|
|
265
268
|
},
|
|
266
|
-
"type": "
|
|
269
|
+
"type": "PressableScale",
|
|
267
270
|
},
|
|
268
271
|
],
|
|
269
272
|
"props": {
|
|
@@ -1006,9 +1009,12 @@ exports[`HeightField snapshots should match snapshot with value 1`] = `
|
|
|
1006
1009
|
],
|
|
1007
1010
|
"props": {
|
|
1008
1011
|
"accessibilityHint": "Press to perform action",
|
|
1009
|
-
"
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
1012
|
+
"accessibilityLabel": "Done",
|
|
1013
|
+
"accessibilityRole": "button",
|
|
1014
|
+
"accessibilityState": {
|
|
1015
|
+
"disabled": false,
|
|
1016
|
+
},
|
|
1017
|
+
"disabled": false,
|
|
1012
1018
|
"onPress": [Function: debounced],
|
|
1013
1019
|
"style": {
|
|
1014
1020
|
"alignItems": "center",
|
|
@@ -1025,7 +1031,7 @@ exports[`HeightField snapshots should match snapshot with value 1`] = `
|
|
|
1025
1031
|
},
|
|
1026
1032
|
"testID": undefined,
|
|
1027
1033
|
},
|
|
1028
|
-
"type": "
|
|
1034
|
+
"type": "PressableScale",
|
|
1029
1035
|
},
|
|
1030
1036
|
],
|
|
1031
1037
|
"props": {
|
|
@@ -1865,9 +1871,12 @@ exports[`HeightField snapshots should match snapshot with all props 1`] = `
|
|
|
1865
1871
|
],
|
|
1866
1872
|
"props": {
|
|
1867
1873
|
"accessibilityHint": "Press to perform action",
|
|
1868
|
-
"
|
|
1869
|
-
"
|
|
1870
|
-
"
|
|
1874
|
+
"accessibilityLabel": "Done",
|
|
1875
|
+
"accessibilityRole": "button",
|
|
1876
|
+
"accessibilityState": {
|
|
1877
|
+
"disabled": false,
|
|
1878
|
+
},
|
|
1879
|
+
"disabled": false,
|
|
1871
1880
|
"onPress": [Function: debounced],
|
|
1872
1881
|
"style": {
|
|
1873
1882
|
"alignItems": "center",
|
|
@@ -1884,7 +1893,7 @@ exports[`HeightField snapshots should match snapshot with all props 1`] = `
|
|
|
1884
1893
|
},
|
|
1885
1894
|
"testID": undefined,
|
|
1886
1895
|
},
|
|
1887
|
-
"type": "
|
|
1896
|
+
"type": "PressableScale",
|
|
1888
1897
|
},
|
|
1889
1898
|
],
|
|
1890
1899
|
"props": {
|
|
@@ -2659,9 +2668,12 @@ exports[`HeightField snapshots should match snapshot when disabled 1`] = `
|
|
|
2659
2668
|
],
|
|
2660
2669
|
"props": {
|
|
2661
2670
|
"accessibilityHint": "Press to perform action",
|
|
2662
|
-
"
|
|
2663
|
-
"
|
|
2664
|
-
"
|
|
2671
|
+
"accessibilityLabel": "Done",
|
|
2672
|
+
"accessibilityRole": "button",
|
|
2673
|
+
"accessibilityState": {
|
|
2674
|
+
"disabled": false,
|
|
2675
|
+
},
|
|
2676
|
+
"disabled": false,
|
|
2665
2677
|
"onPress": [Function: debounced],
|
|
2666
2678
|
"style": {
|
|
2667
2679
|
"alignItems": "center",
|
|
@@ -2678,7 +2690,7 @@ exports[`HeightField snapshots should match snapshot when disabled 1`] = `
|
|
|
2678
2690
|
},
|
|
2679
2691
|
"testID": undefined,
|
|
2680
2692
|
},
|
|
2681
|
-
"type": "
|
|
2693
|
+
"type": "PressableScale",
|
|
2682
2694
|
},
|
|
2683
2695
|
],
|
|
2684
2696
|
"props": {
|
|
@@ -3492,9 +3504,12 @@ exports[`HeightField snapshots should match snapshot with error state 1`] = `
|
|
|
3492
3504
|
],
|
|
3493
3505
|
"props": {
|
|
3494
3506
|
"accessibilityHint": "Press to perform action",
|
|
3495
|
-
"
|
|
3496
|
-
"
|
|
3497
|
-
"
|
|
3507
|
+
"accessibilityLabel": "Done",
|
|
3508
|
+
"accessibilityRole": "button",
|
|
3509
|
+
"accessibilityState": {
|
|
3510
|
+
"disabled": false,
|
|
3511
|
+
},
|
|
3512
|
+
"disabled": false,
|
|
3498
3513
|
"onPress": [Function: debounced],
|
|
3499
3514
|
"style": {
|
|
3500
3515
|
"alignItems": "center",
|
|
@@ -3511,7 +3526,7 @@ exports[`HeightField snapshots should match snapshot with error state 1`] = `
|
|
|
3511
3526
|
},
|
|
3512
3527
|
"testID": undefined,
|
|
3513
3528
|
},
|
|
3514
|
-
"type": "
|
|
3529
|
+
"type": "PressableScale",
|
|
3515
3530
|
},
|
|
3516
3531
|
],
|
|
3517
3532
|
"props": {
|
|
@@ -167,9 +167,12 @@ exports[`InfoModalIcon renders correctly with required props 1`] = `
|
|
|
167
167
|
],
|
|
168
168
|
"props": {
|
|
169
169
|
"accessibilityHint": "Press to perform action",
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
170
|
+
"accessibilityLabel": "Close",
|
|
171
|
+
"accessibilityRole": "button",
|
|
172
|
+
"accessibilityState": {
|
|
173
|
+
"disabled": false,
|
|
174
|
+
},
|
|
175
|
+
"disabled": false,
|
|
173
176
|
"onPress": [Function: debounced],
|
|
174
177
|
"style": {
|
|
175
178
|
"alignItems": "center",
|
|
@@ -186,7 +189,7 @@ exports[`InfoModalIcon renders correctly with required props 1`] = `
|
|
|
186
189
|
},
|
|
187
190
|
"testID": undefined,
|
|
188
191
|
},
|
|
189
|
-
"type": "
|
|
192
|
+
"type": "PressableScale",
|
|
190
193
|
},
|
|
191
194
|
],
|
|
192
195
|
"props": {
|
|
@@ -495,9 +498,12 @@ exports[`InfoModalIcon renders with subtitle 1`] = `
|
|
|
495
498
|
],
|
|
496
499
|
"props": {
|
|
497
500
|
"accessibilityHint": "Press to perform action",
|
|
498
|
-
"
|
|
499
|
-
"
|
|
500
|
-
"
|
|
501
|
+
"accessibilityLabel": "Close",
|
|
502
|
+
"accessibilityRole": "button",
|
|
503
|
+
"accessibilityState": {
|
|
504
|
+
"disabled": false,
|
|
505
|
+
},
|
|
506
|
+
"disabled": false,
|
|
501
507
|
"onPress": [Function: debounced],
|
|
502
508
|
"style": {
|
|
503
509
|
"alignItems": "center",
|
|
@@ -514,7 +520,7 @@ exports[`InfoModalIcon renders with subtitle 1`] = `
|
|
|
514
520
|
},
|
|
515
521
|
"testID": undefined,
|
|
516
522
|
},
|
|
517
|
-
"type": "
|
|
523
|
+
"type": "PressableScale",
|
|
518
524
|
},
|
|
519
525
|
],
|
|
520
526
|
"props": {
|
|
@@ -821,9 +827,12 @@ exports[`InfoModalIcon renders with children content 1`] = `
|
|
|
821
827
|
],
|
|
822
828
|
"props": {
|
|
823
829
|
"accessibilityHint": "Press to perform action",
|
|
824
|
-
"
|
|
825
|
-
"
|
|
826
|
-
"
|
|
830
|
+
"accessibilityLabel": "Close",
|
|
831
|
+
"accessibilityRole": "button",
|
|
832
|
+
"accessibilityState": {
|
|
833
|
+
"disabled": false,
|
|
834
|
+
},
|
|
835
|
+
"disabled": false,
|
|
827
836
|
"onPress": [Function: debounced],
|
|
828
837
|
"style": {
|
|
829
838
|
"alignItems": "center",
|
|
@@ -840,7 +849,7 @@ exports[`InfoModalIcon renders with children content 1`] = `
|
|
|
840
849
|
},
|
|
841
850
|
"testID": undefined,
|
|
842
851
|
},
|
|
843
|
-
"type": "
|
|
852
|
+
"type": "PressableScale",
|
|
844
853
|
},
|
|
845
854
|
],
|
|
846
855
|
"props": {
|
|
@@ -1108,9 +1117,12 @@ exports[`InfoModalIcon opens modal when pressed 1`] = `
|
|
|
1108
1117
|
],
|
|
1109
1118
|
"props": {
|
|
1110
1119
|
"accessibilityHint": "Press to perform action",
|
|
1111
|
-
"
|
|
1112
|
-
"
|
|
1113
|
-
"
|
|
1120
|
+
"accessibilityLabel": "Close",
|
|
1121
|
+
"accessibilityRole": "button",
|
|
1122
|
+
"accessibilityState": {
|
|
1123
|
+
"disabled": false,
|
|
1124
|
+
},
|
|
1125
|
+
"disabled": false,
|
|
1114
1126
|
"onPress": [Function: debounced],
|
|
1115
1127
|
"style": {
|
|
1116
1128
|
"alignItems": "center",
|
|
@@ -1127,7 +1139,7 @@ exports[`InfoModalIcon opens modal when pressed 1`] = `
|
|
|
1127
1139
|
},
|
|
1128
1140
|
"testID": undefined,
|
|
1129
1141
|
},
|
|
1130
|
-
"type": "
|
|
1142
|
+
"type": "PressableScale",
|
|
1131
1143
|
},
|
|
1132
1144
|
],
|
|
1133
1145
|
"props": {
|
|
@@ -529,9 +529,12 @@ exports[`Modal renders with both buttons 1`] = `
|
|
|
529
529
|
],
|
|
530
530
|
"props": {
|
|
531
531
|
"accessibilityHint": "Press to perform action",
|
|
532
|
-
"
|
|
533
|
-
"
|
|
534
|
-
"
|
|
532
|
+
"accessibilityLabel": "Cancel",
|
|
533
|
+
"accessibilityRole": "button",
|
|
534
|
+
"accessibilityState": {
|
|
535
|
+
"disabled": false,
|
|
536
|
+
},
|
|
537
|
+
"disabled": false,
|
|
535
538
|
"onPress": [Function: debounced],
|
|
536
539
|
"style": {
|
|
537
540
|
"alignItems": "center",
|
|
@@ -548,7 +551,7 @@ exports[`Modal renders with both buttons 1`] = `
|
|
|
548
551
|
},
|
|
549
552
|
"testID": undefined,
|
|
550
553
|
},
|
|
551
|
-
"type": "
|
|
554
|
+
"type": "PressableScale",
|
|
552
555
|
},
|
|
553
556
|
],
|
|
554
557
|
"props": {
|
|
@@ -603,9 +606,12 @@ exports[`Modal renders with both buttons 1`] = `
|
|
|
603
606
|
],
|
|
604
607
|
"props": {
|
|
605
608
|
"accessibilityHint": "Press to perform action",
|
|
606
|
-
"
|
|
607
|
-
"
|
|
608
|
-
"
|
|
609
|
+
"accessibilityLabel": "Save",
|
|
610
|
+
"accessibilityRole": "button",
|
|
611
|
+
"accessibilityState": {
|
|
612
|
+
"disabled": false,
|
|
613
|
+
},
|
|
614
|
+
"disabled": false,
|
|
609
615
|
"onPress": [Function: debounced],
|
|
610
616
|
"style": {
|
|
611
617
|
"alignItems": "center",
|
|
@@ -622,7 +628,7 @@ exports[`Modal renders with both buttons 1`] = `
|
|
|
622
628
|
},
|
|
623
629
|
"testID": undefined,
|
|
624
630
|
},
|
|
625
|
-
"type": "
|
|
631
|
+
"type": "PressableScale",
|
|
626
632
|
},
|
|
627
633
|
],
|
|
628
634
|
"props": {
|
|
@@ -850,8 +856,11 @@ exports[`Modal renders with disabled primary button 1`] = `
|
|
|
850
856
|
],
|
|
851
857
|
"props": {
|
|
852
858
|
"accessibilityHint": "Press to perform action",
|
|
853
|
-
"
|
|
854
|
-
"
|
|
859
|
+
"accessibilityLabel": "Save",
|
|
860
|
+
"accessibilityRole": "button",
|
|
861
|
+
"accessibilityState": {
|
|
862
|
+
"disabled": true,
|
|
863
|
+
},
|
|
855
864
|
"disabled": true,
|
|
856
865
|
"onPress": [Function: debounced],
|
|
857
866
|
"style": {
|