1
1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
2
3
3
exports [` Badge > renders with as correctly 1` ] = `
4
- "<div class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" >
4
+ "<div class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md bg-primary text-inverted" >
5
5
<!--v-if--><span class = " truncate" >Badge</span >
6
6
<!--v-if-->
7
7
</div >"
8
8
` ;
9
9
10
10
exports [` Badge > renders with avatar and leadingIcon correctly 1` ] = `
11
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><span class = " iconify i-lucide:arrow-left shrink-0 size-4" aria-hidden = " true" ></span >
11
+ "<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5 " ><span class = " iconify i-lucide:arrow-left shrink-0 size-4" aria-hidden = " true" ></span >
12
12
<!--v-if-->
13
13
<!--v-if--></span >"
14
14
` ;
15
15
16
16
exports [` Badge > renders with avatar and trailingIcon correctly 1` ] = `
17
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><span class = " inline-flex items-center justify-center select-none overflow-hidden rounded-full align-middle bg-elevated size-4 text-[8px ] shrink-0" ><img role = " img" src = " https://github.com/benjamincanac.png" width = " 16 " height = " 16 " class = " h-full w-full rounded-[inherit] object-cover" ></span >
17
+ "<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5 " ><span class = " inline-flex items-center justify-center select-none overflow-hidden rounded-full align-middle bg-elevated size-5 text-[10px ] shrink-0" ><img role = " img" src = " https://github.com/benjamincanac.png" width = " 20 " height = " 20 " class = " h-full w-full rounded-[inherit] object-cover" ></span >
18
18
<!--v-if--><span class = " iconify i-lucide:arrow-right shrink-0 size-4" aria-hidden = " true" ></span ></span >"
19
19
`;
20
20
21
21
exports[`Badge > renders with avatar correctly 1`] = `
22
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><span class = " inline-flex items-center justify-center select-none overflow-hidden rounded-full align-middle bg-elevated size-4 text-[8px ] shrink-0" ><img role = " img" src = " https://github.com/benjamincanac.png" width = " 16 " height = " 16 " class = " h-full w-full rounded-[inherit] object-cover" ></span >
22
+ "<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5 " ><span class = " inline-flex items-center justify-center select-none overflow-hidden rounded-full align-middle bg-elevated size-5 text-[10px ] shrink-0" ><img role = " img" src = " https://github.com/benjamincanac.png" width = " 20 " height = " 20 " class = " h-full w-full rounded-[inherit] object-cover" ></span >
23
23
<!--v-if-->
24
24
<!--v-if--></span >"
25
25
`;
26
26
27
27
exports[`Badge > renders with class correctly 1`] = `
28
- "<span class = " inline-flex items-center text-xs px-2 py-1 gap-1 bg-primary text-inverted rounded-full font-bold" ><!--v-if--><span class = " truncate" >Badge</span >
28
+ "<span class = " inline-flex items-center text-xs px-2 py-1.5 gap-1 bg-primary text-inverted rounded-full font-bold" ><!--v-if--><span class = " truncate" >Badge</span >
29
29
<!--v-if--></span >"
30
30
`;
31
31
32
- exports[`Badge > renders with default slot correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><!--v-if-->Default slot<!--v-if--></span >"`;
32
+ exports[`Badge > renders with default slot correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md bg-primary text-inverted" ><!--v-if-->Default slot<!--v-if--></span >"`;
33
33
34
34
exports[`Badge > renders with icon correctly 1`] = `
35
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><span class = " iconify i-lucide:rocket shrink-0 size-4" aria-hidden = " true" ></span >
35
+ "<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5 " ><span class = " iconify i-lucide:rocket shrink-0 size-4" aria-hidden = " true" ></span >
36
36
<!--v-if-->
37
37
<!--v-if--></span >"
38
38
`;
39
39
40
40
exports[`Badge > renders with label correctly 1`] = `
41
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
41
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
42
42
<!--v-if--></span >"
43
43
`;
44
44
45
45
exports[`Badge > renders with leading and icon correctly 1`] = `
46
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><span class = " iconify i-lucide:arrow-left shrink-0 size-4" aria-hidden = " true" ></span >
46
+ "<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5 " ><span class = " iconify i-lucide:arrow-left shrink-0 size-4" aria-hidden = " true" ></span >
47
47
<!--v-if-->
48
48
<!--v-if--></span >"
49
49
`;
50
50
51
- exports[`Badge > renders with leading slot correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" >Leading slot<!--v-if--><!--v-if--></span >"`;
51
+ exports[`Badge > renders with leading slot correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5 " >Leading slot<!--v-if--><!--v-if--></span >"`;
52
52
53
53
exports[`Badge > renders with leadingIcon correctly 1`] = `
54
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><span class = " iconify i-lucide:arrow-left shrink-0 size-4" aria-hidden = " true" ></span >
54
+ "<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5 " ><span class = " iconify i-lucide:arrow-left shrink-0 size-4" aria-hidden = " true" ></span >
55
55
<!--v-if-->
56
56
<!--v-if--></span >"
57
57
`;
58
58
59
59
exports[`Badge > renders with neutral variant outline correctly 1`] = `
60
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md ring ring-inset ring-accented text-default bg-default" ><!--v-if--><span class = " truncate" >Badge</span >
60
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md ring ring-inset ring-accented text-default bg-default" ><!--v-if--><span class = " truncate" >Badge</span >
61
61
<!--v-if--></span >"
62
62
`;
63
63
64
64
exports[`Badge > renders with neutral variant soft correctly 1`] = `
65
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md text-default bg-elevated" ><!--v-if--><span class = " truncate" >Badge</span >
65
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md text-default bg-elevated" ><!--v-if--><span class = " truncate" >Badge</span >
66
66
<!--v-if--></span >"
67
67
`;
68
68
69
69
exports[`Badge > renders with neutral variant solid correctly 1`] = `
70
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md text-inverted bg-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
70
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md text-inverted bg-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
71
71
<!--v-if--></span >"
72
72
`;
73
73
74
74
exports[`Badge > renders with neutral variant subtle correctly 1`] = `
75
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md ring ring-inset ring-accented text-default bg-elevated" ><!--v-if--><span class = " truncate" >Badge</span >
75
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md ring ring-inset ring-accented text-default bg-elevated" ><!--v-if--><span class = " truncate" >Badge</span >
76
76
<!--v-if--></span >"
77
77
`;
78
78
79
79
exports[`Badge > renders with primary variant outline correctly 1`] = `
80
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md text-primary ring ring-inset ring-primary/50" ><!--v-if--><span class = " truncate" >Badge</span >
80
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md text-primary ring ring-inset ring-primary/50" ><!--v-if--><span class = " truncate" >Badge</span >
81
81
<!--v-if--></span >"
82
82
`;
83
83
84
84
exports[`Badge > renders with primary variant soft correctly 1`] = `
85
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary/10 text-primary" ><!--v-if--><span class = " truncate" >Badge</span >
85
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md bg-primary/10 text-primary" ><!--v-if--><span class = " truncate" >Badge</span >
86
86
<!--v-if--></span >"
87
87
`;
88
88
89
89
exports[`Badge > renders with primary variant solid correctly 1`] = `
90
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
90
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
91
91
<!--v-if--></span >"
92
92
`;
93
93
94
94
exports[`Badge > renders with primary variant subtle correctly 1`] = `
95
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary/10 text-primary ring ring-inset ring-primary/25" ><!--v-if--><span class = " truncate" >Badge</span >
95
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md bg-primary/10 text-primary ring ring-inset ring-primary/25" ><!--v-if--><span class = " truncate" >Badge</span >
96
96
<!--v-if--></span >"
97
97
`;
98
98
99
99
exports[`Badge > renders with size lg correctly 1`] = `
100
- "<span class = " font-medium inline-flex items-center text-sm px-2 py-1 gap-1.5 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
100
+ "<span class = " font-medium inline-flex items-center text-sm px-2.5 py-2 gap-1.5 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
101
101
<!--v-if--></span >"
102
102
`;
103
103
104
104
exports[`Badge > renders with size md correctly 1`] = `
105
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
105
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
106
106
<!--v-if--></span >"
107
107
`;
108
108
@@ -112,7 +112,7 @@ exports[`Badge > renders with size sm correctly 1`] = `
112
112
`;
113
113
114
114
exports[`Badge > renders with size xl correctly 1`] = `
115
- "<span class = " font-medium inline-flex items-center text-base px-2.5 py-1 gap-1.5 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
115
+ "<span class = " font-medium inline-flex items-center text-base px-3 py-2.5 gap-1.5 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate" >Badge</span >
116
116
<!--v-if--></span >"
117
117
`;
118
118
@@ -121,13 +121,19 @@ exports[`Badge > renders with size xs correctly 1`] = `
121
121
<!--v-if--></span >"
122
122
`;
123
123
124
- exports[`Badge > renders with trailing and icon correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><!--v-if--><span class = " iconify i-lucide:arrow-right shrink-0 size-4" aria-hidden = " true" ></span ></span >"`;
124
+ exports[`Badge > renders with square correctly 1`] = `
125
+ "<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5" ><span class = " iconify i-lucide:rocket shrink-0 size-4" aria-hidden = " true" ></span >
126
+ <!--v-if-->
127
+ <!--v-if--></span >"
128
+ `;
129
+
130
+ exports[`Badge > renders with trailing and icon correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5" ><!--v-if--><!--v-if--><span class = " iconify i-lucide:arrow-right shrink-0 size-4" aria-hidden = " true" ></span ></span >"`;
125
131
126
- exports[`Badge > renders with trailing slot correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><!--v-if-->Trailing slot</span >"`;
132
+ exports[`Badge > renders with trailing slot correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5 " ><!--v-if--><!--v-if-->Trailing slot</span >"`;
127
133
128
- exports[`Badge > renders with trailingIcon correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><!--v-if--><span class = " iconify i-lucide:arrow-right shrink-0 size-4" aria-hidden = " true" ></span ></span >"`;
134
+ exports[`Badge > renders with trailingIcon correctly 1`] = `"<span class = " font-medium inline-flex items-center text-xs gap-1 rounded-md bg-primary text-inverted p-1.5 " ><!--v-if--><!--v-if--><span class = " iconify i-lucide:arrow-right shrink-0 size-4" aria-hidden = " true" ></span ></span >"`;
129
135
130
136
exports[`Badge > renders with ui correctly 1`] = `
131
- "<span class = " font-medium inline-flex items-center text-xs px-2 py-1 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate font-bold" >Badge</span >
137
+ "<span class = " font-medium inline-flex items-center text-xs px-2 py-1.5 gap-1 rounded-md bg-primary text-inverted" ><!--v-if--><span class = " truncate font-bold" >Badge</span >
132
138
<!--v-if--></span >"
133
139
`;
0 commit comments