@hero-design/rn 8.78.1 → 8.79.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/CHANGELOG.md +14 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +18 -6
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +18 -6
  7. package/package.json +1 -1
  8. package/src/components/BottomSheet/index.tsx +1 -1
  9. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  10. package/src/components/Icon/IconList.ts +1 -1
  11. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +1729 -0
  12. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +35 -0
  13. package/src/components/Select/MultiSelect/index.tsx +5 -1
  14. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +1617 -0
  15. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +33 -0
  16. package/src/components/Select/SingleSelect/index.tsx +5 -1
  17. package/src/components/Select/types.ts +8 -0
  18. package/src/theme/global/colors/__tests__/__snapshots__/swagLightJobs.spec.ts.snap +1 -0
  19. package/src/theme/global/colors/swagLightJobs.ts +1 -0
  20. package/src/theme/global/colors/types.ts +1 -0
  21. package/stats/8.79.0/rn-stats.html +4844 -0
  22. package/stats/8.79.1/rn-stats.html +4844 -0
  23. package/types/components/BottomSheet/index.d.ts +1 -1
  24. package/types/components/Icon/IconList.d.ts +1 -1
  25. package/types/components/Icon/index.d.ts +1 -1
  26. package/types/components/Icon/utils.d.ts +1 -1
  27. package/types/components/Search/utils.d.ts +2 -2
  28. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  29. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  30. package/types/components/Select/index.d.ts +1 -1
  31. package/types/components/Select/types.d.ts +8 -0
  32. package/types/components/TextInput/index.d.ts +3 -3
  33. package/types/theme/global/colors/swagLightJobs.d.ts +1 -0
  34. package/types/theme/global/colors/types.d.ts +1 -0
  35. package/types/theme/global/index.d.ts +1 -0
@@ -1537,6 +1537,1735 @@ exports[`rendering allows custom renderer 1`] = `
1537
1537
  </View>
1538
1538
  `;
1539
1539
 
1540
+ exports[`rendering renders correct floating bottom sheet variant 1`] = `
1541
+ <View
1542
+ style={
1543
+ {
1544
+ "flex": 1,
1545
+ }
1546
+ }
1547
+ >
1548
+ <View
1549
+ pointerEvents="auto"
1550
+ >
1551
+ <View
1552
+ accessibilityState={
1553
+ {
1554
+ "busy": undefined,
1555
+ "checked": undefined,
1556
+ "disabled": undefined,
1557
+ "expanded": undefined,
1558
+ "selected": undefined,
1559
+ }
1560
+ }
1561
+ accessibilityValue={
1562
+ {
1563
+ "max": undefined,
1564
+ "min": undefined,
1565
+ "now": undefined,
1566
+ "text": undefined,
1567
+ }
1568
+ }
1569
+ accessible={true}
1570
+ collapsable={false}
1571
+ focusable={true}
1572
+ onClick={[Function]}
1573
+ onResponderGrant={[Function]}
1574
+ onResponderMove={[Function]}
1575
+ onResponderRelease={[Function]}
1576
+ onResponderTerminate={[Function]}
1577
+ onResponderTerminationRequest={[Function]}
1578
+ onStartShouldSetResponder={[Function]}
1579
+ style={
1580
+ {
1581
+ "opacity": 1,
1582
+ }
1583
+ }
1584
+ >
1585
+ <View
1586
+ pointerEvents="none"
1587
+ >
1588
+ <View
1589
+ pointerEvents="auto"
1590
+ style={
1591
+ [
1592
+ {
1593
+ "marginTop": 8,
1594
+ "width": "100%",
1595
+ },
1596
+ undefined,
1597
+ ]
1598
+ }
1599
+ >
1600
+ <View
1601
+ onLayout={[Function]}
1602
+ style={
1603
+ [
1604
+ {
1605
+ "alignItems": "center",
1606
+ "backgroundColor": "#ffffff",
1607
+ "borderRadius": 8,
1608
+ "flexDirection": "row",
1609
+ "padding": 16,
1610
+ },
1611
+ undefined,
1612
+ ]
1613
+ }
1614
+ >
1615
+ <View
1616
+ style={
1617
+ [
1618
+ {
1619
+ "borderColor": "#001f23",
1620
+ "borderRadius": 8,
1621
+ "borderWidth": 1,
1622
+ "bottom": 0,
1623
+ "left": 0,
1624
+ "position": "absolute",
1625
+ "right": 0,
1626
+ "top": 0,
1627
+ },
1628
+ [
1629
+ {
1630
+ "backgroundColor": "#ffffff",
1631
+ },
1632
+ undefined,
1633
+ ],
1634
+ ]
1635
+ }
1636
+ testID="text-input-border"
1637
+ themeFocused={false}
1638
+ themeState="filled"
1639
+ />
1640
+ <View
1641
+ onLayout={[Function]}
1642
+ />
1643
+ <View
1644
+ collapsable={false}
1645
+ pointerEvents="none"
1646
+ style={
1647
+ {
1648
+ "alignItems": "center",
1649
+ "flexDirection": "row",
1650
+ "justifyContent": "center",
1651
+ "left": 0,
1652
+ "position": "absolute",
1653
+ "right": 0,
1654
+ "top": -10.666666666666666,
1655
+ "transform": [
1656
+ {
1657
+ "translateY": 0,
1658
+ },
1659
+ {
1660
+ "translateX": 24,
1661
+ },
1662
+ {
1663
+ "scale": 1,
1664
+ },
1665
+ ],
1666
+ "zIndex": 1,
1667
+ }
1668
+ }
1669
+ themeVariant="text"
1670
+ >
1671
+ <Text
1672
+ allowFontScaling={false}
1673
+ onLayout={[Function]}
1674
+ style={
1675
+ [
1676
+ {
1677
+ "color": "#001f23",
1678
+ "fontFamily": "BeVietnamPro-Regular",
1679
+ "fontSize": 16,
1680
+ "letterSpacing": 0.48,
1681
+ "lineHeight": 24,
1682
+ },
1683
+ [
1684
+ {
1685
+ "alignContent": "center",
1686
+ "alignItems": "center",
1687
+ "color": "#001f23",
1688
+ "marginTop": -2,
1689
+ "textAlignVertical": "center",
1690
+ },
1691
+ {
1692
+ "backgroundColor": "#ffffff",
1693
+ },
1694
+ ],
1695
+ ]
1696
+ }
1697
+ testID="input-label"
1698
+ themeIntent="body"
1699
+ themeState="filled"
1700
+ themeTypeface="neutral"
1701
+ themeVariant="regular"
1702
+ >
1703
+ Allow notifications
1704
+ </Text>
1705
+ </View>
1706
+ <View
1707
+ style={
1708
+ [
1709
+ {
1710
+ "alignItems": "center",
1711
+ "alignSelf": "stretch",
1712
+ "flexDirection": "row",
1713
+ "flexGrow": 2,
1714
+ "flexShrink": 1,
1715
+ },
1716
+ undefined,
1717
+ ]
1718
+ }
1719
+ >
1720
+ <TextInput
1721
+ accessibilityState={
1722
+ {
1723
+ "disabled": false,
1724
+ }
1725
+ }
1726
+ allowFontScaling={false}
1727
+ editable={true}
1728
+ multiline={true}
1729
+ onBlur={[Function]}
1730
+ onChangeText={[Function]}
1731
+ onFocus={[Function]}
1732
+ placeholder=" "
1733
+ pointerEvents="none"
1734
+ style={
1735
+ [
1736
+ {
1737
+ "alignSelf": "stretch",
1738
+ "flexGrow": 2,
1739
+ "fontFamily": "BeVietnamPro-Regular",
1740
+ "fontSize": 16,
1741
+ "height": undefined,
1742
+ "marginHorizontal": 8,
1743
+ "maxHeight": 144,
1744
+ "paddingVertical": 0,
1745
+ "textAlignVertical": "center",
1746
+ },
1747
+ {
1748
+ "backgroundColor": "#ffffff",
1749
+ "color": "#001f23",
1750
+ },
1751
+ ]
1752
+ }
1753
+ testID="text-input"
1754
+ themeVariant="text"
1755
+ value="Monday"
1756
+ />
1757
+ </View>
1758
+ <HeroIcon
1759
+ name="arrow-down"
1760
+ style={
1761
+ [
1762
+ {
1763
+ "color": "#001f23",
1764
+ "fontSize": 24,
1765
+ },
1766
+ undefined,
1767
+ ]
1768
+ }
1769
+ testID="input-suffix"
1770
+ themeIntent="text"
1771
+ themeSize="medium"
1772
+ />
1773
+ </View>
1774
+ <View
1775
+ style={
1776
+ [
1777
+ {
1778
+ "minHeight": 16,
1779
+ "paddingHorizontal": 16,
1780
+ "paddingTop": 2,
1781
+ },
1782
+ undefined,
1783
+ ]
1784
+ }
1785
+ >
1786
+ <View
1787
+ style={
1788
+ [
1789
+ {
1790
+ "alignItems": "flex-start",
1791
+ "flexDirection": "row",
1792
+ "justifyContent": "space-between",
1793
+ },
1794
+ undefined,
1795
+ ]
1796
+ }
1797
+ />
1798
+ </View>
1799
+ </View>
1800
+ </View>
1801
+ </View>
1802
+ </View>
1803
+ <Modal
1804
+ hardwareAccelerated={false}
1805
+ onRequestClose={[Function]}
1806
+ supportedOrientations={
1807
+ [
1808
+ "portrait",
1809
+ ]
1810
+ }
1811
+ transparent={true}
1812
+ visible={true}
1813
+ >
1814
+ <View
1815
+ pointerEvents="box-none"
1816
+ style={
1817
+ [
1818
+ {
1819
+ "bottom": 0,
1820
+ "flexDirection": "column-reverse",
1821
+ "left": 0,
1822
+ "position": "absolute",
1823
+ "right": 0,
1824
+ "top": 0,
1825
+ },
1826
+ undefined,
1827
+ ]
1828
+ }
1829
+ >
1830
+ <View
1831
+ onLayout={[Function]}
1832
+ style={
1833
+ [
1834
+ [
1835
+ {
1836
+ "flex": 1,
1837
+ "flexDirection": "column-reverse",
1838
+ },
1839
+ undefined,
1840
+ ],
1841
+ {
1842
+ "paddingBottom": 0,
1843
+ },
1844
+ ]
1845
+ }
1846
+ >
1847
+ <View
1848
+ accessibilityState={
1849
+ {
1850
+ "busy": undefined,
1851
+ "checked": undefined,
1852
+ "disabled": undefined,
1853
+ "expanded": undefined,
1854
+ "selected": undefined,
1855
+ }
1856
+ }
1857
+ accessibilityValue={
1858
+ {
1859
+ "max": undefined,
1860
+ "min": undefined,
1861
+ "now": undefined,
1862
+ "text": undefined,
1863
+ }
1864
+ }
1865
+ accessible={true}
1866
+ collapsable={false}
1867
+ focusable={true}
1868
+ onBlur={[Function]}
1869
+ onClick={[Function]}
1870
+ onFocus={[Function]}
1871
+ onResponderGrant={[Function]}
1872
+ onResponderMove={[Function]}
1873
+ onResponderRelease={[Function]}
1874
+ onResponderTerminate={[Function]}
1875
+ onResponderTerminationRequest={[Function]}
1876
+ onStartShouldSetResponder={[Function]}
1877
+ style={
1878
+ {
1879
+ "backgroundColor": "#000000",
1880
+ "bottom": 0,
1881
+ "left": 0,
1882
+ "opacity": 0.48,
1883
+ "position": "absolute",
1884
+ "right": 0,
1885
+ "top": 0,
1886
+ }
1887
+ }
1888
+ />
1889
+ <RCTSafeAreaView
1890
+ collapsable={false}
1891
+ style={
1892
+ {
1893
+ "margin": 16,
1894
+ }
1895
+ }
1896
+ >
1897
+ <View
1898
+ collapsable={false}
1899
+ style={
1900
+ {
1901
+ "backgroundColor": "#ffffff",
1902
+ "borderRadius": 32,
1903
+ "elevation": 10,
1904
+ "maxHeight": "100%",
1905
+ "padding": 8,
1906
+ "paddingBottom": 0,
1907
+ "shadowColor": "#001f23",
1908
+ "shadowOffset": {
1909
+ "height": 3,
1910
+ "width": 0,
1911
+ },
1912
+ "shadowOpacity": 0.4,
1913
+ "shadowRadius": 16,
1914
+ "transform": [
1915
+ {
1916
+ "scaleY": 1,
1917
+ },
1918
+ {
1919
+ "translateY": 0,
1920
+ },
1921
+ ],
1922
+ "width": "100%",
1923
+ }
1924
+ }
1925
+ >
1926
+ <View
1927
+ style={
1928
+ [
1929
+ {
1930
+ "flexDirection": "row",
1931
+ "paddingHorizontal": 16,
1932
+ "paddingVertical": 8,
1933
+ },
1934
+ undefined,
1935
+ ]
1936
+ }
1937
+ >
1938
+ <View
1939
+ style={
1940
+ [
1941
+ {
1942
+ "flex": 1,
1943
+ "justifyContent": "center",
1944
+ },
1945
+ undefined,
1946
+ ]
1947
+ }
1948
+ >
1949
+ <Text
1950
+ allowFontScaling={false}
1951
+ style={
1952
+ [
1953
+ {
1954
+ "color": "#001f23",
1955
+ "fontFamily": "BeVietnamPro-SemiBold",
1956
+ "fontSize": 16,
1957
+ "letterSpacing": 0.24,
1958
+ "lineHeight": 24,
1959
+ },
1960
+ undefined,
1961
+ ]
1962
+ }
1963
+ themeIntent="body"
1964
+ themeTypeface="neutral"
1965
+ themeVariant="regular-bold"
1966
+ >
1967
+ Allow notifications
1968
+ </Text>
1969
+ </View>
1970
+ <View
1971
+ style={
1972
+ [
1973
+ {
1974
+ "alignItems": "flex-end",
1975
+ "height": 48,
1976
+ "justifyContent": "center",
1977
+ "marginLeft": 12,
1978
+ "width": 48,
1979
+ },
1980
+ undefined,
1981
+ ]
1982
+ }
1983
+ >
1984
+ <View
1985
+ accessibilityState={
1986
+ {
1987
+ "busy": undefined,
1988
+ "checked": undefined,
1989
+ "disabled": undefined,
1990
+ "expanded": undefined,
1991
+ "selected": undefined,
1992
+ }
1993
+ }
1994
+ accessibilityValue={
1995
+ {
1996
+ "max": undefined,
1997
+ "min": undefined,
1998
+ "now": undefined,
1999
+ "text": undefined,
2000
+ }
2001
+ }
2002
+ accessible={true}
2003
+ collapsable={false}
2004
+ focusable={true}
2005
+ onClick={[Function]}
2006
+ onResponderGrant={[Function]}
2007
+ onResponderMove={[Function]}
2008
+ onResponderRelease={[Function]}
2009
+ onResponderTerminate={[Function]}
2010
+ onResponderTerminationRequest={[Function]}
2011
+ onStartShouldSetResponder={[Function]}
2012
+ style={
2013
+ {
2014
+ "backgroundColor": "#dadbde",
2015
+ "borderRadius": 999,
2016
+ "opacity": 1,
2017
+ "padding": 8,
2018
+ }
2019
+ }
2020
+ testID="bottom-sheet-close-icon"
2021
+ >
2022
+ <HeroIcon
2023
+ name="cancel"
2024
+ style={
2025
+ [
2026
+ {
2027
+ "color": "#001f23",
2028
+ "fontSize": 24,
2029
+ },
2030
+ {
2031
+ "fontSize": 12,
2032
+ },
2033
+ ]
2034
+ }
2035
+ themeIntent="text"
2036
+ themeSize="medium"
2037
+ />
2038
+ </View>
2039
+ </View>
2040
+ </View>
2041
+ <RCTScrollView
2042
+ ListFooterComponent={null}
2043
+ data={
2044
+ [
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
+ }
2081
+ getItem={[Function]}
2082
+ getItemCount={[Function]}
2083
+ keyExtractor={[Function]}
2084
+ onContentSizeChange={[Function]}
2085
+ onEndReached={[Function]}
2086
+ onEndReachedThreshold={0.1}
2087
+ onLayout={[Function]}
2088
+ onMomentumScrollBegin={[Function]}
2089
+ onMomentumScrollEnd={[Function]}
2090
+ onScroll={[Function]}
2091
+ onScrollBeginDrag={[Function]}
2092
+ onScrollEndDrag={[Function]}
2093
+ onScrollToIndexFailed={[Function]}
2094
+ renderItem={[Function]}
2095
+ scrollEventThrottle={0.0001}
2096
+ stickyHeaderIndices={
2097
+ [
2098
+ 0,
2099
+ ]
2100
+ }
2101
+ style={
2102
+ [
2103
+ {
2104
+ "paddingHorizontal": 12,
2105
+ },
2106
+ {},
2107
+ ]
2108
+ }
2109
+ >
2110
+ <View>
2111
+ <View
2112
+ onFocusCapture={[Function]}
2113
+ onLayout={[Function]}
2114
+ style={null}
2115
+ />
2116
+ <View
2117
+ onFocusCapture={[Function]}
2118
+ onLayout={[Function]}
2119
+ style={null}
2120
+ >
2121
+ <View>
2122
+ <View
2123
+ highlighted={false}
2124
+ section={
2125
+ {
2126
+ "category": "",
2127
+ "data": [
2128
+ {
2129
+ "text": "Monday",
2130
+ "value": "mon",
2131
+ },
2132
+ {
2133
+ "text": "Tuesday",
2134
+ "value": "tue",
2135
+ },
2136
+ {
2137
+ "text": "Wednesday",
2138
+ "value": "wed",
2139
+ },
2140
+ {
2141
+ "text": "Thursday",
2142
+ "value": "thu",
2143
+ },
2144
+ {
2145
+ "text": "Friday",
2146
+ "value": "fri",
2147
+ },
2148
+ {
2149
+ "text": "Saturday",
2150
+ "value": "sat",
2151
+ },
2152
+ {
2153
+ "disabled": true,
2154
+ "text": "Sunday",
2155
+ "value": "sun",
2156
+ },
2157
+ ],
2158
+ }
2159
+ }
2160
+ style={
2161
+ [
2162
+ {
2163
+ "marginTop": 12,
2164
+ },
2165
+ undefined,
2166
+ ]
2167
+ }
2168
+ trailingItem={
2169
+ {
2170
+ "text": "Monday",
2171
+ "value": "mon",
2172
+ }
2173
+ }
2174
+ />
2175
+ <View
2176
+ accessibilityState={
2177
+ {
2178
+ "disabled": false,
2179
+ }
2180
+ }
2181
+ accessibilityValue={
2182
+ {
2183
+ "max": undefined,
2184
+ "min": undefined,
2185
+ "now": undefined,
2186
+ "text": undefined,
2187
+ }
2188
+ }
2189
+ accessible={true}
2190
+ focusable={true}
2191
+ onClick={[Function]}
2192
+ onResponderGrant={[Function]}
2193
+ onResponderMove={[Function]}
2194
+ onResponderRelease={[Function]}
2195
+ onResponderTerminate={[Function]}
2196
+ onResponderTerminationRequest={[Function]}
2197
+ onStartShouldSetResponder={[Function]}
2198
+ style={
2199
+ [
2200
+ {
2201
+ "alignItems": "center",
2202
+ "backgroundColor": "#ece8ef",
2203
+ "borderRadius": 4,
2204
+ "flexDirection": "row",
2205
+ "opacity": 1,
2206
+ "padding": 16,
2207
+ },
2208
+ undefined,
2209
+ ]
2210
+ }
2211
+ >
2212
+ <View
2213
+ style={
2214
+ [
2215
+ {
2216
+ "flex": 1,
2217
+ },
2218
+ undefined,
2219
+ ]
2220
+ }
2221
+ >
2222
+ <Text
2223
+ allowFontScaling={false}
2224
+ style={
2225
+ [
2226
+ {
2227
+ "color": "#001f23",
2228
+ "fontFamily": "BeVietnamPro-Regular",
2229
+ "fontSize": 16,
2230
+ "letterSpacing": 0.48,
2231
+ "lineHeight": 24,
2232
+ },
2233
+ undefined,
2234
+ ]
2235
+ }
2236
+ themeIntent="body"
2237
+ themeTypeface="neutral"
2238
+ themeVariant="regular"
2239
+ >
2240
+ Monday
2241
+ </Text>
2242
+ </View>
2243
+ <View
2244
+ style={
2245
+ [
2246
+ {
2247
+ "marginLeft": 8,
2248
+ },
2249
+ undefined,
2250
+ ]
2251
+ }
2252
+ >
2253
+ <HeroIcon
2254
+ name="checkmark"
2255
+ style={
2256
+ [
2257
+ {
2258
+ "color": "#401960",
2259
+ "fontSize": 20,
2260
+ },
2261
+ {
2262
+ "marginRight": 12,
2263
+ },
2264
+ ]
2265
+ }
2266
+ testID="selected-icon-Monday"
2267
+ themeIntent="primary"
2268
+ themeSize="small"
2269
+ />
2270
+ </View>
2271
+ </View>
2272
+ <View
2273
+ highlighted={false}
2274
+ leadingItem={
2275
+ {
2276
+ "text": "Monday",
2277
+ "value": "mon",
2278
+ }
2279
+ }
2280
+ section={
2281
+ {
2282
+ "category": "",
2283
+ "data": [
2284
+ {
2285
+ "text": "Monday",
2286
+ "value": "mon",
2287
+ },
2288
+ {
2289
+ "text": "Tuesday",
2290
+ "value": "tue",
2291
+ },
2292
+ {
2293
+ "text": "Wednesday",
2294
+ "value": "wed",
2295
+ },
2296
+ {
2297
+ "text": "Thursday",
2298
+ "value": "thu",
2299
+ },
2300
+ {
2301
+ "text": "Friday",
2302
+ "value": "fri",
2303
+ },
2304
+ {
2305
+ "text": "Saturday",
2306
+ "value": "sat",
2307
+ },
2308
+ {
2309
+ "disabled": true,
2310
+ "text": "Sunday",
2311
+ "value": "sun",
2312
+ },
2313
+ ],
2314
+ }
2315
+ }
2316
+ style={
2317
+ [
2318
+ {
2319
+ "marginTop": 4,
2320
+ },
2321
+ undefined,
2322
+ ]
2323
+ }
2324
+ trailingItem={
2325
+ {
2326
+ "text": "Tuesday",
2327
+ "value": "tue",
2328
+ }
2329
+ }
2330
+ />
2331
+ </View>
2332
+ </View>
2333
+ <View
2334
+ onFocusCapture={[Function]}
2335
+ onLayout={[Function]}
2336
+ style={null}
2337
+ >
2338
+ <View>
2339
+ <View
2340
+ accessibilityState={
2341
+ {
2342
+ "disabled": false,
2343
+ }
2344
+ }
2345
+ accessibilityValue={
2346
+ {
2347
+ "max": undefined,
2348
+ "min": undefined,
2349
+ "now": undefined,
2350
+ "text": undefined,
2351
+ }
2352
+ }
2353
+ accessible={true}
2354
+ focusable={true}
2355
+ onClick={[Function]}
2356
+ onResponderGrant={[Function]}
2357
+ onResponderMove={[Function]}
2358
+ onResponderRelease={[Function]}
2359
+ onResponderTerminate={[Function]}
2360
+ onResponderTerminationRequest={[Function]}
2361
+ onStartShouldSetResponder={[Function]}
2362
+ style={
2363
+ [
2364
+ {
2365
+ "alignItems": "center",
2366
+ "backgroundColor": "#ffffff",
2367
+ "borderRadius": 4,
2368
+ "flexDirection": "row",
2369
+ "opacity": 1,
2370
+ "padding": 16,
2371
+ },
2372
+ undefined,
2373
+ ]
2374
+ }
2375
+ >
2376
+ <View
2377
+ style={
2378
+ [
2379
+ {
2380
+ "flex": 1,
2381
+ },
2382
+ undefined,
2383
+ ]
2384
+ }
2385
+ >
2386
+ <Text
2387
+ allowFontScaling={false}
2388
+ style={
2389
+ [
2390
+ {
2391
+ "color": "#001f23",
2392
+ "fontFamily": "BeVietnamPro-Regular",
2393
+ "fontSize": 16,
2394
+ "letterSpacing": 0.48,
2395
+ "lineHeight": 24,
2396
+ },
2397
+ undefined,
2398
+ ]
2399
+ }
2400
+ themeIntent="body"
2401
+ themeTypeface="neutral"
2402
+ themeVariant="regular"
2403
+ >
2404
+ Tuesday
2405
+ </Text>
2406
+ </View>
2407
+ </View>
2408
+ <View
2409
+ highlighted={false}
2410
+ leadingItem={
2411
+ {
2412
+ "text": "Tuesday",
2413
+ "value": "tue",
2414
+ }
2415
+ }
2416
+ section={
2417
+ {
2418
+ "category": "",
2419
+ "data": [
2420
+ {
2421
+ "text": "Monday",
2422
+ "value": "mon",
2423
+ },
2424
+ {
2425
+ "text": "Tuesday",
2426
+ "value": "tue",
2427
+ },
2428
+ {
2429
+ "text": "Wednesday",
2430
+ "value": "wed",
2431
+ },
2432
+ {
2433
+ "text": "Thursday",
2434
+ "value": "thu",
2435
+ },
2436
+ {
2437
+ "text": "Friday",
2438
+ "value": "fri",
2439
+ },
2440
+ {
2441
+ "text": "Saturday",
2442
+ "value": "sat",
2443
+ },
2444
+ {
2445
+ "disabled": true,
2446
+ "text": "Sunday",
2447
+ "value": "sun",
2448
+ },
2449
+ ],
2450
+ }
2451
+ }
2452
+ style={
2453
+ [
2454
+ {
2455
+ "marginTop": 4,
2456
+ },
2457
+ undefined,
2458
+ ]
2459
+ }
2460
+ trailingItem={
2461
+ {
2462
+ "text": "Wednesday",
2463
+ "value": "wed",
2464
+ }
2465
+ }
2466
+ />
2467
+ </View>
2468
+ </View>
2469
+ <View
2470
+ onFocusCapture={[Function]}
2471
+ onLayout={[Function]}
2472
+ style={null}
2473
+ >
2474
+ <View>
2475
+ <View
2476
+ accessibilityState={
2477
+ {
2478
+ "disabled": false,
2479
+ }
2480
+ }
2481
+ accessibilityValue={
2482
+ {
2483
+ "max": undefined,
2484
+ "min": undefined,
2485
+ "now": undefined,
2486
+ "text": undefined,
2487
+ }
2488
+ }
2489
+ accessible={true}
2490
+ focusable={true}
2491
+ onClick={[Function]}
2492
+ onResponderGrant={[Function]}
2493
+ onResponderMove={[Function]}
2494
+ onResponderRelease={[Function]}
2495
+ onResponderTerminate={[Function]}
2496
+ onResponderTerminationRequest={[Function]}
2497
+ onStartShouldSetResponder={[Function]}
2498
+ style={
2499
+ [
2500
+ {
2501
+ "alignItems": "center",
2502
+ "backgroundColor": "#ffffff",
2503
+ "borderRadius": 4,
2504
+ "flexDirection": "row",
2505
+ "opacity": 1,
2506
+ "padding": 16,
2507
+ },
2508
+ undefined,
2509
+ ]
2510
+ }
2511
+ >
2512
+ <View
2513
+ style={
2514
+ [
2515
+ {
2516
+ "flex": 1,
2517
+ },
2518
+ undefined,
2519
+ ]
2520
+ }
2521
+ >
2522
+ <Text
2523
+ allowFontScaling={false}
2524
+ style={
2525
+ [
2526
+ {
2527
+ "color": "#001f23",
2528
+ "fontFamily": "BeVietnamPro-Regular",
2529
+ "fontSize": 16,
2530
+ "letterSpacing": 0.48,
2531
+ "lineHeight": 24,
2532
+ },
2533
+ undefined,
2534
+ ]
2535
+ }
2536
+ themeIntent="body"
2537
+ themeTypeface="neutral"
2538
+ themeVariant="regular"
2539
+ >
2540
+ Wednesday
2541
+ </Text>
2542
+ </View>
2543
+ </View>
2544
+ <View
2545
+ highlighted={false}
2546
+ leadingItem={
2547
+ {
2548
+ "text": "Wednesday",
2549
+ "value": "wed",
2550
+ }
2551
+ }
2552
+ section={
2553
+ {
2554
+ "category": "",
2555
+ "data": [
2556
+ {
2557
+ "text": "Monday",
2558
+ "value": "mon",
2559
+ },
2560
+ {
2561
+ "text": "Tuesday",
2562
+ "value": "tue",
2563
+ },
2564
+ {
2565
+ "text": "Wednesday",
2566
+ "value": "wed",
2567
+ },
2568
+ {
2569
+ "text": "Thursday",
2570
+ "value": "thu",
2571
+ },
2572
+ {
2573
+ "text": "Friday",
2574
+ "value": "fri",
2575
+ },
2576
+ {
2577
+ "text": "Saturday",
2578
+ "value": "sat",
2579
+ },
2580
+ {
2581
+ "disabled": true,
2582
+ "text": "Sunday",
2583
+ "value": "sun",
2584
+ },
2585
+ ],
2586
+ }
2587
+ }
2588
+ style={
2589
+ [
2590
+ {
2591
+ "marginTop": 4,
2592
+ },
2593
+ undefined,
2594
+ ]
2595
+ }
2596
+ trailingItem={
2597
+ {
2598
+ "text": "Thursday",
2599
+ "value": "thu",
2600
+ }
2601
+ }
2602
+ />
2603
+ </View>
2604
+ </View>
2605
+ <View
2606
+ onFocusCapture={[Function]}
2607
+ onLayout={[Function]}
2608
+ style={null}
2609
+ >
2610
+ <View>
2611
+ <View
2612
+ accessibilityState={
2613
+ {
2614
+ "disabled": false,
2615
+ }
2616
+ }
2617
+ accessibilityValue={
2618
+ {
2619
+ "max": undefined,
2620
+ "min": undefined,
2621
+ "now": undefined,
2622
+ "text": undefined,
2623
+ }
2624
+ }
2625
+ accessible={true}
2626
+ focusable={true}
2627
+ onClick={[Function]}
2628
+ onResponderGrant={[Function]}
2629
+ onResponderMove={[Function]}
2630
+ onResponderRelease={[Function]}
2631
+ onResponderTerminate={[Function]}
2632
+ onResponderTerminationRequest={[Function]}
2633
+ onStartShouldSetResponder={[Function]}
2634
+ style={
2635
+ [
2636
+ {
2637
+ "alignItems": "center",
2638
+ "backgroundColor": "#ffffff",
2639
+ "borderRadius": 4,
2640
+ "flexDirection": "row",
2641
+ "opacity": 1,
2642
+ "padding": 16,
2643
+ },
2644
+ undefined,
2645
+ ]
2646
+ }
2647
+ >
2648
+ <View
2649
+ style={
2650
+ [
2651
+ {
2652
+ "flex": 1,
2653
+ },
2654
+ undefined,
2655
+ ]
2656
+ }
2657
+ >
2658
+ <Text
2659
+ allowFontScaling={false}
2660
+ style={
2661
+ [
2662
+ {
2663
+ "color": "#001f23",
2664
+ "fontFamily": "BeVietnamPro-Regular",
2665
+ "fontSize": 16,
2666
+ "letterSpacing": 0.48,
2667
+ "lineHeight": 24,
2668
+ },
2669
+ undefined,
2670
+ ]
2671
+ }
2672
+ themeIntent="body"
2673
+ themeTypeface="neutral"
2674
+ themeVariant="regular"
2675
+ >
2676
+ Thursday
2677
+ </Text>
2678
+ </View>
2679
+ </View>
2680
+ <View
2681
+ highlighted={false}
2682
+ leadingItem={
2683
+ {
2684
+ "text": "Thursday",
2685
+ "value": "thu",
2686
+ }
2687
+ }
2688
+ section={
2689
+ {
2690
+ "category": "",
2691
+ "data": [
2692
+ {
2693
+ "text": "Monday",
2694
+ "value": "mon",
2695
+ },
2696
+ {
2697
+ "text": "Tuesday",
2698
+ "value": "tue",
2699
+ },
2700
+ {
2701
+ "text": "Wednesday",
2702
+ "value": "wed",
2703
+ },
2704
+ {
2705
+ "text": "Thursday",
2706
+ "value": "thu",
2707
+ },
2708
+ {
2709
+ "text": "Friday",
2710
+ "value": "fri",
2711
+ },
2712
+ {
2713
+ "text": "Saturday",
2714
+ "value": "sat",
2715
+ },
2716
+ {
2717
+ "disabled": true,
2718
+ "text": "Sunday",
2719
+ "value": "sun",
2720
+ },
2721
+ ],
2722
+ }
2723
+ }
2724
+ style={
2725
+ [
2726
+ {
2727
+ "marginTop": 4,
2728
+ },
2729
+ undefined,
2730
+ ]
2731
+ }
2732
+ trailingItem={
2733
+ {
2734
+ "text": "Friday",
2735
+ "value": "fri",
2736
+ }
2737
+ }
2738
+ />
2739
+ </View>
2740
+ </View>
2741
+ <View
2742
+ onFocusCapture={[Function]}
2743
+ onLayout={[Function]}
2744
+ style={null}
2745
+ >
2746
+ <View>
2747
+ <View
2748
+ accessibilityState={
2749
+ {
2750
+ "disabled": false,
2751
+ }
2752
+ }
2753
+ accessibilityValue={
2754
+ {
2755
+ "max": undefined,
2756
+ "min": undefined,
2757
+ "now": undefined,
2758
+ "text": undefined,
2759
+ }
2760
+ }
2761
+ accessible={true}
2762
+ focusable={true}
2763
+ onClick={[Function]}
2764
+ onResponderGrant={[Function]}
2765
+ onResponderMove={[Function]}
2766
+ onResponderRelease={[Function]}
2767
+ onResponderTerminate={[Function]}
2768
+ onResponderTerminationRequest={[Function]}
2769
+ onStartShouldSetResponder={[Function]}
2770
+ style={
2771
+ [
2772
+ {
2773
+ "alignItems": "center",
2774
+ "backgroundColor": "#ffffff",
2775
+ "borderRadius": 4,
2776
+ "flexDirection": "row",
2777
+ "opacity": 1,
2778
+ "padding": 16,
2779
+ },
2780
+ undefined,
2781
+ ]
2782
+ }
2783
+ >
2784
+ <View
2785
+ style={
2786
+ [
2787
+ {
2788
+ "flex": 1,
2789
+ },
2790
+ undefined,
2791
+ ]
2792
+ }
2793
+ >
2794
+ <Text
2795
+ allowFontScaling={false}
2796
+ style={
2797
+ [
2798
+ {
2799
+ "color": "#001f23",
2800
+ "fontFamily": "BeVietnamPro-Regular",
2801
+ "fontSize": 16,
2802
+ "letterSpacing": 0.48,
2803
+ "lineHeight": 24,
2804
+ },
2805
+ undefined,
2806
+ ]
2807
+ }
2808
+ themeIntent="body"
2809
+ themeTypeface="neutral"
2810
+ themeVariant="regular"
2811
+ >
2812
+ Friday
2813
+ </Text>
2814
+ </View>
2815
+ </View>
2816
+ <View
2817
+ highlighted={false}
2818
+ leadingItem={
2819
+ {
2820
+ "text": "Friday",
2821
+ "value": "fri",
2822
+ }
2823
+ }
2824
+ section={
2825
+ {
2826
+ "category": "",
2827
+ "data": [
2828
+ {
2829
+ "text": "Monday",
2830
+ "value": "mon",
2831
+ },
2832
+ {
2833
+ "text": "Tuesday",
2834
+ "value": "tue",
2835
+ },
2836
+ {
2837
+ "text": "Wednesday",
2838
+ "value": "wed",
2839
+ },
2840
+ {
2841
+ "text": "Thursday",
2842
+ "value": "thu",
2843
+ },
2844
+ {
2845
+ "text": "Friday",
2846
+ "value": "fri",
2847
+ },
2848
+ {
2849
+ "text": "Saturday",
2850
+ "value": "sat",
2851
+ },
2852
+ {
2853
+ "disabled": true,
2854
+ "text": "Sunday",
2855
+ "value": "sun",
2856
+ },
2857
+ ],
2858
+ }
2859
+ }
2860
+ style={
2861
+ [
2862
+ {
2863
+ "marginTop": 4,
2864
+ },
2865
+ undefined,
2866
+ ]
2867
+ }
2868
+ trailingItem={
2869
+ {
2870
+ "text": "Saturday",
2871
+ "value": "sat",
2872
+ }
2873
+ }
2874
+ />
2875
+ </View>
2876
+ </View>
2877
+ <View
2878
+ onFocusCapture={[Function]}
2879
+ onLayout={[Function]}
2880
+ style={null}
2881
+ >
2882
+ <View>
2883
+ <View
2884
+ accessibilityState={
2885
+ {
2886
+ "disabled": false,
2887
+ }
2888
+ }
2889
+ accessibilityValue={
2890
+ {
2891
+ "max": undefined,
2892
+ "min": undefined,
2893
+ "now": undefined,
2894
+ "text": undefined,
2895
+ }
2896
+ }
2897
+ accessible={true}
2898
+ focusable={true}
2899
+ onClick={[Function]}
2900
+ onResponderGrant={[Function]}
2901
+ onResponderMove={[Function]}
2902
+ onResponderRelease={[Function]}
2903
+ onResponderTerminate={[Function]}
2904
+ onResponderTerminationRequest={[Function]}
2905
+ onStartShouldSetResponder={[Function]}
2906
+ style={
2907
+ [
2908
+ {
2909
+ "alignItems": "center",
2910
+ "backgroundColor": "#ffffff",
2911
+ "borderRadius": 4,
2912
+ "flexDirection": "row",
2913
+ "opacity": 1,
2914
+ "padding": 16,
2915
+ },
2916
+ undefined,
2917
+ ]
2918
+ }
2919
+ >
2920
+ <View
2921
+ style={
2922
+ [
2923
+ {
2924
+ "flex": 1,
2925
+ },
2926
+ undefined,
2927
+ ]
2928
+ }
2929
+ >
2930
+ <Text
2931
+ allowFontScaling={false}
2932
+ style={
2933
+ [
2934
+ {
2935
+ "color": "#001f23",
2936
+ "fontFamily": "BeVietnamPro-Regular",
2937
+ "fontSize": 16,
2938
+ "letterSpacing": 0.48,
2939
+ "lineHeight": 24,
2940
+ },
2941
+ undefined,
2942
+ ]
2943
+ }
2944
+ themeIntent="body"
2945
+ themeTypeface="neutral"
2946
+ themeVariant="regular"
2947
+ >
2948
+ Saturday
2949
+ </Text>
2950
+ </View>
2951
+ </View>
2952
+ <View
2953
+ highlighted={false}
2954
+ leadingItem={
2955
+ {
2956
+ "text": "Saturday",
2957
+ "value": "sat",
2958
+ }
2959
+ }
2960
+ section={
2961
+ {
2962
+ "category": "",
2963
+ "data": [
2964
+ {
2965
+ "text": "Monday",
2966
+ "value": "mon",
2967
+ },
2968
+ {
2969
+ "text": "Tuesday",
2970
+ "value": "tue",
2971
+ },
2972
+ {
2973
+ "text": "Wednesday",
2974
+ "value": "wed",
2975
+ },
2976
+ {
2977
+ "text": "Thursday",
2978
+ "value": "thu",
2979
+ },
2980
+ {
2981
+ "text": "Friday",
2982
+ "value": "fri",
2983
+ },
2984
+ {
2985
+ "text": "Saturday",
2986
+ "value": "sat",
2987
+ },
2988
+ {
2989
+ "disabled": true,
2990
+ "text": "Sunday",
2991
+ "value": "sun",
2992
+ },
2993
+ ],
2994
+ }
2995
+ }
2996
+ style={
2997
+ [
2998
+ {
2999
+ "marginTop": 4,
3000
+ },
3001
+ undefined,
3002
+ ]
3003
+ }
3004
+ trailingItem={
3005
+ {
3006
+ "disabled": true,
3007
+ "text": "Sunday",
3008
+ "value": "sun",
3009
+ }
3010
+ }
3011
+ />
3012
+ </View>
3013
+ </View>
3014
+ <View
3015
+ onFocusCapture={[Function]}
3016
+ onLayout={[Function]}
3017
+ style={null}
3018
+ >
3019
+ <View>
3020
+ <View
3021
+ accessibilityState={
3022
+ {
3023
+ "disabled": true,
3024
+ }
3025
+ }
3026
+ accessibilityValue={
3027
+ {
3028
+ "max": undefined,
3029
+ "min": undefined,
3030
+ "now": undefined,
3031
+ "text": undefined,
3032
+ }
3033
+ }
3034
+ accessible={true}
3035
+ focusable={true}
3036
+ onClick={[Function]}
3037
+ onResponderGrant={[Function]}
3038
+ onResponderMove={[Function]}
3039
+ onResponderRelease={[Function]}
3040
+ onResponderTerminate={[Function]}
3041
+ onResponderTerminationRequest={[Function]}
3042
+ onStartShouldSetResponder={[Function]}
3043
+ style={
3044
+ [
3045
+ {
3046
+ "alignItems": "center",
3047
+ "backgroundColor": "#ffffff",
3048
+ "borderRadius": 4,
3049
+ "flexDirection": "row",
3050
+ "opacity": 0.38,
3051
+ "padding": 16,
3052
+ },
3053
+ undefined,
3054
+ ]
3055
+ }
3056
+ >
3057
+ <View
3058
+ style={
3059
+ [
3060
+ {
3061
+ "flex": 1,
3062
+ },
3063
+ undefined,
3064
+ ]
3065
+ }
3066
+ >
3067
+ <Text
3068
+ allowFontScaling={false}
3069
+ style={
3070
+ [
3071
+ {
3072
+ "color": "#001f23",
3073
+ "fontFamily": "BeVietnamPro-Regular",
3074
+ "fontSize": 16,
3075
+ "letterSpacing": 0.48,
3076
+ "lineHeight": 24,
3077
+ },
3078
+ undefined,
3079
+ ]
3080
+ }
3081
+ themeIntent="body"
3082
+ themeTypeface="neutral"
3083
+ themeVariant="regular"
3084
+ >
3085
+ Sunday
3086
+ </Text>
3087
+ </View>
3088
+ </View>
3089
+ <View
3090
+ highlighted={false}
3091
+ leadingItem={
3092
+ {
3093
+ "disabled": true,
3094
+ "text": "Sunday",
3095
+ "value": "sun",
3096
+ }
3097
+ }
3098
+ section={
3099
+ {
3100
+ "category": "",
3101
+ "data": [
3102
+ {
3103
+ "text": "Monday",
3104
+ "value": "mon",
3105
+ },
3106
+ {
3107
+ "text": "Tuesday",
3108
+ "value": "tue",
3109
+ },
3110
+ {
3111
+ "text": "Wednesday",
3112
+ "value": "wed",
3113
+ },
3114
+ {
3115
+ "text": "Thursday",
3116
+ "value": "thu",
3117
+ },
3118
+ {
3119
+ "text": "Friday",
3120
+ "value": "fri",
3121
+ },
3122
+ {
3123
+ "text": "Saturday",
3124
+ "value": "sat",
3125
+ },
3126
+ {
3127
+ "disabled": true,
3128
+ "text": "Sunday",
3129
+ "value": "sun",
3130
+ },
3131
+ ],
3132
+ }
3133
+ }
3134
+ style={
3135
+ [
3136
+ {
3137
+ "marginTop": 12,
3138
+ },
3139
+ undefined,
3140
+ ]
3141
+ }
3142
+ />
3143
+ </View>
3144
+ </View>
3145
+ <View
3146
+ onFocusCapture={[Function]}
3147
+ onLayout={[Function]}
3148
+ style={null}
3149
+ />
3150
+ </View>
3151
+ </RCTScrollView>
3152
+ <View>
3153
+ <View
3154
+ style={
3155
+ [
3156
+ {
3157
+ "alignItems": "center",
3158
+ "flexDirection": "row",
3159
+ "justifyContent": "flex-end",
3160
+ "paddingHorizontal": 12,
3161
+ "paddingVertical": 2,
3162
+ },
3163
+ undefined,
3164
+ ]
3165
+ }
3166
+ >
3167
+ <View
3168
+ accessibilityState={
3169
+ {
3170
+ "disabled": false,
3171
+ }
3172
+ }
3173
+ accessibilityValue={
3174
+ {
3175
+ "max": undefined,
3176
+ "min": undefined,
3177
+ "now": undefined,
3178
+ "text": undefined,
3179
+ }
3180
+ }
3181
+ accessible={true}
3182
+ focusable={true}
3183
+ onClick={[Function]}
3184
+ onResponderGrant={[Function]}
3185
+ onResponderMove={[Function]}
3186
+ onResponderRelease={[Function]}
3187
+ onResponderTerminate={[Function]}
3188
+ onResponderTerminationRequest={[Function]}
3189
+ onStartShouldSetResponder={[Function]}
3190
+ style={
3191
+ [
3192
+ {
3193
+ "alignItems": "center",
3194
+ "backgroundColor": "transparent",
3195
+ "borderRadius": 4,
3196
+ "borderWidth": 0,
3197
+ "flexDirection": "row",
3198
+ "height": 60,
3199
+ "justifyContent": "center",
3200
+ "padding": 12,
3201
+ },
3202
+ undefined,
3203
+ ]
3204
+ }
3205
+ >
3206
+ <Text
3207
+ allowFontScaling={false}
3208
+ disabled={false}
3209
+ ellipsizeMode="tail"
3210
+ numberOfLines={1}
3211
+ style={
3212
+ [
3213
+ {
3214
+ "color": "#001f23",
3215
+ "fontFamily": "BeVietnamPro-SemiBold",
3216
+ "fontSize": 16,
3217
+ "letterSpacing": 0.24,
3218
+ "lineHeight": 24,
3219
+ },
3220
+ [
3221
+ {
3222
+ "color": "#401960",
3223
+ "flexShrink": 1,
3224
+ "lineHeight": 22,
3225
+ "textAlign": "center",
3226
+ },
3227
+ undefined,
3228
+ ],
3229
+ ]
3230
+ }
3231
+ themeButtonVariant="text-primary"
3232
+ themeIntent="body"
3233
+ themeTypeface="neutral"
3234
+ themeVariant="regular-bold"
3235
+ >
3236
+ Confirm
3237
+ </Text>
3238
+ </View>
3239
+ </View>
3240
+ </View>
3241
+ </View>
3242
+ </RCTSafeAreaView>
3243
+ </View>
3244
+ </View>
3245
+ </Modal>
3246
+ <View
3247
+ pointerEvents="box-none"
3248
+ position="bottom"
3249
+ style={
3250
+ [
3251
+ {
3252
+ "bottom": 0,
3253
+ "elevation": 9999,
3254
+ "flexDirection": "column-reverse",
3255
+ "left": 0,
3256
+ "paddingHorizontal": 24,
3257
+ "paddingVertical": 16,
3258
+ "position": "absolute",
3259
+ "right": 0,
3260
+ "top": 0,
3261
+ },
3262
+ undefined,
3263
+ ]
3264
+ }
3265
+ />
3266
+ </View>
3267
+ `;
3268
+
1540
3269
  exports[`rendering renders correctly when bottom sheet is NOT visible 1`] = `
1541
3270
  <View
1542
3271
  style={