@hero-design/rn 8.42.3 → 8.43.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +11 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +670 -499
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +1109 -937
- package/package.json +7 -7
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +197 -211
- package/src/components/BottomSheet/index.tsx +1 -1
- package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -10
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +0 -20
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +0 -70
- package/src/components/Button/StyledButton.tsx +4 -0
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +16 -42
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +10 -0
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
- package/src/components/Carousel/__tests__/index.spec.tsx +8 -10
- package/src/components/Chip/StyledChip.tsx +121 -0
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +943 -0
- package/src/components/Chip/__tests__/index.spec.tsx +136 -0
- package/src/components/Chip/index.tsx +82 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +12 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +417 -399
- package/src/components/Error/__tests__/index.spec.tsx +9 -6
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +1 -0
- package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +8 -10
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +367 -451
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -10
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +357 -419
- package/src/components/Success/__tests__/index.spec.tsx +9 -6
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +19 -23
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +417 -399
- package/src/index.ts +2 -0
- package/src/testHelpers/renderWithTheme.tsx +1 -7
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +38 -1
- package/src/theme/components/button.ts +0 -1
- package/src/theme/components/chip.ts +47 -0
- package/src/theme/getTheme.ts +3 -0
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -3
- package/types/components/Chip/StyledChip.d.ts +31 -0
- package/types/components/Chip/index.d.ts +26 -0
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/index.d.ts +2 -1
- package/types/theme/components/button.d.ts +0 -1
- package/types/theme/components/chip.d.ts +40 -0
- package/types/theme/getTheme.d.ts +2 -0
- package/.turbo/turbo-publish:npm.log +0 -0
|
@@ -222,37 +222,11 @@ exports[`rendering allows custom renderer 1`] = `
|
|
|
222
222
|
</View>
|
|
223
223
|
</View>
|
|
224
224
|
</View>,
|
|
225
|
-
<
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
"bottom": 0,
|
|
231
|
-
"left": 0,
|
|
232
|
-
"opacity": 0.4,
|
|
233
|
-
"position": "absolute",
|
|
234
|
-
"right": 0,
|
|
235
|
-
"top": 0,
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
/>,
|
|
239
|
-
<View
|
|
240
|
-
collapsable={false}
|
|
241
|
-
style={
|
|
242
|
-
{
|
|
243
|
-
"bottom": 0,
|
|
244
|
-
"left": 0,
|
|
245
|
-
"opacity": 1,
|
|
246
|
-
"position": "absolute",
|
|
247
|
-
"right": 0,
|
|
248
|
-
"top": 0,
|
|
249
|
-
"transform": [
|
|
250
|
-
{
|
|
251
|
-
"translateY": 0,
|
|
252
|
-
},
|
|
253
|
-
],
|
|
254
|
-
}
|
|
255
|
-
}
|
|
225
|
+
<Modal
|
|
226
|
+
hardwareAccelerated={false}
|
|
227
|
+
onRequestClose={[Function]}
|
|
228
|
+
transparent={true}
|
|
229
|
+
visible={true}
|
|
256
230
|
>
|
|
257
231
|
<View
|
|
258
232
|
pointerEvents="box-none"
|
|
@@ -1336,55 +1310,42 @@ exports[`rendering allows custom renderer 1`] = `
|
|
|
1336
1310
|
</RCTSafeAreaView>
|
|
1337
1311
|
</View>
|
|
1338
1312
|
</View>
|
|
1339
|
-
</
|
|
1313
|
+
</Modal>,
|
|
1340
1314
|
]
|
|
1341
1315
|
`;
|
|
1342
1316
|
|
|
1343
1317
|
exports[`rendering renders correctly when bottom sheet is NOT visible 1`] = `
|
|
1344
|
-
|
|
1345
|
-
pointerEvents="auto"
|
|
1346
|
-
>
|
|
1318
|
+
[
|
|
1347
1319
|
<View
|
|
1348
|
-
|
|
1349
|
-
collapsable={false}
|
|
1350
|
-
focusable={true}
|
|
1351
|
-
onClick={[Function]}
|
|
1352
|
-
onResponderGrant={[Function]}
|
|
1353
|
-
onResponderMove={[Function]}
|
|
1354
|
-
onResponderRelease={[Function]}
|
|
1355
|
-
onResponderTerminate={[Function]}
|
|
1356
|
-
onResponderTerminationRequest={[Function]}
|
|
1357
|
-
onStartShouldSetResponder={[Function]}
|
|
1358
|
-
style={
|
|
1359
|
-
{
|
|
1360
|
-
"opacity": 1,
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1320
|
+
pointerEvents="auto"
|
|
1363
1321
|
>
|
|
1364
1322
|
<View
|
|
1365
|
-
|
|
1323
|
+
accessible={true}
|
|
1324
|
+
collapsable={false}
|
|
1325
|
+
focusable={true}
|
|
1326
|
+
onClick={[Function]}
|
|
1327
|
+
onResponderGrant={[Function]}
|
|
1328
|
+
onResponderMove={[Function]}
|
|
1329
|
+
onResponderRelease={[Function]}
|
|
1330
|
+
onResponderTerminate={[Function]}
|
|
1331
|
+
onResponderTerminationRequest={[Function]}
|
|
1332
|
+
onStartShouldSetResponder={[Function]}
|
|
1333
|
+
style={
|
|
1334
|
+
{
|
|
1335
|
+
"opacity": 1,
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1366
1338
|
>
|
|
1367
1339
|
<View
|
|
1368
|
-
pointerEvents="
|
|
1369
|
-
style={
|
|
1370
|
-
[
|
|
1371
|
-
{
|
|
1372
|
-
"marginTop": 8,
|
|
1373
|
-
"width": "100%",
|
|
1374
|
-
},
|
|
1375
|
-
undefined,
|
|
1376
|
-
]
|
|
1377
|
-
}
|
|
1340
|
+
pointerEvents="none"
|
|
1378
1341
|
>
|
|
1379
1342
|
<View
|
|
1343
|
+
pointerEvents="auto"
|
|
1380
1344
|
style={
|
|
1381
1345
|
[
|
|
1382
1346
|
{
|
|
1383
|
-
"
|
|
1384
|
-
"
|
|
1385
|
-
"borderRadius": 8,
|
|
1386
|
-
"flexDirection": "row",
|
|
1387
|
-
"padding": 16,
|
|
1347
|
+
"marginTop": 8,
|
|
1348
|
+
"width": "100%",
|
|
1388
1349
|
},
|
|
1389
1350
|
undefined,
|
|
1390
1351
|
]
|
|
@@ -1394,173 +1355,194 @@ exports[`rendering renders correctly when bottom sheet is NOT visible 1`] = `
|
|
|
1394
1355
|
style={
|
|
1395
1356
|
[
|
|
1396
1357
|
{
|
|
1397
|
-
"
|
|
1398
|
-
"borderRadius": 8,
|
|
1399
|
-
"borderWidth": 1,
|
|
1400
|
-
"bottom": 0,
|
|
1401
|
-
"left": 0,
|
|
1402
|
-
"position": "absolute",
|
|
1403
|
-
"right": 0,
|
|
1404
|
-
"top": 0,
|
|
1405
|
-
},
|
|
1406
|
-
[
|
|
1407
|
-
{
|
|
1408
|
-
"backgroundColor": "#ffffff",
|
|
1409
|
-
},
|
|
1410
|
-
undefined,
|
|
1411
|
-
],
|
|
1412
|
-
]
|
|
1413
|
-
}
|
|
1414
|
-
testID="text-input-border"
|
|
1415
|
-
themeFocused={false}
|
|
1416
|
-
themeState="filled"
|
|
1417
|
-
/>
|
|
1418
|
-
<View
|
|
1419
|
-
pointerEvents="none"
|
|
1420
|
-
style={
|
|
1421
|
-
[
|
|
1422
|
-
{
|
|
1358
|
+
"alignItems": "center",
|
|
1423
1359
|
"backgroundColor": "#ffffff",
|
|
1360
|
+
"borderRadius": 8,
|
|
1424
1361
|
"flexDirection": "row",
|
|
1425
|
-
"
|
|
1426
|
-
"paddingHorizontal": 4,
|
|
1427
|
-
"position": "absolute",
|
|
1428
|
-
"top": -4,
|
|
1429
|
-
"zIndex": 1,
|
|
1430
|
-
},
|
|
1431
|
-
{
|
|
1432
|
-
"backgroundColor": "#ffffff",
|
|
1362
|
+
"padding": 16,
|
|
1433
1363
|
},
|
|
1364
|
+
undefined,
|
|
1434
1365
|
]
|
|
1435
1366
|
}
|
|
1436
|
-
testID="label-container"
|
|
1437
1367
|
>
|
|
1438
|
-
<
|
|
1439
|
-
allowFontScaling={false}
|
|
1368
|
+
<View
|
|
1440
1369
|
style={
|
|
1441
1370
|
[
|
|
1442
1371
|
{
|
|
1443
|
-
"
|
|
1444
|
-
"
|
|
1445
|
-
"
|
|
1446
|
-
"
|
|
1447
|
-
"
|
|
1372
|
+
"borderColor": "#001f23",
|
|
1373
|
+
"borderRadius": 8,
|
|
1374
|
+
"borderWidth": 1,
|
|
1375
|
+
"bottom": 0,
|
|
1376
|
+
"left": 0,
|
|
1377
|
+
"position": "absolute",
|
|
1378
|
+
"right": 0,
|
|
1379
|
+
"top": 0,
|
|
1448
1380
|
},
|
|
1449
1381
|
[
|
|
1450
|
-
{
|
|
1451
|
-
"color": "#001f23",
|
|
1452
|
-
"lineHeight": 12,
|
|
1453
|
-
},
|
|
1454
1382
|
{
|
|
1455
1383
|
"backgroundColor": "#ffffff",
|
|
1456
1384
|
},
|
|
1385
|
+
undefined,
|
|
1457
1386
|
],
|
|
1458
1387
|
]
|
|
1459
1388
|
}
|
|
1460
|
-
testID="input-
|
|
1461
|
-
|
|
1462
|
-
themeIntent="body"
|
|
1389
|
+
testID="text-input-border"
|
|
1390
|
+
themeFocused={false}
|
|
1463
1391
|
themeState="filled"
|
|
1392
|
+
/>
|
|
1393
|
+
<View
|
|
1394
|
+
pointerEvents="none"
|
|
1395
|
+
style={
|
|
1396
|
+
[
|
|
1397
|
+
{
|
|
1398
|
+
"backgroundColor": "#ffffff",
|
|
1399
|
+
"flexDirection": "row",
|
|
1400
|
+
"left": 16,
|
|
1401
|
+
"paddingHorizontal": 4,
|
|
1402
|
+
"position": "absolute",
|
|
1403
|
+
"top": -4,
|
|
1404
|
+
"zIndex": 1,
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
"backgroundColor": "#ffffff",
|
|
1408
|
+
},
|
|
1409
|
+
]
|
|
1410
|
+
}
|
|
1411
|
+
testID="label-container"
|
|
1464
1412
|
>
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1413
|
+
<Text
|
|
1414
|
+
allowFontScaling={false}
|
|
1415
|
+
style={
|
|
1416
|
+
[
|
|
1417
|
+
{
|
|
1418
|
+
"color": "#001f23",
|
|
1419
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1420
|
+
"fontSize": 12,
|
|
1421
|
+
"letterSpacing": 0.48,
|
|
1422
|
+
"lineHeight": 16,
|
|
1423
|
+
},
|
|
1424
|
+
[
|
|
1425
|
+
{
|
|
1426
|
+
"color": "#001f23",
|
|
1427
|
+
"lineHeight": 12,
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"backgroundColor": "#ffffff",
|
|
1431
|
+
},
|
|
1432
|
+
],
|
|
1433
|
+
]
|
|
1486
1434
|
}
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1435
|
+
testID="input-label"
|
|
1436
|
+
themeFontWeight="regular"
|
|
1437
|
+
themeIntent="body"
|
|
1438
|
+
themeState="filled"
|
|
1439
|
+
>
|
|
1440
|
+
Allow notifications
|
|
1441
|
+
</Text>
|
|
1442
|
+
</View>
|
|
1443
|
+
<View
|
|
1496
1444
|
style={
|
|
1497
1445
|
[
|
|
1498
1446
|
{
|
|
1447
|
+
"alignItems": "center",
|
|
1499
1448
|
"alignSelf": "stretch",
|
|
1449
|
+
"flexDirection": "row",
|
|
1500
1450
|
"flexGrow": 2,
|
|
1501
|
-
"
|
|
1502
|
-
"fontSize": 16,
|
|
1503
|
-
"height": undefined,
|
|
1504
|
-
"marginHorizontal": 8,
|
|
1505
|
-
"maxHeight": 144,
|
|
1506
|
-
"paddingVertical": 0,
|
|
1507
|
-
"textAlignVertical": "center",
|
|
1451
|
+
"flexShrink": 1,
|
|
1508
1452
|
},
|
|
1453
|
+
undefined,
|
|
1454
|
+
]
|
|
1455
|
+
}
|
|
1456
|
+
>
|
|
1457
|
+
<TextInput
|
|
1458
|
+
accessibilityState={
|
|
1459
|
+
{
|
|
1460
|
+
"disabled": false,
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
allowFontScaling={false}
|
|
1464
|
+
editable={true}
|
|
1465
|
+
multiline={true}
|
|
1466
|
+
onBlur={[Function]}
|
|
1467
|
+
onChangeText={[Function]}
|
|
1468
|
+
onFocus={[Function]}
|
|
1469
|
+
placeholder=" "
|
|
1470
|
+
pointerEvents="none"
|
|
1471
|
+
style={
|
|
1472
|
+
[
|
|
1473
|
+
{
|
|
1474
|
+
"alignSelf": "stretch",
|
|
1475
|
+
"flexGrow": 2,
|
|
1476
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
1477
|
+
"fontSize": 16,
|
|
1478
|
+
"height": undefined,
|
|
1479
|
+
"marginHorizontal": 8,
|
|
1480
|
+
"maxHeight": 144,
|
|
1481
|
+
"paddingVertical": 0,
|
|
1482
|
+
"textAlignVertical": "center",
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"backgroundColor": "#ffffff",
|
|
1486
|
+
"color": "#001f23",
|
|
1487
|
+
},
|
|
1488
|
+
]
|
|
1489
|
+
}
|
|
1490
|
+
testID="text-input"
|
|
1491
|
+
themeVariant="text"
|
|
1492
|
+
value="Monday"
|
|
1493
|
+
/>
|
|
1494
|
+
</View>
|
|
1495
|
+
<HeroIcon
|
|
1496
|
+
name="arrow-down"
|
|
1497
|
+
style={
|
|
1498
|
+
[
|
|
1509
1499
|
{
|
|
1510
|
-
"backgroundColor": "#ffffff",
|
|
1511
1500
|
"color": "#001f23",
|
|
1501
|
+
"fontSize": 24,
|
|
1512
1502
|
},
|
|
1503
|
+
undefined,
|
|
1513
1504
|
]
|
|
1514
1505
|
}
|
|
1515
|
-
testID="
|
|
1516
|
-
|
|
1517
|
-
|
|
1506
|
+
testID="input-suffix"
|
|
1507
|
+
themeIntent="text"
|
|
1508
|
+
themeSize="medium"
|
|
1518
1509
|
/>
|
|
1519
1510
|
</View>
|
|
1520
|
-
<HeroIcon
|
|
1521
|
-
name="arrow-down"
|
|
1522
|
-
style={
|
|
1523
|
-
[
|
|
1524
|
-
{
|
|
1525
|
-
"color": "#001f23",
|
|
1526
|
-
"fontSize": 24,
|
|
1527
|
-
},
|
|
1528
|
-
undefined,
|
|
1529
|
-
]
|
|
1530
|
-
}
|
|
1531
|
-
testID="input-suffix"
|
|
1532
|
-
themeIntent="text"
|
|
1533
|
-
themeSize="medium"
|
|
1534
|
-
/>
|
|
1535
|
-
</View>
|
|
1536
|
-
<View
|
|
1537
|
-
style={
|
|
1538
|
-
[
|
|
1539
|
-
{
|
|
1540
|
-
"minHeight": 16,
|
|
1541
|
-
"paddingLeft": 16,
|
|
1542
|
-
"paddingTop": 2,
|
|
1543
|
-
},
|
|
1544
|
-
undefined,
|
|
1545
|
-
]
|
|
1546
|
-
}
|
|
1547
|
-
>
|
|
1548
1511
|
<View
|
|
1549
1512
|
style={
|
|
1550
1513
|
[
|
|
1551
1514
|
{
|
|
1552
|
-
"
|
|
1553
|
-
"
|
|
1515
|
+
"minHeight": 16,
|
|
1516
|
+
"paddingLeft": 16,
|
|
1517
|
+
"paddingTop": 2,
|
|
1554
1518
|
},
|
|
1555
1519
|
undefined,
|
|
1556
1520
|
]
|
|
1557
1521
|
}
|
|
1558
|
-
|
|
1522
|
+
>
|
|
1523
|
+
<View
|
|
1524
|
+
style={
|
|
1525
|
+
[
|
|
1526
|
+
{
|
|
1527
|
+
"flexDirection": "row",
|
|
1528
|
+
"justifyContent": "space-between",
|
|
1529
|
+
},
|
|
1530
|
+
undefined,
|
|
1531
|
+
]
|
|
1532
|
+
}
|
|
1533
|
+
/>
|
|
1534
|
+
</View>
|
|
1559
1535
|
</View>
|
|
1560
1536
|
</View>
|
|
1561
1537
|
</View>
|
|
1562
|
-
</View
|
|
1563
|
-
|
|
1538
|
+
</View>,
|
|
1539
|
+
<Modal
|
|
1540
|
+
hardwareAccelerated={false}
|
|
1541
|
+
onRequestClose={[Function]}
|
|
1542
|
+
transparent={true}
|
|
1543
|
+
visible={false}
|
|
1544
|
+
/>,
|
|
1545
|
+
]
|
|
1564
1546
|
`;
|
|
1565
1547
|
|
|
1566
1548
|
exports[`rendering renders correctly when bottom sheet is visible 1`] = `
|
|
@@ -1785,37 +1767,11 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
|
|
|
1785
1767
|
</View>
|
|
1786
1768
|
</View>
|
|
1787
1769
|
</View>,
|
|
1788
|
-
<
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
"bottom": 0,
|
|
1794
|
-
"left": 0,
|
|
1795
|
-
"opacity": 0.4,
|
|
1796
|
-
"position": "absolute",
|
|
1797
|
-
"right": 0,
|
|
1798
|
-
"top": 0,
|
|
1799
|
-
}
|
|
1800
|
-
}
|
|
1801
|
-
/>,
|
|
1802
|
-
<View
|
|
1803
|
-
collapsable={false}
|
|
1804
|
-
style={
|
|
1805
|
-
{
|
|
1806
|
-
"bottom": 0,
|
|
1807
|
-
"left": 0,
|
|
1808
|
-
"opacity": 1,
|
|
1809
|
-
"position": "absolute",
|
|
1810
|
-
"right": 0,
|
|
1811
|
-
"top": 0,
|
|
1812
|
-
"transform": [
|
|
1813
|
-
{
|
|
1814
|
-
"translateY": 0,
|
|
1815
|
-
},
|
|
1816
|
-
],
|
|
1817
|
-
}
|
|
1818
|
-
}
|
|
1770
|
+
<Modal
|
|
1771
|
+
hardwareAccelerated={false}
|
|
1772
|
+
onRequestClose={[Function]}
|
|
1773
|
+
transparent={true}
|
|
1774
|
+
visible={true}
|
|
1819
1775
|
>
|
|
1820
1776
|
<View
|
|
1821
1777
|
pointerEvents="box-none"
|
|
@@ -3024,55 +2980,42 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
|
|
|
3024
2980
|
</RCTSafeAreaView>
|
|
3025
2981
|
</View>
|
|
3026
2982
|
</View>
|
|
3027
|
-
</
|
|
2983
|
+
</Modal>,
|
|
3028
2984
|
]
|
|
3029
2985
|
`;
|
|
3030
2986
|
|
|
3031
2987
|
exports[`rendering renders correctly when input is loading 1`] = `
|
|
3032
|
-
|
|
3033
|
-
pointerEvents="none"
|
|
3034
|
-
>
|
|
2988
|
+
[
|
|
3035
2989
|
<View
|
|
3036
|
-
|
|
3037
|
-
collapsable={false}
|
|
3038
|
-
focusable={true}
|
|
3039
|
-
onClick={[Function]}
|
|
3040
|
-
onResponderGrant={[Function]}
|
|
3041
|
-
onResponderMove={[Function]}
|
|
3042
|
-
onResponderRelease={[Function]}
|
|
3043
|
-
onResponderTerminate={[Function]}
|
|
3044
|
-
onResponderTerminationRequest={[Function]}
|
|
3045
|
-
onStartShouldSetResponder={[Function]}
|
|
3046
|
-
style={
|
|
3047
|
-
{
|
|
3048
|
-
"opacity": 1,
|
|
3049
|
-
}
|
|
3050
|
-
}
|
|
2990
|
+
pointerEvents="none"
|
|
3051
2991
|
>
|
|
3052
2992
|
<View
|
|
3053
|
-
|
|
2993
|
+
accessible={true}
|
|
2994
|
+
collapsable={false}
|
|
2995
|
+
focusable={true}
|
|
2996
|
+
onClick={[Function]}
|
|
2997
|
+
onResponderGrant={[Function]}
|
|
2998
|
+
onResponderMove={[Function]}
|
|
2999
|
+
onResponderRelease={[Function]}
|
|
3000
|
+
onResponderTerminate={[Function]}
|
|
3001
|
+
onResponderTerminationRequest={[Function]}
|
|
3002
|
+
onStartShouldSetResponder={[Function]}
|
|
3003
|
+
style={
|
|
3004
|
+
{
|
|
3005
|
+
"opacity": 1,
|
|
3006
|
+
}
|
|
3007
|
+
}
|
|
3054
3008
|
>
|
|
3055
3009
|
<View
|
|
3056
3010
|
pointerEvents="none"
|
|
3057
|
-
style={
|
|
3058
|
-
[
|
|
3059
|
-
{
|
|
3060
|
-
"marginTop": 8,
|
|
3061
|
-
"width": "100%",
|
|
3062
|
-
},
|
|
3063
|
-
undefined,
|
|
3064
|
-
]
|
|
3065
|
-
}
|
|
3066
3011
|
>
|
|
3067
3012
|
<View
|
|
3013
|
+
pointerEvents="none"
|
|
3068
3014
|
style={
|
|
3069
3015
|
[
|
|
3070
3016
|
{
|
|
3071
|
-
"
|
|
3072
|
-
"
|
|
3073
|
-
"borderRadius": 8,
|
|
3074
|
-
"flexDirection": "row",
|
|
3075
|
-
"padding": 16,
|
|
3017
|
+
"marginTop": 8,
|
|
3018
|
+
"width": "100%",
|
|
3076
3019
|
},
|
|
3077
3020
|
undefined,
|
|
3078
3021
|
]
|
|
@@ -3082,186 +3025,207 @@ exports[`rendering renders correctly when input is loading 1`] = `
|
|
|
3082
3025
|
style={
|
|
3083
3026
|
[
|
|
3084
3027
|
{
|
|
3085
|
-
"
|
|
3086
|
-
"borderRadius": 8,
|
|
3087
|
-
"borderWidth": 1,
|
|
3088
|
-
"bottom": 0,
|
|
3089
|
-
"left": 0,
|
|
3090
|
-
"position": "absolute",
|
|
3091
|
-
"right": 0,
|
|
3092
|
-
"top": 0,
|
|
3093
|
-
},
|
|
3094
|
-
[
|
|
3095
|
-
{
|
|
3096
|
-
"backgroundColor": "#ffffff",
|
|
3097
|
-
},
|
|
3098
|
-
undefined,
|
|
3099
|
-
],
|
|
3100
|
-
]
|
|
3101
|
-
}
|
|
3102
|
-
testID="text-input-border"
|
|
3103
|
-
themeFocused={false}
|
|
3104
|
-
themeState="readonly"
|
|
3105
|
-
/>
|
|
3106
|
-
<View
|
|
3107
|
-
pointerEvents="none"
|
|
3108
|
-
style={
|
|
3109
|
-
[
|
|
3110
|
-
{
|
|
3028
|
+
"alignItems": "center",
|
|
3111
3029
|
"backgroundColor": "#ffffff",
|
|
3030
|
+
"borderRadius": 8,
|
|
3112
3031
|
"flexDirection": "row",
|
|
3113
|
-
"
|
|
3114
|
-
"paddingHorizontal": 4,
|
|
3115
|
-
"position": "absolute",
|
|
3116
|
-
"top": -4,
|
|
3117
|
-
"zIndex": 1,
|
|
3118
|
-
},
|
|
3119
|
-
{
|
|
3120
|
-
"backgroundColor": "#ffffff",
|
|
3032
|
+
"padding": 16,
|
|
3121
3033
|
},
|
|
3034
|
+
undefined,
|
|
3122
3035
|
]
|
|
3123
3036
|
}
|
|
3124
|
-
testID="label-container"
|
|
3125
3037
|
>
|
|
3126
|
-
<
|
|
3127
|
-
allowFontScaling={false}
|
|
3038
|
+
<View
|
|
3128
3039
|
style={
|
|
3129
3040
|
[
|
|
3130
3041
|
{
|
|
3131
|
-
"
|
|
3132
|
-
"
|
|
3133
|
-
"
|
|
3134
|
-
"
|
|
3135
|
-
"
|
|
3042
|
+
"borderColor": "#808f91",
|
|
3043
|
+
"borderRadius": 8,
|
|
3044
|
+
"borderWidth": 1,
|
|
3045
|
+
"bottom": 0,
|
|
3046
|
+
"left": 0,
|
|
3047
|
+
"position": "absolute",
|
|
3048
|
+
"right": 0,
|
|
3049
|
+
"top": 0,
|
|
3136
3050
|
},
|
|
3137
3051
|
[
|
|
3138
|
-
{
|
|
3139
|
-
"color": "#808f91",
|
|
3140
|
-
"lineHeight": 12,
|
|
3141
|
-
},
|
|
3142
3052
|
{
|
|
3143
3053
|
"backgroundColor": "#ffffff",
|
|
3144
3054
|
},
|
|
3055
|
+
undefined,
|
|
3145
3056
|
],
|
|
3146
3057
|
]
|
|
3147
3058
|
}
|
|
3148
|
-
testID="input-
|
|
3149
|
-
|
|
3150
|
-
themeIntent="body"
|
|
3059
|
+
testID="text-input-border"
|
|
3060
|
+
themeFocused={false}
|
|
3151
3061
|
themeState="readonly"
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
</Text>
|
|
3155
|
-
</View>
|
|
3156
|
-
<View
|
|
3157
|
-
style={
|
|
3158
|
-
[
|
|
3159
|
-
{
|
|
3160
|
-
"alignItems": "center",
|
|
3161
|
-
"alignSelf": "stretch",
|
|
3162
|
-
"flexDirection": "row",
|
|
3163
|
-
"flexGrow": 2,
|
|
3164
|
-
"flexShrink": 1,
|
|
3165
|
-
},
|
|
3166
|
-
undefined,
|
|
3167
|
-
]
|
|
3168
|
-
}
|
|
3169
|
-
>
|
|
3170
|
-
<TextInput
|
|
3171
|
-
accessibilityState={
|
|
3172
|
-
{
|
|
3173
|
-
"disabled": true,
|
|
3174
|
-
}
|
|
3175
|
-
}
|
|
3176
|
-
allowFontScaling={false}
|
|
3177
|
-
editable={true}
|
|
3178
|
-
multiline={true}
|
|
3179
|
-
onBlur={[Function]}
|
|
3180
|
-
onChangeText={[Function]}
|
|
3181
|
-
onFocus={[Function]}
|
|
3182
|
-
placeholder=" "
|
|
3062
|
+
/>
|
|
3063
|
+
<View
|
|
3183
3064
|
pointerEvents="none"
|
|
3184
3065
|
style={
|
|
3185
3066
|
[
|
|
3186
3067
|
{
|
|
3187
|
-
"
|
|
3188
|
-
"
|
|
3189
|
-
"
|
|
3190
|
-
"
|
|
3191
|
-
"
|
|
3192
|
-
"
|
|
3193
|
-
"
|
|
3194
|
-
"paddingVertical": 0,
|
|
3195
|
-
"textAlignVertical": "center",
|
|
3068
|
+
"backgroundColor": "#ffffff",
|
|
3069
|
+
"flexDirection": "row",
|
|
3070
|
+
"left": 16,
|
|
3071
|
+
"paddingHorizontal": 4,
|
|
3072
|
+
"position": "absolute",
|
|
3073
|
+
"top": -4,
|
|
3074
|
+
"zIndex": 1,
|
|
3196
3075
|
},
|
|
3197
3076
|
{
|
|
3198
3077
|
"backgroundColor": "#ffffff",
|
|
3199
|
-
"color": "#001f23",
|
|
3200
3078
|
},
|
|
3201
3079
|
]
|
|
3202
3080
|
}
|
|
3203
|
-
testID="
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3081
|
+
testID="label-container"
|
|
3082
|
+
>
|
|
3083
|
+
<Text
|
|
3084
|
+
allowFontScaling={false}
|
|
3085
|
+
style={
|
|
3086
|
+
[
|
|
3087
|
+
{
|
|
3088
|
+
"color": "#001f23",
|
|
3089
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
3090
|
+
"fontSize": 12,
|
|
3091
|
+
"letterSpacing": 0.48,
|
|
3092
|
+
"lineHeight": 16,
|
|
3093
|
+
},
|
|
3094
|
+
[
|
|
3095
|
+
{
|
|
3096
|
+
"color": "#808f91",
|
|
3097
|
+
"lineHeight": 12,
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
"backgroundColor": "#ffffff",
|
|
3101
|
+
},
|
|
3102
|
+
],
|
|
3103
|
+
]
|
|
3104
|
+
}
|
|
3105
|
+
testID="input-label"
|
|
3106
|
+
themeFontWeight="regular"
|
|
3107
|
+
themeIntent="body"
|
|
3108
|
+
themeState="readonly"
|
|
3109
|
+
>
|
|
3110
|
+
Allow notifications
|
|
3111
|
+
</Text>
|
|
3112
|
+
</View>
|
|
3113
|
+
<View
|
|
3222
3114
|
style={
|
|
3223
3115
|
[
|
|
3224
3116
|
{
|
|
3225
|
-
"
|
|
3226
|
-
"
|
|
3117
|
+
"alignItems": "center",
|
|
3118
|
+
"alignSelf": "stretch",
|
|
3119
|
+
"flexDirection": "row",
|
|
3120
|
+
"flexGrow": 2,
|
|
3121
|
+
"flexShrink": 1,
|
|
3227
3122
|
},
|
|
3228
3123
|
undefined,
|
|
3229
3124
|
]
|
|
3230
3125
|
}
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3126
|
+
>
|
|
3127
|
+
<TextInput
|
|
3128
|
+
accessibilityState={
|
|
3129
|
+
{
|
|
3130
|
+
"disabled": true,
|
|
3131
|
+
}
|
|
3132
|
+
}
|
|
3133
|
+
allowFontScaling={false}
|
|
3134
|
+
editable={true}
|
|
3135
|
+
multiline={true}
|
|
3136
|
+
onBlur={[Function]}
|
|
3137
|
+
onChangeText={[Function]}
|
|
3138
|
+
onFocus={[Function]}
|
|
3139
|
+
placeholder=" "
|
|
3140
|
+
pointerEvents="none"
|
|
3141
|
+
style={
|
|
3142
|
+
[
|
|
3143
|
+
{
|
|
3144
|
+
"alignSelf": "stretch",
|
|
3145
|
+
"flexGrow": 2,
|
|
3146
|
+
"fontFamily": "BeVietnamPro-Regular",
|
|
3147
|
+
"fontSize": 16,
|
|
3148
|
+
"height": undefined,
|
|
3149
|
+
"marginHorizontal": 8,
|
|
3150
|
+
"maxHeight": 144,
|
|
3151
|
+
"paddingVertical": 0,
|
|
3152
|
+
"textAlignVertical": "center",
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"backgroundColor": "#ffffff",
|
|
3156
|
+
"color": "#001f23",
|
|
3157
|
+
},
|
|
3158
|
+
]
|
|
3159
|
+
}
|
|
3160
|
+
testID="text-input"
|
|
3161
|
+
themeVariant="text"
|
|
3162
|
+
value="Monday"
|
|
3163
|
+
/>
|
|
3164
|
+
</View>
|
|
3165
|
+
<View
|
|
3166
|
+
collapsable={false}
|
|
3167
|
+
style={
|
|
3168
|
+
{
|
|
3169
|
+
"transform": [
|
|
3170
|
+
{
|
|
3171
|
+
"rotate": "0deg",
|
|
3172
|
+
},
|
|
3173
|
+
],
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
>
|
|
3177
|
+
<HeroIcon
|
|
3178
|
+
name="loading"
|
|
3179
|
+
style={
|
|
3180
|
+
[
|
|
3181
|
+
{
|
|
3182
|
+
"color": "#001f23",
|
|
3183
|
+
"fontSize": 24,
|
|
3184
|
+
},
|
|
3185
|
+
undefined,
|
|
3186
|
+
]
|
|
3187
|
+
}
|
|
3188
|
+
testID="input-suffix"
|
|
3189
|
+
themeIntent="text"
|
|
3190
|
+
themeSize="medium"
|
|
3191
|
+
/>
|
|
3192
|
+
</View>
|
|
3235
3193
|
</View>
|
|
3236
|
-
</View>
|
|
3237
|
-
<View
|
|
3238
|
-
style={
|
|
3239
|
-
[
|
|
3240
|
-
{
|
|
3241
|
-
"minHeight": 16,
|
|
3242
|
-
"paddingLeft": 16,
|
|
3243
|
-
"paddingTop": 2,
|
|
3244
|
-
},
|
|
3245
|
-
undefined,
|
|
3246
|
-
]
|
|
3247
|
-
}
|
|
3248
|
-
>
|
|
3249
3194
|
<View
|
|
3250
3195
|
style={
|
|
3251
3196
|
[
|
|
3252
3197
|
{
|
|
3253
|
-
"
|
|
3254
|
-
"
|
|
3198
|
+
"minHeight": 16,
|
|
3199
|
+
"paddingLeft": 16,
|
|
3200
|
+
"paddingTop": 2,
|
|
3255
3201
|
},
|
|
3256
3202
|
undefined,
|
|
3257
3203
|
]
|
|
3258
3204
|
}
|
|
3259
|
-
|
|
3205
|
+
>
|
|
3206
|
+
<View
|
|
3207
|
+
style={
|
|
3208
|
+
[
|
|
3209
|
+
{
|
|
3210
|
+
"flexDirection": "row",
|
|
3211
|
+
"justifyContent": "space-between",
|
|
3212
|
+
},
|
|
3213
|
+
undefined,
|
|
3214
|
+
]
|
|
3215
|
+
}
|
|
3216
|
+
/>
|
|
3217
|
+
</View>
|
|
3260
3218
|
</View>
|
|
3261
3219
|
</View>
|
|
3262
3220
|
</View>
|
|
3263
|
-
</View
|
|
3264
|
-
|
|
3221
|
+
</View>,
|
|
3222
|
+
<Modal
|
|
3223
|
+
hardwareAccelerated={false}
|
|
3224
|
+
onRequestClose={[Function]}
|
|
3225
|
+
transparent={true}
|
|
3226
|
+
visible={false}
|
|
3227
|
+
/>,
|
|
3228
|
+
]
|
|
3265
3229
|
`;
|
|
3266
3230
|
|
|
3267
3231
|
exports[`rendering renders correctly when receives sections 1`] = `
|
|
@@ -3486,37 +3450,11 @@ exports[`rendering renders correctly when receives sections 1`] = `
|
|
|
3486
3450
|
</View>
|
|
3487
3451
|
</View>
|
|
3488
3452
|
</View>,
|
|
3489
|
-
<
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
"bottom": 0,
|
|
3495
|
-
"left": 0,
|
|
3496
|
-
"opacity": 0.4,
|
|
3497
|
-
"position": "absolute",
|
|
3498
|
-
"right": 0,
|
|
3499
|
-
"top": 0,
|
|
3500
|
-
}
|
|
3501
|
-
}
|
|
3502
|
-
/>,
|
|
3503
|
-
<View
|
|
3504
|
-
collapsable={false}
|
|
3505
|
-
style={
|
|
3506
|
-
{
|
|
3507
|
-
"bottom": 0,
|
|
3508
|
-
"left": 0,
|
|
3509
|
-
"opacity": 1,
|
|
3510
|
-
"position": "absolute",
|
|
3511
|
-
"right": 0,
|
|
3512
|
-
"top": 0,
|
|
3513
|
-
"transform": [
|
|
3514
|
-
{
|
|
3515
|
-
"translateY": 0,
|
|
3516
|
-
},
|
|
3517
|
-
],
|
|
3518
|
-
}
|
|
3519
|
-
}
|
|
3453
|
+
<Modal
|
|
3454
|
+
hardwareAccelerated={false}
|
|
3455
|
+
onRequestClose={[Function]}
|
|
3456
|
+
transparent={true}
|
|
3457
|
+
visible={true}
|
|
3520
3458
|
>
|
|
3521
3459
|
<View
|
|
3522
3460
|
pointerEvents="box-none"
|
|
@@ -4339,6 +4277,6 @@ exports[`rendering renders correctly when receives sections 1`] = `
|
|
|
4339
4277
|
</RCTSafeAreaView>
|
|
4340
4278
|
</View>
|
|
4341
4279
|
</View>
|
|
4342
|
-
</
|
|
4280
|
+
</Modal>,
|
|
4343
4281
|
]
|
|
4344
4282
|
`;
|