Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/clean-hotels-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ultraviolet/icons": minor
---

Refactor components `Icon`, `CategoryIcon`, `Logo` and `ProductIcon` to use vanilla-extract instead of Emotion

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,6 @@ exports[`KeyValueField > should render with default props & max size 1`] = `
flex-direction: row;
}

.emotion-4 {
vertical-align: middle;
fill: currentColor;
height: 1rem;
width: 1rem;
min-width: 1rem;
min-height: 1rem;
}

.emotion-4 .fillStroke {
stroke: currentColor;
fill: none;
}

<div
data-testid="testing"
>
Expand All @@ -86,7 +72,7 @@ exports[`KeyValueField > should render with default props & max size 1`] = `
type="button"
>
<svg
class="emotion-4 emotion-5"
class="styles__1sbwqkz0 styles_prominence_default__1sbwqkzg styles_disabled_false__1sbwqkzf styles_size_small__1sbwqkza"
viewBox="0 0 16 16"
>
<path
Expand Down Expand Up @@ -150,20 +136,6 @@ exports[`KeyValueField > should render with default props 1`] = `
flex-direction: row;
}

.emotion-4 {
vertical-align: middle;
fill: currentColor;
height: 1rem;
width: 1rem;
min-width: 1rem;
min-height: 1rem;
}

.emotion-4 .fillStroke {
stroke: currentColor;
fill: none;
}

<div
data-testid="testing"
>
Expand All @@ -189,7 +161,7 @@ exports[`KeyValueField > should render with default props 1`] = `
type="button"
>
<svg
class="emotion-4 emotion-5"
class="styles__1sbwqkz0 styles_prominence_default__1sbwqkzg styles_disabled_false__1sbwqkzf styles_size_small__1sbwqkza"
viewBox="0 0 16 16"
>
<path
Expand Down Expand Up @@ -253,20 +225,6 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] =
flex-direction: row;
}

.emotion-4 {
vertical-align: middle;
fill: currentColor;
height: 1rem;
width: 1rem;
min-width: 1rem;
min-height: 1rem;
}

.emotion-4 .fillStroke {
stroke: currentColor;
fill: none;
}

<div
data-testid="testing"
>
Expand All @@ -293,7 +251,7 @@ exports[`KeyValueField > should render with default props in readonly mode 1`] =
type="button"
>
<svg
class="emotion-4 emotion-5"
class="styles__1sbwqkz0 styles_prominence_default__1sbwqkzg styles_disabled_false__1sbwqkzf styles_size_small__1sbwqkza"
viewBox="0 0 16 16"
>
<path
Expand Down
Loading
Loading