@hero-design/rn 8.78.0 → 8.79.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.
@@ -1452,6 +1452,1623 @@ exports[`rendering allows custom renderer 1`] = `
1452
1452
  </View>
1453
1453
  `;
1454
1454
 
1455
+ exports[`rendering renders correct floating bottom sheet variant 1`] = `
1456
+ <View
1457
+ style={
1458
+ {
1459
+ "flex": 1,
1460
+ }
1461
+ }
1462
+ >
1463
+ <View
1464
+ pointerEvents="auto"
1465
+ >
1466
+ <View
1467
+ accessibilityState={
1468
+ {
1469
+ "busy": undefined,
1470
+ "checked": undefined,
1471
+ "disabled": undefined,
1472
+ "expanded": undefined,
1473
+ "selected": undefined,
1474
+ }
1475
+ }
1476
+ accessibilityValue={
1477
+ {
1478
+ "max": undefined,
1479
+ "min": undefined,
1480
+ "now": undefined,
1481
+ "text": undefined,
1482
+ }
1483
+ }
1484
+ accessible={true}
1485
+ collapsable={false}
1486
+ focusable={true}
1487
+ onClick={[Function]}
1488
+ onResponderGrant={[Function]}
1489
+ onResponderMove={[Function]}
1490
+ onResponderRelease={[Function]}
1491
+ onResponderTerminate={[Function]}
1492
+ onResponderTerminationRequest={[Function]}
1493
+ onStartShouldSetResponder={[Function]}
1494
+ style={
1495
+ {
1496
+ "opacity": 1,
1497
+ }
1498
+ }
1499
+ >
1500
+ <View
1501
+ pointerEvents="none"
1502
+ >
1503
+ <View
1504
+ pointerEvents="auto"
1505
+ style={
1506
+ [
1507
+ {
1508
+ "marginTop": 8,
1509
+ "width": "100%",
1510
+ },
1511
+ undefined,
1512
+ ]
1513
+ }
1514
+ >
1515
+ <View
1516
+ onLayout={[Function]}
1517
+ style={
1518
+ [
1519
+ {
1520
+ "alignItems": "center",
1521
+ "backgroundColor": "#ffffff",
1522
+ "borderRadius": 8,
1523
+ "flexDirection": "row",
1524
+ "padding": 16,
1525
+ },
1526
+ undefined,
1527
+ ]
1528
+ }
1529
+ >
1530
+ <View
1531
+ style={
1532
+ [
1533
+ {
1534
+ "borderColor": "#001f23",
1535
+ "borderRadius": 8,
1536
+ "borderWidth": 1,
1537
+ "bottom": 0,
1538
+ "left": 0,
1539
+ "position": "absolute",
1540
+ "right": 0,
1541
+ "top": 0,
1542
+ },
1543
+ [
1544
+ {
1545
+ "backgroundColor": "#ffffff",
1546
+ },
1547
+ undefined,
1548
+ ],
1549
+ ]
1550
+ }
1551
+ testID="text-input-border"
1552
+ themeFocused={false}
1553
+ themeState="filled"
1554
+ />
1555
+ <View
1556
+ onLayout={[Function]}
1557
+ />
1558
+ <View
1559
+ collapsable={false}
1560
+ pointerEvents="none"
1561
+ style={
1562
+ {
1563
+ "alignItems": "center",
1564
+ "flexDirection": "row",
1565
+ "justifyContent": "center",
1566
+ "left": 0,
1567
+ "position": "absolute",
1568
+ "right": 0,
1569
+ "top": -10.666666666666666,
1570
+ "transform": [
1571
+ {
1572
+ "translateY": 0,
1573
+ },
1574
+ {
1575
+ "translateX": 24,
1576
+ },
1577
+ {
1578
+ "scale": 1,
1579
+ },
1580
+ ],
1581
+ "zIndex": 1,
1582
+ }
1583
+ }
1584
+ themeVariant="text"
1585
+ >
1586
+ <Text
1587
+ allowFontScaling={false}
1588
+ onLayout={[Function]}
1589
+ style={
1590
+ [
1591
+ {
1592
+ "color": "#001f23",
1593
+ "fontFamily": "BeVietnamPro-Regular",
1594
+ "fontSize": 16,
1595
+ "letterSpacing": 0.48,
1596
+ "lineHeight": 24,
1597
+ },
1598
+ [
1599
+ {
1600
+ "alignContent": "center",
1601
+ "alignItems": "center",
1602
+ "color": "#001f23",
1603
+ "marginTop": -2,
1604
+ "textAlignVertical": "center",
1605
+ },
1606
+ {
1607
+ "backgroundColor": "#ffffff",
1608
+ },
1609
+ ],
1610
+ ]
1611
+ }
1612
+ testID="input-label"
1613
+ themeIntent="body"
1614
+ themeState="filled"
1615
+ themeTypeface="neutral"
1616
+ themeVariant="regular"
1617
+ >
1618
+ Allow notifications
1619
+ </Text>
1620
+ </View>
1621
+ <View
1622
+ style={
1623
+ [
1624
+ {
1625
+ "alignItems": "center",
1626
+ "alignSelf": "stretch",
1627
+ "flexDirection": "row",
1628
+ "flexGrow": 2,
1629
+ "flexShrink": 1,
1630
+ },
1631
+ undefined,
1632
+ ]
1633
+ }
1634
+ >
1635
+ <TextInput
1636
+ accessibilityState={
1637
+ {
1638
+ "disabled": false,
1639
+ }
1640
+ }
1641
+ allowFontScaling={false}
1642
+ editable={true}
1643
+ multiline={true}
1644
+ onBlur={[Function]}
1645
+ onChangeText={[Function]}
1646
+ onFocus={[Function]}
1647
+ placeholder=" "
1648
+ pointerEvents="none"
1649
+ style={
1650
+ [
1651
+ {
1652
+ "alignSelf": "stretch",
1653
+ "flexGrow": 2,
1654
+ "fontFamily": "BeVietnamPro-Regular",
1655
+ "fontSize": 16,
1656
+ "height": undefined,
1657
+ "marginHorizontal": 8,
1658
+ "maxHeight": 144,
1659
+ "paddingVertical": 0,
1660
+ "textAlignVertical": "center",
1661
+ },
1662
+ {
1663
+ "backgroundColor": "#ffffff",
1664
+ "color": "#001f23",
1665
+ },
1666
+ ]
1667
+ }
1668
+ testID="text-input"
1669
+ themeVariant="text"
1670
+ value="Monday"
1671
+ />
1672
+ </View>
1673
+ <HeroIcon
1674
+ name="arrow-down"
1675
+ style={
1676
+ [
1677
+ {
1678
+ "color": "#001f23",
1679
+ "fontSize": 24,
1680
+ },
1681
+ undefined,
1682
+ ]
1683
+ }
1684
+ testID="input-suffix"
1685
+ themeIntent="text"
1686
+ themeSize="medium"
1687
+ />
1688
+ </View>
1689
+ <View
1690
+ style={
1691
+ [
1692
+ {
1693
+ "minHeight": 16,
1694
+ "paddingHorizontal": 16,
1695
+ "paddingTop": 2,
1696
+ },
1697
+ undefined,
1698
+ ]
1699
+ }
1700
+ >
1701
+ <View
1702
+ style={
1703
+ [
1704
+ {
1705
+ "alignItems": "flex-start",
1706
+ "flexDirection": "row",
1707
+ "justifyContent": "space-between",
1708
+ },
1709
+ undefined,
1710
+ ]
1711
+ }
1712
+ />
1713
+ </View>
1714
+ </View>
1715
+ </View>
1716
+ </View>
1717
+ </View>
1718
+ <Modal
1719
+ hardwareAccelerated={false}
1720
+ onRequestClose={[Function]}
1721
+ supportedOrientations={
1722
+ [
1723
+ "portrait",
1724
+ ]
1725
+ }
1726
+ transparent={true}
1727
+ visible={true}
1728
+ >
1729
+ <View
1730
+ pointerEvents="box-none"
1731
+ style={
1732
+ [
1733
+ {
1734
+ "bottom": 0,
1735
+ "flexDirection": "column-reverse",
1736
+ "left": 0,
1737
+ "position": "absolute",
1738
+ "right": 0,
1739
+ "top": 0,
1740
+ },
1741
+ undefined,
1742
+ ]
1743
+ }
1744
+ >
1745
+ <View
1746
+ onLayout={[Function]}
1747
+ style={
1748
+ [
1749
+ [
1750
+ {
1751
+ "flex": 1,
1752
+ "flexDirection": "column-reverse",
1753
+ },
1754
+ undefined,
1755
+ ],
1756
+ {
1757
+ "paddingBottom": 0,
1758
+ },
1759
+ ]
1760
+ }
1761
+ >
1762
+ <View
1763
+ accessibilityState={
1764
+ {
1765
+ "busy": undefined,
1766
+ "checked": undefined,
1767
+ "disabled": undefined,
1768
+ "expanded": undefined,
1769
+ "selected": undefined,
1770
+ }
1771
+ }
1772
+ accessibilityValue={
1773
+ {
1774
+ "max": undefined,
1775
+ "min": undefined,
1776
+ "now": undefined,
1777
+ "text": undefined,
1778
+ }
1779
+ }
1780
+ accessible={true}
1781
+ collapsable={false}
1782
+ focusable={true}
1783
+ onBlur={[Function]}
1784
+ onClick={[Function]}
1785
+ onFocus={[Function]}
1786
+ onResponderGrant={[Function]}
1787
+ onResponderMove={[Function]}
1788
+ onResponderRelease={[Function]}
1789
+ onResponderTerminate={[Function]}
1790
+ onResponderTerminationRequest={[Function]}
1791
+ onStartShouldSetResponder={[Function]}
1792
+ style={
1793
+ {
1794
+ "backgroundColor": "#000000",
1795
+ "bottom": 0,
1796
+ "left": 0,
1797
+ "opacity": 0.48,
1798
+ "position": "absolute",
1799
+ "right": 0,
1800
+ "top": 0,
1801
+ }
1802
+ }
1803
+ />
1804
+ <RCTSafeAreaView
1805
+ collapsable={false}
1806
+ style={
1807
+ {
1808
+ "margin": 16,
1809
+ }
1810
+ }
1811
+ >
1812
+ <View
1813
+ collapsable={false}
1814
+ style={
1815
+ {
1816
+ "backgroundColor": "#ffffff",
1817
+ "borderRadius": 32,
1818
+ "elevation": 10,
1819
+ "maxHeight": "100%",
1820
+ "padding": 8,
1821
+ "paddingBottom": 0,
1822
+ "shadowColor": "#001f23",
1823
+ "shadowOffset": {
1824
+ "height": 3,
1825
+ "width": 0,
1826
+ },
1827
+ "shadowOpacity": 0.4,
1828
+ "shadowRadius": 16,
1829
+ "transform": [
1830
+ {
1831
+ "scaleY": 1,
1832
+ },
1833
+ {
1834
+ "translateY": 0,
1835
+ },
1836
+ ],
1837
+ "width": "100%",
1838
+ }
1839
+ }
1840
+ >
1841
+ <View
1842
+ style={
1843
+ [
1844
+ {
1845
+ "flexDirection": "row",
1846
+ "paddingHorizontal": 16,
1847
+ "paddingVertical": 8,
1848
+ },
1849
+ undefined,
1850
+ ]
1851
+ }
1852
+ >
1853
+ <View
1854
+ style={
1855
+ [
1856
+ {
1857
+ "flex": 1,
1858
+ "justifyContent": "center",
1859
+ },
1860
+ undefined,
1861
+ ]
1862
+ }
1863
+ >
1864
+ <Text
1865
+ allowFontScaling={false}
1866
+ style={
1867
+ [
1868
+ {
1869
+ "color": "#001f23",
1870
+ "fontFamily": "BeVietnamPro-SemiBold",
1871
+ "fontSize": 16,
1872
+ "letterSpacing": 0.24,
1873
+ "lineHeight": 24,
1874
+ },
1875
+ undefined,
1876
+ ]
1877
+ }
1878
+ themeIntent="body"
1879
+ themeTypeface="neutral"
1880
+ themeVariant="regular-bold"
1881
+ >
1882
+ Allow notifications
1883
+ </Text>
1884
+ </View>
1885
+ <View
1886
+ style={
1887
+ [
1888
+ {
1889
+ "alignItems": "flex-end",
1890
+ "height": 48,
1891
+ "justifyContent": "center",
1892
+ "marginLeft": 12,
1893
+ "width": 48,
1894
+ },
1895
+ undefined,
1896
+ ]
1897
+ }
1898
+ >
1899
+ <View
1900
+ accessibilityState={
1901
+ {
1902
+ "busy": undefined,
1903
+ "checked": undefined,
1904
+ "disabled": undefined,
1905
+ "expanded": undefined,
1906
+ "selected": undefined,
1907
+ }
1908
+ }
1909
+ accessibilityValue={
1910
+ {
1911
+ "max": undefined,
1912
+ "min": undefined,
1913
+ "now": undefined,
1914
+ "text": undefined,
1915
+ }
1916
+ }
1917
+ accessible={true}
1918
+ collapsable={false}
1919
+ focusable={true}
1920
+ onClick={[Function]}
1921
+ onResponderGrant={[Function]}
1922
+ onResponderMove={[Function]}
1923
+ onResponderRelease={[Function]}
1924
+ onResponderTerminate={[Function]}
1925
+ onResponderTerminationRequest={[Function]}
1926
+ onStartShouldSetResponder={[Function]}
1927
+ style={
1928
+ {
1929
+ "backgroundColor": "#dadbde",
1930
+ "borderRadius": 999,
1931
+ "opacity": 1,
1932
+ "padding": 8,
1933
+ }
1934
+ }
1935
+ testID="bottom-sheet-close-icon"
1936
+ >
1937
+ <HeroIcon
1938
+ name="cancel"
1939
+ style={
1940
+ [
1941
+ {
1942
+ "color": "#001f23",
1943
+ "fontSize": 24,
1944
+ },
1945
+ {
1946
+ "fontSize": 12,
1947
+ },
1948
+ ]
1949
+ }
1950
+ themeIntent="text"
1951
+ themeSize="medium"
1952
+ />
1953
+ </View>
1954
+ </View>
1955
+ </View>
1956
+ <RCTScrollView
1957
+ ListFooterComponent={null}
1958
+ data={
1959
+ [
1960
+ {
1961
+ "category": "",
1962
+ "data": [
1963
+ {
1964
+ "text": "Monday",
1965
+ "value": "mon",
1966
+ },
1967
+ {
1968
+ "text": "Tuesday",
1969
+ "value": "tue",
1970
+ },
1971
+ {
1972
+ "text": "Wednesday",
1973
+ "value": "wed",
1974
+ },
1975
+ {
1976
+ "text": "Thursday",
1977
+ "value": "thu",
1978
+ },
1979
+ {
1980
+ "text": "Friday",
1981
+ "value": "fri",
1982
+ },
1983
+ {
1984
+ "text": "Saturday",
1985
+ "value": "sat",
1986
+ },
1987
+ {
1988
+ "disabled": true,
1989
+ "text": "Sunday",
1990
+ "value": "sun",
1991
+ },
1992
+ ],
1993
+ },
1994
+ ]
1995
+ }
1996
+ getItem={[Function]}
1997
+ getItemCount={[Function]}
1998
+ keyExtractor={[Function]}
1999
+ onContentSizeChange={[Function]}
2000
+ onEndReached={[Function]}
2001
+ onEndReachedThreshold={0.1}
2002
+ onLayout={[Function]}
2003
+ onMomentumScrollBegin={[Function]}
2004
+ onMomentumScrollEnd={[Function]}
2005
+ onScroll={[Function]}
2006
+ onScrollBeginDrag={[Function]}
2007
+ onScrollEndDrag={[Function]}
2008
+ onScrollToIndexFailed={[Function]}
2009
+ renderItem={[Function]}
2010
+ scrollEventThrottle={0.0001}
2011
+ stickyHeaderIndices={
2012
+ [
2013
+ 0,
2014
+ ]
2015
+ }
2016
+ style={
2017
+ [
2018
+ {
2019
+ "paddingHorizontal": 12,
2020
+ },
2021
+ [
2022
+ {
2023
+ "paddingBottom": 16,
2024
+ },
2025
+ {},
2026
+ ],
2027
+ ]
2028
+ }
2029
+ >
2030
+ <View>
2031
+ <View
2032
+ onFocusCapture={[Function]}
2033
+ onLayout={[Function]}
2034
+ style={null}
2035
+ />
2036
+ <View
2037
+ onFocusCapture={[Function]}
2038
+ onLayout={[Function]}
2039
+ style={null}
2040
+ >
2041
+ <View>
2042
+ <View
2043
+ highlighted={false}
2044
+ section={
2045
+ {
2046
+ "category": "",
2047
+ "data": [
2048
+ {
2049
+ "text": "Monday",
2050
+ "value": "mon",
2051
+ },
2052
+ {
2053
+ "text": "Tuesday",
2054
+ "value": "tue",
2055
+ },
2056
+ {
2057
+ "text": "Wednesday",
2058
+ "value": "wed",
2059
+ },
2060
+ {
2061
+ "text": "Thursday",
2062
+ "value": "thu",
2063
+ },
2064
+ {
2065
+ "text": "Friday",
2066
+ "value": "fri",
2067
+ },
2068
+ {
2069
+ "text": "Saturday",
2070
+ "value": "sat",
2071
+ },
2072
+ {
2073
+ "disabled": true,
2074
+ "text": "Sunday",
2075
+ "value": "sun",
2076
+ },
2077
+ ],
2078
+ }
2079
+ }
2080
+ style={
2081
+ [
2082
+ {
2083
+ "marginTop": 12,
2084
+ },
2085
+ undefined,
2086
+ ]
2087
+ }
2088
+ trailingItem={
2089
+ {
2090
+ "text": "Monday",
2091
+ "value": "mon",
2092
+ }
2093
+ }
2094
+ />
2095
+ <View
2096
+ accessibilityState={
2097
+ {
2098
+ "disabled": false,
2099
+ }
2100
+ }
2101
+ accessibilityValue={
2102
+ {
2103
+ "max": undefined,
2104
+ "min": undefined,
2105
+ "now": undefined,
2106
+ "text": undefined,
2107
+ }
2108
+ }
2109
+ accessible={true}
2110
+ focusable={true}
2111
+ onClick={[Function]}
2112
+ onResponderGrant={[Function]}
2113
+ onResponderMove={[Function]}
2114
+ onResponderRelease={[Function]}
2115
+ onResponderTerminate={[Function]}
2116
+ onResponderTerminationRequest={[Function]}
2117
+ onStartShouldSetResponder={[Function]}
2118
+ style={
2119
+ [
2120
+ {
2121
+ "alignItems": "center",
2122
+ "backgroundColor": "#ece8ef",
2123
+ "borderRadius": 4,
2124
+ "flexDirection": "row",
2125
+ "opacity": 1,
2126
+ "padding": 16,
2127
+ },
2128
+ undefined,
2129
+ ]
2130
+ }
2131
+ >
2132
+ <View
2133
+ style={
2134
+ [
2135
+ {
2136
+ "flex": 1,
2137
+ },
2138
+ undefined,
2139
+ ]
2140
+ }
2141
+ >
2142
+ <Text
2143
+ allowFontScaling={false}
2144
+ style={
2145
+ [
2146
+ {
2147
+ "color": "#001f23",
2148
+ "fontFamily": "BeVietnamPro-Regular",
2149
+ "fontSize": 16,
2150
+ "letterSpacing": 0.48,
2151
+ "lineHeight": 24,
2152
+ },
2153
+ undefined,
2154
+ ]
2155
+ }
2156
+ themeIntent="body"
2157
+ themeTypeface="neutral"
2158
+ themeVariant="regular"
2159
+ >
2160
+ Monday
2161
+ </Text>
2162
+ </View>
2163
+ </View>
2164
+ <View
2165
+ highlighted={false}
2166
+ leadingItem={
2167
+ {
2168
+ "text": "Monday",
2169
+ "value": "mon",
2170
+ }
2171
+ }
2172
+ section={
2173
+ {
2174
+ "category": "",
2175
+ "data": [
2176
+ {
2177
+ "text": "Monday",
2178
+ "value": "mon",
2179
+ },
2180
+ {
2181
+ "text": "Tuesday",
2182
+ "value": "tue",
2183
+ },
2184
+ {
2185
+ "text": "Wednesday",
2186
+ "value": "wed",
2187
+ },
2188
+ {
2189
+ "text": "Thursday",
2190
+ "value": "thu",
2191
+ },
2192
+ {
2193
+ "text": "Friday",
2194
+ "value": "fri",
2195
+ },
2196
+ {
2197
+ "text": "Saturday",
2198
+ "value": "sat",
2199
+ },
2200
+ {
2201
+ "disabled": true,
2202
+ "text": "Sunday",
2203
+ "value": "sun",
2204
+ },
2205
+ ],
2206
+ }
2207
+ }
2208
+ style={
2209
+ [
2210
+ {
2211
+ "marginTop": 4,
2212
+ },
2213
+ undefined,
2214
+ ]
2215
+ }
2216
+ trailingItem={
2217
+ {
2218
+ "text": "Tuesday",
2219
+ "value": "tue",
2220
+ }
2221
+ }
2222
+ />
2223
+ </View>
2224
+ </View>
2225
+ <View
2226
+ onFocusCapture={[Function]}
2227
+ onLayout={[Function]}
2228
+ style={null}
2229
+ >
2230
+ <View>
2231
+ <View
2232
+ accessibilityState={
2233
+ {
2234
+ "disabled": false,
2235
+ }
2236
+ }
2237
+ accessibilityValue={
2238
+ {
2239
+ "max": undefined,
2240
+ "min": undefined,
2241
+ "now": undefined,
2242
+ "text": undefined,
2243
+ }
2244
+ }
2245
+ accessible={true}
2246
+ focusable={true}
2247
+ onClick={[Function]}
2248
+ onResponderGrant={[Function]}
2249
+ onResponderMove={[Function]}
2250
+ onResponderRelease={[Function]}
2251
+ onResponderTerminate={[Function]}
2252
+ onResponderTerminationRequest={[Function]}
2253
+ onStartShouldSetResponder={[Function]}
2254
+ style={
2255
+ [
2256
+ {
2257
+ "alignItems": "center",
2258
+ "backgroundColor": "#ffffff",
2259
+ "borderRadius": 4,
2260
+ "flexDirection": "row",
2261
+ "opacity": 1,
2262
+ "padding": 16,
2263
+ },
2264
+ undefined,
2265
+ ]
2266
+ }
2267
+ >
2268
+ <View
2269
+ style={
2270
+ [
2271
+ {
2272
+ "flex": 1,
2273
+ },
2274
+ undefined,
2275
+ ]
2276
+ }
2277
+ >
2278
+ <Text
2279
+ allowFontScaling={false}
2280
+ style={
2281
+ [
2282
+ {
2283
+ "color": "#001f23",
2284
+ "fontFamily": "BeVietnamPro-Regular",
2285
+ "fontSize": 16,
2286
+ "letterSpacing": 0.48,
2287
+ "lineHeight": 24,
2288
+ },
2289
+ undefined,
2290
+ ]
2291
+ }
2292
+ themeIntent="body"
2293
+ themeTypeface="neutral"
2294
+ themeVariant="regular"
2295
+ >
2296
+ Tuesday
2297
+ </Text>
2298
+ </View>
2299
+ </View>
2300
+ <View
2301
+ highlighted={false}
2302
+ leadingItem={
2303
+ {
2304
+ "text": "Tuesday",
2305
+ "value": "tue",
2306
+ }
2307
+ }
2308
+ section={
2309
+ {
2310
+ "category": "",
2311
+ "data": [
2312
+ {
2313
+ "text": "Monday",
2314
+ "value": "mon",
2315
+ },
2316
+ {
2317
+ "text": "Tuesday",
2318
+ "value": "tue",
2319
+ },
2320
+ {
2321
+ "text": "Wednesday",
2322
+ "value": "wed",
2323
+ },
2324
+ {
2325
+ "text": "Thursday",
2326
+ "value": "thu",
2327
+ },
2328
+ {
2329
+ "text": "Friday",
2330
+ "value": "fri",
2331
+ },
2332
+ {
2333
+ "text": "Saturday",
2334
+ "value": "sat",
2335
+ },
2336
+ {
2337
+ "disabled": true,
2338
+ "text": "Sunday",
2339
+ "value": "sun",
2340
+ },
2341
+ ],
2342
+ }
2343
+ }
2344
+ style={
2345
+ [
2346
+ {
2347
+ "marginTop": 4,
2348
+ },
2349
+ undefined,
2350
+ ]
2351
+ }
2352
+ trailingItem={
2353
+ {
2354
+ "text": "Wednesday",
2355
+ "value": "wed",
2356
+ }
2357
+ }
2358
+ />
2359
+ </View>
2360
+ </View>
2361
+ <View
2362
+ onFocusCapture={[Function]}
2363
+ onLayout={[Function]}
2364
+ style={null}
2365
+ >
2366
+ <View>
2367
+ <View
2368
+ accessibilityState={
2369
+ {
2370
+ "disabled": false,
2371
+ }
2372
+ }
2373
+ accessibilityValue={
2374
+ {
2375
+ "max": undefined,
2376
+ "min": undefined,
2377
+ "now": undefined,
2378
+ "text": undefined,
2379
+ }
2380
+ }
2381
+ accessible={true}
2382
+ focusable={true}
2383
+ onClick={[Function]}
2384
+ onResponderGrant={[Function]}
2385
+ onResponderMove={[Function]}
2386
+ onResponderRelease={[Function]}
2387
+ onResponderTerminate={[Function]}
2388
+ onResponderTerminationRequest={[Function]}
2389
+ onStartShouldSetResponder={[Function]}
2390
+ style={
2391
+ [
2392
+ {
2393
+ "alignItems": "center",
2394
+ "backgroundColor": "#ffffff",
2395
+ "borderRadius": 4,
2396
+ "flexDirection": "row",
2397
+ "opacity": 1,
2398
+ "padding": 16,
2399
+ },
2400
+ undefined,
2401
+ ]
2402
+ }
2403
+ >
2404
+ <View
2405
+ style={
2406
+ [
2407
+ {
2408
+ "flex": 1,
2409
+ },
2410
+ undefined,
2411
+ ]
2412
+ }
2413
+ >
2414
+ <Text
2415
+ allowFontScaling={false}
2416
+ style={
2417
+ [
2418
+ {
2419
+ "color": "#001f23",
2420
+ "fontFamily": "BeVietnamPro-Regular",
2421
+ "fontSize": 16,
2422
+ "letterSpacing": 0.48,
2423
+ "lineHeight": 24,
2424
+ },
2425
+ undefined,
2426
+ ]
2427
+ }
2428
+ themeIntent="body"
2429
+ themeTypeface="neutral"
2430
+ themeVariant="regular"
2431
+ >
2432
+ Wednesday
2433
+ </Text>
2434
+ </View>
2435
+ </View>
2436
+ <View
2437
+ highlighted={false}
2438
+ leadingItem={
2439
+ {
2440
+ "text": "Wednesday",
2441
+ "value": "wed",
2442
+ }
2443
+ }
2444
+ section={
2445
+ {
2446
+ "category": "",
2447
+ "data": [
2448
+ {
2449
+ "text": "Monday",
2450
+ "value": "mon",
2451
+ },
2452
+ {
2453
+ "text": "Tuesday",
2454
+ "value": "tue",
2455
+ },
2456
+ {
2457
+ "text": "Wednesday",
2458
+ "value": "wed",
2459
+ },
2460
+ {
2461
+ "text": "Thursday",
2462
+ "value": "thu",
2463
+ },
2464
+ {
2465
+ "text": "Friday",
2466
+ "value": "fri",
2467
+ },
2468
+ {
2469
+ "text": "Saturday",
2470
+ "value": "sat",
2471
+ },
2472
+ {
2473
+ "disabled": true,
2474
+ "text": "Sunday",
2475
+ "value": "sun",
2476
+ },
2477
+ ],
2478
+ }
2479
+ }
2480
+ style={
2481
+ [
2482
+ {
2483
+ "marginTop": 4,
2484
+ },
2485
+ undefined,
2486
+ ]
2487
+ }
2488
+ trailingItem={
2489
+ {
2490
+ "text": "Thursday",
2491
+ "value": "thu",
2492
+ }
2493
+ }
2494
+ />
2495
+ </View>
2496
+ </View>
2497
+ <View
2498
+ onFocusCapture={[Function]}
2499
+ onLayout={[Function]}
2500
+ style={null}
2501
+ >
2502
+ <View>
2503
+ <View
2504
+ accessibilityState={
2505
+ {
2506
+ "disabled": false,
2507
+ }
2508
+ }
2509
+ accessibilityValue={
2510
+ {
2511
+ "max": undefined,
2512
+ "min": undefined,
2513
+ "now": undefined,
2514
+ "text": undefined,
2515
+ }
2516
+ }
2517
+ accessible={true}
2518
+ focusable={true}
2519
+ onClick={[Function]}
2520
+ onResponderGrant={[Function]}
2521
+ onResponderMove={[Function]}
2522
+ onResponderRelease={[Function]}
2523
+ onResponderTerminate={[Function]}
2524
+ onResponderTerminationRequest={[Function]}
2525
+ onStartShouldSetResponder={[Function]}
2526
+ style={
2527
+ [
2528
+ {
2529
+ "alignItems": "center",
2530
+ "backgroundColor": "#ffffff",
2531
+ "borderRadius": 4,
2532
+ "flexDirection": "row",
2533
+ "opacity": 1,
2534
+ "padding": 16,
2535
+ },
2536
+ undefined,
2537
+ ]
2538
+ }
2539
+ >
2540
+ <View
2541
+ style={
2542
+ [
2543
+ {
2544
+ "flex": 1,
2545
+ },
2546
+ undefined,
2547
+ ]
2548
+ }
2549
+ >
2550
+ <Text
2551
+ allowFontScaling={false}
2552
+ style={
2553
+ [
2554
+ {
2555
+ "color": "#001f23",
2556
+ "fontFamily": "BeVietnamPro-Regular",
2557
+ "fontSize": 16,
2558
+ "letterSpacing": 0.48,
2559
+ "lineHeight": 24,
2560
+ },
2561
+ undefined,
2562
+ ]
2563
+ }
2564
+ themeIntent="body"
2565
+ themeTypeface="neutral"
2566
+ themeVariant="regular"
2567
+ >
2568
+ Thursday
2569
+ </Text>
2570
+ </View>
2571
+ </View>
2572
+ <View
2573
+ highlighted={false}
2574
+ leadingItem={
2575
+ {
2576
+ "text": "Thursday",
2577
+ "value": "thu",
2578
+ }
2579
+ }
2580
+ section={
2581
+ {
2582
+ "category": "",
2583
+ "data": [
2584
+ {
2585
+ "text": "Monday",
2586
+ "value": "mon",
2587
+ },
2588
+ {
2589
+ "text": "Tuesday",
2590
+ "value": "tue",
2591
+ },
2592
+ {
2593
+ "text": "Wednesday",
2594
+ "value": "wed",
2595
+ },
2596
+ {
2597
+ "text": "Thursday",
2598
+ "value": "thu",
2599
+ },
2600
+ {
2601
+ "text": "Friday",
2602
+ "value": "fri",
2603
+ },
2604
+ {
2605
+ "text": "Saturday",
2606
+ "value": "sat",
2607
+ },
2608
+ {
2609
+ "disabled": true,
2610
+ "text": "Sunday",
2611
+ "value": "sun",
2612
+ },
2613
+ ],
2614
+ }
2615
+ }
2616
+ style={
2617
+ [
2618
+ {
2619
+ "marginTop": 4,
2620
+ },
2621
+ undefined,
2622
+ ]
2623
+ }
2624
+ trailingItem={
2625
+ {
2626
+ "text": "Friday",
2627
+ "value": "fri",
2628
+ }
2629
+ }
2630
+ />
2631
+ </View>
2632
+ </View>
2633
+ <View
2634
+ onFocusCapture={[Function]}
2635
+ onLayout={[Function]}
2636
+ style={null}
2637
+ >
2638
+ <View>
2639
+ <View
2640
+ accessibilityState={
2641
+ {
2642
+ "disabled": false,
2643
+ }
2644
+ }
2645
+ accessibilityValue={
2646
+ {
2647
+ "max": undefined,
2648
+ "min": undefined,
2649
+ "now": undefined,
2650
+ "text": undefined,
2651
+ }
2652
+ }
2653
+ accessible={true}
2654
+ focusable={true}
2655
+ onClick={[Function]}
2656
+ onResponderGrant={[Function]}
2657
+ onResponderMove={[Function]}
2658
+ onResponderRelease={[Function]}
2659
+ onResponderTerminate={[Function]}
2660
+ onResponderTerminationRequest={[Function]}
2661
+ onStartShouldSetResponder={[Function]}
2662
+ style={
2663
+ [
2664
+ {
2665
+ "alignItems": "center",
2666
+ "backgroundColor": "#ffffff",
2667
+ "borderRadius": 4,
2668
+ "flexDirection": "row",
2669
+ "opacity": 1,
2670
+ "padding": 16,
2671
+ },
2672
+ undefined,
2673
+ ]
2674
+ }
2675
+ >
2676
+ <View
2677
+ style={
2678
+ [
2679
+ {
2680
+ "flex": 1,
2681
+ },
2682
+ undefined,
2683
+ ]
2684
+ }
2685
+ >
2686
+ <Text
2687
+ allowFontScaling={false}
2688
+ style={
2689
+ [
2690
+ {
2691
+ "color": "#001f23",
2692
+ "fontFamily": "BeVietnamPro-Regular",
2693
+ "fontSize": 16,
2694
+ "letterSpacing": 0.48,
2695
+ "lineHeight": 24,
2696
+ },
2697
+ undefined,
2698
+ ]
2699
+ }
2700
+ themeIntent="body"
2701
+ themeTypeface="neutral"
2702
+ themeVariant="regular"
2703
+ >
2704
+ Friday
2705
+ </Text>
2706
+ </View>
2707
+ </View>
2708
+ <View
2709
+ highlighted={false}
2710
+ leadingItem={
2711
+ {
2712
+ "text": "Friday",
2713
+ "value": "fri",
2714
+ }
2715
+ }
2716
+ section={
2717
+ {
2718
+ "category": "",
2719
+ "data": [
2720
+ {
2721
+ "text": "Monday",
2722
+ "value": "mon",
2723
+ },
2724
+ {
2725
+ "text": "Tuesday",
2726
+ "value": "tue",
2727
+ },
2728
+ {
2729
+ "text": "Wednesday",
2730
+ "value": "wed",
2731
+ },
2732
+ {
2733
+ "text": "Thursday",
2734
+ "value": "thu",
2735
+ },
2736
+ {
2737
+ "text": "Friday",
2738
+ "value": "fri",
2739
+ },
2740
+ {
2741
+ "text": "Saturday",
2742
+ "value": "sat",
2743
+ },
2744
+ {
2745
+ "disabled": true,
2746
+ "text": "Sunday",
2747
+ "value": "sun",
2748
+ },
2749
+ ],
2750
+ }
2751
+ }
2752
+ style={
2753
+ [
2754
+ {
2755
+ "marginTop": 4,
2756
+ },
2757
+ undefined,
2758
+ ]
2759
+ }
2760
+ trailingItem={
2761
+ {
2762
+ "text": "Saturday",
2763
+ "value": "sat",
2764
+ }
2765
+ }
2766
+ />
2767
+ </View>
2768
+ </View>
2769
+ <View
2770
+ onFocusCapture={[Function]}
2771
+ onLayout={[Function]}
2772
+ style={null}
2773
+ >
2774
+ <View>
2775
+ <View
2776
+ accessibilityState={
2777
+ {
2778
+ "disabled": false,
2779
+ }
2780
+ }
2781
+ accessibilityValue={
2782
+ {
2783
+ "max": undefined,
2784
+ "min": undefined,
2785
+ "now": undefined,
2786
+ "text": undefined,
2787
+ }
2788
+ }
2789
+ accessible={true}
2790
+ focusable={true}
2791
+ onClick={[Function]}
2792
+ onResponderGrant={[Function]}
2793
+ onResponderMove={[Function]}
2794
+ onResponderRelease={[Function]}
2795
+ onResponderTerminate={[Function]}
2796
+ onResponderTerminationRequest={[Function]}
2797
+ onStartShouldSetResponder={[Function]}
2798
+ style={
2799
+ [
2800
+ {
2801
+ "alignItems": "center",
2802
+ "backgroundColor": "#ffffff",
2803
+ "borderRadius": 4,
2804
+ "flexDirection": "row",
2805
+ "opacity": 1,
2806
+ "padding": 16,
2807
+ },
2808
+ undefined,
2809
+ ]
2810
+ }
2811
+ >
2812
+ <View
2813
+ style={
2814
+ [
2815
+ {
2816
+ "flex": 1,
2817
+ },
2818
+ undefined,
2819
+ ]
2820
+ }
2821
+ >
2822
+ <Text
2823
+ allowFontScaling={false}
2824
+ style={
2825
+ [
2826
+ {
2827
+ "color": "#001f23",
2828
+ "fontFamily": "BeVietnamPro-Regular",
2829
+ "fontSize": 16,
2830
+ "letterSpacing": 0.48,
2831
+ "lineHeight": 24,
2832
+ },
2833
+ undefined,
2834
+ ]
2835
+ }
2836
+ themeIntent="body"
2837
+ themeTypeface="neutral"
2838
+ themeVariant="regular"
2839
+ >
2840
+ Saturday
2841
+ </Text>
2842
+ </View>
2843
+ </View>
2844
+ <View
2845
+ highlighted={false}
2846
+ leadingItem={
2847
+ {
2848
+ "text": "Saturday",
2849
+ "value": "sat",
2850
+ }
2851
+ }
2852
+ section={
2853
+ {
2854
+ "category": "",
2855
+ "data": [
2856
+ {
2857
+ "text": "Monday",
2858
+ "value": "mon",
2859
+ },
2860
+ {
2861
+ "text": "Tuesday",
2862
+ "value": "tue",
2863
+ },
2864
+ {
2865
+ "text": "Wednesday",
2866
+ "value": "wed",
2867
+ },
2868
+ {
2869
+ "text": "Thursday",
2870
+ "value": "thu",
2871
+ },
2872
+ {
2873
+ "text": "Friday",
2874
+ "value": "fri",
2875
+ },
2876
+ {
2877
+ "text": "Saturday",
2878
+ "value": "sat",
2879
+ },
2880
+ {
2881
+ "disabled": true,
2882
+ "text": "Sunday",
2883
+ "value": "sun",
2884
+ },
2885
+ ],
2886
+ }
2887
+ }
2888
+ style={
2889
+ [
2890
+ {
2891
+ "marginTop": 4,
2892
+ },
2893
+ undefined,
2894
+ ]
2895
+ }
2896
+ trailingItem={
2897
+ {
2898
+ "disabled": true,
2899
+ "text": "Sunday",
2900
+ "value": "sun",
2901
+ }
2902
+ }
2903
+ />
2904
+ </View>
2905
+ </View>
2906
+ <View
2907
+ onFocusCapture={[Function]}
2908
+ onLayout={[Function]}
2909
+ style={null}
2910
+ >
2911
+ <View>
2912
+ <View
2913
+ accessibilityState={
2914
+ {
2915
+ "disabled": true,
2916
+ }
2917
+ }
2918
+ accessibilityValue={
2919
+ {
2920
+ "max": undefined,
2921
+ "min": undefined,
2922
+ "now": undefined,
2923
+ "text": undefined,
2924
+ }
2925
+ }
2926
+ accessible={true}
2927
+ focusable={true}
2928
+ onClick={[Function]}
2929
+ onResponderGrant={[Function]}
2930
+ onResponderMove={[Function]}
2931
+ onResponderRelease={[Function]}
2932
+ onResponderTerminate={[Function]}
2933
+ onResponderTerminationRequest={[Function]}
2934
+ onStartShouldSetResponder={[Function]}
2935
+ style={
2936
+ [
2937
+ {
2938
+ "alignItems": "center",
2939
+ "backgroundColor": "#ffffff",
2940
+ "borderRadius": 4,
2941
+ "flexDirection": "row",
2942
+ "opacity": 0.38,
2943
+ "padding": 16,
2944
+ },
2945
+ undefined,
2946
+ ]
2947
+ }
2948
+ >
2949
+ <View
2950
+ style={
2951
+ [
2952
+ {
2953
+ "flex": 1,
2954
+ },
2955
+ undefined,
2956
+ ]
2957
+ }
2958
+ >
2959
+ <Text
2960
+ allowFontScaling={false}
2961
+ style={
2962
+ [
2963
+ {
2964
+ "color": "#001f23",
2965
+ "fontFamily": "BeVietnamPro-Regular",
2966
+ "fontSize": 16,
2967
+ "letterSpacing": 0.48,
2968
+ "lineHeight": 24,
2969
+ },
2970
+ undefined,
2971
+ ]
2972
+ }
2973
+ themeIntent="body"
2974
+ themeTypeface="neutral"
2975
+ themeVariant="regular"
2976
+ >
2977
+ Sunday
2978
+ </Text>
2979
+ </View>
2980
+ </View>
2981
+ <View
2982
+ highlighted={false}
2983
+ leadingItem={
2984
+ {
2985
+ "disabled": true,
2986
+ "text": "Sunday",
2987
+ "value": "sun",
2988
+ }
2989
+ }
2990
+ section={
2991
+ {
2992
+ "category": "",
2993
+ "data": [
2994
+ {
2995
+ "text": "Monday",
2996
+ "value": "mon",
2997
+ },
2998
+ {
2999
+ "text": "Tuesday",
3000
+ "value": "tue",
3001
+ },
3002
+ {
3003
+ "text": "Wednesday",
3004
+ "value": "wed",
3005
+ },
3006
+ {
3007
+ "text": "Thursday",
3008
+ "value": "thu",
3009
+ },
3010
+ {
3011
+ "text": "Friday",
3012
+ "value": "fri",
3013
+ },
3014
+ {
3015
+ "text": "Saturday",
3016
+ "value": "sat",
3017
+ },
3018
+ {
3019
+ "disabled": true,
3020
+ "text": "Sunday",
3021
+ "value": "sun",
3022
+ },
3023
+ ],
3024
+ }
3025
+ }
3026
+ style={
3027
+ [
3028
+ {
3029
+ "marginTop": 12,
3030
+ },
3031
+ undefined,
3032
+ ]
3033
+ }
3034
+ />
3035
+ </View>
3036
+ </View>
3037
+ <View
3038
+ onFocusCapture={[Function]}
3039
+ onLayout={[Function]}
3040
+ style={null}
3041
+ />
3042
+ </View>
3043
+ </RCTScrollView>
3044
+ </View>
3045
+ </RCTSafeAreaView>
3046
+ </View>
3047
+ </View>
3048
+ </Modal>
3049
+ <View
3050
+ pointerEvents="box-none"
3051
+ position="bottom"
3052
+ style={
3053
+ [
3054
+ {
3055
+ "bottom": 0,
3056
+ "elevation": 9999,
3057
+ "flexDirection": "column-reverse",
3058
+ "left": 0,
3059
+ "paddingHorizontal": 24,
3060
+ "paddingVertical": 16,
3061
+ "position": "absolute",
3062
+ "right": 0,
3063
+ "top": 0,
3064
+ },
3065
+ undefined,
3066
+ ]
3067
+ }
3068
+ />
3069
+ </View>
3070
+ `;
3071
+
1455
3072
  exports[`rendering renders correctly when bottom sheet is NOT visible 1`] = `
1456
3073
  <View
1457
3074
  style={