Skip to content

Commit 0566e1c

Browse files
committed
chore: update snapshots
1 parent 8ddc3c2 commit 0566e1c

File tree

11 files changed

+2
-1139
lines changed

11 files changed

+2
-1139
lines changed

packages/ui/components/Alert/__snapshots__/index.test.js.snap

-139
Original file line numberDiff line numberDiff line change
@@ -138,142 +138,3 @@ exports[`Alert > Dom structure > test snapshot 1`] = `
138138
"unmount": [Function],
139139
}
140140
`;
141-
142-
exports[`Alert Dom structure test snapshot 1`] = `
143-
{
144-
"asFragment": [Function],
145-
"baseElement": <body>
146-
<div>
147-
<div
148-
class="flex items-center justify-between px-4 py-3 border border-solid bg-warning-10 border-warning-10 w-full "
149-
data-testid="alert-wrapper"
150-
>
151-
<div
152-
class="flex items-start"
153-
>
154-
<span
155-
class="shrink-0"
156-
>
157-
<svg
158-
class="w-4 h-4 mr-2 text-warning"
159-
fill="none"
160-
height="24"
161-
viewBox="0 0 24 24"
162-
width="24"
163-
xmlns="http://www.w3.org/2000/svg"
164-
>
165-
<path
166-
d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2z"
167-
fill="currentColor"
168-
/>
169-
<path
170-
d="M12 8v4M12 16h-.01"
171-
stroke="#fff"
172-
stroke-linecap="round"
173-
stroke-linejoin="round"
174-
stroke-width="2"
175-
/>
176-
</svg>
177-
</span>
178-
<span
179-
class="text-warning-dark"
180-
>
181-
testValue
182-
</span>
183-
</div>
184-
</div>
185-
</div>
186-
</body>,
187-
"container": <div>
188-
<div
189-
class="flex items-center justify-between px-4 py-3 border border-solid bg-warning-10 border-warning-10 w-full "
190-
data-testid="alert-wrapper"
191-
>
192-
<div
193-
class="flex items-start"
194-
>
195-
<span
196-
class="shrink-0"
197-
>
198-
<svg
199-
class="w-4 h-4 mr-2 text-warning"
200-
fill="none"
201-
height="24"
202-
viewBox="0 0 24 24"
203-
width="24"
204-
xmlns="http://www.w3.org/2000/svg"
205-
>
206-
<path
207-
d="M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2z"
208-
fill="currentColor"
209-
/>
210-
<path
211-
d="M12 8v4M12 16h-.01"
212-
stroke="#fff"
213-
stroke-linecap="round"
214-
stroke-linejoin="round"
215-
stroke-width="2"
216-
/>
217-
</svg>
218-
</span>
219-
<span
220-
class="text-warning-dark"
221-
>
222-
testValue
223-
</span>
224-
</div>
225-
</div>
226-
</div>,
227-
"debug": [Function],
228-
"findAllByAltText": [Function],
229-
"findAllByDisplayValue": [Function],
230-
"findAllByLabelText": [Function],
231-
"findAllByPlaceholderText": [Function],
232-
"findAllByRole": [Function],
233-
"findAllByTestId": [Function],
234-
"findAllByText": [Function],
235-
"findAllByTitle": [Function],
236-
"findByAltText": [Function],
237-
"findByDisplayValue": [Function],
238-
"findByLabelText": [Function],
239-
"findByPlaceholderText": [Function],
240-
"findByRole": [Function],
241-
"findByTestId": [Function],
242-
"findByText": [Function],
243-
"findByTitle": [Function],
244-
"getAllByAltText": [Function],
245-
"getAllByDisplayValue": [Function],
246-
"getAllByLabelText": [Function],
247-
"getAllByPlaceholderText": [Function],
248-
"getAllByRole": [Function],
249-
"getAllByTestId": [Function],
250-
"getAllByText": [Function],
251-
"getAllByTitle": [Function],
252-
"getByAltText": [Function],
253-
"getByDisplayValue": [Function],
254-
"getByLabelText": [Function],
255-
"getByPlaceholderText": [Function],
256-
"getByRole": [Function],
257-
"getByTestId": [Function],
258-
"getByText": [Function],
259-
"getByTitle": [Function],
260-
"queryAllByAltText": [Function],
261-
"queryAllByDisplayValue": [Function],
262-
"queryAllByLabelText": [Function],
263-
"queryAllByPlaceholderText": [Function],
264-
"queryAllByRole": [Function],
265-
"queryAllByTestId": [Function],
266-
"queryAllByText": [Function],
267-
"queryAllByTitle": [Function],
268-
"queryByAltText": [Function],
269-
"queryByDisplayValue": [Function],
270-
"queryByLabelText": [Function],
271-
"queryByPlaceholderText": [Function],
272-
"queryByRole": [Function],
273-
"queryByTestId": [Function],
274-
"queryByText": [Function],
275-
"queryByTitle": [Function],
276-
"rerender": [Function],
277-
"unmount": [Function],
278-
}
279-
`;

packages/ui/components/Button/__snapshots__/index.test.js.snap

-77
Original file line numberDiff line numberDiff line change
@@ -76,80 +76,3 @@ exports[`Button > normal Button status > test snapshot 1`] = `
7676
"unmount": [Function],
7777
}
7878
`;
79-
80-
exports[`Button normal Button status test snapshot 1`] = `
81-
{
82-
"asFragment": [Function],
83-
"baseElement": <body>
84-
<div>
85-
<button
86-
class="
87-
flex justify-center items-center focus:outline-none rounded border border-solid transition-colors border-transparent text-white bg-primary hover:bg-primary-dark text-xs h-8 px-4 test-class-name"
88-
data-testid="button-wrapper"
89-
>
90-
test children
91-
</button>
92-
</div>
93-
</body>,
94-
"container": <div>
95-
<button
96-
class="
97-
flex justify-center items-center focus:outline-none rounded border border-solid transition-colors border-transparent text-white bg-primary hover:bg-primary-dark text-xs h-8 px-4 test-class-name"
98-
data-testid="button-wrapper"
99-
>
100-
test children
101-
</button>
102-
</div>,
103-
"debug": [Function],
104-
"findAllByAltText": [Function],
105-
"findAllByDisplayValue": [Function],
106-
"findAllByLabelText": [Function],
107-
"findAllByPlaceholderText": [Function],
108-
"findAllByRole": [Function],
109-
"findAllByTestId": [Function],
110-
"findAllByText": [Function],
111-
"findAllByTitle": [Function],
112-
"findByAltText": [Function],
113-
"findByDisplayValue": [Function],
114-
"findByLabelText": [Function],
115-
"findByPlaceholderText": [Function],
116-
"findByRole": [Function],
117-
"findByTestId": [Function],
118-
"findByText": [Function],
119-
"findByTitle": [Function],
120-
"getAllByAltText": [Function],
121-
"getAllByDisplayValue": [Function],
122-
"getAllByLabelText": [Function],
123-
"getAllByPlaceholderText": [Function],
124-
"getAllByRole": [Function],
125-
"getAllByTestId": [Function],
126-
"getAllByText": [Function],
127-
"getAllByTitle": [Function],
128-
"getByAltText": [Function],
129-
"getByDisplayValue": [Function],
130-
"getByLabelText": [Function],
131-
"getByPlaceholderText": [Function],
132-
"getByRole": [Function],
133-
"getByTestId": [Function],
134-
"getByText": [Function],
135-
"getByTitle": [Function],
136-
"queryAllByAltText": [Function],
137-
"queryAllByDisplayValue": [Function],
138-
"queryAllByLabelText": [Function],
139-
"queryAllByPlaceholderText": [Function],
140-
"queryAllByRole": [Function],
141-
"queryAllByTestId": [Function],
142-
"queryAllByText": [Function],
143-
"queryAllByTitle": [Function],
144-
"queryByAltText": [Function],
145-
"queryByDisplayValue": [Function],
146-
"queryByLabelText": [Function],
147-
"queryByPlaceholderText": [Function],
148-
"queryByRole": [Function],
149-
"queryByTestId": [Function],
150-
"queryByText": [Function],
151-
"queryByTitle": [Function],
152-
"rerender": [Function],
153-
"unmount": [Function],
154-
}
155-
`;

packages/ui/components/Checkbox/__snapshots__/index.test.js.snap

-127
Original file line numberDiff line numberDiff line change
@@ -126,130 +126,3 @@ exports[`Checkbox > test snapshot 1`] = `
126126
"unmount": [Function],
127127
}
128128
`;
129-
130-
exports[`Checkbox test snapshot 1`] = `
131-
{
132-
"asFragment": [Function],
133-
"baseElement": <body>
134-
<div>
135-
<div
136-
aria-hidden="true"
137-
class="flex items-center cursor-pointer "
138-
data-testid="checkbox-wrapper"
139-
>
140-
<svg
141-
class="w-4 h-4 mr-2 text-primary "
142-
data-testid="checked-svg"
143-
fill="none"
144-
height="24"
145-
viewBox="0 0 24 24"
146-
width="24"
147-
xmlns="http://www.w3.org/2000/svg"
148-
>
149-
<rect
150-
fill="currentColor"
151-
height="20"
152-
rx="2"
153-
width="20"
154-
x="2"
155-
y="2"
156-
/>
157-
<path
158-
d="M15.5 9.5L11.432 15 9 13.125"
159-
stroke="#fff"
160-
stroke-linecap="round"
161-
stroke-linejoin="round"
162-
stroke-width="2"
163-
/>
164-
</svg>
165-
test children
166-
</div>
167-
</div>
168-
</body>,
169-
"container": <div>
170-
<div
171-
aria-hidden="true"
172-
class="flex items-center cursor-pointer "
173-
data-testid="checkbox-wrapper"
174-
>
175-
<svg
176-
class="w-4 h-4 mr-2 text-primary "
177-
data-testid="checked-svg"
178-
fill="none"
179-
height="24"
180-
viewBox="0 0 24 24"
181-
width="24"
182-
xmlns="http://www.w3.org/2000/svg"
183-
>
184-
<rect
185-
fill="currentColor"
186-
height="20"
187-
rx="2"
188-
width="20"
189-
x="2"
190-
y="2"
191-
/>
192-
<path
193-
d="M15.5 9.5L11.432 15 9 13.125"
194-
stroke="#fff"
195-
stroke-linecap="round"
196-
stroke-linejoin="round"
197-
stroke-width="2"
198-
/>
199-
</svg>
200-
test children
201-
</div>
202-
</div>,
203-
"debug": [Function],
204-
"findAllByAltText": [Function],
205-
"findAllByDisplayValue": [Function],
206-
"findAllByLabelText": [Function],
207-
"findAllByPlaceholderText": [Function],
208-
"findAllByRole": [Function],
209-
"findAllByTestId": [Function],
210-
"findAllByText": [Function],
211-
"findAllByTitle": [Function],
212-
"findByAltText": [Function],
213-
"findByDisplayValue": [Function],
214-
"findByLabelText": [Function],
215-
"findByPlaceholderText": [Function],
216-
"findByRole": [Function],
217-
"findByTestId": [Function],
218-
"findByText": [Function],
219-
"findByTitle": [Function],
220-
"getAllByAltText": [Function],
221-
"getAllByDisplayValue": [Function],
222-
"getAllByLabelText": [Function],
223-
"getAllByPlaceholderText": [Function],
224-
"getAllByRole": [Function],
225-
"getAllByTestId": [Function],
226-
"getAllByText": [Function],
227-
"getAllByTitle": [Function],
228-
"getByAltText": [Function],
229-
"getByDisplayValue": [Function],
230-
"getByLabelText": [Function],
231-
"getByPlaceholderText": [Function],
232-
"getByRole": [Function],
233-
"getByTestId": [Function],
234-
"getByText": [Function],
235-
"getByTitle": [Function],
236-
"queryAllByAltText": [Function],
237-
"queryAllByDisplayValue": [Function],
238-
"queryAllByLabelText": [Function],
239-
"queryAllByPlaceholderText": [Function],
240-
"queryAllByRole": [Function],
241-
"queryAllByTestId": [Function],
242-
"queryAllByText": [Function],
243-
"queryAllByTitle": [Function],
244-
"queryByAltText": [Function],
245-
"queryByDisplayValue": [Function],
246-
"queryByLabelText": [Function],
247-
"queryByPlaceholderText": [Function],
248-
"queryByRole": [Function],
249-
"queryByTestId": [Function],
250-
"queryByText": [Function],
251-
"queryByTitle": [Function],
252-
"rerender": [Function],
253-
"unmount": [Function],
254-
}
255-
`;

0 commit comments

Comments
 (0)