ferns-ui 1.10.0 → 1.12.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/dist/Accordion.js +1 -1
- package/dist/Accordion.js.map +1 -1
- package/dist/Accordion.test.d.ts +1 -0
- package/dist/Accordion.test.js +71 -0
- package/dist/Accordion.test.js.map +1 -0
- package/dist/AddressField.test.d.ts +1 -0
- package/dist/AddressField.test.js +65 -0
- package/dist/AddressField.test.js.map +1 -0
- package/dist/Avatar.js +2 -2
- package/dist/Avatar.js.map +1 -1
- package/dist/Avatar.test.d.ts +1 -0
- package/dist/Avatar.test.js +131 -0
- package/dist/Avatar.test.js.map +1 -0
- package/dist/Badge.d.ts +1 -1
- package/dist/Badge.js +3 -3
- package/dist/Badge.js.map +1 -1
- package/dist/Badge.test.d.ts +1 -0
- package/dist/Badge.test.js +76 -0
- package/dist/Badge.test.js.map +1 -0
- package/dist/Box.test.d.ts +1 -0
- package/dist/Box.test.js +528 -0
- package/dist/Box.test.js.map +1 -0
- package/dist/Common.d.ts +101 -2
- package/dist/Common.js.map +1 -1
- package/dist/DateTimeField.js +15 -2
- package/dist/DateTimeField.js.map +1 -1
- package/dist/Heading.js +2 -0
- package/dist/Heading.js.map +1 -1
- package/dist/InfoModalIcon.js +1 -1
- package/dist/InfoModalIcon.js.map +1 -1
- package/dist/MarkdownView.d.ts +5 -0
- package/dist/MarkdownView.js +44 -0
- package/dist/MarkdownView.js.map +1 -0
- package/dist/Slider.d.ts +3 -0
- package/dist/Slider.js +94 -0
- package/dist/Slider.js.map +1 -0
- package/dist/Text.js +2 -0
- package/dist/Text.js.map +1 -1
- package/dist/TextField.test.js +9 -9
- package/dist/TextField.test.js.map +1 -1
- package/dist/Tooltip.js +2 -0
- package/dist/Tooltip.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/setupTests.js +40 -2
- package/dist/setupTests.js.map +1 -1
- package/dist/test-utils.js.map +1 -1
- package/package.json +2 -47
- package/src/Accordion.test.tsx +104 -0
- package/src/Accordion.tsx +1 -0
- package/src/AddressField.test.tsx +89 -0
- package/src/Avatar.test.tsx +163 -0
- package/src/Avatar.tsx +2 -0
- package/src/Badge.test.tsx +116 -0
- package/src/Badge.tsx +3 -1
- package/src/Box.test.tsx +665 -0
- package/src/Common.ts +115 -2
- package/src/DateTimeField.tsx +15 -2
- package/src/Heading.tsx +2 -0
- package/src/InfoModalIcon.tsx +1 -0
- package/src/MarkdownView.tsx +67 -0
- package/src/Slider.tsx +205 -0
- package/src/Text.tsx +2 -0
- package/src/TextField.test.tsx +59 -71
- package/src/Tooltip.tsx +2 -0
- package/src/__snapshots__/Accordion.test.tsx.snap +120 -0
- package/src/__snapshots__/AddressField.test.tsx.snap +464 -0
- package/src/__snapshots__/Avatar.test.tsx.snap +78 -0
- package/src/__snapshots__/Badge.test.tsx.snap +44 -0
- package/src/__snapshots__/Box.test.tsx.snap +159 -0
- package/src/__snapshots__/TextArea.test.tsx.snap +12 -0
- package/src/__snapshots__/TextField.test.tsx.snap +38 -1
- package/src/index.tsx +2 -0
- package/src/setupTests.ts +45 -2
- package/src/test-utils.tsx +1 -0
package/dist/Box.test.js
ADDED
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
import { act, fireEvent } from "@testing-library/react-native";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Box } from "./Box";
|
|
4
|
+
import { Text } from "./Text";
|
|
5
|
+
import { renderWithTheme } from "./test-utils";
|
|
6
|
+
// Mock the mediaQueryLargerThan function
|
|
7
|
+
jest.mock("./MediaQuery", () => ({
|
|
8
|
+
mediaQueryLargerThan: jest.fn(() => false),
|
|
9
|
+
}));
|
|
10
|
+
describe("Box", () => {
|
|
11
|
+
describe("basic rendering", () => {
|
|
12
|
+
it("should render with default props", () => {
|
|
13
|
+
const { root } = renderWithTheme(React.createElement(Box, null));
|
|
14
|
+
expect(root).toBeTruthy();
|
|
15
|
+
});
|
|
16
|
+
it("should render children", () => {
|
|
17
|
+
const { getByText } = renderWithTheme(React.createElement(Box, null,
|
|
18
|
+
React.createElement(Text, null, "Test Content")));
|
|
19
|
+
expect(getByText("Test Content")).toBeTruthy();
|
|
20
|
+
});
|
|
21
|
+
it("should apply testID", () => {
|
|
22
|
+
const { getByTestId } = renderWithTheme(React.createElement(Box, { testID: "test-box" }));
|
|
23
|
+
expect(getByTestId("test-box")).toBeTruthy();
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
describe("layout props", () => {
|
|
27
|
+
it("should apply direction prop", () => {
|
|
28
|
+
const { root } = renderWithTheme(React.createElement(Box, { direction: "column" }));
|
|
29
|
+
const view = root.findByType("View");
|
|
30
|
+
expect(view.props.style).toMatchObject({
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
display: "flex"
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
it("should apply responsive direction props", () => {
|
|
36
|
+
const { root } = renderWithTheme(React.createElement(Box, { smDirection: "row" }));
|
|
37
|
+
expect(root).toBeTruthy();
|
|
38
|
+
});
|
|
39
|
+
it("should apply flex grow", () => {
|
|
40
|
+
const { root } = renderWithTheme(React.createElement(Box, { flex: "grow" }));
|
|
41
|
+
const view = root.findByType("View");
|
|
42
|
+
expect(view.props.style).toMatchObject({
|
|
43
|
+
flexGrow: 1,
|
|
44
|
+
flexShrink: 1,
|
|
45
|
+
display: "flex"
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
it("should apply flex shrink", () => {
|
|
49
|
+
const { root } = renderWithTheme(React.createElement(Box, { flex: "shrink" }));
|
|
50
|
+
const view = root.findByType("View");
|
|
51
|
+
expect(view.props.style).toMatchObject({
|
|
52
|
+
flexShrink: 1,
|
|
53
|
+
display: "flex"
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
it("should apply flex none", () => {
|
|
57
|
+
const { root } = renderWithTheme(React.createElement(Box, { flex: "none" }));
|
|
58
|
+
const view = root.findByType("View");
|
|
59
|
+
expect(view.props.style).toMatchObject({
|
|
60
|
+
flex: 0,
|
|
61
|
+
display: "flex"
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
it("should apply justifyContent", () => {
|
|
65
|
+
const { root } = renderWithTheme(React.createElement(Box, { justifyContent: "center" }));
|
|
66
|
+
const view = root.findByType("View");
|
|
67
|
+
expect(view.props.style).toMatchObject({
|
|
68
|
+
justifyContent: "center"
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
it("should apply alignItems", () => {
|
|
72
|
+
const { root } = renderWithTheme(React.createElement(Box, { alignItems: "center" }));
|
|
73
|
+
const view = root.findByType("View");
|
|
74
|
+
expect(view.props.style).toMatchObject({
|
|
75
|
+
alignItems: "center"
|
|
76
|
+
});
|
|
77
|
+
});
|
|
78
|
+
it("should apply alignContent", () => {
|
|
79
|
+
const { root } = renderWithTheme(React.createElement(Box, { alignContent: "center" }));
|
|
80
|
+
const view = root.findByType("View");
|
|
81
|
+
expect(view.props.style).toMatchObject({
|
|
82
|
+
alignContent: "center"
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
it("should apply alignSelf", () => {
|
|
86
|
+
const { root } = renderWithTheme(React.createElement(Box, { alignSelf: "center" }));
|
|
87
|
+
const view = root.findByType("View");
|
|
88
|
+
expect(view.props.style).toMatchObject({
|
|
89
|
+
alignSelf: "center"
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
it("should apply wrap", () => {
|
|
93
|
+
const { root } = renderWithTheme(React.createElement(Box, { wrap: true }));
|
|
94
|
+
const view = root.findByType("View");
|
|
95
|
+
expect(view.props.style).toMatchObject({
|
|
96
|
+
flexWrap: "wrap",
|
|
97
|
+
alignItems: "flex-start"
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
it("should apply gap", () => {
|
|
101
|
+
const { root } = renderWithTheme(React.createElement(Box, { gap: 4 }));
|
|
102
|
+
const view = root.findByType("View");
|
|
103
|
+
expect(view.props.style).toMatchObject({
|
|
104
|
+
gap: 16
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
describe("spacing props", () => {
|
|
109
|
+
it("should apply padding", () => {
|
|
110
|
+
const { root } = renderWithTheme(React.createElement(Box, { padding: 4 }));
|
|
111
|
+
const view = root.findByType("View");
|
|
112
|
+
expect(view.props.style).toMatchObject({
|
|
113
|
+
padding: 16
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
it("should apply paddingX", () => {
|
|
117
|
+
const { root } = renderWithTheme(React.createElement(Box, { paddingX: 2 }));
|
|
118
|
+
const view = root.findByType("View");
|
|
119
|
+
expect(view.props.style).toMatchObject({
|
|
120
|
+
paddingLeft: 8,
|
|
121
|
+
paddingRight: 8
|
|
122
|
+
});
|
|
123
|
+
});
|
|
124
|
+
it("should apply paddingY", () => {
|
|
125
|
+
const { root } = renderWithTheme(React.createElement(Box, { paddingY: 3 }));
|
|
126
|
+
const view = root.findByType("View");
|
|
127
|
+
expect(view.props.style).toMatchObject({
|
|
128
|
+
paddingTop: 12,
|
|
129
|
+
paddingBottom: 12
|
|
130
|
+
});
|
|
131
|
+
});
|
|
132
|
+
it("should apply margin", () => {
|
|
133
|
+
const { root } = renderWithTheme(React.createElement(Box, { margin: 4 }));
|
|
134
|
+
const view = root.findByType("View");
|
|
135
|
+
expect(view.props.style).toMatchObject({
|
|
136
|
+
margin: 16
|
|
137
|
+
});
|
|
138
|
+
});
|
|
139
|
+
it("should apply marginTop", () => {
|
|
140
|
+
const { root } = renderWithTheme(React.createElement(Box, { marginTop: 2 }));
|
|
141
|
+
const view = root.findByType("View");
|
|
142
|
+
expect(view.props.style).toMatchObject({
|
|
143
|
+
marginTop: 8
|
|
144
|
+
});
|
|
145
|
+
});
|
|
146
|
+
it("should apply marginBottom", () => {
|
|
147
|
+
const { root } = renderWithTheme(React.createElement(Box, { marginBottom: 2 }));
|
|
148
|
+
const view = root.findByType("View");
|
|
149
|
+
expect(view.props.style).toMatchObject({
|
|
150
|
+
marginBottom: 8
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
it("should apply marginLeft", () => {
|
|
154
|
+
const { root } = renderWithTheme(React.createElement(Box, { marginLeft: 2 }));
|
|
155
|
+
const view = root.findByType("View");
|
|
156
|
+
expect(view.props.style).toMatchObject({
|
|
157
|
+
marginLeft: 8
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
it("should apply marginRight", () => {
|
|
161
|
+
const { root } = renderWithTheme(React.createElement(Box, { marginRight: 2 }));
|
|
162
|
+
const view = root.findByType("View");
|
|
163
|
+
expect(view.props.style).toMatchObject({
|
|
164
|
+
marginRight: 8
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
});
|
|
168
|
+
describe("sizing props", () => {
|
|
169
|
+
it("should apply width", () => {
|
|
170
|
+
const { root } = renderWithTheme(React.createElement(Box, { width: 100 }));
|
|
171
|
+
const view = root.findByType("View");
|
|
172
|
+
expect(view.props.style).toMatchObject({
|
|
173
|
+
width: 100
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
it("should apply height", () => {
|
|
177
|
+
const { root } = renderWithTheme(React.createElement(Box, { height: 100 }));
|
|
178
|
+
const view = root.findByType("View");
|
|
179
|
+
expect(view.props.style).toMatchObject({
|
|
180
|
+
height: 100
|
|
181
|
+
});
|
|
182
|
+
});
|
|
183
|
+
it("should apply string width", () => {
|
|
184
|
+
const { root } = renderWithTheme(React.createElement(Box, { width: "50%" }));
|
|
185
|
+
const view = root.findByType("View");
|
|
186
|
+
expect(view.props.style).toMatchObject({
|
|
187
|
+
width: "50%"
|
|
188
|
+
});
|
|
189
|
+
});
|
|
190
|
+
it("should apply string height", () => {
|
|
191
|
+
const { root } = renderWithTheme(React.createElement(Box, { height: "50%" }));
|
|
192
|
+
const view = root.findByType("View");
|
|
193
|
+
expect(view.props.style).toMatchObject({
|
|
194
|
+
height: "50%"
|
|
195
|
+
});
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
describe("position props", () => {
|
|
199
|
+
it("should apply position absolute", () => {
|
|
200
|
+
const { root } = renderWithTheme(React.createElement(Box, { position: "absolute" }));
|
|
201
|
+
const view = root.findByType("View");
|
|
202
|
+
expect(view.props.style).toMatchObject({
|
|
203
|
+
position: "absolute"
|
|
204
|
+
});
|
|
205
|
+
});
|
|
206
|
+
it("should apply top", () => {
|
|
207
|
+
const { root } = renderWithTheme(React.createElement(Box, { top: true }));
|
|
208
|
+
const view = root.findByType("View");
|
|
209
|
+
expect(view.props.style).toMatchObject({
|
|
210
|
+
top: 0
|
|
211
|
+
});
|
|
212
|
+
});
|
|
213
|
+
it("should apply bottom", () => {
|
|
214
|
+
const { root } = renderWithTheme(React.createElement(Box, { bottom: true }));
|
|
215
|
+
const view = root.findByType("View");
|
|
216
|
+
expect(view.props.style).toMatchObject({
|
|
217
|
+
bottom: 0
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
it("should apply left", () => {
|
|
221
|
+
const { root } = renderWithTheme(React.createElement(Box, { left: true }));
|
|
222
|
+
const view = root.findByType("View");
|
|
223
|
+
expect(view.props.style).toMatchObject({
|
|
224
|
+
left: 0
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
it("should apply right", () => {
|
|
228
|
+
const { root } = renderWithTheme(React.createElement(Box, { right: true }));
|
|
229
|
+
const view = root.findByType("View");
|
|
230
|
+
expect(view.props.style).toMatchObject({
|
|
231
|
+
right: 0
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
it("should apply zIndex", () => {
|
|
235
|
+
const { root } = renderWithTheme(React.createElement(Box, { zIndex: 10 }));
|
|
236
|
+
const view = root.findByType("View");
|
|
237
|
+
expect(view.props.style).toMatchObject({
|
|
238
|
+
zIndex: 10
|
|
239
|
+
});
|
|
240
|
+
});
|
|
241
|
+
});
|
|
242
|
+
describe("color and surface props", () => {
|
|
243
|
+
it("should apply background color", () => {
|
|
244
|
+
const { root } = renderWithTheme(React.createElement(Box, { color: "primary" }));
|
|
245
|
+
const view = root.findByType("View");
|
|
246
|
+
expect(view.props.style.backgroundColor).toBeDefined();
|
|
247
|
+
});
|
|
248
|
+
});
|
|
249
|
+
describe("border props", () => {
|
|
250
|
+
it("should apply border", () => {
|
|
251
|
+
const { root } = renderWithTheme(React.createElement(Box, { border: "default" }));
|
|
252
|
+
const view = root.findByType("View");
|
|
253
|
+
expect(view.props.style.borderColor).toBeDefined();
|
|
254
|
+
expect(view.props.style.borderWidth).toBe(1);
|
|
255
|
+
});
|
|
256
|
+
it("should apply borderTop", () => {
|
|
257
|
+
const { root } = renderWithTheme(React.createElement(Box, { borderTop: "default" }));
|
|
258
|
+
const view = root.findByType("View");
|
|
259
|
+
expect(view.props.style.borderTopColor).toBeDefined();
|
|
260
|
+
expect(view.props.style.borderTopWidth).toBe(1);
|
|
261
|
+
});
|
|
262
|
+
it("should apply borderBottom", () => {
|
|
263
|
+
const { root } = renderWithTheme(React.createElement(Box, { borderBottom: "default" }));
|
|
264
|
+
const view = root.findByType("View");
|
|
265
|
+
expect(view.props.style.borderBottomColor).toBeDefined();
|
|
266
|
+
expect(view.props.style.borderBottomWidth).toBe(1);
|
|
267
|
+
});
|
|
268
|
+
it("should apply borderLeft", () => {
|
|
269
|
+
const { root } = renderWithTheme(React.createElement(Box, { borderLeft: "default" }));
|
|
270
|
+
const view = root.findByType("View");
|
|
271
|
+
expect(view.props.style.borderLeftColor).toBeDefined();
|
|
272
|
+
expect(view.props.style.borderLeftWidth).toBe(1);
|
|
273
|
+
});
|
|
274
|
+
it("should apply borderRight", () => {
|
|
275
|
+
const { root } = renderWithTheme(React.createElement(Box, { borderRight: "default" }));
|
|
276
|
+
const view = root.findByType("View");
|
|
277
|
+
expect(view.props.style.borderRightColor).toBeDefined();
|
|
278
|
+
expect(view.props.style.borderRightWidth).toBe(1);
|
|
279
|
+
});
|
|
280
|
+
it("should adjust width for border", () => {
|
|
281
|
+
const { root } = renderWithTheme(React.createElement(Box, { border: "default", width: 100 }));
|
|
282
|
+
const view = root.findByType("View");
|
|
283
|
+
expect(view.props.style.width).toBe(104); // 100 + 2*2 for border
|
|
284
|
+
});
|
|
285
|
+
it("should adjust height for border", () => {
|
|
286
|
+
const { root } = renderWithTheme(React.createElement(Box, { border: "default", height: 100 }));
|
|
287
|
+
const view = root.findByType("View");
|
|
288
|
+
expect(view.props.style.height).toBe(104); // 100 + 2*2 for border
|
|
289
|
+
});
|
|
290
|
+
});
|
|
291
|
+
describe("rounding props", () => {
|
|
292
|
+
it("should apply rounding", () => {
|
|
293
|
+
const { root } = renderWithTheme(React.createElement(Box, { rounding: "md" }));
|
|
294
|
+
const view = root.findByType("View");
|
|
295
|
+
expect(view.props.style.borderRadius).toBe(4);
|
|
296
|
+
});
|
|
297
|
+
it("should apply circle rounding with width", () => {
|
|
298
|
+
const { root } = renderWithTheme(React.createElement(Box, { rounding: "circle", width: 50 }));
|
|
299
|
+
const view = root.findByType("View");
|
|
300
|
+
expect(view.props.style.borderRadius).toBe(50);
|
|
301
|
+
});
|
|
302
|
+
it("should apply circle rounding with height", () => {
|
|
303
|
+
const { root } = renderWithTheme(React.createElement(Box, { rounding: "circle", height: 50 }));
|
|
304
|
+
const view = root.findByType("View");
|
|
305
|
+
expect(view.props.style.borderRadius).toBe(50);
|
|
306
|
+
});
|
|
307
|
+
it("should warn when using circle without dimensions", () => {
|
|
308
|
+
const consoleSpy = jest.spyOn(console, "warn").mockImplementation();
|
|
309
|
+
renderWithTheme(React.createElement(Box, { rounding: "circle" }));
|
|
310
|
+
expect(consoleSpy).toHaveBeenCalledWith("Cannot use Box rounding='circle' without height or width.");
|
|
311
|
+
consoleSpy.mockRestore();
|
|
312
|
+
});
|
|
313
|
+
});
|
|
314
|
+
describe("display props", () => {
|
|
315
|
+
it("should apply display none", () => {
|
|
316
|
+
const { root } = renderWithTheme(React.createElement(Box, { display: "none" }));
|
|
317
|
+
const view = root.findByType("View");
|
|
318
|
+
expect(view.props.style).toMatchObject({
|
|
319
|
+
display: "none"
|
|
320
|
+
});
|
|
321
|
+
});
|
|
322
|
+
it("should apply display flex", () => {
|
|
323
|
+
const { root } = renderWithTheme(React.createElement(Box, { display: "flex" }));
|
|
324
|
+
const view = root.findByType("View");
|
|
325
|
+
expect(view.props.style).toMatchObject({
|
|
326
|
+
flex: undefined
|
|
327
|
+
});
|
|
328
|
+
});
|
|
329
|
+
it("should apply display block", () => {
|
|
330
|
+
const { root } = renderWithTheme(React.createElement(Box, { display: "block" }));
|
|
331
|
+
const view = root.findByType("View");
|
|
332
|
+
expect(view.props.style).toMatchObject({
|
|
333
|
+
flex: 0,
|
|
334
|
+
flexDirection: "row"
|
|
335
|
+
});
|
|
336
|
+
});
|
|
337
|
+
});
|
|
338
|
+
describe("overflow props", () => {
|
|
339
|
+
it("should apply overflow scroll", () => {
|
|
340
|
+
const { root } = renderWithTheme(React.createElement(Box, { overflow: "scroll" }));
|
|
341
|
+
const view = root.findByType("View");
|
|
342
|
+
expect(view.props.style).toMatchObject({
|
|
343
|
+
overflow: "scroll"
|
|
344
|
+
});
|
|
345
|
+
});
|
|
346
|
+
it("should apply overflow scrollY", () => {
|
|
347
|
+
const { root } = renderWithTheme(React.createElement(Box, { overflow: "scrollY" }));
|
|
348
|
+
const view = root.findByType("View");
|
|
349
|
+
expect(view.props.style).toMatchObject({
|
|
350
|
+
overflow: "scroll"
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
it("should apply overflow hidden", () => {
|
|
354
|
+
const { root } = renderWithTheme(React.createElement(Box, { overflow: "hidden" }));
|
|
355
|
+
const view = root.findByType("View");
|
|
356
|
+
expect(view.props.style).toMatchObject({
|
|
357
|
+
overflow: "hidden"
|
|
358
|
+
});
|
|
359
|
+
});
|
|
360
|
+
});
|
|
361
|
+
describe("shadow props", () => {
|
|
362
|
+
it("should apply shadow", () => {
|
|
363
|
+
const { root } = renderWithTheme(React.createElement(Box, { shadow: true }));
|
|
364
|
+
const view = root.findByType("View");
|
|
365
|
+
expect(view.props.style).toBeDefined();
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
describe("clickable behavior", () => {
|
|
369
|
+
it("should render as Pressable when onClick is provided", () => {
|
|
370
|
+
const mockOnClick = jest.fn();
|
|
371
|
+
const { root } = renderWithTheme(React.createElement(Box, { onClick: mockOnClick, accessibilityLabel: "Click me", accessibilityHint: "Tap to trigger action" },
|
|
372
|
+
React.createElement(Text, null, "Clickable content")));
|
|
373
|
+
expect(root).toBeTruthy();
|
|
374
|
+
// Just verify the component renders without error when onClick is provided
|
|
375
|
+
});
|
|
376
|
+
it("should call onClick when pressed", async () => {
|
|
377
|
+
const mockOnClick = jest.fn();
|
|
378
|
+
const { getByTestId } = renderWithTheme(React.createElement(Box, { onClick: mockOnClick, testID: "clickable-box", accessibilityLabel: "Click me", accessibilityHint: "Tap to trigger action" }));
|
|
379
|
+
const pressable = getByTestId("clickable-box-clickable");
|
|
380
|
+
await act(async () => {
|
|
381
|
+
fireEvent.press(pressable);
|
|
382
|
+
});
|
|
383
|
+
expect(mockOnClick).toHaveBeenCalledTimes(1);
|
|
384
|
+
});
|
|
385
|
+
it("should apply accessibility props to Pressable", () => {
|
|
386
|
+
const mockOnClick = jest.fn();
|
|
387
|
+
const { getByTestId } = renderWithTheme(React.createElement(Box, { onClick: mockOnClick, testID: "accessible-box", accessibilityLabel: "Click me", accessibilityHint: "Tap to trigger action" }));
|
|
388
|
+
const pressable = getByTestId("accessible-box-clickable");
|
|
389
|
+
expect(pressable).toBeTruthy();
|
|
390
|
+
// Basic check that accessibility props are being applied
|
|
391
|
+
expect(pressable.props).toBeDefined();
|
|
392
|
+
});
|
|
393
|
+
});
|
|
394
|
+
describe("scroll behavior", () => {
|
|
395
|
+
it("should render ScrollView when scroll is enabled", () => {
|
|
396
|
+
const { root } = renderWithTheme(React.createElement(Box, { scroll: true }));
|
|
397
|
+
expect(root).toBeTruthy();
|
|
398
|
+
// Just verify the component renders without error when scroll is enabled
|
|
399
|
+
});
|
|
400
|
+
it("should enable horizontal scrolling when overflow is scrollX", () => {
|
|
401
|
+
const { root } = renderWithTheme(React.createElement(Box, { scroll: true, overflow: "scrollX" }));
|
|
402
|
+
expect(root).toBeTruthy();
|
|
403
|
+
// Just verify the component renders without error when horizontal scroll is enabled
|
|
404
|
+
});
|
|
405
|
+
it("should call onScroll callback", () => {
|
|
406
|
+
const mockOnScroll = jest.fn();
|
|
407
|
+
const { root } = renderWithTheme(React.createElement(Box, { scroll: true, onScroll: mockOnScroll }));
|
|
408
|
+
expect(root).toBeTruthy();
|
|
409
|
+
// Just verify the component renders without error when onScroll is provided
|
|
410
|
+
});
|
|
411
|
+
});
|
|
412
|
+
describe("keyboard avoidance", () => {
|
|
413
|
+
it("should render KeyboardAvoidingView when avoidKeyboard is enabled", () => {
|
|
414
|
+
const { root } = renderWithTheme(React.createElement(Box, { avoidKeyboard: true }));
|
|
415
|
+
expect(root).toBeTruthy();
|
|
416
|
+
// Just verify the component renders without error when avoidKeyboard is enabled
|
|
417
|
+
});
|
|
418
|
+
it("should apply keyboard offset", () => {
|
|
419
|
+
const { root } = renderWithTheme(React.createElement(Box, { avoidKeyboard: true, keyboardOffset: 20 }));
|
|
420
|
+
expect(root).toBeTruthy();
|
|
421
|
+
// Just verify the component renders without error when keyboard offset is provided
|
|
422
|
+
});
|
|
423
|
+
});
|
|
424
|
+
describe("hover events", () => {
|
|
425
|
+
it("should call onHoverStart", async () => {
|
|
426
|
+
const mockOnHoverStart = jest.fn();
|
|
427
|
+
const { getByTestId } = renderWithTheme(React.createElement(Box, { onHoverStart: mockOnHoverStart, testID: "hover-box" }));
|
|
428
|
+
const view = getByTestId("hover-box");
|
|
429
|
+
await act(async () => {
|
|
430
|
+
fireEvent(view, "pointerEnter");
|
|
431
|
+
});
|
|
432
|
+
expect(mockOnHoverStart).toHaveBeenCalledTimes(1);
|
|
433
|
+
});
|
|
434
|
+
it("should call onHoverEnd", async () => {
|
|
435
|
+
const mockOnHoverEnd = jest.fn();
|
|
436
|
+
const { getByTestId } = renderWithTheme(React.createElement(Box, { onHoverEnd: mockOnHoverEnd, testID: "hover-box" }));
|
|
437
|
+
const view = getByTestId("hover-box");
|
|
438
|
+
await act(async () => {
|
|
439
|
+
fireEvent(view, "pointerLeave");
|
|
440
|
+
});
|
|
441
|
+
expect(mockOnHoverEnd).toHaveBeenCalledTimes(1);
|
|
442
|
+
});
|
|
443
|
+
});
|
|
444
|
+
describe("ref forwarding", () => {
|
|
445
|
+
it("should expose scrollToEnd method", () => {
|
|
446
|
+
const ref = React.createRef();
|
|
447
|
+
renderWithTheme(React.createElement(Box, { ref: ref, scroll: true }));
|
|
448
|
+
expect(ref.current).toBeTruthy();
|
|
449
|
+
expect(typeof ref.current.scrollToEnd).toBe("function");
|
|
450
|
+
});
|
|
451
|
+
it("should expose scrollTo method", () => {
|
|
452
|
+
const ref = React.createRef();
|
|
453
|
+
renderWithTheme(React.createElement(Box, { ref: ref, scroll: true }));
|
|
454
|
+
expect(ref.current).toBeTruthy();
|
|
455
|
+
expect(typeof ref.current.scrollTo).toBe("function");
|
|
456
|
+
});
|
|
457
|
+
});
|
|
458
|
+
describe("dangerous inline styles", () => {
|
|
459
|
+
it("should apply dangerouslySetInlineStyle", () => {
|
|
460
|
+
const { root } = renderWithTheme(React.createElement(Box, { dangerouslySetInlineStyle: { __style: { backgroundColor: "red" } } }));
|
|
461
|
+
const view = root.findByType("View");
|
|
462
|
+
expect(view.props.style).toMatchObject({
|
|
463
|
+
backgroundColor: "red"
|
|
464
|
+
});
|
|
465
|
+
});
|
|
466
|
+
});
|
|
467
|
+
describe("warnings", () => {
|
|
468
|
+
it("should warn when using wrap and alignItems together", () => {
|
|
469
|
+
const consoleSpy = jest.spyOn(console, "warn").mockImplementation();
|
|
470
|
+
renderWithTheme(React.createElement(Box, { wrap: true, alignItems: "center" }));
|
|
471
|
+
expect(consoleSpy).toHaveBeenCalledWith("React Native doesn't support wrap and alignItems together.");
|
|
472
|
+
consoleSpy.mockRestore();
|
|
473
|
+
});
|
|
474
|
+
});
|
|
475
|
+
describe("edge cases", () => {
|
|
476
|
+
it("should handle undefined children", () => {
|
|
477
|
+
const { root } = renderWithTheme(React.createElement(Box, null, undefined));
|
|
478
|
+
expect(root).toBeTruthy();
|
|
479
|
+
});
|
|
480
|
+
it("should handle null children", () => {
|
|
481
|
+
const { root } = renderWithTheme(React.createElement(Box, null, null));
|
|
482
|
+
expect(root).toBeTruthy();
|
|
483
|
+
});
|
|
484
|
+
it("should handle multiple children", () => {
|
|
485
|
+
const { getByText } = renderWithTheme(React.createElement(Box, null,
|
|
486
|
+
React.createElement(Text, null, "First"),
|
|
487
|
+
React.createElement(Text, null, "Second")));
|
|
488
|
+
expect(getByText("First")).toBeTruthy();
|
|
489
|
+
expect(getByText("Second")).toBeTruthy();
|
|
490
|
+
});
|
|
491
|
+
it("should handle zero values", () => {
|
|
492
|
+
const { root } = renderWithTheme(React.createElement(Box, { padding: 0, margin: 0, gap: 0 }));
|
|
493
|
+
const view = root.findByType("View");
|
|
494
|
+
expect(view.props.style).toMatchObject({
|
|
495
|
+
padding: 0,
|
|
496
|
+
margin: 0,
|
|
497
|
+
gap: 0
|
|
498
|
+
});
|
|
499
|
+
});
|
|
500
|
+
});
|
|
501
|
+
describe("snapshots", () => {
|
|
502
|
+
it("should match snapshot with default props", () => {
|
|
503
|
+
const component = renderWithTheme(React.createElement(Box, null));
|
|
504
|
+
expect(component.toJSON()).toMatchSnapshot();
|
|
505
|
+
});
|
|
506
|
+
it("should match snapshot with layout props", () => {
|
|
507
|
+
const component = renderWithTheme(React.createElement(Box, { direction: "column", flex: "grow", justifyContent: "center", alignItems: "center", padding: 4, margin: 2 }));
|
|
508
|
+
expect(component.toJSON()).toMatchSnapshot();
|
|
509
|
+
});
|
|
510
|
+
it("should match snapshot with clickable props", () => {
|
|
511
|
+
const component = renderWithTheme(React.createElement(Box, { onClick: jest.fn(), accessibilityLabel: "Click me", accessibilityHint: "Tap to trigger action" }));
|
|
512
|
+
expect(component.toJSON()).toMatchSnapshot();
|
|
513
|
+
});
|
|
514
|
+
it("should match snapshot with scroll enabled", () => {
|
|
515
|
+
const component = renderWithTheme(React.createElement(Box, { scroll: true }));
|
|
516
|
+
expect(component.toJSON()).toMatchSnapshot();
|
|
517
|
+
});
|
|
518
|
+
it("should match snapshot with keyboard avoidance", () => {
|
|
519
|
+
const component = renderWithTheme(React.createElement(Box, { avoidKeyboard: true }));
|
|
520
|
+
expect(component.toJSON()).toMatchSnapshot();
|
|
521
|
+
});
|
|
522
|
+
it("should match snapshot with border and rounding", () => {
|
|
523
|
+
const component = renderWithTheme(React.createElement(Box, { border: "default", rounding: "md", color: "primary", shadow: true }));
|
|
524
|
+
expect(component.toJSON()).toMatchSnapshot();
|
|
525
|
+
});
|
|
526
|
+
});
|
|
527
|
+
});
|
|
528
|
+
//# sourceMappingURL=Box.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.test.js","sourceRoot":"","sources":["../src/Box.test.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAE,SAAS,EAAC,MAAM,+BAA+B,CAAC;AAC7D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAC,eAAe,EAAC,MAAM,cAAc,CAAC;AAE7C,yCAAyC;AACzC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/B,oBAAoB,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC;CAC3C,CAAC,CAAC,CAAC;AAEJ,QAAQ,CAAC,KAAK,EAAE,GAAG,EAAE;IACnB,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;QAC/B,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE;YAC1C,MAAM,EAAC,IAAI,EAAC,GAAG,eAAe,C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