@terreno/ui 0.20.1 → 0.21.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.
@@ -1190,9 +1190,11 @@ exports[`Field renders time field 1`] = `
1190
1190
  "$$typeof": Symbol(react.test.json),
1191
1191
  "children": null,
1192
1192
  "props": {
1193
- "readOnly": true,
1193
+ "editable": false,
1194
+ "multiline": true,
1194
1195
  "style": {
1195
1196
  "color": "#1C1C1C",
1197
+ "flex": 1,
1196
1198
  },
1197
1199
  "testID": "text_input",
1198
1200
  "value": "am",
@@ -1213,8 +1215,8 @@ exports[`Field renders time field 1`] = `
1213
1215
  ],
1214
1216
  "props": {
1215
1217
  "style": {
1218
+ "alignItems": "center",
1216
1219
  "flexDirection": "row",
1217
- "justifyContent": "space-between",
1218
1220
  "pointerEvents": "box-only",
1219
1221
  "width": "100%",
1220
1222
  },
@@ -1224,13 +1226,15 @@ exports[`Field renders time field 1`] = `
1224
1226
  },
1225
1227
  ],
1226
1228
  "props": {
1229
+ "disabled": false,
1227
1230
  "onPress": [Function],
1228
1231
  "style": {
1229
1232
  "alignItems": "center",
1230
1233
  "flexDirection": "row",
1231
1234
  "justifyContent": "center",
1232
1235
  "minHeight": 40,
1233
- "width": "95%",
1236
+ "paddingHorizontal": 8,
1237
+ "width": "100%",
1234
1238
  },
1235
1239
  "testID": "ios_touchable_wrapper",
1236
1240
  },
@@ -1461,9 +1465,11 @@ exports[`Field renders time field 1`] = `
1461
1465
  "$$typeof": Symbol(react.test.json),
1462
1466
  "children": null,
1463
1467
  "props": {
1464
- "readOnly": true,
1468
+ "editable": false,
1469
+ "multiline": true,
1465
1470
  "style": {
1466
1471
  "color": "#1C1C1C",
1472
+ "flex": 1,
1467
1473
  },
1468
1474
  "testID": "text_input",
1469
1475
  "value": "EDT",
@@ -1484,8 +1490,8 @@ exports[`Field renders time field 1`] = `
1484
1490
  ],
1485
1491
  "props": {
1486
1492
  "style": {
1493
+ "alignItems": "center",
1487
1494
  "flexDirection": "row",
1488
- "justifyContent": "space-between",
1489
1495
  "pointerEvents": "box-only",
1490
1496
  "width": "100%",
1491
1497
  },
@@ -1495,13 +1501,15 @@ exports[`Field renders time field 1`] = `
1495
1501
  },
1496
1502
  ],
1497
1503
  "props": {
1504
+ "disabled": false,
1498
1505
  "onPress": [Function],
1499
1506
  "style": {
1500
1507
  "alignItems": "center",
1501
1508
  "flexDirection": "row",
1502
1509
  "justifyContent": "center",
1503
1510
  "minHeight": 40,
1504
- "width": "95%",
1511
+ "paddingHorizontal": 8,
1512
+ "width": "100%",
1505
1513
  },
1506
1514
  "testID": "ios_touchable_wrapper",
1507
1515
  },
@@ -2187,9 +2195,11 @@ exports[`Field renders datetime field 1`] = `
2187
2195
  "$$typeof": Symbol(react.test.json),
2188
2196
  "children": null,
2189
2197
  "props": {
2190
- "readOnly": true,
2198
+ "editable": false,
2199
+ "multiline": true,
2191
2200
  "style": {
2192
2201
  "color": "#1C1C1C",
2202
+ "flex": 1,
2193
2203
  },
2194
2204
  "testID": "text_input",
2195
2205
  "value": "am",
@@ -2210,8 +2220,8 @@ exports[`Field renders datetime field 1`] = `
2210
2220
  ],
2211
2221
  "props": {
2212
2222
  "style": {
2223
+ "alignItems": "center",
2213
2224
  "flexDirection": "row",
2214
- "justifyContent": "space-between",
2215
2225
  "pointerEvents": "box-only",
2216
2226
  "width": "100%",
2217
2227
  },
@@ -2221,13 +2231,15 @@ exports[`Field renders datetime field 1`] = `
2221
2231
  },
2222
2232
  ],
2223
2233
  "props": {
2234
+ "disabled": false,
2224
2235
  "onPress": [Function],
2225
2236
  "style": {
2226
2237
  "alignItems": "center",
2227
2238
  "flexDirection": "row",
2228
2239
  "justifyContent": "center",
2229
2240
  "minHeight": 40,
2230
- "width": "95%",
2241
+ "paddingHorizontal": 8,
2242
+ "width": "100%",
2231
2243
  },
2232
2244
  "testID": "ios_touchable_wrapper",
2233
2245
  },
@@ -2458,9 +2470,11 @@ exports[`Field renders datetime field 1`] = `
2458
2470
  "$$typeof": Symbol(react.test.json),
2459
2471
  "children": null,
2460
2472
  "props": {
2461
- "readOnly": true,
2473
+ "editable": false,
2474
+ "multiline": true,
2462
2475
  "style": {
2463
2476
  "color": "#1C1C1C",
2477
+ "flex": 1,
2464
2478
  },
2465
2479
  "testID": "text_input",
2466
2480
  "value": "EDT",
@@ -2481,8 +2495,8 @@ exports[`Field renders datetime field 1`] = `
2481
2495
  ],
2482
2496
  "props": {
2483
2497
  "style": {
2498
+ "alignItems": "center",
2484
2499
  "flexDirection": "row",
2485
- "justifyContent": "space-between",
2486
2500
  "pointerEvents": "box-only",
2487
2501
  "width": "100%",
2488
2502
  },
@@ -2492,13 +2506,15 @@ exports[`Field renders datetime field 1`] = `
2492
2506
  },
2493
2507
  ],
2494
2508
  "props": {
2509
+ "disabled": false,
2495
2510
  "onPress": [Function],
2496
2511
  "style": {
2497
2512
  "alignItems": "center",
2498
2513
  "flexDirection": "row",
2499
2514
  "justifyContent": "center",
2500
2515
  "minHeight": 40,
2501
- "width": "95%",
2516
+ "paddingHorizontal": 8,
2517
+ "width": "100%",
2502
2518
  },
2503
2519
  "testID": "ios_touchable_wrapper",
2504
2520
  },
@@ -2830,9 +2846,11 @@ exports[`Field renders select field 1`] = `
2830
2846
  "$$typeof": Symbol(react.test.json),
2831
2847
  "children": null,
2832
2848
  "props": {
2833
- "readOnly": true,
2849
+ "editable": false,
2850
+ "multiline": true,
2834
2851
  "style": {
2835
2852
  "color": "#1C1C1C",
2853
+ "flex": 1,
2836
2854
  },
2837
2855
  "testID": "text_input",
2838
2856
  "value": "Please select an option.",
@@ -2853,8 +2871,8 @@ exports[`Field renders select field 1`] = `
2853
2871
  ],
2854
2872
  "props": {
2855
2873
  "style": {
2874
+ "alignItems": "center",
2856
2875
  "flexDirection": "row",
2857
- "justifyContent": "space-between",
2858
2876
  "pointerEvents": "box-only",
2859
2877
  "width": "100%",
2860
2878
  },
@@ -2864,13 +2882,15 @@ exports[`Field renders select field 1`] = `
2864
2882
  },
2865
2883
  ],
2866
2884
  "props": {
2885
+ "disabled": false,
2867
2886
  "onPress": [Function],
2868
2887
  "style": {
2869
2888
  "alignItems": "center",
2870
2889
  "flexDirection": "row",
2871
2890
  "justifyContent": "center",
2872
2891
  "minHeight": 40,
2873
- "width": "95%",
2892
+ "paddingHorizontal": 8,
2893
+ "width": "100%",
2874
2894
  },
2875
2895
  "testID": "ios_touchable_wrapper",
2876
2896
  },
@@ -3708,9 +3728,11 @@ exports[`Field renders address field 1`] = `
3708
3728
  "$$typeof": Symbol(react.test.json),
3709
3729
  "children": null,
3710
3730
  "props": {
3711
- "readOnly": true,
3731
+ "editable": false,
3732
+ "multiline": true,
3712
3733
  "style": {
3713
3734
  "color": "#1C1C1C",
3735
+ "flex": 1,
3714
3736
  },
3715
3737
  "testID": "text_input",
3716
3738
  "value": "Please select an option.",
@@ -3731,8 +3753,8 @@ exports[`Field renders address field 1`] = `
3731
3753
  ],
3732
3754
  "props": {
3733
3755
  "style": {
3756
+ "alignItems": "center",
3734
3757
  "flexDirection": "row",
3735
- "justifyContent": "space-between",
3736
3758
  "pointerEvents": "box-only",
3737
3759
  "width": "100%",
3738
3760
  },
@@ -3742,13 +3764,15 @@ exports[`Field renders address field 1`] = `
3742
3764
  },
3743
3765
  ],
3744
3766
  "props": {
3767
+ "disabled": false,
3745
3768
  "onPress": [Function],
3746
3769
  "style": {
3747
3770
  "alignItems": "center",
3748
3771
  "flexDirection": "row",
3749
3772
  "justifyContent": "center",
3750
3773
  "minHeight": 40,
3751
- "width": "95%",
3774
+ "paddingHorizontal": 8,
3775
+ "width": "100%",
3752
3776
  },
3753
3777
  "testID": "ios_touchable_wrapper",
3754
3778
  },
@@ -4690,9 +4714,11 @@ exports[`Field renders customSelect field 1`] = `
4690
4714
  "$$typeof": Symbol(react.test.json),
4691
4715
  "children": null,
4692
4716
  "props": {
4693
- "readOnly": true,
4717
+ "editable": false,
4718
+ "multiline": true,
4694
4719
  "style": {
4695
4720
  "color": "#1C1C1C",
4721
+ "flex": 1,
4696
4722
  },
4697
4723
  "testID": "text_input",
4698
4724
  "value": "Option A",
@@ -4713,8 +4739,8 @@ exports[`Field renders customSelect field 1`] = `
4713
4739
  ],
4714
4740
  "props": {
4715
4741
  "style": {
4742
+ "alignItems": "center",
4716
4743
  "flexDirection": "row",
4717
- "justifyContent": "space-between",
4718
4744
  "pointerEvents": "box-only",
4719
4745
  "width": "100%",
4720
4746
  },
@@ -4724,13 +4750,15 @@ exports[`Field renders customSelect field 1`] = `
4724
4750
  },
4725
4751
  ],
4726
4752
  "props": {
4753
+ "disabled": false,
4727
4754
  "onPress": [Function],
4728
4755
  "style": {
4729
4756
  "alignItems": "center",
4730
4757
  "flexDirection": "row",
4731
4758
  "justifyContent": "center",
4732
4759
  "minHeight": 40,
4733
- "width": "95%",
4760
+ "paddingHorizontal": 8,
4761
+ "width": "100%",
4734
4762
  },
4735
4763
  "testID": "ios_touchable_wrapper",
4736
4764
  },
@@ -14,9 +14,11 @@ exports[`PickerSelect renders correctly with default props 1`] = `
14
14
  "$$typeof": Symbol(react.test.json),
15
15
  "children": null,
16
16
  "props": {
17
- "readOnly": true,
17
+ "editable": false,
18
+ "multiline": true,
18
19
  "style": {
19
20
  "color": "#1C1C1C",
21
+ "flex": 1,
20
22
  },
21
23
  "testID": "text_input",
22
24
  "value": "Select an option",
@@ -37,8 +39,8 @@ exports[`PickerSelect renders correctly with default props 1`] = `
37
39
  ],
38
40
  "props": {
39
41
  "style": {
42
+ "alignItems": "center",
40
43
  "flexDirection": "row",
41
- "justifyContent": "space-between",
42
44
  "pointerEvents": "box-only",
43
45
  "width": "100%",
44
46
  },
@@ -48,13 +50,15 @@ exports[`PickerSelect renders correctly with default props 1`] = `
48
50
  },
49
51
  ],
50
52
  "props": {
53
+ "disabled": false,
51
54
  "onPress": [Function],
52
55
  "style": {
53
56
  "alignItems": "center",
54
57
  "flexDirection": "row",
55
58
  "justifyContent": "center",
56
59
  "minHeight": 40,
57
- "width": "95%",
60
+ "paddingHorizontal": 8,
61
+ "width": "100%",
58
62
  },
59
63
  "testID": "ios_touchable_wrapper",
60
64
  },
@@ -278,9 +282,11 @@ exports[`PickerSelect renders with selected value 1`] = `
278
282
  "$$typeof": Symbol(react.test.json),
279
283
  "children": null,
280
284
  "props": {
281
- "readOnly": true,
285
+ "editable": false,
286
+ "multiline": true,
282
287
  "style": {
283
288
  "color": "#1C1C1C",
289
+ "flex": 1,
284
290
  },
285
291
  "testID": "text_input",
286
292
  "value": "Option 2",
@@ -301,8 +307,8 @@ exports[`PickerSelect renders with selected value 1`] = `
301
307
  ],
302
308
  "props": {
303
309
  "style": {
310
+ "alignItems": "center",
304
311
  "flexDirection": "row",
305
- "justifyContent": "space-between",
306
312
  "pointerEvents": "box-only",
307
313
  "width": "100%",
308
314
  },
@@ -312,13 +318,15 @@ exports[`PickerSelect renders with selected value 1`] = `
312
318
  },
313
319
  ],
314
320
  "props": {
321
+ "disabled": false,
315
322
  "onPress": [Function],
316
323
  "style": {
317
324
  "alignItems": "center",
318
325
  "flexDirection": "row",
319
326
  "justifyContent": "center",
320
327
  "minHeight": 40,
321
- "width": "95%",
328
+ "paddingHorizontal": 8,
329
+ "width": "100%",
322
330
  },
323
331
  "testID": "ios_touchable_wrapper",
324
332
  },
@@ -540,17 +548,18 @@ exports[`PickerSelect renders disabled state 1`] = `
540
548
  "children": [
541
549
  {
542
550
  "$$typeof": Symbol(react.test.json),
543
- "children": [
544
- "Select an option",
545
- ],
551
+ "children": null,
546
552
  "props": {
553
+ "editable": false,
554
+ "multiline": true,
547
555
  "style": {
548
556
  "color": "#686868",
549
557
  "flex": 1,
550
558
  },
551
559
  "testID": "text_input",
560
+ "value": "Select an option",
552
561
  },
553
- "type": "Text",
562
+ "type": "TextInput",
554
563
  },
555
564
  {
556
565
  "$$typeof": Symbol(react.test.json),
@@ -566,8 +575,8 @@ exports[`PickerSelect renders disabled state 1`] = `
566
575
  ],
567
576
  "props": {
568
577
  "style": {
578
+ "alignItems": "center",
569
579
  "flexDirection": "row",
570
- "justifyContent": "space-between",
571
580
  "pointerEvents": "box-only",
572
581
  "width": "100%",
573
582
  },
@@ -577,13 +586,15 @@ exports[`PickerSelect renders disabled state 1`] = `
577
586
  },
578
587
  ],
579
588
  "props": {
589
+ "disabled": true,
580
590
  "onPress": [Function],
581
591
  "style": {
582
592
  "alignItems": "center",
583
593
  "flexDirection": "row",
584
594
  "justifyContent": "center",
585
595
  "minHeight": 40,
586
- "width": "95%",
596
+ "paddingHorizontal": 8,
597
+ "width": "100%",
587
598
  },
588
599
  "testID": "ios_touchable_wrapper",
589
600
  },
@@ -809,9 +820,11 @@ exports[`PickerSelect renders without placeholder when placeholder is empty obje
809
820
  "$$typeof": Symbol(react.test.json),
810
821
  "children": null,
811
822
  "props": {
812
- "readOnly": true,
823
+ "editable": false,
824
+ "multiline": true,
813
825
  "style": {
814
826
  "color": "#1C1C1C",
827
+ "flex": 1,
815
828
  },
816
829
  "testID": "text_input",
817
830
  "value": "Option 1",
@@ -832,8 +845,8 @@ exports[`PickerSelect renders without placeholder when placeholder is empty obje
832
845
  ],
833
846
  "props": {
834
847
  "style": {
848
+ "alignItems": "center",
835
849
  "flexDirection": "row",
836
- "justifyContent": "space-between",
837
850
  "pointerEvents": "box-only",
838
851
  "width": "100%",
839
852
  },
@@ -843,13 +856,15 @@ exports[`PickerSelect renders without placeholder when placeholder is empty obje
843
856
  },
844
857
  ],
845
858
  "props": {
859
+ "disabled": false,
846
860
  "onPress": [Function],
847
861
  "style": {
848
862
  "alignItems": "center",
849
863
  "flexDirection": "row",
850
864
  "justifyContent": "center",
851
865
  "minHeight": 40,
852
- "width": "95%",
866
+ "paddingHorizontal": 8,
867
+ "width": "100%",
853
868
  },
854
869
  "testID": "ios_touchable_wrapper",
855
870
  },
@@ -1063,9 +1078,11 @@ exports[`PickerSelect matches items by itemKey 1`] = `
1063
1078
  "$$typeof": Symbol(react.test.json),
1064
1079
  "children": null,
1065
1080
  "props": {
1066
- "readOnly": true,
1081
+ "editable": false,
1082
+ "multiline": true,
1067
1083
  "style": {
1068
1084
  "color": "#1C1C1C",
1085
+ "flex": 1,
1069
1086
  },
1070
1087
  "testID": "text_input",
1071
1088
  "value": "Option 2",
@@ -1086,8 +1103,8 @@ exports[`PickerSelect matches items by itemKey 1`] = `
1086
1103
  ],
1087
1104
  "props": {
1088
1105
  "style": {
1106
+ "alignItems": "center",
1089
1107
  "flexDirection": "row",
1090
- "justifyContent": "space-between",
1091
1108
  "pointerEvents": "box-only",
1092
1109
  "width": "100%",
1093
1110
  },
@@ -1097,13 +1114,15 @@ exports[`PickerSelect matches items by itemKey 1`] = `
1097
1114
  },
1098
1115
  ],
1099
1116
  "props": {
1117
+ "disabled": false,
1100
1118
  "onPress": [Function],
1101
1119
  "style": {
1102
1120
  "alignItems": "center",
1103
1121
  "flexDirection": "row",
1104
1122
  "justifyContent": "center",
1105
1123
  "minHeight": 40,
1106
- "width": "95%",
1124
+ "paddingHorizontal": 8,
1125
+ "width": "100%",
1107
1126
  },
1108
1127
  "testID": "ios_touchable_wrapper",
1109
1128
  },
@@ -1317,9 +1336,11 @@ exports[`PickerSelect renders custom InputAccessoryView 1`] = `
1317
1336
  "$$typeof": Symbol(react.test.json),
1318
1337
  "children": null,
1319
1338
  "props": {
1320
- "readOnly": true,
1339
+ "editable": false,
1340
+ "multiline": true,
1321
1341
  "style": {
1322
1342
  "color": "#1C1C1C",
1343
+ "flex": 1,
1323
1344
  },
1324
1345
  "testID": "text_input",
1325
1346
  "value": "Select an option",
@@ -1340,8 +1361,8 @@ exports[`PickerSelect renders custom InputAccessoryView 1`] = `
1340
1361
  ],
1341
1362
  "props": {
1342
1363
  "style": {
1364
+ "alignItems": "center",
1343
1365
  "flexDirection": "row",
1344
- "justifyContent": "space-between",
1345
1366
  "pointerEvents": "box-only",
1346
1367
  "width": "100%",
1347
1368
  },
@@ -1351,13 +1372,15 @@ exports[`PickerSelect renders custom InputAccessoryView 1`] = `
1351
1372
  },
1352
1373
  ],
1353
1374
  "props": {
1375
+ "disabled": false,
1354
1376
  "onPress": [Function],
1355
1377
  "style": {
1356
1378
  "alignItems": "center",
1357
1379
  "flexDirection": "row",
1358
1380
  "justifyContent": "center",
1359
1381
  "minHeight": 40,
1360
- "width": "95%",
1382
+ "paddingHorizontal": 8,
1383
+ "width": "100%",
1361
1384
  },
1362
1385
  "testID": "ios_touchable_wrapper",
1363
1386
  },
@@ -1501,10 +1524,12 @@ exports[`PickerSelect passes textInputProps to TextInput 1`] = `
1501
1524
  "$$typeof": Symbol(react.test.json),
1502
1525
  "children": null,
1503
1526
  "props": {
1527
+ "editable": false,
1528
+ "multiline": true,
1504
1529
  "placeholder": "Custom placeholder",
1505
- "readOnly": true,
1506
1530
  "style": {
1507
1531
  "color": "#1C1C1C",
1532
+ "flex": 1,
1508
1533
  },
1509
1534
  "testID": "text_input",
1510
1535
  "value": "Option 1",
@@ -1525,8 +1550,8 @@ exports[`PickerSelect passes textInputProps to TextInput 1`] = `
1525
1550
  ],
1526
1551
  "props": {
1527
1552
  "style": {
1553
+ "alignItems": "center",
1528
1554
  "flexDirection": "row",
1529
- "justifyContent": "space-between",
1530
1555
  "pointerEvents": "box-only",
1531
1556
  "width": "100%",
1532
1557
  },
@@ -1536,13 +1561,15 @@ exports[`PickerSelect passes textInputProps to TextInput 1`] = `
1536
1561
  },
1537
1562
  ],
1538
1563
  "props": {
1564
+ "disabled": false,
1539
1565
  "onPress": [Function],
1540
1566
  "style": {
1541
1567
  "alignItems": "center",
1542
1568
  "flexDirection": "row",
1543
1569
  "justifyContent": "center",
1544
1570
  "minHeight": 40,
1545
- "width": "95%",
1571
+ "paddingHorizontal": 8,
1572
+ "width": "100%",
1546
1573
  },
1547
1574
  "testID": "ios_touchable_wrapper",
1548
1575
  },
@@ -762,17 +762,16 @@ exports[`SegmentedControl renders with badges 1`] = `
762
762
  "backgroundColor": "#2B6072",
763
763
  "borderRadius": 360,
764
764
  "flexDirection": "row",
765
- "height": "auto",
765
+ "height": 20,
766
766
  "justifyContent": "center",
767
767
  "paddingHorizontal": 8,
768
- "paddingVertical": 4,
768
+ "paddingVertical": 0,
769
769
  "width": "auto",
770
770
  },
771
771
  {
772
772
  "minWidth": 20,
773
773
  },
774
774
  false,
775
- false,
776
775
  ],
777
776
  "testID": undefined,
778
777
  },
@@ -856,17 +855,16 @@ exports[`SegmentedControl renders with badges 1`] = `
856
855
  "backgroundColor": "#F36719",
857
856
  "borderRadius": 360,
858
857
  "flexDirection": "row",
859
- "height": "auto",
858
+ "height": 20,
860
859
  "justifyContent": "center",
861
860
  "paddingHorizontal": 8,
862
- "paddingVertical": 4,
861
+ "paddingVertical": 0,
863
862
  "width": "auto",
864
863
  },
865
864
  {
866
865
  "minWidth": 20,
867
866
  },
868
867
  false,
869
- false,
870
868
  ],
871
869
  "testID": undefined,
872
870
  },
@@ -950,17 +948,16 @@ exports[`SegmentedControl renders with badges 1`] = `
950
948
  "backgroundColor": "#BD1111",
951
949
  "borderRadius": 360,
952
950
  "flexDirection": "row",
953
- "height": "auto",
951
+ "height": 20,
954
952
  "justifyContent": "center",
955
953
  "paddingHorizontal": 8,
956
- "paddingVertical": 4,
954
+ "paddingVertical": 0,
957
955
  "width": "auto",
958
956
  },
959
957
  {
960
958
  "minWidth": 20,
961
959
  },
962
960
  false,
963
- false,
964
961
  ],
965
962
  "testID": undefined,
966
963
  },