@terreno/ui 57.12.0 → 57.13.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/AiSuggestionBox.js +9 -9
- package/dist/AiSuggestionBox.js.map +1 -1
- package/dist/Banner.js +1 -1
- package/dist/Banner.js.map +1 -1
- package/dist/Box.d.ts.map +1 -1
- package/dist/Box.js +36 -3
- package/dist/Box.js.map +1 -1
- package/dist/Button.d.ts.map +1 -1
- package/dist/Button.js +7 -0
- package/dist/Button.js.map +1 -1
- package/dist/Common.d.ts +31 -2
- package/dist/Common.d.ts.map +1 -1
- package/dist/Common.js.map +1 -1
- package/dist/DataTable.d.ts.map +1 -1
- package/dist/DataTable.js +50 -3
- package/dist/DataTable.js.map +1 -1
- package/dist/Image.d.ts.map +1 -1
- package/dist/Image.js +1 -1
- package/dist/Image.js.map +1 -1
- package/dist/MarkdownView.d.ts.map +1 -1
- package/dist/MarkdownView.js +67 -5
- package/dist/MarkdownView.js.map +1 -1
- package/dist/Modal.js +1 -1
- package/dist/SegmentedControl.d.ts.map +1 -1
- package/dist/SegmentedControl.js +15 -11
- package/dist/SegmentedControl.js.map +1 -1
- package/dist/SelectField.d.ts.map +1 -1
- package/dist/SelectField.js +4 -1
- package/dist/SelectField.js.map +1 -1
- package/dist/SplitPage.js +1 -1
- package/dist/SplitPage.js.map +1 -1
- package/dist/SplitPage.native.js +1 -1
- package/dist/SplitPage.native.js.map +1 -1
- package/dist/TerrenoProvider.d.ts +7 -3
- package/dist/TerrenoProvider.d.ts.map +1 -1
- package/dist/TerrenoProvider.js +2 -2
- package/dist/TerrenoProvider.js.map +1 -1
- package/dist/Theme.d.ts +19 -85
- package/dist/Theme.d.ts.map +1 -1
- package/dist/Theme.js +149 -33
- package/dist/Theme.js.map +1 -1
- package/dist/Toast.d.ts.map +1 -1
- package/dist/Toast.js +21 -12
- package/dist/Toast.js.map +1 -1
- package/dist/ToastNotifications.d.ts.map +1 -1
- package/dist/ToastNotifications.js +5 -2
- package/dist/ToastNotifications.js.map +1 -1
- package/dist/Tooltip.d.ts +1 -0
- package/dist/Tooltip.d.ts.map +1 -1
- package/dist/Tooltip.js +84 -37
- package/dist/Tooltip.js.map +1 -1
- package/dist/blocks/BlocksView.d.ts.map +1 -1
- package/dist/blocks/BlocksView.js +5 -1
- package/dist/blocks/BlocksView.js.map +1 -1
- package/dist/blocks/blockRenderers.d.ts +10 -1
- package/dist/blocks/blockRenderers.d.ts.map +1 -1
- package/dist/blocks/blockRenderers.js +330 -9
- package/dist/blocks/blockRenderers.js.map +1 -1
- package/dist/blocks/useChecklistState.d.ts +18 -0
- package/dist/blocks/useChecklistState.d.ts.map +1 -0
- package/dist/blocks/useChecklistState.js +29 -0
- package/dist/blocks/useChecklistState.js.map +1 -0
- package/dist/blocks/useResolvedImages.d.ts.map +1 -1
- package/dist/blocks/useResolvedImages.js +16 -0
- package/dist/blocks/useResolvedImages.js.map +1 -1
- package/dist/colorContrast.d.ts +9 -0
- package/dist/colorContrast.d.ts.map +1 -0
- package/dist/colorContrast.js +47 -0
- package/dist/colorContrast.js.map +1 -0
- package/dist/icons/OfflineIcon.js +1 -1
- package/dist/table/TableDate.d.ts.map +1 -1
- package/dist/table/TableDate.js +3 -1
- package/dist/table/TableDate.js.map +1 -1
- package/package.json +2 -2
- package/src/AiSuggestionBox.tsx +10 -10
- package/src/Banner.tsx +1 -1
- package/src/Box.test.tsx +80 -0
- package/src/Box.tsx +52 -0
- package/src/Button.test.tsx +39 -1
- package/src/Button.tsx +9 -0
- package/src/Common.ts +32 -2
- package/src/DataTable.test.tsx +133 -1
- package/src/DataTable.tsx +78 -3
- package/src/Image.tsx +1 -0
- package/src/MarkdownView.test.tsx +165 -2
- package/src/MarkdownView.tsx +100 -5
- package/src/Modal.tsx +1 -1
- package/src/SegmentedControl.test.tsx +7 -0
- package/src/SegmentedControl.tsx +22 -11
- package/src/SelectField.tsx +4 -1
- package/src/SplitPage.native.tsx +1 -1
- package/src/SplitPage.tsx +1 -1
- package/src/TerrenoProvider.tsx +15 -5
- package/src/Theme.test.tsx +212 -3
- package/src/Theme.tsx +184 -39
- package/src/Toast.test.tsx +7 -0
- package/src/Toast.tsx +22 -12
- package/src/ToastNotifications.test.tsx +36 -0
- package/src/ToastNotifications.tsx +5 -2
- package/src/Tooltip.test.tsx +232 -1
- package/src/Tooltip.tsx +128 -67
- package/src/__snapshots__/AddressField.test.tsx.snap +7 -7
- package/src/__snapshots__/AiSuggestionBox.test.tsx.snap +23 -23
- package/src/__snapshots__/Banner.test.tsx.snap +3 -0
- package/src/__snapshots__/BooleanField.test.tsx.snap +3 -3
- package/src/__snapshots__/Button.test.tsx.snap +16 -16
- package/src/__snapshots__/Card.test.tsx.snap +0 -1
- package/src/__snapshots__/CustomSelectField.test.tsx.snap +23 -23
- package/src/__snapshots__/DataTable.test.tsx.snap +30 -30
- package/src/__snapshots__/DecimalRangeActionSheet.test.tsx.snap +2 -2
- package/src/__snapshots__/DropdownPanel.test.tsx.snap +2 -2
- package/src/__snapshots__/EmailField.test.tsx.snap +2 -2
- package/src/__snapshots__/ErrorPage.test.tsx.snap +1 -1
- package/src/__snapshots__/Field.test.tsx.snap +37 -37
- package/src/__snapshots__/FilterSelectMenu.test.tsx.snap +2 -1
- package/src/__snapshots__/HeightActionSheet.test.tsx.snap +2 -2
- package/src/__snapshots__/HeightField.test.tsx.snap +8 -8
- package/src/__snapshots__/HeightFieldDesktop.test.tsx.snap +6 -6
- package/src/__snapshots__/InfoModalIcon.test.tsx.snap +2 -2
- package/src/__snapshots__/MarkdownView.test.tsx.snap +2 -2
- package/src/__snapshots__/MobileAddressAutoComplete.test.tsx.snap +1 -1
- package/src/__snapshots__/Modal.test.tsx.snap +10 -10
- package/src/__snapshots__/NumberField.test.tsx.snap +1 -1
- package/src/__snapshots__/NumberPickerActionSheet.test.tsx.snap +2 -2
- package/src/__snapshots__/Page.test.tsx.snap +1 -1
- package/src/__snapshots__/PhoneNumberField.test.tsx.snap +4 -4
- package/src/__snapshots__/PickerSelect.test.tsx.snap +8 -8
- package/src/__snapshots__/SectionDivider.test.tsx.snap +2 -2
- package/src/__snapshots__/SegmentedControl.test.tsx.snap +183 -0
- package/src/__snapshots__/SelectBadge.test.tsx.snap +9 -9
- package/src/__snapshots__/SelectField.test.tsx.snap +19 -19
- package/src/__snapshots__/Signature.test.tsx.snap +1 -1
- package/src/__snapshots__/SignatureCaptureField.test.tsx.snap +2 -2
- package/src/__snapshots__/SignatureField.test.tsx.snap +2 -2
- package/src/__snapshots__/SplitPage.test.tsx.snap +11 -11
- package/src/__snapshots__/TapToEdit.test.tsx.snap +1 -1
- package/src/__snapshots__/TerrenoProvider.test.tsx.snap +20 -4
- package/src/__snapshots__/TextArea.test.tsx.snap +4 -4
- package/src/__snapshots__/TextField.test.tsx.snap +3 -3
- package/src/__snapshots__/TimezonePicker.test.tsx.snap +18 -18
- package/src/__snapshots__/Toast.test.tsx.snap +224 -154
- package/src/__snapshots__/TypedSignatureField.test.tsx.snap +3 -3
- package/src/__snapshots__/UnifiedAddressAutoComplete.test.tsx.snap +6 -6
- package/src/__snapshots__/WebAddressAutocomplete.test.tsx.snap +4 -4
- package/src/blocks/BlocksView.test.tsx +1101 -2
- package/src/blocks/BlocksView.tsx +5 -1
- package/src/blocks/blockRenderers.tsx +730 -22
- package/src/blocks/useChecklistState.ts +46 -0
- package/src/blocks/useResolvedImages.ts +16 -0
- package/src/bunSetup.ts +3 -0
- package/src/colorContrast.test.ts +27 -0
- package/src/colorContrast.ts +55 -0
- package/src/icons/OfflineIcon.tsx +2 -2
- package/src/icons/__snapshots__/OfflineIcon.test.tsx.snap +4 -4
- package/src/login/__snapshots__/LoginScreen.test.tsx.snap +7 -7
- package/src/signUp/__snapshots__/OAuthButtons.test.tsx.snap +3 -3
- package/src/signUp/__snapshots__/SignUpScreen.test.tsx.snap +7 -7
- package/src/table/TableDate.tsx +3 -1
- package/src/table/__snapshots__/Table.test.tsx.snap +5 -5
- package/src/table/__snapshots__/TableBadge.test.tsx.snap +3 -3
- package/src/table/__snapshots__/TableDate.test.tsx.snap +4 -0
- package/src/table/__snapshots__/TableHeader.test.tsx.snap +4 -4
- package/src/table/__snapshots__/TableHeaderCell.test.tsx.snap +7 -7
- package/src/table/__snapshots__/TableRow.test.tsx.snap +6 -6
|
@@ -66,6 +66,7 @@ exports[`FilterSelectMenu renders correctly with default props 1`] = `
|
|
|
66
66
|
"$$typeof": Symbol(react.test.json),
|
|
67
67
|
"children": null,
|
|
68
68
|
"props": {
|
|
69
|
+
"accessibilityLabel": "Please select an option.",
|
|
69
70
|
"editable": false,
|
|
70
71
|
"multiline": true,
|
|
71
72
|
"style": {
|
|
@@ -301,7 +302,7 @@ exports[`FilterSelectMenu renders correctly with default props 1`] = `
|
|
|
301
302
|
},
|
|
302
303
|
{
|
|
303
304
|
"backgroundColor": "#FFFFFF",
|
|
304
|
-
"borderColor": "#
|
|
305
|
+
"borderColor": "#949494",
|
|
305
306
|
},
|
|
306
307
|
false,
|
|
307
308
|
],
|
|
@@ -155,7 +155,7 @@ exports[`HeightActionSheet renders correctly 1`] = `
|
|
|
155
155
|
],
|
|
156
156
|
"props": {
|
|
157
157
|
"style": {
|
|
158
|
-
"color": "#
|
|
158
|
+
"color": "#092E3A",
|
|
159
159
|
"fontSize": 16,
|
|
160
160
|
"fontWeight": "700",
|
|
161
161
|
},
|
|
@@ -846,7 +846,7 @@ exports[`HeightActionSheet renders with different height value 1`] = `
|
|
|
846
846
|
],
|
|
847
847
|
"props": {
|
|
848
848
|
"style": {
|
|
849
|
-
"color": "#
|
|
849
|
+
"color": "#092E3A",
|
|
850
850
|
"fontSize": 16,
|
|
851
851
|
"fontWeight": "700",
|
|
852
852
|
},
|
|
@@ -40,7 +40,7 @@ exports[`HeightField snapshots should match snapshot with default props 1`] = `
|
|
|
40
40
|
"style": {
|
|
41
41
|
"alignItems": "center",
|
|
42
42
|
"backgroundColor": "#FFFFFF",
|
|
43
|
-
"borderColor": "#
|
|
43
|
+
"borderColor": "#949494",
|
|
44
44
|
"borderRadius": 4,
|
|
45
45
|
"borderWidth": 1,
|
|
46
46
|
"flexDirection": "row",
|
|
@@ -216,7 +216,7 @@ exports[`HeightField snapshots should match snapshot with default props 1`] = `
|
|
|
216
216
|
],
|
|
217
217
|
"props": {
|
|
218
218
|
"style": {
|
|
219
|
-
"color": "#
|
|
219
|
+
"color": "#092E3A",
|
|
220
220
|
"fontSize": 16,
|
|
221
221
|
"fontWeight": "700",
|
|
222
222
|
},
|
|
@@ -802,7 +802,7 @@ exports[`HeightField snapshots should match snapshot with value 1`] = `
|
|
|
802
802
|
"style": {
|
|
803
803
|
"alignItems": "center",
|
|
804
804
|
"backgroundColor": "#FFFFFF",
|
|
805
|
-
"borderColor": "#
|
|
805
|
+
"borderColor": "#949494",
|
|
806
806
|
"borderRadius": 4,
|
|
807
807
|
"borderWidth": 1,
|
|
808
808
|
"flexDirection": "row",
|
|
@@ -978,7 +978,7 @@ exports[`HeightField snapshots should match snapshot with value 1`] = `
|
|
|
978
978
|
],
|
|
979
979
|
"props": {
|
|
980
980
|
"style": {
|
|
981
|
-
"color": "#
|
|
981
|
+
"color": "#092E3A",
|
|
982
982
|
"fontSize": 16,
|
|
983
983
|
"fontWeight": "700",
|
|
984
984
|
},
|
|
@@ -1840,7 +1840,7 @@ exports[`HeightField snapshots should match snapshot with all props 1`] = `
|
|
|
1840
1840
|
],
|
|
1841
1841
|
"props": {
|
|
1842
1842
|
"style": {
|
|
1843
|
-
"color": "#
|
|
1843
|
+
"color": "#092E3A",
|
|
1844
1844
|
"fontSize": 16,
|
|
1845
1845
|
"fontWeight": "700",
|
|
1846
1846
|
},
|
|
@@ -2440,7 +2440,7 @@ exports[`HeightField snapshots should match snapshot when disabled 1`] = `
|
|
|
2440
2440
|
"props": {
|
|
2441
2441
|
"style": {
|
|
2442
2442
|
"alignItems": "center",
|
|
2443
|
-
"backgroundColor": "#
|
|
2443
|
+
"backgroundColor": "#CDCDCD",
|
|
2444
2444
|
"borderColor": "#4E4E4E",
|
|
2445
2445
|
"borderRadius": 4,
|
|
2446
2446
|
"borderWidth": 1,
|
|
@@ -2634,7 +2634,7 @@ exports[`HeightField snapshots should match snapshot when disabled 1`] = `
|
|
|
2634
2634
|
],
|
|
2635
2635
|
"props": {
|
|
2636
2636
|
"style": {
|
|
2637
|
-
"color": "#
|
|
2637
|
+
"color": "#092E3A",
|
|
2638
2638
|
"fontSize": 16,
|
|
2639
2639
|
"fontWeight": "700",
|
|
2640
2640
|
},
|
|
@@ -3467,7 +3467,7 @@ exports[`HeightField snapshots should match snapshot with error state 1`] = `
|
|
|
3467
3467
|
],
|
|
3468
3468
|
"props": {
|
|
3469
3469
|
"style": {
|
|
3470
|
-
"color": "#
|
|
3470
|
+
"color": "#092E3A",
|
|
3471
3471
|
"fontSize": 16,
|
|
3472
3472
|
"fontWeight": "700",
|
|
3473
3473
|
},
|
|
@@ -44,7 +44,7 @@ exports[`HeightField (desktop/web path) snapshots matches snapshot with default
|
|
|
44
44
|
"style": {
|
|
45
45
|
"alignItems": "center",
|
|
46
46
|
"backgroundColor": "#FFFFFF",
|
|
47
|
-
"borderColor": "#
|
|
47
|
+
"borderColor": "#949494",
|
|
48
48
|
"borderRadius": 4,
|
|
49
49
|
"borderWidth": 1,
|
|
50
50
|
"flexDirection": "row",
|
|
@@ -130,7 +130,7 @@ exports[`HeightField (desktop/web path) snapshots matches snapshot with default
|
|
|
130
130
|
"style": {
|
|
131
131
|
"alignItems": "center",
|
|
132
132
|
"backgroundColor": "#FFFFFF",
|
|
133
|
-
"borderColor": "#
|
|
133
|
+
"borderColor": "#949494",
|
|
134
134
|
"borderRadius": 4,
|
|
135
135
|
"borderWidth": 1,
|
|
136
136
|
"flexDirection": "row",
|
|
@@ -248,7 +248,7 @@ exports[`HeightField (desktop/web path) snapshots matches snapshot with value 1`
|
|
|
248
248
|
"style": {
|
|
249
249
|
"alignItems": "center",
|
|
250
250
|
"backgroundColor": "#FFFFFF",
|
|
251
|
-
"borderColor": "#
|
|
251
|
+
"borderColor": "#949494",
|
|
252
252
|
"borderRadius": 4,
|
|
253
253
|
"borderWidth": 1,
|
|
254
254
|
"flexDirection": "row",
|
|
@@ -334,7 +334,7 @@ exports[`HeightField (desktop/web path) snapshots matches snapshot with value 1`
|
|
|
334
334
|
"style": {
|
|
335
335
|
"alignItems": "center",
|
|
336
336
|
"backgroundColor": "#FFFFFF",
|
|
337
|
-
"borderColor": "#
|
|
337
|
+
"borderColor": "#949494",
|
|
338
338
|
"borderRadius": 4,
|
|
339
339
|
"borderWidth": 1,
|
|
340
340
|
"flexDirection": "row",
|
|
@@ -451,7 +451,7 @@ exports[`HeightField (desktop/web path) snapshots matches snapshot when disabled
|
|
|
451
451
|
"props": {
|
|
452
452
|
"style": {
|
|
453
453
|
"alignItems": "center",
|
|
454
|
-
"backgroundColor": "#
|
|
454
|
+
"backgroundColor": "#CDCDCD",
|
|
455
455
|
"borderColor": "#4E4E4E",
|
|
456
456
|
"borderRadius": 4,
|
|
457
457
|
"borderWidth": 1,
|
|
@@ -537,7 +537,7 @@ exports[`HeightField (desktop/web path) snapshots matches snapshot when disabled
|
|
|
537
537
|
"props": {
|
|
538
538
|
"style": {
|
|
539
539
|
"alignItems": "center",
|
|
540
|
-
"backgroundColor": "#
|
|
540
|
+
"backgroundColor": "#CDCDCD",
|
|
541
541
|
"borderColor": "#4E4E4E",
|
|
542
542
|
"borderRadius": 4,
|
|
543
543
|
"borderWidth": 1,
|
|
@@ -141,7 +141,7 @@ exports[`InfoModalIcon opens modal when pressed 1`] = `
|
|
|
141
141
|
"style": {
|
|
142
142
|
"alignItems": "center",
|
|
143
143
|
"alignSelf": "center",
|
|
144
|
-
"backgroundColor": "#
|
|
144
|
+
"backgroundColor": "#949494",
|
|
145
145
|
"borderRadius": 5,
|
|
146
146
|
"height": 3,
|
|
147
147
|
"justifyContent": "center",
|
|
@@ -281,7 +281,7 @@ exports[`InfoModalIcon opens modal when pressed 1`] = `
|
|
|
281
281
|
],
|
|
282
282
|
"props": {
|
|
283
283
|
"style": {
|
|
284
|
-
"color": "#
|
|
284
|
+
"color": "#092E3A",
|
|
285
285
|
"fontSize": 16,
|
|
286
286
|
"fontWeight": "700",
|
|
287
287
|
},
|
|
@@ -1041,7 +1041,7 @@ exports[`MarkdownView renders code blocks 1`] = `
|
|
|
1041
1041
|
"lineHeight": 20,
|
|
1042
1042
|
},
|
|
1043
1043
|
{
|
|
1044
|
-
"backgroundColor": "#
|
|
1044
|
+
"backgroundColor": "#CDCDCD",
|
|
1045
1045
|
"borderColor": "#CDCDCD",
|
|
1046
1046
|
"borderRadius": 4,
|
|
1047
1047
|
"borderWidth": 1,
|
|
@@ -1109,7 +1109,7 @@ exports[`MarkdownView renders inline code 1`] = `
|
|
|
1109
1109
|
"lineHeight": 20,
|
|
1110
1110
|
},
|
|
1111
1111
|
{
|
|
1112
|
-
"backgroundColor": "#
|
|
1112
|
+
"backgroundColor": "#CDCDCD",
|
|
1113
1113
|
"borderColor": "#CDCDCD",
|
|
1114
1114
|
"borderRadius": 3,
|
|
1115
1115
|
"borderWidth": 1,
|
|
@@ -135,7 +135,7 @@ exports[`MobileAddressAutocomplete renders TextField fallback without Google API
|
|
|
135
135
|
"props": {
|
|
136
136
|
"style": {
|
|
137
137
|
"backgroundColor": "#FFFFFF",
|
|
138
|
-
"borderColor": "#
|
|
138
|
+
"borderColor": "#949494",
|
|
139
139
|
"borderRadius": 4,
|
|
140
140
|
"borderWidth": 1,
|
|
141
141
|
"flexDirection": "column",
|
|
@@ -23,7 +23,7 @@ exports[`Modal renders correctly when visible 1`] = `
|
|
|
23
23
|
"style": {
|
|
24
24
|
"alignItems": "center",
|
|
25
25
|
"alignSelf": "center",
|
|
26
|
-
"backgroundColor": "#
|
|
26
|
+
"backgroundColor": "#949494",
|
|
27
27
|
"borderRadius": 5,
|
|
28
28
|
"height": 3,
|
|
29
29
|
"justifyContent": "center",
|
|
@@ -209,7 +209,7 @@ exports[`Modal renders with both buttons 1`] = `
|
|
|
209
209
|
"style": {
|
|
210
210
|
"alignItems": "center",
|
|
211
211
|
"alignSelf": "center",
|
|
212
|
-
"backgroundColor": "#
|
|
212
|
+
"backgroundColor": "#949494",
|
|
213
213
|
"borderRadius": 5,
|
|
214
214
|
"height": 3,
|
|
215
215
|
"justifyContent": "center",
|
|
@@ -428,7 +428,7 @@ exports[`Modal renders with both buttons 1`] = `
|
|
|
428
428
|
],
|
|
429
429
|
"props": {
|
|
430
430
|
"style": {
|
|
431
|
-
"color": "#
|
|
431
|
+
"color": "#092E3A",
|
|
432
432
|
"fontSize": 16,
|
|
433
433
|
"fontWeight": "700",
|
|
434
434
|
},
|
|
@@ -544,7 +544,7 @@ exports[`Modal renders with disabled primary button 1`] = `
|
|
|
544
544
|
"style": {
|
|
545
545
|
"alignItems": "center",
|
|
546
546
|
"alignSelf": "center",
|
|
547
|
-
"backgroundColor": "#
|
|
547
|
+
"backgroundColor": "#949494",
|
|
548
548
|
"borderRadius": 5,
|
|
549
549
|
"height": 3,
|
|
550
550
|
"justifyContent": "center",
|
|
@@ -682,7 +682,7 @@ exports[`Modal renders with disabled primary button 1`] = `
|
|
|
682
682
|
],
|
|
683
683
|
"props": {
|
|
684
684
|
"style": {
|
|
685
|
-
"color": "#
|
|
685
|
+
"color": "#092E3A",
|
|
686
686
|
"fontSize": 16,
|
|
687
687
|
"fontWeight": "700",
|
|
688
688
|
},
|
|
@@ -720,7 +720,7 @@ exports[`Modal renders with disabled primary button 1`] = `
|
|
|
720
720
|
"style": {
|
|
721
721
|
"alignItems": "center",
|
|
722
722
|
"alignSelf": "flex-start",
|
|
723
|
-
"backgroundColor": "#
|
|
723
|
+
"backgroundColor": "#949494",
|
|
724
724
|
"borderColor": undefined,
|
|
725
725
|
"borderRadius": 360,
|
|
726
726
|
"borderWidth": undefined,
|
|
@@ -798,7 +798,7 @@ exports[`Modal renders with small size 1`] = `
|
|
|
798
798
|
"style": {
|
|
799
799
|
"alignItems": "center",
|
|
800
800
|
"alignSelf": "center",
|
|
801
|
-
"backgroundColor": "#
|
|
801
|
+
"backgroundColor": "#949494",
|
|
802
802
|
"borderRadius": 5,
|
|
803
803
|
"height": 3,
|
|
804
804
|
"justifyContent": "center",
|
|
@@ -982,7 +982,7 @@ exports[`Modal renders with medium size 1`] = `
|
|
|
982
982
|
"style": {
|
|
983
983
|
"alignItems": "center",
|
|
984
984
|
"alignSelf": "center",
|
|
985
|
-
"backgroundColor": "#
|
|
985
|
+
"backgroundColor": "#949494",
|
|
986
986
|
"borderRadius": 5,
|
|
987
987
|
"height": 3,
|
|
988
988
|
"justifyContent": "center",
|
|
@@ -1166,7 +1166,7 @@ exports[`Modal renders with large size 1`] = `
|
|
|
1166
1166
|
"style": {
|
|
1167
1167
|
"alignItems": "center",
|
|
1168
1168
|
"alignSelf": "center",
|
|
1169
|
-
"backgroundColor": "#
|
|
1169
|
+
"backgroundColor": "#949494",
|
|
1170
1170
|
"borderRadius": 5,
|
|
1171
1171
|
"height": 3,
|
|
1172
1172
|
"justifyContent": "center",
|
|
@@ -1350,7 +1350,7 @@ exports[`Modal renders with persistOnBackgroundClick 1`] = `
|
|
|
1350
1350
|
"style": {
|
|
1351
1351
|
"alignItems": "center",
|
|
1352
1352
|
"alignSelf": "center",
|
|
1353
|
-
"backgroundColor": "#
|
|
1353
|
+
"backgroundColor": "#949494",
|
|
1354
1354
|
"borderRadius": 5,
|
|
1355
1355
|
"height": 3,
|
|
1356
1356
|
"justifyContent": "center",
|
|
@@ -140,7 +140,7 @@ exports[`NumberPickerActionSheet renders correctly 1`] = `
|
|
|
140
140
|
],
|
|
141
141
|
"props": {
|
|
142
142
|
"style": {
|
|
143
|
-
"color": "#
|
|
143
|
+
"color": "#092E3A",
|
|
144
144
|
"fontSize": 16,
|
|
145
145
|
"fontWeight": "700",
|
|
146
146
|
},
|
|
@@ -1469,7 +1469,7 @@ exports[`NumberPickerActionSheet renders with different range 1`] = `
|
|
|
1469
1469
|
],
|
|
1470
1470
|
"props": {
|
|
1471
1471
|
"style": {
|
|
1472
|
-
"color": "#
|
|
1472
|
+
"color": "#092E3A",
|
|
1473
1473
|
"fontSize": 16,
|
|
1474
1474
|
"fontWeight": "700",
|
|
1475
1475
|
},
|
|
@@ -1206,7 +1206,7 @@ exports[`Page renders with footer 1`] = `
|
|
|
1206
1206
|
"onPointerLeave": [Function: AsyncFunction],
|
|
1207
1207
|
"style": {
|
|
1208
1208
|
"alignSelf": "center",
|
|
1209
|
-
"backgroundColor": "#
|
|
1209
|
+
"backgroundColor": "#CDCDCD",
|
|
1210
1210
|
"display": "flex",
|
|
1211
1211
|
"flex": undefined,
|
|
1212
1212
|
"flexDirection": "column",
|
|
@@ -68,7 +68,7 @@ exports[`PhoneNumberField renders correctly with default props 1`] = `
|
|
|
68
68
|
"props": {
|
|
69
69
|
"style": {
|
|
70
70
|
"backgroundColor": "#FFFFFF",
|
|
71
|
-
"borderColor": "#
|
|
71
|
+
"borderColor": "#949494",
|
|
72
72
|
"borderRadius": 4,
|
|
73
73
|
"borderWidth": 1,
|
|
74
74
|
"flexDirection": "column",
|
|
@@ -170,7 +170,7 @@ exports[`PhoneNumberField renders with icon 1`] = `
|
|
|
170
170
|
"props": {
|
|
171
171
|
"style": {
|
|
172
172
|
"backgroundColor": "#FFFFFF",
|
|
173
|
-
"borderColor": "#
|
|
173
|
+
"borderColor": "#949494",
|
|
174
174
|
"borderRadius": 4,
|
|
175
175
|
"borderWidth": 1,
|
|
176
176
|
"flexDirection": "column",
|
|
@@ -263,7 +263,7 @@ exports[`PhoneNumberField uses US as default country code 1`] = `
|
|
|
263
263
|
"props": {
|
|
264
264
|
"style": {
|
|
265
265
|
"backgroundColor": "#FFFFFF",
|
|
266
|
-
"borderColor": "#
|
|
266
|
+
"borderColor": "#949494",
|
|
267
267
|
"borderRadius": 4,
|
|
268
268
|
"borderWidth": 1,
|
|
269
269
|
"flexDirection": "column",
|
|
@@ -356,7 +356,7 @@ exports[`PhoneNumberField accepts custom country code 1`] = `
|
|
|
356
356
|
"props": {
|
|
357
357
|
"style": {
|
|
358
358
|
"backgroundColor": "#FFFFFF",
|
|
359
|
-
"borderColor": "#
|
|
359
|
+
"borderColor": "#949494",
|
|
360
360
|
"borderRadius": 4,
|
|
361
361
|
"borderWidth": 1,
|
|
362
362
|
"flexDirection": "column",
|
|
@@ -259,7 +259,7 @@ exports[`PickerSelect renders correctly with default props 1`] = `
|
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
"backgroundColor": "#FFFFFF",
|
|
262
|
-
"borderColor": "#
|
|
262
|
+
"borderColor": "#949494",
|
|
263
263
|
},
|
|
264
264
|
false,
|
|
265
265
|
],
|
|
@@ -528,7 +528,7 @@ exports[`PickerSelect renders with selected value 1`] = `
|
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
530
|
"backgroundColor": "#FFFFFF",
|
|
531
|
-
"borderColor": "#
|
|
531
|
+
"borderColor": "#949494",
|
|
532
532
|
},
|
|
533
533
|
false,
|
|
534
534
|
],
|
|
@@ -797,10 +797,10 @@ exports[`PickerSelect renders disabled state 1`] = `
|
|
|
797
797
|
},
|
|
798
798
|
{
|
|
799
799
|
"backgroundColor": "#FFFFFF",
|
|
800
|
-
"borderColor": "#
|
|
800
|
+
"borderColor": "#949494",
|
|
801
801
|
},
|
|
802
802
|
{
|
|
803
|
-
"backgroundColor": "#
|
|
803
|
+
"backgroundColor": "#CDCDCD",
|
|
804
804
|
},
|
|
805
805
|
],
|
|
806
806
|
"testID": undefined,
|
|
@@ -1058,7 +1058,7 @@ exports[`PickerSelect renders without placeholder when placeholder is empty obje
|
|
|
1058
1058
|
},
|
|
1059
1059
|
{
|
|
1060
1060
|
"backgroundColor": "#FFFFFF",
|
|
1061
|
-
"borderColor": "#
|
|
1061
|
+
"borderColor": "#949494",
|
|
1062
1062
|
},
|
|
1063
1063
|
false,
|
|
1064
1064
|
],
|
|
@@ -1317,7 +1317,7 @@ exports[`PickerSelect matches items by itemKey 1`] = `
|
|
|
1317
1317
|
},
|
|
1318
1318
|
{
|
|
1319
1319
|
"backgroundColor": "#FFFFFF",
|
|
1320
|
-
"borderColor": "#
|
|
1320
|
+
"borderColor": "#949494",
|
|
1321
1321
|
},
|
|
1322
1322
|
false,
|
|
1323
1323
|
],
|
|
@@ -1506,7 +1506,7 @@ exports[`PickerSelect renders custom InputAccessoryView 1`] = `
|
|
|
1506
1506
|
},
|
|
1507
1507
|
{
|
|
1508
1508
|
"backgroundColor": "#FFFFFF",
|
|
1509
|
-
"borderColor": "#
|
|
1509
|
+
"borderColor": "#949494",
|
|
1510
1510
|
},
|
|
1511
1511
|
false,
|
|
1512
1512
|
],
|
|
@@ -1776,7 +1776,7 @@ exports[`PickerSelect passes textInputProps to TextInput 1`] = `
|
|
|
1776
1776
|
},
|
|
1777
1777
|
{
|
|
1778
1778
|
"backgroundColor": "#FFFFFF",
|
|
1779
|
-
"borderColor": "#
|
|
1779
|
+
"borderColor": "#949494",
|
|
1780
1780
|
},
|
|
1781
1781
|
false,
|
|
1782
1782
|
],
|
|
@@ -8,7 +8,7 @@ exports[`SectionDivider renders correctly 1`] = `
|
|
|
8
8
|
"accessibilityRole": "none",
|
|
9
9
|
"aria-hidden": true,
|
|
10
10
|
"style": {
|
|
11
|
-
"backgroundColor": "#
|
|
11
|
+
"backgroundColor": "#949494",
|
|
12
12
|
"height": 1,
|
|
13
13
|
"width": "100%",
|
|
14
14
|
},
|
|
@@ -26,7 +26,7 @@ exports[`SectionDivider is hidden from accessibility 1`] = `
|
|
|
26
26
|
"accessibilityRole": "none",
|
|
27
27
|
"aria-hidden": true,
|
|
28
28
|
"style": {
|
|
29
|
-
"backgroundColor": "#
|
|
29
|
+
"backgroundColor": "#949494",
|
|
30
30
|
"height": 1,
|
|
31
31
|
"width": "100%",
|
|
32
32
|
},
|
|
@@ -528,6 +528,189 @@ exports[`SegmentedControl renders with medium size (default) 1`] = `
|
|
|
528
528
|
}
|
|
529
529
|
`;
|
|
530
530
|
|
|
531
|
+
exports[`SegmentedControl renders a compact control that hugs its labels 1`] = `
|
|
532
|
+
{
|
|
533
|
+
"$$typeof": Symbol(react.test.json),
|
|
534
|
+
"children": [
|
|
535
|
+
{
|
|
536
|
+
"$$typeof": Symbol(react.test.json),
|
|
537
|
+
"children": [
|
|
538
|
+
{
|
|
539
|
+
"$$typeof": Symbol(react.test.json),
|
|
540
|
+
"children": [
|
|
541
|
+
{
|
|
542
|
+
"$$typeof": Symbol(react.test.json),
|
|
543
|
+
"children": [
|
|
544
|
+
{
|
|
545
|
+
"$$typeof": Symbol(react.test.json),
|
|
546
|
+
"children": [
|
|
547
|
+
"Tab 1",
|
|
548
|
+
],
|
|
549
|
+
"props": {
|
|
550
|
+
"numberOfLines": 0,
|
|
551
|
+
"selectable": undefined,
|
|
552
|
+
"style": {
|
|
553
|
+
"color": "#1C1C1C",
|
|
554
|
+
"fontFamily": "text-regular",
|
|
555
|
+
"fontSize": 10,
|
|
556
|
+
"textAlign": "left",
|
|
557
|
+
},
|
|
558
|
+
"testID": undefined,
|
|
559
|
+
},
|
|
560
|
+
"type": "Text",
|
|
561
|
+
},
|
|
562
|
+
],
|
|
563
|
+
"props": {
|
|
564
|
+
"aria-role": "button",
|
|
565
|
+
"onPress": [Function],
|
|
566
|
+
"style": {
|
|
567
|
+
"alignItems": "center",
|
|
568
|
+
"backgroundColor": "#FFFFFF",
|
|
569
|
+
"borderRadius": 360,
|
|
570
|
+
"display": "flex",
|
|
571
|
+
"flexBasis": "auto",
|
|
572
|
+
"flexDirection": "row",
|
|
573
|
+
"flexGrow": 0,
|
|
574
|
+
"gap": 8,
|
|
575
|
+
"height": "100%",
|
|
576
|
+
"justifyContent": "center",
|
|
577
|
+
"overflow": "hidden",
|
|
578
|
+
"paddingHorizontal": 12,
|
|
579
|
+
},
|
|
580
|
+
},
|
|
581
|
+
"type": "Pressable",
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"$$typeof": Symbol(react.test.json),
|
|
585
|
+
"children": [
|
|
586
|
+
{
|
|
587
|
+
"$$typeof": Symbol(react.test.json),
|
|
588
|
+
"children": [
|
|
589
|
+
"Tab 2",
|
|
590
|
+
],
|
|
591
|
+
"props": {
|
|
592
|
+
"numberOfLines": 0,
|
|
593
|
+
"selectable": undefined,
|
|
594
|
+
"style": {
|
|
595
|
+
"color": "#1C1C1C",
|
|
596
|
+
"fontFamily": "text-regular",
|
|
597
|
+
"fontSize": 10,
|
|
598
|
+
"textAlign": "left",
|
|
599
|
+
},
|
|
600
|
+
"testID": undefined,
|
|
601
|
+
},
|
|
602
|
+
"type": "Text",
|
|
603
|
+
},
|
|
604
|
+
],
|
|
605
|
+
"props": {
|
|
606
|
+
"aria-role": "button",
|
|
607
|
+
"onPress": [Function],
|
|
608
|
+
"style": {
|
|
609
|
+
"alignItems": "center",
|
|
610
|
+
"backgroundColor": undefined,
|
|
611
|
+
"borderRadius": 360,
|
|
612
|
+
"display": "flex",
|
|
613
|
+
"flexBasis": "auto",
|
|
614
|
+
"flexDirection": "row",
|
|
615
|
+
"flexGrow": 0,
|
|
616
|
+
"gap": 8,
|
|
617
|
+
"height": "100%",
|
|
618
|
+
"justifyContent": "center",
|
|
619
|
+
"overflow": "hidden",
|
|
620
|
+
"paddingHorizontal": 12,
|
|
621
|
+
},
|
|
622
|
+
},
|
|
623
|
+
"type": "Pressable",
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"$$typeof": Symbol(react.test.json),
|
|
627
|
+
"children": [
|
|
628
|
+
{
|
|
629
|
+
"$$typeof": Symbol(react.test.json),
|
|
630
|
+
"children": [
|
|
631
|
+
"Tab 3",
|
|
632
|
+
],
|
|
633
|
+
"props": {
|
|
634
|
+
"numberOfLines": 0,
|
|
635
|
+
"selectable": undefined,
|
|
636
|
+
"style": {
|
|
637
|
+
"color": "#1C1C1C",
|
|
638
|
+
"fontFamily": "text-regular",
|
|
639
|
+
"fontSize": 10,
|
|
640
|
+
"textAlign": "left",
|
|
641
|
+
},
|
|
642
|
+
"testID": undefined,
|
|
643
|
+
},
|
|
644
|
+
"type": "Text",
|
|
645
|
+
},
|
|
646
|
+
],
|
|
647
|
+
"props": {
|
|
648
|
+
"aria-role": "button",
|
|
649
|
+
"onPress": [Function],
|
|
650
|
+
"style": {
|
|
651
|
+
"alignItems": "center",
|
|
652
|
+
"backgroundColor": undefined,
|
|
653
|
+
"borderRadius": 360,
|
|
654
|
+
"display": "flex",
|
|
655
|
+
"flexBasis": "auto",
|
|
656
|
+
"flexDirection": "row",
|
|
657
|
+
"flexGrow": 0,
|
|
658
|
+
"gap": 8,
|
|
659
|
+
"height": "100%",
|
|
660
|
+
"justifyContent": "center",
|
|
661
|
+
"overflow": "hidden",
|
|
662
|
+
"paddingHorizontal": 12,
|
|
663
|
+
},
|
|
664
|
+
},
|
|
665
|
+
"type": "Pressable",
|
|
666
|
+
},
|
|
667
|
+
],
|
|
668
|
+
"props": {
|
|
669
|
+
"style": {
|
|
670
|
+
"display": "flex",
|
|
671
|
+
"flexDirection": "row",
|
|
672
|
+
"flexGrow": 0,
|
|
673
|
+
"gap": 4,
|
|
674
|
+
"height": 24,
|
|
675
|
+
"paddingHorizontal": 2,
|
|
676
|
+
},
|
|
677
|
+
"testID": undefined,
|
|
678
|
+
},
|
|
679
|
+
"type": "View",
|
|
680
|
+
},
|
|
681
|
+
],
|
|
682
|
+
"props": {
|
|
683
|
+
"style": {
|
|
684
|
+
"alignItems": "center",
|
|
685
|
+
"alignSelf": "flex-start",
|
|
686
|
+
"backgroundColor": "#CDCDCD",
|
|
687
|
+
"borderRadius": 360,
|
|
688
|
+
"display": "flex",
|
|
689
|
+
"flexDirection": "row",
|
|
690
|
+
"flexGrow": 0,
|
|
691
|
+
"flexShrink": 1,
|
|
692
|
+
"height": 28,
|
|
693
|
+
"maxHeight": 28,
|
|
694
|
+
"overflow": "hidden",
|
|
695
|
+
},
|
|
696
|
+
"testID": undefined,
|
|
697
|
+
},
|
|
698
|
+
"type": "View",
|
|
699
|
+
},
|
|
700
|
+
],
|
|
701
|
+
"props": {
|
|
702
|
+
"style": {
|
|
703
|
+
"alignItems": "center",
|
|
704
|
+
"display": "flex",
|
|
705
|
+
"flexDirection": "row",
|
|
706
|
+
"gap": 8,
|
|
707
|
+
},
|
|
708
|
+
"testID": undefined,
|
|
709
|
+
},
|
|
710
|
+
"type": "View",
|
|
711
|
+
}
|
|
712
|
+
`;
|
|
713
|
+
|
|
531
714
|
exports[`SegmentedControl renders with large size 1`] = `
|
|
532
715
|
{
|
|
533
716
|
"$$typeof": Symbol(react.test.json),
|