Skip to content

Commit 2c47fd6

Browse files
committed
feat: vanilla extract separator and loader
1 parent 5309ac7 commit 2c47fd6

File tree

15 files changed

+924
-1366
lines changed

15 files changed

+924
-1366
lines changed

.changeset/rich-crabs-cough.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ultraviolet/ui": major
3+
---
4+
5+
Refactor components `Loader` and `Separator` to use vanilla-extract instead of Emotion

packages/form/src/components/Submit/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -186,15 +186,6 @@ exports[`Submit > form is invalid 1`] = `
186186
exports[`Submit > form is submitting 1`] = `
187187
<DocumentFragment>
188188
.emotion-0 {
189-
-webkit-animation: spin 0.75s linear infinite;
190-
animation: spin 0.75s linear infinite;
191-
}
192-
193-
.emotion-2 {
194-
stroke: #d9dadd;
195-
}
196-
197-
.emotion-4 {
198189
-webkit-transition: stroke-dashoffset 0.5s ease 0s;
199190
transition: stroke-dashoffset 0.5s ease 0s;
200191
}
@@ -217,21 +208,21 @@ exports[`Submit > form is submitting 1`] = `
217208
aria-valuemin="0"
218209
aria-valuenow="20"
219210
aria-valuetext="20%"
220-
class="emotion-0 emotion-1"
211+
class="uv_tkulld2"
221212
role="progressbar"
222213
style="height: 1rem; width: 1rem;"
223214
viewBox="0 0 100 100"
224215
>
225216
<circle
226-
class="emotion-2 emotion-3"
217+
class="uv_tkulld1"
227218
cx="50"
228219
cy="50"
229220
fill="none"
230221
r="42"
231222
stroke-width="16"
232223
/>
233224
<circle
234-
class="emotion-4"
225+
class="emotion-0"
235226
cx="50"
236227
cy="50"
237228
fill="none"

0 commit comments

Comments
 (0)