@terreno/ui 0.13.3 → 0.14.1
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 +5 -5
- package/dist/ActionSheet.js +2 -2
- 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 +16 -4
- package/dist/Common.js +4 -4
- package/dist/Common.js.map +1 -1
- package/dist/ConsentFormScreen.js +3 -3
- 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.d.ts +25 -25
- package/dist/DateUtilities.js +31 -32
- 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/MediaQuery.d.ts +4 -4
- package/dist/MediaQuery.js +8 -8
- package/dist/MediaQuery.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.d.ts +1 -0
- package/dist/Page.js +7 -2
- 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 +1 -1
- package/dist/PickerSelect.js +9 -6
- package/dist/PickerSelect.js.map +1 -1
- package/dist/SelectField.js +1 -1
- package/dist/SelectField.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.d.ts +1 -1
- package/dist/TapToEdit.js +12 -14
- package/dist/TapToEdit.js.map +1 -1
- package/dist/Toast.js.map +1 -1
- package/dist/ToastNotifications.js +2 -2
- package/dist/ToastNotifications.js.map +1 -1
- package/dist/Tooltip.d.ts +24 -1
- package/dist/Tooltip.js +2 -2
- package/dist/Tooltip.js.map +1 -1
- package/dist/Unifier.d.ts +3 -3
- package/dist/Unifier.js +15 -12
- package/dist/Unifier.js.map +1 -1
- package/dist/Utilities.d.ts +12 -8
- package/dist/Utilities.js +13 -15
- package/dist/Utilities.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/signUp/PasswordRequirements.js +3 -3
- package/dist/signUp/PasswordRequirements.js.map +1 -1
- package/dist/table/TableHeaderCell.js +1 -9
- package/dist/table/TableHeaderCell.js.map +1 -1
- package/dist/table/tableContext.d.ts +1 -1
- package/dist/table/tableContext.js +2 -2
- package/dist/table/tableContext.js.map +1 -1
- package/package.json +2 -1
- package/src/ActionSheet.test.tsx +1 -0
- package/src/ActionSheet.tsx +8 -6
- package/src/Avatar.tsx +9 -2
- package/src/Badge.test.tsx +1 -0
- package/src/Banner.test.tsx +71 -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 +42 -19
- package/src/ConsentFormScreen.test.tsx +124 -0
- package/src/ConsentFormScreen.tsx +18 -6
- package/src/ConsentNavigator.test.tsx +1 -0
- package/src/ConsentNavigator.tsx +5 -3
- package/src/CustomSelectField.tsx +3 -1
- package/src/DataTable.test.tsx +218 -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 +43 -44
- package/src/DecimalRangeActionSheet.test.tsx +28 -0
- package/src/ErrorBoundary.test.tsx +1 -0
- package/src/HeightActionSheet.test.tsx +16 -0
- package/src/HeightField.test.tsx +106 -1
- 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/MediaQuery.ts +8 -8
- package/src/MobileAddressAutoComplete.test.tsx +20 -1
- 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.test.tsx +28 -0
- package/src/Page.tsx +18 -2
- package/src/Pagination.tsx +1 -1
- package/src/Permissions.ts +3 -0
- package/src/PickerSelect.tsx +20 -17
- package/src/SelectBadge.test.tsx +1 -0
- package/src/SelectField.tsx +1 -1
- package/src/Signature.test.tsx +1 -0
- package/src/SplitPage.native.tsx +2 -0
- package/src/SplitPage.tsx +6 -1
- package/src/TapToEdit.test.tsx +48 -0
- package/src/TapToEdit.tsx +13 -14
- package/src/Toast.tsx +1 -1
- package/src/ToastNotifications.test.tsx +738 -0
- package/src/ToastNotifications.tsx +3 -6
- package/src/Tooltip.test.tsx +586 -8
- package/src/Tooltip.tsx +2 -2
- package/src/Unifier.ts +20 -16
- package/src/Utilities.tsx +20 -19
- package/src/WebAddressAutocomplete.test.tsx +138 -0
- package/src/WebDropdownMenu.test.tsx +23 -0
- package/src/__snapshots__/AddressField.test.tsx.snap +3 -1
- package/src/__snapshots__/Button.test.tsx.snap +92 -50
- package/src/__snapshots__/CustomSelectField.test.tsx.snap +21 -7
- 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 -6
- 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__/SelectField.test.tsx.snap +18 -6
- package/src/__snapshots__/TerrenoProvider.test.tsx.snap +0 -2
- package/src/__snapshots__/TimezonePicker.test.tsx.snap +18 -6
- package/src/bunSetup.ts +25 -2
- package/src/index.tsx +2 -1
- package/src/login/LoginScreen.test.tsx +23 -1
- package/src/login/__snapshots__/LoginScreen.test.tsx.snap +15 -6
- package/src/signUp/PasswordRequirements.tsx +9 -6
- package/src/signUp/__snapshots__/PasswordRequirements.test.tsx.snap +50 -2
- package/src/signUp/__snapshots__/SignUpScreen.test.tsx.snap +35 -5
- package/src/table/TableHeaderCell.tsx +8 -11
- package/src/table/TableRow.test.tsx +31 -1
- package/src/table/__snapshots__/TableBadge.test.tsx.snap +3 -1
- package/src/table/__snapshots__/TableHeaderCell.test.tsx.snap +2 -0
- package/src/table/tableContext.tsx +2 -2
- package/src/types/react-native-swiper-flatlist.d.ts +1 -0
- package/src/useStoredState.test.tsx +47 -0
|
@@ -283,7 +283,9 @@ exports[`CustomSelectField renders correctly with default props 1`] = `
|
|
|
283
283
|
},
|
|
284
284
|
],
|
|
285
285
|
"props": {
|
|
286
|
-
"style":
|
|
286
|
+
"style": {
|
|
287
|
+
"width": "100%",
|
|
288
|
+
},
|
|
287
289
|
"testID": undefined,
|
|
288
290
|
},
|
|
289
291
|
"type": "View",
|
|
@@ -610,7 +612,9 @@ exports[`CustomSelectField renders with title 1`] = `
|
|
|
610
612
|
},
|
|
611
613
|
],
|
|
612
614
|
"props": {
|
|
613
|
-
"style":
|
|
615
|
+
"style": {
|
|
616
|
+
"width": "100%",
|
|
617
|
+
},
|
|
614
618
|
"testID": undefined,
|
|
615
619
|
},
|
|
616
620
|
"type": "View",
|
|
@@ -922,7 +926,9 @@ exports[`CustomSelectField renders with placeholder 1`] = `
|
|
|
922
926
|
},
|
|
923
927
|
],
|
|
924
928
|
"props": {
|
|
925
|
-
"style":
|
|
929
|
+
"style": {
|
|
930
|
+
"width": "100%",
|
|
931
|
+
},
|
|
926
932
|
"testID": undefined,
|
|
927
933
|
},
|
|
928
934
|
"type": "View",
|
|
@@ -1234,7 +1240,9 @@ exports[`CustomSelectField renders with selected value 1`] = `
|
|
|
1234
1240
|
},
|
|
1235
1241
|
],
|
|
1236
1242
|
"props": {
|
|
1237
|
-
"style":
|
|
1243
|
+
"style": {
|
|
1244
|
+
"width": "100%",
|
|
1245
|
+
},
|
|
1238
1246
|
"testID": undefined,
|
|
1239
1247
|
},
|
|
1240
1248
|
"type": "View",
|
|
@@ -1546,7 +1554,9 @@ exports[`CustomSelectField renders with custom value (not in options) 1`] = `
|
|
|
1546
1554
|
},
|
|
1547
1555
|
],
|
|
1548
1556
|
"props": {
|
|
1549
|
-
"style":
|
|
1557
|
+
"style": {
|
|
1558
|
+
"width": "100%",
|
|
1559
|
+
},
|
|
1550
1560
|
"testID": undefined,
|
|
1551
1561
|
},
|
|
1552
1562
|
"type": "View",
|
|
@@ -1964,7 +1974,9 @@ exports[`CustomSelectField renders disabled state 1`] = `
|
|
|
1964
1974
|
},
|
|
1965
1975
|
],
|
|
1966
1976
|
"props": {
|
|
1967
|
-
"style":
|
|
1977
|
+
"style": {
|
|
1978
|
+
"width": "100%",
|
|
1979
|
+
},
|
|
1968
1980
|
"testID": undefined,
|
|
1969
1981
|
},
|
|
1970
1982
|
"type": "View",
|
|
@@ -2276,7 +2288,9 @@ exports[`CustomSelectField includes custom option in dropdown 1`] = `
|
|
|
2276
2288
|
},
|
|
2277
2289
|
],
|
|
2278
2290
|
"props": {
|
|
2279
|
-
"style":
|
|
2291
|
+
"style": {
|
|
2292
|
+
"width": "100%",
|
|
2293
|
+
},
|
|
2280
2294
|
"testID": undefined,
|
|
2281
2295
|
},
|
|
2282
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": {
|
|
@@ -1420,7 +1420,9 @@ exports[`Field renders time field 1`] = `
|
|
|
1420
1420
|
},
|
|
1421
1421
|
],
|
|
1422
1422
|
"props": {
|
|
1423
|
-
"style":
|
|
1423
|
+
"style": {
|
|
1424
|
+
"width": "100%",
|
|
1425
|
+
},
|
|
1424
1426
|
"testID": undefined,
|
|
1425
1427
|
},
|
|
1426
1428
|
"type": "View",
|
|
@@ -1749,7 +1751,9 @@ exports[`Field renders time field 1`] = `
|
|
|
1749
1751
|
},
|
|
1750
1752
|
],
|
|
1751
1753
|
"props": {
|
|
1752
|
-
"style":
|
|
1754
|
+
"style": {
|
|
1755
|
+
"width": "100%",
|
|
1756
|
+
},
|
|
1753
1757
|
"testID": undefined,
|
|
1754
1758
|
},
|
|
1755
1759
|
"type": "View",
|
|
@@ -2413,7 +2417,9 @@ exports[`Field renders datetime field 1`] = `
|
|
|
2413
2417
|
},
|
|
2414
2418
|
],
|
|
2415
2419
|
"props": {
|
|
2416
|
-
"style":
|
|
2420
|
+
"style": {
|
|
2421
|
+
"width": "100%",
|
|
2422
|
+
},
|
|
2417
2423
|
"testID": undefined,
|
|
2418
2424
|
},
|
|
2419
2425
|
"type": "View",
|
|
@@ -2742,7 +2748,9 @@ exports[`Field renders datetime field 1`] = `
|
|
|
2742
2748
|
},
|
|
2743
2749
|
],
|
|
2744
2750
|
"props": {
|
|
2745
|
-
"style":
|
|
2751
|
+
"style": {
|
|
2752
|
+
"width": "100%",
|
|
2753
|
+
},
|
|
2746
2754
|
"testID": undefined,
|
|
2747
2755
|
},
|
|
2748
2756
|
"type": "View",
|
|
@@ -3062,7 +3070,9 @@ exports[`Field renders select field 1`] = `
|
|
|
3062
3070
|
},
|
|
3063
3071
|
],
|
|
3064
3072
|
"props": {
|
|
3065
|
-
"style":
|
|
3073
|
+
"style": {
|
|
3074
|
+
"width": "100%",
|
|
3075
|
+
},
|
|
3066
3076
|
"testID": undefined,
|
|
3067
3077
|
},
|
|
3068
3078
|
"type": "View",
|
|
@@ -4428,7 +4438,9 @@ exports[`Field renders address field 1`] = `
|
|
|
4428
4438
|
},
|
|
4429
4439
|
],
|
|
4430
4440
|
"props": {
|
|
4431
|
-
"style":
|
|
4441
|
+
"style": {
|
|
4442
|
+
"width": "100%",
|
|
4443
|
+
},
|
|
4432
4444
|
"testID": undefined,
|
|
4433
4445
|
},
|
|
4434
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": {
|
|
@@ -168,9 +168,12 @@ exports[`NumberPickerActionSheet 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[`NumberPickerActionSheet renders correctly 1`] = `
|
|
|
187
190
|
},
|
|
188
191
|
"testID": undefined,
|
|
189
192
|
},
|
|
190
|
-
"type": "
|
|
193
|
+
"type": "PressableScale",
|
|
191
194
|
},
|
|
192
195
|
],
|
|
193
196
|
"props": {
|
|
@@ -1497,9 +1500,12 @@ exports[`NumberPickerActionSheet renders with different range 1`] = `
|
|
|
1497
1500
|
],
|
|
1498
1501
|
"props": {
|
|
1499
1502
|
"accessibilityHint": "Press to perform action",
|
|
1500
|
-
"
|
|
1501
|
-
"
|
|
1502
|
-
"
|
|
1503
|
+
"accessibilityLabel": "Close",
|
|
1504
|
+
"accessibilityRole": "button",
|
|
1505
|
+
"accessibilityState": {
|
|
1506
|
+
"disabled": false,
|
|
1507
|
+
},
|
|
1508
|
+
"disabled": false,
|
|
1503
1509
|
"onPress": [Function: debounced],
|
|
1504
1510
|
"style": {
|
|
1505
1511
|
"alignItems": "center",
|
|
@@ -1516,7 +1522,7 @@ exports[`NumberPickerActionSheet renders with different range 1`] = `
|
|
|
1516
1522
|
},
|
|
1517
1523
|
"testID": undefined,
|
|
1518
1524
|
},
|
|
1519
|
-
"type": "
|
|
1525
|
+
"type": "PressableScale",
|
|
1520
1526
|
},
|
|
1521
1527
|
],
|
|
1522
1528
|
"props": {
|
|
@@ -812,9 +812,12 @@ exports[`Page renders with right button 1`] = `
|
|
|
812
812
|
],
|
|
813
813
|
"props": {
|
|
814
814
|
"accessibilityHint": "Press to perform action",
|
|
815
|
-
"
|
|
816
|
-
"
|
|
817
|
-
"
|
|
815
|
+
"accessibilityLabel": "Save",
|
|
816
|
+
"accessibilityRole": "button",
|
|
817
|
+
"accessibilityState": {
|
|
818
|
+
"disabled": false,
|
|
819
|
+
},
|
|
820
|
+
"disabled": false,
|
|
818
821
|
"onPress": [Function: debounced],
|
|
819
822
|
"style": {
|
|
820
823
|
"alignItems": "center",
|
|
@@ -831,7 +834,7 @@ exports[`Page renders with right button 1`] = `
|
|
|
831
834
|
},
|
|
832
835
|
"testID": undefined,
|
|
833
836
|
},
|
|
834
|
-
"type": "
|
|
837
|
+
"type": "PressableScale",
|
|
835
838
|
},
|
|
836
839
|
],
|
|
837
840
|
"props": {
|