@terreno/ui 0.18.0 → 0.19.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/package.json CHANGED
@@ -136,5 +136,5 @@
136
136
  "test:coverage": "TZ=America/New_York bun run ../scripts/check-coverage.ts",
137
137
  "types": "bun typedoc"
138
138
  },
139
- "version": "0.18.0"
139
+ "version": "0.19.0"
140
140
  }
@@ -269,4 +269,30 @@ describe("Button", () => {
269
269
  // The ThemeContext provides a default computed theme, so the button renders
270
270
  expect(toJSON()).toBeTruthy();
271
271
  });
272
+
273
+ it("uses Pressable when disabled (not PressableScale)", () => {
274
+ const tree = renderWithTheme(<Button disabled onClick={() => {}} text="Disabled" />).toJSON();
275
+ expect(Array.isArray(tree)).toBe(false);
276
+ expect(tree?.type).toBe("Pressable");
277
+ });
278
+
279
+ it("uses Pressable when loading (not PressableScale)", () => {
280
+ const tree = renderWithTheme(<Button loading onClick={() => {}} text="Loading" />).toJSON();
281
+ expect(Array.isArray(tree)).toBe(false);
282
+ expect(tree?.type).toBe("Pressable");
283
+ });
284
+
285
+ it("renders with custom confirmationText and modalSubTitle", () => {
286
+ const {toJSON} = renderWithTheme(
287
+ <Button
288
+ confirmationText="Custom confirmation text"
289
+ modalSubTitle="Custom subtitle"
290
+ modalTitle="Custom Title"
291
+ onClick={() => {}}
292
+ text="Confirm Btn"
293
+ withConfirmation
294
+ />
295
+ );
296
+ expect(toJSON()).toMatchSnapshot();
297
+ });
272
298
  });
@@ -84,6 +84,16 @@ describe("Pagination", () => {
84
84
  expect(toJSON()).toMatchSnapshot();
85
85
  });
86
86
 
87
+ it("renders correctly when on the very last page of a large set", () => {
88
+ const {toJSON} = renderWithTheme(<Pagination page={20} setPage={() => {}} totalPages={20} />);
89
+ expect(toJSON()).toMatchSnapshot();
90
+ });
91
+
92
+ it("renders correctly when two pages before the last", () => {
93
+ const {toJSON} = renderWithTheme(<Pagination page={18} setPage={() => {}} totalPages={20} />);
94
+ expect(toJSON()).toMatchSnapshot();
95
+ });
96
+
87
97
  it("renders 'more' button for large page sets without throwing when pressed", () => {
88
98
  const handleSetPage = mock((_page: number) => {});
89
99
  const {UNSAFE_getAllByProps} = renderWithTheme(
@@ -113,4 +113,64 @@ describe("PhoneNumberField", () => {
113
113
  });
114
114
  expect(handleBlur).toHaveBeenCalled();
115
115
  });
116
+
117
+ it("shows 'Invalid phone number format' on blur when number cannot be parsed", async () => {
118
+ const handleChange = mock((_value: string) => {});
119
+ const {getByDisplayValue, getByText} = renderWithTheme(
120
+ <PhoneNumberField label="Phone" onChange={handleChange} value="abc" />
121
+ );
122
+ const input = getByDisplayValue("abc");
123
+ await act(async () => {
124
+ fireEvent(input, "blur", {nativeEvent: {text: "abc"}});
125
+ });
126
+ expect(getByText("Invalid phone number format")).toBeTruthy();
127
+ });
128
+
129
+ it("shows 'Phone number is not valid' when number is possible but not valid", async () => {
130
+ const handleChange = mock((_value: string) => {});
131
+ // A number that parses and isPossible() but not isValid() for US
132
+ const {getByDisplayValue, getByText} = renderWithTheme(
133
+ <PhoneNumberField label="Phone" onChange={handleChange} value="(555) 555-5555" />
134
+ );
135
+ const input = getByDisplayValue("(555) 555-5555");
136
+ await act(async () => {
137
+ fireEvent(input, "blur", {nativeEvent: {text: "(555) 555-5555"}});
138
+ });
139
+ expect(getByText("Phone number is not valid")).toBeTruthy();
140
+ });
141
+
142
+ it("uses inputValue as-is when it matches formattedValue or has length 4", async () => {
143
+ const handleChange = mock((_value: string) => {});
144
+ const {getByDisplayValue} = renderWithTheme(
145
+ <PhoneNumberField label="Phone" onChange={handleChange} value="" />
146
+ );
147
+ const input = getByDisplayValue("");
148
+ // Input of length 4 triggers the else branch (setLocalValue(inputValue))
149
+ await act(async () => {
150
+ fireEvent.changeText(input, "(12)");
151
+ });
152
+ expect(getByDisplayValue("(12)")).toBeTruthy();
153
+ });
154
+
155
+ it("clears error state when valid number is entered after invalid one", async () => {
156
+ const handleChange = mock((_value: string) => {});
157
+ // Start with an invalid value so that blur triggers the error path.
158
+ // TextField's onBlur uses its own value prop (localValue), not nativeEvent.text.
159
+ const {getByDisplayValue, getByText, queryByText} = renderWithTheme(
160
+ <PhoneNumberField label="Phone" onChange={handleChange} value="abc" />
161
+ );
162
+ const input = getByDisplayValue("abc");
163
+ // Blur triggers validatePhoneNumber("abc") → "Invalid phone number format"
164
+ await act(async () => {
165
+ fireEvent(input, "blur", {nativeEvent: {}});
166
+ });
167
+ // Confirm error IS displayed
168
+ expect(getByText("Invalid phone number format")).toBeTruthy();
169
+ // Now type a valid number to clear the error
170
+ await act(async () => {
171
+ fireEvent.changeText(input, "2025551234");
172
+ });
173
+ expect(queryByText("Invalid phone number format")).toBeNull();
174
+ expect(handleChange).toHaveBeenCalled();
175
+ });
116
176
  });
@@ -1042,3 +1042,145 @@ exports[`Button renders with tooltip on desktop (wrapped in Tooltip) 1`] = `
1042
1042
  "type": "PressableScale",
1043
1043
  }
1044
1044
  `;
1045
+
1046
+ exports[`Button renders with tooltipIncludeArrow and tooltipIdealPosition 1`] = `
1047
+ {
1048
+ "$$typeof": Symbol(react.test.json),
1049
+ "children": [
1050
+ {
1051
+ "$$typeof": Symbol(react.test.json),
1052
+ "children": [
1053
+ {
1054
+ "$$typeof": Symbol(react.test.json),
1055
+ "children": [
1056
+ {
1057
+ "$$typeof": Symbol(react.test.json),
1058
+ "children": [
1059
+ "Arrow Tip",
1060
+ ],
1061
+ "props": {
1062
+ "style": {
1063
+ "color": "#FFFFFF",
1064
+ "fontSize": 16,
1065
+ "fontWeight": "700",
1066
+ },
1067
+ },
1068
+ "type": "Text",
1069
+ },
1070
+ ],
1071
+ "props": {
1072
+ "style": {
1073
+ "flexDirection": "row",
1074
+ },
1075
+ "testID": undefined,
1076
+ },
1077
+ "type": "View",
1078
+ },
1079
+ ],
1080
+ "props": {
1081
+ "style": {
1082
+ "flexDirection": "row",
1083
+ },
1084
+ "testID": undefined,
1085
+ },
1086
+ "type": "View",
1087
+ },
1088
+ ],
1089
+ "props": {
1090
+ "accessibilityHint": "Press to perform action",
1091
+ "accessibilityLabel": "Arrow Tip",
1092
+ "accessibilityRole": "button",
1093
+ "accessibilityState": {
1094
+ "disabled": false,
1095
+ },
1096
+ "disabled": false,
1097
+ "onPress": [Function: debounced],
1098
+ "style": {
1099
+ "alignItems": "center",
1100
+ "alignSelf": "flex-start",
1101
+ "backgroundColor": "#0E9DCD",
1102
+ "borderColor": undefined,
1103
+ "borderRadius": 360,
1104
+ "borderWidth": undefined,
1105
+ "flexDirection": "column",
1106
+ "justifyContent": "center",
1107
+ "paddingHorizontal": 20,
1108
+ "paddingVertical": 8,
1109
+ "width": "auto",
1110
+ },
1111
+ "testID": undefined,
1112
+ },
1113
+ "type": "PressableScale",
1114
+ }
1115
+ `;
1116
+
1117
+ exports[`Button renders with custom confirmationText and modalSubTitle 1`] = `
1118
+ {
1119
+ "$$typeof": Symbol(react.test.json),
1120
+ "children": [
1121
+ {
1122
+ "$$typeof": Symbol(react.test.json),
1123
+ "children": [
1124
+ {
1125
+ "$$typeof": Symbol(react.test.json),
1126
+ "children": [
1127
+ {
1128
+ "$$typeof": Symbol(react.test.json),
1129
+ "children": [
1130
+ "Confirm Btn",
1131
+ ],
1132
+ "props": {
1133
+ "style": {
1134
+ "color": "#FFFFFF",
1135
+ "fontSize": 16,
1136
+ "fontWeight": "700",
1137
+ },
1138
+ },
1139
+ "type": "Text",
1140
+ },
1141
+ ],
1142
+ "props": {
1143
+ "style": {
1144
+ "flexDirection": "row",
1145
+ },
1146
+ "testID": undefined,
1147
+ },
1148
+ "type": "View",
1149
+ },
1150
+ ],
1151
+ "props": {
1152
+ "style": {
1153
+ "flexDirection": "row",
1154
+ },
1155
+ "testID": undefined,
1156
+ },
1157
+ "type": "View",
1158
+ },
1159
+ ],
1160
+ "props": {
1161
+ "accessibilityHint": "Opens a confirmation dialog",
1162
+ "accessibilityLabel": "Confirm Btn",
1163
+ "accessibilityRole": "button",
1164
+ "accessibilityState": {
1165
+ "disabled": false,
1166
+ },
1167
+ "disabled": false,
1168
+ "onPress": [Function: debounced],
1169
+ "style": {
1170
+ "alignItems": "center",
1171
+ "alignSelf": "flex-start",
1172
+ "backgroundColor": "#0E9DCD",
1173
+ "borderColor": undefined,
1174
+ "borderRadius": 360,
1175
+ "borderWidth": undefined,
1176
+ "flexDirection": "column",
1177
+ "justifyContent": "center",
1178
+ "paddingHorizontal": 20,
1179
+ "paddingVertical": 8,
1180
+ "width": "auto",
1181
+ },
1182
+ "testID": undefined,
1183
+ },
1184
+ "type": "PressableScale",
1185
+ }
1186
+ `;
@@ -1911,3 +1911,499 @@ exports[`Pagination renders correctly when on first pages 1`] = `
1911
1911
  "type": "View",
1912
1912
  }
1913
1913
  `;
1914
+
1915
+ exports[`Pagination renders correctly when on the very last page of a large set 1`] = `
1916
+ {
1917
+ "$$typeof": Symbol(react.test.json),
1918
+ "children": [
1919
+ {
1920
+ "$$typeof": Symbol(react.test.json),
1921
+ "children": null,
1922
+ "props": {
1923
+ "accessibilityHint": "Click to go to prev page",
1924
+ "aria-label": "Pagination Button",
1925
+ "disabled": false,
1926
+ "onPress": [Function],
1927
+ "style": {
1928
+ "alignItems": "center",
1929
+ "display": "flex",
1930
+ "height": 32,
1931
+ "justifyContent": "center",
1932
+ "width": 32,
1933
+ },
1934
+ },
1935
+ "type": "Pressable",
1936
+ },
1937
+ {
1938
+ "$$typeof": Symbol(react.test.json),
1939
+ "children": [
1940
+ {
1941
+ "$$typeof": Symbol(react.test.json),
1942
+ "children": [
1943
+ {
1944
+ "$$typeof": Symbol(react.test.json),
1945
+ "children": [
1946
+ "1",
1947
+ ],
1948
+ "props": {
1949
+ "numberOfLines": 0,
1950
+ "selectable": undefined,
1951
+ "style": {
1952
+ "color": "#1C1C1C",
1953
+ "fontFamily": "text-regular",
1954
+ "fontSize": 14,
1955
+ "textAlign": "left",
1956
+ },
1957
+ "testID": undefined,
1958
+ },
1959
+ "type": "Text",
1960
+ },
1961
+ ],
1962
+ "props": {},
1963
+ "type": "View",
1964
+ },
1965
+ ],
1966
+ "props": {
1967
+ "accessibilityHint": "Click to go to page 1",
1968
+ "accessibilityLabel": "Pagination Number",
1969
+ "onPress": [Function],
1970
+ "style": {
1971
+ "alignItems": "center",
1972
+ "borderRadius": 4,
1973
+ "display": "flex",
1974
+ "height": 32,
1975
+ "justifyContent": "center",
1976
+ "width": 32,
1977
+ },
1978
+ },
1979
+ "type": "Pressable",
1980
+ },
1981
+ {
1982
+ "$$typeof": Symbol(react.test.json),
1983
+ "children": null,
1984
+ "props": {
1985
+ "accessibilityHint": "Click to go to more page",
1986
+ "aria-label": "Pagination Button",
1987
+ "disabled": false,
1988
+ "onPress": [Function],
1989
+ "style": {
1990
+ "alignItems": "center",
1991
+ "display": "flex",
1992
+ "height": 32,
1993
+ "justifyContent": "center",
1994
+ "width": 32,
1995
+ },
1996
+ },
1997
+ "type": "Pressable",
1998
+ },
1999
+ {
2000
+ "$$typeof": Symbol(react.test.json),
2001
+ "children": [
2002
+ {
2003
+ "$$typeof": Symbol(react.test.json),
2004
+ "children": [
2005
+ {
2006
+ "$$typeof": Symbol(react.test.json),
2007
+ "children": [
2008
+ "18",
2009
+ ],
2010
+ "props": {
2011
+ "numberOfLines": 0,
2012
+ "selectable": undefined,
2013
+ "style": {
2014
+ "color": "#1C1C1C",
2015
+ "fontFamily": "text-regular",
2016
+ "fontSize": 14,
2017
+ "textAlign": "left",
2018
+ },
2019
+ "testID": undefined,
2020
+ },
2021
+ "type": "Text",
2022
+ },
2023
+ ],
2024
+ "props": {},
2025
+ "type": "View",
2026
+ },
2027
+ ],
2028
+ "props": {
2029
+ "accessibilityHint": "Click to go to page 18",
2030
+ "accessibilityLabel": "Pagination Number",
2031
+ "onPress": [Function],
2032
+ "style": {
2033
+ "alignItems": "center",
2034
+ "borderRadius": 4,
2035
+ "display": "flex",
2036
+ "height": 32,
2037
+ "justifyContent": "center",
2038
+ "width": 32,
2039
+ },
2040
+ },
2041
+ "type": "Pressable",
2042
+ },
2043
+ {
2044
+ "$$typeof": Symbol(react.test.json),
2045
+ "children": [
2046
+ {
2047
+ "$$typeof": Symbol(react.test.json),
2048
+ "children": [
2049
+ {
2050
+ "$$typeof": Symbol(react.test.json),
2051
+ "children": [
2052
+ "19",
2053
+ ],
2054
+ "props": {
2055
+ "numberOfLines": 0,
2056
+ "selectable": undefined,
2057
+ "style": {
2058
+ "color": "#1C1C1C",
2059
+ "fontFamily": "text-regular",
2060
+ "fontSize": 14,
2061
+ "textAlign": "left",
2062
+ },
2063
+ "testID": undefined,
2064
+ },
2065
+ "type": "Text",
2066
+ },
2067
+ ],
2068
+ "props": {},
2069
+ "type": "View",
2070
+ },
2071
+ ],
2072
+ "props": {
2073
+ "accessibilityHint": "Click to go to page 19",
2074
+ "accessibilityLabel": "Pagination Number",
2075
+ "onPress": [Function],
2076
+ "style": {
2077
+ "alignItems": "center",
2078
+ "borderRadius": 4,
2079
+ "display": "flex",
2080
+ "height": 32,
2081
+ "justifyContent": "center",
2082
+ "width": 32,
2083
+ },
2084
+ },
2085
+ "type": "Pressable",
2086
+ },
2087
+ {
2088
+ "$$typeof": Symbol(react.test.json),
2089
+ "children": [
2090
+ {
2091
+ "$$typeof": Symbol(react.test.json),
2092
+ "children": [
2093
+ {
2094
+ "$$typeof": Symbol(react.test.json),
2095
+ "children": [
2096
+ "20",
2097
+ ],
2098
+ "props": {
2099
+ "numberOfLines": 0,
2100
+ "selectable": undefined,
2101
+ "style": {
2102
+ "color": "#956A00",
2103
+ "fontFamily": "text-regular",
2104
+ "fontSize": 14,
2105
+ "textAlign": "left",
2106
+ },
2107
+ "testID": undefined,
2108
+ },
2109
+ "type": "Text",
2110
+ },
2111
+ ],
2112
+ "props": {},
2113
+ "type": "View",
2114
+ },
2115
+ ],
2116
+ "props": {
2117
+ "accessibilityHint": "Click to go to page 20",
2118
+ "accessibilityLabel": "Pagination Number",
2119
+ "onPress": [Function],
2120
+ "style": {
2121
+ "alignItems": "center",
2122
+ "borderRadius": 4,
2123
+ "display": "flex",
2124
+ "height": 32,
2125
+ "justifyContent": "center",
2126
+ "width": 32,
2127
+ },
2128
+ },
2129
+ "type": "Pressable",
2130
+ },
2131
+ {
2132
+ "$$typeof": Symbol(react.test.json),
2133
+ "children": null,
2134
+ "props": {
2135
+ "accessibilityHint": "Click to go to next page",
2136
+ "aria-label": "Pagination Button",
2137
+ "disabled": true,
2138
+ "onPress": [Function],
2139
+ "style": {
2140
+ "alignItems": "center",
2141
+ "display": "flex",
2142
+ "height": 32,
2143
+ "justifyContent": "center",
2144
+ "width": 32,
2145
+ },
2146
+ },
2147
+ "type": "Pressable",
2148
+ },
2149
+ ],
2150
+ "props": {
2151
+ "style": {
2152
+ "alignItems": "center",
2153
+ "display": "flex",
2154
+ "flexDirection": "row",
2155
+ "gap": 4,
2156
+ },
2157
+ "testID": undefined,
2158
+ },
2159
+ "type": "View",
2160
+ }
2161
+ `;
2162
+
2163
+ exports[`Pagination renders correctly when two pages before the last 1`] = `
2164
+ {
2165
+ "$$typeof": Symbol(react.test.json),
2166
+ "children": [
2167
+ {
2168
+ "$$typeof": Symbol(react.test.json),
2169
+ "children": null,
2170
+ "props": {
2171
+ "accessibilityHint": "Click to go to prev page",
2172
+ "aria-label": "Pagination Button",
2173
+ "disabled": false,
2174
+ "onPress": [Function],
2175
+ "style": {
2176
+ "alignItems": "center",
2177
+ "display": "flex",
2178
+ "height": 32,
2179
+ "justifyContent": "center",
2180
+ "width": 32,
2181
+ },
2182
+ },
2183
+ "type": "Pressable",
2184
+ },
2185
+ {
2186
+ "$$typeof": Symbol(react.test.json),
2187
+ "children": [
2188
+ {
2189
+ "$$typeof": Symbol(react.test.json),
2190
+ "children": [
2191
+ {
2192
+ "$$typeof": Symbol(react.test.json),
2193
+ "children": [
2194
+ "1",
2195
+ ],
2196
+ "props": {
2197
+ "numberOfLines": 0,
2198
+ "selectable": undefined,
2199
+ "style": {
2200
+ "color": "#1C1C1C",
2201
+ "fontFamily": "text-regular",
2202
+ "fontSize": 14,
2203
+ "textAlign": "left",
2204
+ },
2205
+ "testID": undefined,
2206
+ },
2207
+ "type": "Text",
2208
+ },
2209
+ ],
2210
+ "props": {},
2211
+ "type": "View",
2212
+ },
2213
+ ],
2214
+ "props": {
2215
+ "accessibilityHint": "Click to go to page 1",
2216
+ "accessibilityLabel": "Pagination Number",
2217
+ "onPress": [Function],
2218
+ "style": {
2219
+ "alignItems": "center",
2220
+ "borderRadius": 4,
2221
+ "display": "flex",
2222
+ "height": 32,
2223
+ "justifyContent": "center",
2224
+ "width": 32,
2225
+ },
2226
+ },
2227
+ "type": "Pressable",
2228
+ },
2229
+ {
2230
+ "$$typeof": Symbol(react.test.json),
2231
+ "children": null,
2232
+ "props": {
2233
+ "accessibilityHint": "Click to go to more page",
2234
+ "aria-label": "Pagination Button",
2235
+ "disabled": false,
2236
+ "onPress": [Function],
2237
+ "style": {
2238
+ "alignItems": "center",
2239
+ "display": "flex",
2240
+ "height": 32,
2241
+ "justifyContent": "center",
2242
+ "width": 32,
2243
+ },
2244
+ },
2245
+ "type": "Pressable",
2246
+ },
2247
+ {
2248
+ "$$typeof": Symbol(react.test.json),
2249
+ "children": [
2250
+ {
2251
+ "$$typeof": Symbol(react.test.json),
2252
+ "children": [
2253
+ {
2254
+ "$$typeof": Symbol(react.test.json),
2255
+ "children": [
2256
+ "18",
2257
+ ],
2258
+ "props": {
2259
+ "numberOfLines": 0,
2260
+ "selectable": undefined,
2261
+ "style": {
2262
+ "color": "#956A00",
2263
+ "fontFamily": "text-regular",
2264
+ "fontSize": 14,
2265
+ "textAlign": "left",
2266
+ },
2267
+ "testID": undefined,
2268
+ },
2269
+ "type": "Text",
2270
+ },
2271
+ ],
2272
+ "props": {},
2273
+ "type": "View",
2274
+ },
2275
+ ],
2276
+ "props": {
2277
+ "accessibilityHint": "Click to go to page 18",
2278
+ "accessibilityLabel": "Pagination Number",
2279
+ "onPress": [Function],
2280
+ "style": {
2281
+ "alignItems": "center",
2282
+ "borderRadius": 4,
2283
+ "display": "flex",
2284
+ "height": 32,
2285
+ "justifyContent": "center",
2286
+ "width": 32,
2287
+ },
2288
+ },
2289
+ "type": "Pressable",
2290
+ },
2291
+ {
2292
+ "$$typeof": Symbol(react.test.json),
2293
+ "children": [
2294
+ {
2295
+ "$$typeof": Symbol(react.test.json),
2296
+ "children": [
2297
+ {
2298
+ "$$typeof": Symbol(react.test.json),
2299
+ "children": [
2300
+ "19",
2301
+ ],
2302
+ "props": {
2303
+ "numberOfLines": 0,
2304
+ "selectable": undefined,
2305
+ "style": {
2306
+ "color": "#1C1C1C",
2307
+ "fontFamily": "text-regular",
2308
+ "fontSize": 14,
2309
+ "textAlign": "left",
2310
+ },
2311
+ "testID": undefined,
2312
+ },
2313
+ "type": "Text",
2314
+ },
2315
+ ],
2316
+ "props": {},
2317
+ "type": "View",
2318
+ },
2319
+ ],
2320
+ "props": {
2321
+ "accessibilityHint": "Click to go to page 19",
2322
+ "accessibilityLabel": "Pagination Number",
2323
+ "onPress": [Function],
2324
+ "style": {
2325
+ "alignItems": "center",
2326
+ "borderRadius": 4,
2327
+ "display": "flex",
2328
+ "height": 32,
2329
+ "justifyContent": "center",
2330
+ "width": 32,
2331
+ },
2332
+ },
2333
+ "type": "Pressable",
2334
+ },
2335
+ {
2336
+ "$$typeof": Symbol(react.test.json),
2337
+ "children": [
2338
+ {
2339
+ "$$typeof": Symbol(react.test.json),
2340
+ "children": [
2341
+ {
2342
+ "$$typeof": Symbol(react.test.json),
2343
+ "children": [
2344
+ "20",
2345
+ ],
2346
+ "props": {
2347
+ "numberOfLines": 0,
2348
+ "selectable": undefined,
2349
+ "style": {
2350
+ "color": "#1C1C1C",
2351
+ "fontFamily": "text-regular",
2352
+ "fontSize": 14,
2353
+ "textAlign": "left",
2354
+ },
2355
+ "testID": undefined,
2356
+ },
2357
+ "type": "Text",
2358
+ },
2359
+ ],
2360
+ "props": {},
2361
+ "type": "View",
2362
+ },
2363
+ ],
2364
+ "props": {
2365
+ "accessibilityHint": "Click to go to page 20",
2366
+ "accessibilityLabel": "Pagination Number",
2367
+ "onPress": [Function],
2368
+ "style": {
2369
+ "alignItems": "center",
2370
+ "borderRadius": 4,
2371
+ "display": "flex",
2372
+ "height": 32,
2373
+ "justifyContent": "center",
2374
+ "width": 32,
2375
+ },
2376
+ },
2377
+ "type": "Pressable",
2378
+ },
2379
+ {
2380
+ "$$typeof": Symbol(react.test.json),
2381
+ "children": null,
2382
+ "props": {
2383
+ "accessibilityHint": "Click to go to next page",
2384
+ "aria-label": "Pagination Button",
2385
+ "disabled": false,
2386
+ "onPress": [Function],
2387
+ "style": {
2388
+ "alignItems": "center",
2389
+ "display": "flex",
2390
+ "height": 32,
2391
+ "justifyContent": "center",
2392
+ "width": 32,
2393
+ },
2394
+ },
2395
+ "type": "Pressable",
2396
+ },
2397
+ ],
2398
+ "props": {
2399
+ "style": {
2400
+ "alignItems": "center",
2401
+ "display": "flex",
2402
+ "flexDirection": "row",
2403
+ "gap": 4,
2404
+ },
2405
+ "testID": undefined,
2406
+ },
2407
+ "type": "View",
2408
+ }
2409
+ `;