-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
Copy pathindex.js.snap
172 lines (156 loc) · 4.11 KB
/
index.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`ItemGroup Item should read the value of the size prop from context when the prop is not defined 1`] = `
Snapshot Diff:
- First value
+ Second value
@@ -7,11 +7,11 @@
<div
class="css-dcjs67-itemWrapper"
role="listitem"
>
<div
- class="components-item css-1o1qhwe-View-medium-itemWrapper-spacedAround em57xhy0"
+ class="components-item css-1c3a883-View-large-itemWrapper-spacedAround em57xhy0"
data-wp-c16t="true"
data-wp-component="Item"
>
Code
</div>
@@ -19,11 +19,11 @@
<div
class="css-dcjs67-itemWrapper"
role="listitem"
>
<div
- class="components-item css-1o1qhwe-View-medium-itemWrapper-spacedAround em57xhy0"
+ class="components-item css-1c3a883-View-large-itemWrapper-spacedAround em57xhy0"
data-wp-c16t="true"
data-wp-component="Item"
>
Is
</div>
`;
exports[`ItemGroup Item should use different amounts of padding depending on the value of the size prop 1`] = `
Snapshot Diff:
- First value
+ Second value
@@ -1,11 +1,11 @@
<div
class="css-dcjs67-itemWrapper"
role="listitem"
>
<div
- class="components-item css-gqguxs-View-medium-itemWrapper em57xhy0"
+ class="components-item css-1esf9dc-View-large-itemWrapper em57xhy0"
data-wp-c16t="true"
data-wp-component="Item"
>
Code is poetry
</div>
`;
exports[`ItemGroup ItemGroup component should render correctly 1`] = `
.emotion-0 {
border-radius: 2px;
}
.emotion-0>*:first-of-type>* {
border-top-left-radius: 2px;
border-top-right-radius: 2px;
}
.emotion-0>*:last-of-type>* {
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
}
.emotion-2 {
width: 100%;
display: block;
}
.emotion-3 {
padding: calc((36px - calc(13px * 1.2) - 2px) / 2) 12px;
width: 100%;
display: block;
border-radius: 2px;
}
<div
class="components-item-group emotion-0 emotion-1"
data-wp-c16t="true"
data-wp-component="ItemGroup"
role="list"
>
<div
class="emotion-2"
role="listitem"
>
<div
class="components-item emotion-3 emotion-1"
data-wp-c16t="true"
data-wp-component="Item"
>
Code is poetry
</div>
</div>
</div>
`;
exports[`ItemGroup ItemGroup component should render items individually when the isSeparated prop is true 1`] = `
Snapshot Diff:
- First value
+ Second value
@@ -1,17 +1,17 @@
<div
- class="components-item-group css-kj8mvb-View-rounded em57xhy0"
+ class="components-item-group css-18qvw1m-View-separated-rounded em57xhy0"
data-wp-c16t="true"
data-wp-component="ItemGroup"
role="list"
>
<div
class="css-dcjs67-itemWrapper"
role="listitem"
>
<div
- class="components-item css-1o1qhwe-View-medium-itemWrapper-spacedAround em57xhy0"
+ class="components-item css-gqguxs-View-medium-itemWrapper em57xhy0"
data-wp-c16t="true"
data-wp-component="Item"
>
Code is poetry
</div>
`;
exports[`ItemGroup ItemGroup component should show borders when the isBordered prop is true 1`] = `
Snapshot Diff:
- First value
+ Second value
@@ -1,17 +1,17 @@
<div
- class="components-item-group css-kj8mvb-View-rounded em57xhy0"
+ class="components-item-group css-acyoj6-View-bordered-rounded em57xhy0"
data-wp-c16t="true"
data-wp-component="ItemGroup"
role="list"
>
<div
class="css-dcjs67-itemWrapper"
role="listitem"
>
<div
- class="components-item css-1o1qhwe-View-medium-itemWrapper-spacedAround em57xhy0"
+ class="components-item css-gqguxs-View-medium-itemWrapper em57xhy0"
data-wp-c16t="true"
data-wp-component="Item"
>
Code is poetry
</div>
`;
exports[`ItemGroup ItemGroup component should show rounded corners when the isRounded prop is true 1`] = `
Snapshot Diff:
- First value
+ Second value
@@ -1,7 +1,7 @@
<div
- class="components-item-group css-kj8mvb-View-rounded em57xhy0"
+ class="components-item-group css-1mm2cvy-View em57xhy0"
data-wp-c16t="true"
data-wp-component="ItemGroup"
role="list"
>
<div
`;