Skip to content

Commit 4a20bf5

Browse files
authored
refactor: bullet and link vanilla extract (#5504)
* refactor: vanilla extract link and bullet * fix: rebase * fix: disabled should be a prop, not a sentiment * fix: rebase * fix: issue with prominence color link
1 parent dce2961 commit 4a20bf5

File tree

28 files changed

+894
-5352
lines changed

28 files changed

+894
-5352
lines changed

.changeset/pretty-planes-ask.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@ultraviolet/ui": major
3+
---
4+
5+
- Refactor components `Link` and `Bullet` to use vanilla-extract instead of Emotion
6+
- `Bullet`: **BREAKING CHANGE** "disabled" is now a prop instead of a value of prop "sentiment"

packages/plus/src/components/FAQ/__tests__/__snapshots__/index.test.tsx.snap

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -72,28 +72,6 @@ exports[`fAQ > should work with illustrationTest 1`] = `
7272
border: 1px solid #e9eaeb;
7373
}
7474
75-
.emotion-3 {
76-
display: -webkit-box;
77-
display: -webkit-flex;
78-
display: -ms-flexbox;
79-
display: flex;
80-
border-radius: 100%;
81-
-webkit-box-pack: center;
82-
-ms-flex-pack: center;
83-
-webkit-justify-content: center;
84-
justify-content: center;
85-
-webkit-align-items: center;
86-
-webkit-box-align: center;
87-
-ms-flex-align: center;
88-
align-items: center;
89-
width: 2rem;
90-
height: 2rem;
91-
font-size: 1rem;
92-
color: #641cb3;
93-
background: #f1eefc;
94-
border: 1px solid #f1eefc;
95-
}
96-
9775
<div
9876
data-testid="testing"
9977
>
@@ -107,7 +85,7 @@ exports[`fAQ > should work with illustrationTest 1`] = `
10785
>
10886
<div>
10987
<div
110-
class="emotion-3 emotion-4"
88+
class="uv_1jy42m00 uv_1jy42m01 uv_1jy42m0c uv_1jy42m0f"
11189
>
11290
1
11391
</div>

0 commit comments

Comments
 (0)