Skip to content

Commit 1e2d2e6

Browse files
authored
refactor: vanilla extract on Separator and Loader (#5474)
* feat: vanilla extract separator and loader * fix: use vanilla extract css var
1 parent 77ba125 commit 1e2d2e6

File tree

15 files changed

+843
-1285
lines changed

15 files changed

+843
-1285
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
@@ -177,15 +177,6 @@ exports[`Submit > form is invalid 1`] = `
177177
exports[`Submit > form is submitting 1`] = `
178178
<DocumentFragment>
179179
.emotion-0 {
180-
-webkit-animation: spin 0.75s linear infinite;
181-
animation: spin 0.75s linear infinite;
182-
}
183-
184-
.emotion-2 {
185-
stroke: #d9dadd;
186-
}
187-
188-
.emotion-4 {
189180
-webkit-transition: stroke-dashoffset 0.5s ease 0s;
190181
transition: stroke-dashoffset 0.5s ease 0s;
191182
}
@@ -208,21 +199,21 @@ exports[`Submit > form is submitting 1`] = `
208199
aria-valuemin="0"
209200
aria-valuenow="20"
210201
aria-valuetext="20%"
211-
class="emotion-0 emotion-1"
202+
class="uv_tkulld2"
212203
role="progressbar"
213204
style="height: 1rem; width: 1rem;"
214205
viewBox="0 0 100 100"
215206
>
216207
<circle
217-
class="emotion-2 emotion-3"
208+
class="uv_tkulld1"
218209
cx="50"
219210
cy="50"
220211
fill="none"
221212
r="42"
222213
stroke-width="16"
223214
/>
224215
<circle
225-
class="emotion-4"
216+
class="emotion-0"
226217
cx="50"
227218
cy="50"
228219
fill="none"

0 commit comments

Comments
 (0)