-
Notifications
You must be signed in to change notification settings - Fork 671
/
Combobox.tsx.snap
176 lines (164 loc) · 3.15 KB
/
Combobox.tsx.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
173
174
175
176
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders 1`] = `
.emotion-0 {
z-index: 2;
}
.emotion-1 {
box-sizing: border-box;
margin: 0;
min-width: 0;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.emotion-2 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}
.emotion-3 {
box-sizing: border-box;
margin: 0;
min-width: 0;
display: block;
width: 100%;
padding: 8px;
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
font-size: inherit;
line-height: inherit;
border: 1px solid;
border-radius: 4px;
color: inherit;
background-color: transparent;
}
.emotion-3:autofill,
.emotion-3:autofill:hover,
.emotion-3:autofill:focus {
box-shadow: inset 0 0 0 1000px var(--theme-ui-input-autofill-bg);
font-size: inherit;
}
.emotion-3:autofill:first-line,
.emotion-3:autofill:hover:first-line,
.emotion-3:autofill:focus:first-line {
font-size: 1rem;
}
.emotion-3:-webkit-autofill,
.emotion-3:-webkit-autofill:hover,
.emotion-3:-webkit-autofill:focus {
box-shadow: inset 0 0 0 1000px var(--theme-ui-input-autofill-bg);
font-size: inherit;
}
.emotion-3:-webkit-autofill:first-line,
.emotion-3:-webkit-autofill:hover:first-line,
.emotion-3:-webkit-autofill:focus:first-line {
font-size: 1rem;
}
.emotion-4 {
-webkit-appearance: none;
-moz-appearance: none;
-ms-appearance: none;
appearance: none;
width: 32px;
height: 32px;
color: inherit;
background-color: transparent;
border: 0;
margin-left: -32px;
}
.emotion-5 {
pointer-events: none;
}
.emotion-6 {
left: 0;
right: 0;
top: 100%;
list-style: none;
padding: 0;
margin: 0;
max-height: 512px;
overflow-y: auto;
background-color: white;
color: black;
border: 1px solid;
border-top: 0;
border-color: lightgray;
}
<div
className="emotion-0"
style={
Object {
"position": "static",
}
}
>
<label
className="emotion-1"
htmlFor="beep"
>
beep
</label>
<div
className="emotion-2"
>
<input
aria-activedescendant="beep-1"
aria-autocomplete="none"
aria-expanded={false}
aria-haspopup="true"
aria-owns="beep-popup"
className="emotion-3"
id="beep"
name="beep"
onBlur={[Function]}
onChange={[Function]}
onKeyDown={[Function]}
role="combobox"
type="text"
value="beep"
/>
<button
aria-label="Open"
className="emotion-4"
onClick={[Function]}
tabIndex={-1}
>
<svg
className="emotion-5"
height="12"
viewBox="0 0 16 16"
width="12"
>
<path
d="M14 6 L8 12 L2 6"
fill="none"
stroke="currentcolor"
strokeWidth="2"
/>
</svg>
</button>
</div>
<ul
aria-label="beep"
className="emotion-6"
id="beep-popup"
role="listbox"
style={
Object {
"position": "static",
"visibility": "hidden",
}
}
tabIndex={-1}
/>
</div>
`;