@mrshmllw/smores-react 2.1.8 → 2.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActionDropdown/__tests__/__snapshots__/ActionDropdown.js.snap +167 -0
- package/dist/Box/__tests__/__snapshots__/Box.js.snap +20 -0
- package/dist/Button/Button.stories.d.ts +0 -5
- package/dist/Button/Button.stories.js +0 -20
- package/dist/Button/Button.stories.js.map +1 -1
- package/dist/Button/__tests__/__snapshots__/Button.js.snap +46 -0
- package/dist/Card/__tests__/__snapshots__/Card.js.snap +24 -0
- package/dist/CheckBox/__tests__/__snapshots__/CheckBox.js.snap +20 -0
- package/dist/Dropdown/Dropdown.js +2 -1
- package/dist/Dropdown/Dropdown.js.map +1 -1
- package/dist/Dropdown/__tests__/__snapshots__/Dropdown.js.snap +167 -0
- package/dist/Emoji/__tests__/__snapshots__/Emoji.js.snap +20 -0
- package/dist/Icon/__tests__/__snapshots__/Icon.js.snap +47 -0
- package/dist/IconWrapper/__tests__/__snapshots__/IconWrapper.js.snap +121 -0
- package/dist/LabelledText/__tests__/__snapshots__/LabelledText.js.snap +57 -0
- package/dist/Loader/__tests__/__snapshots__/Loader.js.snap +53 -0
- package/dist/Message/__tests__/__snapshots__/Message.js.snap +279 -0
- package/dist/Modal/__tests__/__snapshots__/Modal.js.snap +208 -0
- package/dist/NumberInput/__tests__/__snapshots__/NumberInput.js.snap +1398 -0
- package/dist/Pagination/__tests__/__snapshots__/Pagination.js.snap +273 -0
- package/dist/RadioButton/__tests__/__snapshots__/RadioButton.js.snap +146 -0
- package/dist/Row/__tests__/__snapshots__/Row.js.snap +96 -0
- package/dist/SearchInput/SearchInput.js +2 -1
- package/dist/SearchInput/SearchInput.js.map +1 -1
- package/dist/SearchInput/__tests__/__snapshots__/SearchInput.js.snap +146 -0
- package/dist/Tag/__tests__/__snapshots__/Tag.js.snap +54 -0
- package/dist/Text/__tests__/__snapshots__/Text.js.snap +34 -0
- package/dist/TextInput/TextInput.d.ts +1 -1
- package/dist/TextInput/TextInput.js +2 -1
- package/dist/TextInput/TextInput.js.map +1 -1
- package/dist/TextInput/__tests__/__snapshots__/TextInput.js.snap +74 -0
- package/dist/Textarea/Textarea.js +2 -1
- package/dist/Textarea/Textarea.js.map +1 -1
- package/dist/Textarea/__tests__/__snapshots__/Textarea.js.snap +271 -0
- package/dist/Toggle/__tests__/__snapshots__/Toggle.js.snap +70 -0
- package/package.json +1 -1
@@ -0,0 +1,273 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`renders 1`] = `
|
4
|
+
.c0 {
|
5
|
+
display: -webkit-box;
|
6
|
+
display: -webkit-flex;
|
7
|
+
display: -ms-flexbox;
|
8
|
+
display: flex;
|
9
|
+
-webkit-flex-direction: row;
|
10
|
+
-ms-flex-direction: row;
|
11
|
+
flex-direction: row;
|
12
|
+
}
|
13
|
+
|
14
|
+
.c6 {
|
15
|
+
display: -webkit-box;
|
16
|
+
display: -webkit-flex;
|
17
|
+
display: -ms-flexbox;
|
18
|
+
display: flex;
|
19
|
+
-webkit-box-pack: center;
|
20
|
+
-webkit-justify-content: center;
|
21
|
+
-ms-flex-pack: center;
|
22
|
+
justify-content: center;
|
23
|
+
}
|
24
|
+
|
25
|
+
.c3 {
|
26
|
+
font-size: 14px;
|
27
|
+
line-height: 20px;
|
28
|
+
font-weight: 500;
|
29
|
+
margin: 0;
|
30
|
+
padding: 0;
|
31
|
+
color: #112035;
|
32
|
+
text-align: left;
|
33
|
+
cursor: inherit;
|
34
|
+
-webkit-letter-spacing: 0.15px;
|
35
|
+
-moz-letter-spacing: 0.15px;
|
36
|
+
-ms-letter-spacing: 0.15px;
|
37
|
+
letter-spacing: 0.15px;
|
38
|
+
}
|
39
|
+
|
40
|
+
.c5 {
|
41
|
+
font-size: 14px;
|
42
|
+
line-height: 20px;
|
43
|
+
font-weight: 400;
|
44
|
+
margin: 0;
|
45
|
+
padding: 0;
|
46
|
+
color: #112035;
|
47
|
+
text-align: left;
|
48
|
+
cursor: inherit;
|
49
|
+
-webkit-letter-spacing: 0.15px;
|
50
|
+
-moz-letter-spacing: 0.15px;
|
51
|
+
-ms-letter-spacing: 0.15px;
|
52
|
+
letter-spacing: 0.15px;
|
53
|
+
}
|
54
|
+
|
55
|
+
.c7 {
|
56
|
+
font-size: 14px;
|
57
|
+
line-height: 23px;
|
58
|
+
font-weight: 400;
|
59
|
+
margin: 0;
|
60
|
+
padding: 0;
|
61
|
+
color: #112035;
|
62
|
+
text-align: left;
|
63
|
+
cursor: inherit;
|
64
|
+
-webkit-letter-spacing: 0.15px;
|
65
|
+
-moz-letter-spacing: 0.15px;
|
66
|
+
-ms-letter-spacing: 0.15px;
|
67
|
+
letter-spacing: 0.15px;
|
68
|
+
}
|
69
|
+
|
70
|
+
.c8 {
|
71
|
+
display: -webkit-box;
|
72
|
+
display: -webkit-flex;
|
73
|
+
display: -ms-flexbox;
|
74
|
+
display: flex;
|
75
|
+
-webkit-align-items: center;
|
76
|
+
-webkit-box-align: center;
|
77
|
+
-ms-flex-align: center;
|
78
|
+
align-items: center;
|
79
|
+
-webkit-box-pack: center;
|
80
|
+
-webkit-justify-content: center;
|
81
|
+
-ms-flex-pack: center;
|
82
|
+
justify-content: center;
|
83
|
+
width: 100%;
|
84
|
+
max-width: 18px;
|
85
|
+
height: 18px;
|
86
|
+
-webkit-transform: rotate(180deg);
|
87
|
+
-ms-transform: rotate(180deg);
|
88
|
+
transform: rotate(180deg);
|
89
|
+
margin-top: 0;
|
90
|
+
margin-right: 0;
|
91
|
+
margin-bottom: 0;
|
92
|
+
margin-left: 0;
|
93
|
+
}
|
94
|
+
|
95
|
+
.c1 {
|
96
|
+
-webkit-align-items: center;
|
97
|
+
-webkit-box-align: center;
|
98
|
+
-ms-flex-align: center;
|
99
|
+
align-items: center;
|
100
|
+
height: 24px;
|
101
|
+
}
|
102
|
+
|
103
|
+
.c1 > div {
|
104
|
+
width: 24px;
|
105
|
+
margin-right: 4px;
|
106
|
+
}
|
107
|
+
|
108
|
+
.c1 > div:last-child {
|
109
|
+
margin-right: 0;
|
110
|
+
}
|
111
|
+
|
112
|
+
.c2 {
|
113
|
+
background: #F9F9F9;
|
114
|
+
cursor: pointer;
|
115
|
+
display: -webkit-box;
|
116
|
+
display: -webkit-flex;
|
117
|
+
display: -ms-flexbox;
|
118
|
+
display: flex;
|
119
|
+
-webkit-box-pack: center;
|
120
|
+
-webkit-justify-content: center;
|
121
|
+
-ms-flex-pack: center;
|
122
|
+
justify-content: center;
|
123
|
+
border-radius: 50%;
|
124
|
+
}
|
125
|
+
|
126
|
+
.c4 {
|
127
|
+
background: none;
|
128
|
+
cursor: pointer;
|
129
|
+
display: -webkit-box;
|
130
|
+
display: -webkit-flex;
|
131
|
+
display: -ms-flexbox;
|
132
|
+
display: flex;
|
133
|
+
-webkit-box-pack: center;
|
134
|
+
-webkit-justify-content: center;
|
135
|
+
-ms-flex-pack: center;
|
136
|
+
justify-content: center;
|
137
|
+
border-radius: 50%;
|
138
|
+
}
|
139
|
+
|
140
|
+
@media (min-width:768px) {
|
141
|
+
.c3 {
|
142
|
+
font-size: 16px;
|
143
|
+
line-height: 23px;
|
144
|
+
}
|
145
|
+
}
|
146
|
+
|
147
|
+
@media (min-width:768px) {
|
148
|
+
.c5 {
|
149
|
+
font-size: 16px;
|
150
|
+
line-height: 23px;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
@media (min-width:768px) {
|
155
|
+
.c7 {
|
156
|
+
font-size: 16px;
|
157
|
+
line-height: 26px;
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
<div
|
162
|
+
class="c0 c1"
|
163
|
+
direction="row"
|
164
|
+
>
|
165
|
+
<div
|
166
|
+
class="c2"
|
167
|
+
>
|
168
|
+
<p
|
169
|
+
class="c3"
|
170
|
+
color="blue7"
|
171
|
+
cursor="inherit"
|
172
|
+
title=""
|
173
|
+
>
|
174
|
+
1
|
175
|
+
</p>
|
176
|
+
</div>
|
177
|
+
<div
|
178
|
+
class="c4"
|
179
|
+
>
|
180
|
+
<p
|
181
|
+
class="c5"
|
182
|
+
color="blue7"
|
183
|
+
cursor="inherit"
|
184
|
+
title=""
|
185
|
+
>
|
186
|
+
2
|
187
|
+
</p>
|
188
|
+
</div>
|
189
|
+
<div
|
190
|
+
class="c4"
|
191
|
+
>
|
192
|
+
<p
|
193
|
+
class="c5"
|
194
|
+
color="blue7"
|
195
|
+
cursor="inherit"
|
196
|
+
title=""
|
197
|
+
>
|
198
|
+
3
|
199
|
+
</p>
|
200
|
+
</div>
|
201
|
+
<div
|
202
|
+
class="c4"
|
203
|
+
>
|
204
|
+
<p
|
205
|
+
class="c5"
|
206
|
+
color="blue7"
|
207
|
+
cursor="inherit"
|
208
|
+
title=""
|
209
|
+
>
|
210
|
+
4
|
211
|
+
</p>
|
212
|
+
</div>
|
213
|
+
<div
|
214
|
+
class="c4"
|
215
|
+
>
|
216
|
+
<p
|
217
|
+
class="c5"
|
218
|
+
color="blue7"
|
219
|
+
cursor="inherit"
|
220
|
+
title=""
|
221
|
+
>
|
222
|
+
5
|
223
|
+
</p>
|
224
|
+
</div>
|
225
|
+
<div
|
226
|
+
class="c6"
|
227
|
+
>
|
228
|
+
<p
|
229
|
+
class="c7"
|
230
|
+
color="blue7"
|
231
|
+
cursor="inherit"
|
232
|
+
title=""
|
233
|
+
>
|
234
|
+
...
|
235
|
+
</p>
|
236
|
+
</div>
|
237
|
+
<div
|
238
|
+
class="c4"
|
239
|
+
>
|
240
|
+
<p
|
241
|
+
class="c5"
|
242
|
+
color="blue7"
|
243
|
+
cursor="inherit"
|
244
|
+
title=""
|
245
|
+
>
|
246
|
+
11
|
247
|
+
</p>
|
248
|
+
</div>
|
249
|
+
<div
|
250
|
+
class="c4"
|
251
|
+
>
|
252
|
+
<span
|
253
|
+
class="c8"
|
254
|
+
color="blue7"
|
255
|
+
rotate="180"
|
256
|
+
size="18"
|
257
|
+
>
|
258
|
+
<svg
|
259
|
+
fill="none"
|
260
|
+
height="100%"
|
261
|
+
viewBox="0 0 24 24"
|
262
|
+
width="100%"
|
263
|
+
xmlns="http://www.w3.org/2000/svg"
|
264
|
+
>
|
265
|
+
<path
|
266
|
+
d="M2.087 12.401c.014.033.042.058.06.089a.99.99 0 00.177.238c.008.007.01.018.018.025l8 7a1 1 0 101.316-1.505L5.661 13H21a1 1 0 100-2H5.661l5.997-5.248a1 1 0 10-1.316-1.504l-8 7c-.008.007-.011.018-.018.025a.99.99 0 00-.177.238c-.018.031-.045.056-.06.089a.97.97 0 000 .801z"
|
267
|
+
fill="#112035"
|
268
|
+
/>
|
269
|
+
</svg>
|
270
|
+
</span>
|
271
|
+
</div>
|
272
|
+
</div>
|
273
|
+
`;
|
@@ -0,0 +1,146 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`renders - checked 1`] = `
|
4
|
+
.c0 {
|
5
|
+
display: -webkit-box;
|
6
|
+
display: -webkit-flex;
|
7
|
+
display: -ms-flexbox;
|
8
|
+
display: flex;
|
9
|
+
-webkit-align-items: center;
|
10
|
+
-webkit-box-align: center;
|
11
|
+
-ms-flex-align: center;
|
12
|
+
align-items: center;
|
13
|
+
}
|
14
|
+
|
15
|
+
.c3 {
|
16
|
+
width: 24px;
|
17
|
+
height: 24px;
|
18
|
+
border-radius: 50%;
|
19
|
+
background-color: #ffffff;
|
20
|
+
margin-right: 10px;
|
21
|
+
border: 8px solid #55D6AA;
|
22
|
+
}
|
23
|
+
|
24
|
+
.c1 {
|
25
|
+
position: absolute;
|
26
|
+
opacity: 0;
|
27
|
+
height: 0;
|
28
|
+
width: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
.c2 {
|
32
|
+
font-family: 'Gordita',sans-serif;
|
33
|
+
text-transform: none;
|
34
|
+
font-size: 16px;
|
35
|
+
line-height: 17px;
|
36
|
+
color: #112035;
|
37
|
+
margin-bottom: 0;
|
38
|
+
display: -webkit-box;
|
39
|
+
display: -webkit-flex;
|
40
|
+
display: -ms-flexbox;
|
41
|
+
display: flex;
|
42
|
+
cursor: pointer;
|
43
|
+
}
|
44
|
+
|
45
|
+
.c4 {
|
46
|
+
position: relative;
|
47
|
+
bottom: -5px;
|
48
|
+
}
|
49
|
+
|
50
|
+
<div
|
51
|
+
class="c0"
|
52
|
+
>
|
53
|
+
<input
|
54
|
+
checked=""
|
55
|
+
class="c1"
|
56
|
+
id="radioButtonOne"
|
57
|
+
type="radio"
|
58
|
+
value="true"
|
59
|
+
/>
|
60
|
+
<label
|
61
|
+
class="c2"
|
62
|
+
for="radioButtonOne"
|
63
|
+
>
|
64
|
+
<div
|
65
|
+
class="c3"
|
66
|
+
/>
|
67
|
+
<span
|
68
|
+
class="c4"
|
69
|
+
>
|
70
|
+
What a lovely label
|
71
|
+
</span>
|
72
|
+
</label>
|
73
|
+
</div>
|
74
|
+
`;
|
75
|
+
|
76
|
+
exports[`renders - unchecked 1`] = `
|
77
|
+
.c0 {
|
78
|
+
display: -webkit-box;
|
79
|
+
display: -webkit-flex;
|
80
|
+
display: -ms-flexbox;
|
81
|
+
display: flex;
|
82
|
+
-webkit-align-items: center;
|
83
|
+
-webkit-box-align: center;
|
84
|
+
-ms-flex-align: center;
|
85
|
+
align-items: center;
|
86
|
+
}
|
87
|
+
|
88
|
+
.c3 {
|
89
|
+
width: 24px;
|
90
|
+
height: 24px;
|
91
|
+
border-radius: 50%;
|
92
|
+
background-color: #ffffff;
|
93
|
+
margin-right: 10px;
|
94
|
+
border: 1px solid #D2D2D2;
|
95
|
+
}
|
96
|
+
|
97
|
+
.c1 {
|
98
|
+
position: absolute;
|
99
|
+
opacity: 0;
|
100
|
+
height: 0;
|
101
|
+
width: 0;
|
102
|
+
}
|
103
|
+
|
104
|
+
.c2 {
|
105
|
+
font-family: 'Gordita',sans-serif;
|
106
|
+
text-transform: none;
|
107
|
+
font-size: 16px;
|
108
|
+
line-height: 17px;
|
109
|
+
color: #112035;
|
110
|
+
margin-bottom: 0;
|
111
|
+
display: -webkit-box;
|
112
|
+
display: -webkit-flex;
|
113
|
+
display: -ms-flexbox;
|
114
|
+
display: flex;
|
115
|
+
cursor: pointer;
|
116
|
+
}
|
117
|
+
|
118
|
+
.c4 {
|
119
|
+
position: relative;
|
120
|
+
bottom: -5px;
|
121
|
+
}
|
122
|
+
|
123
|
+
<div
|
124
|
+
class="c0"
|
125
|
+
>
|
126
|
+
<input
|
127
|
+
class="c1"
|
128
|
+
id="radioButtonOne"
|
129
|
+
type="radio"
|
130
|
+
value="false"
|
131
|
+
/>
|
132
|
+
<label
|
133
|
+
class="c2"
|
134
|
+
for="radioButtonOne"
|
135
|
+
>
|
136
|
+
<div
|
137
|
+
class="c3"
|
138
|
+
/>
|
139
|
+
<span
|
140
|
+
class="c4"
|
141
|
+
>
|
142
|
+
What a lovely label
|
143
|
+
</span>
|
144
|
+
</label>
|
145
|
+
</div>
|
146
|
+
`;
|
@@ -0,0 +1,96 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`default renders correctly 1`] = `
|
4
|
+
.c1 {
|
5
|
+
font-size: 14px;
|
6
|
+
line-height: 23px;
|
7
|
+
font-weight: 400;
|
8
|
+
margin: 0;
|
9
|
+
padding: 0;
|
10
|
+
color: #112035;
|
11
|
+
text-align: left;
|
12
|
+
cursor: inherit;
|
13
|
+
-webkit-letter-spacing: 0.15px;
|
14
|
+
-moz-letter-spacing: 0.15px;
|
15
|
+
-ms-letter-spacing: 0.15px;
|
16
|
+
letter-spacing: 0.15px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.c2 {
|
20
|
+
font-size: 12px;
|
21
|
+
line-height: 16px;
|
22
|
+
font-weight: 400;
|
23
|
+
margin: 0;
|
24
|
+
padding: 0;
|
25
|
+
color: #636768;
|
26
|
+
text-align: left;
|
27
|
+
cursor: inherit;
|
28
|
+
-webkit-letter-spacing: 0.15px;
|
29
|
+
-moz-letter-spacing: 0.15px;
|
30
|
+
-ms-letter-spacing: 0.15px;
|
31
|
+
letter-spacing: 0.15px;
|
32
|
+
}
|
33
|
+
|
34
|
+
.c0 {
|
35
|
+
border-radius: 0;
|
36
|
+
border: 1px solid #D2D2D2;
|
37
|
+
display: grid;
|
38
|
+
grid-template-columns: auto 24px;
|
39
|
+
padding: 16px;
|
40
|
+
grid-gap: 16px;
|
41
|
+
-webkit-align-items: center;
|
42
|
+
-webkit-box-align: center;
|
43
|
+
-ms-flex-align: center;
|
44
|
+
align-items: center;
|
45
|
+
cursor: pointer;
|
46
|
+
}
|
47
|
+
|
48
|
+
.c0 .iconRight {
|
49
|
+
justify-self: end;
|
50
|
+
}
|
51
|
+
|
52
|
+
@media (min-width:768px) {
|
53
|
+
.c1 {
|
54
|
+
font-size: 16px;
|
55
|
+
line-height: 26px;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
@media (min-width:768px) {
|
60
|
+
.c2 {
|
61
|
+
font-size: 14px;
|
62
|
+
line-height: 18px;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
@media (min-width:768px) {
|
67
|
+
.c0 {
|
68
|
+
grid-gap: 24px;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
<div>
|
73
|
+
<div
|
74
|
+
class="c0"
|
75
|
+
>
|
76
|
+
<div
|
77
|
+
class=""
|
78
|
+
>
|
79
|
+
<h1
|
80
|
+
class="c1"
|
81
|
+
color="blue7"
|
82
|
+
cursor="inherit"
|
83
|
+
title=""
|
84
|
+
>
|
85
|
+
This is a Row with a heading
|
86
|
+
</h1>
|
87
|
+
<p
|
88
|
+
class="c2"
|
89
|
+
color="grey8"
|
90
|
+
cursor="inherit"
|
91
|
+
title=""
|
92
|
+
/>
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
</div>
|
96
|
+
`;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import React, { useState } from 'react';
|
2
2
|
import styled from 'styled-components';
|
3
|
+
import { darken } from 'polished';
|
3
4
|
import { Text } from '../Text';
|
4
5
|
import { Box } from '../Box';
|
5
6
|
import { theme } from '../theme';
|
@@ -63,7 +64,7 @@ const InputBox = styled.div `
|
|
63
64
|
&:hover,
|
64
65
|
&:focus,
|
65
66
|
&:focus-within {
|
66
|
-
border-color: ${theme.colors.outline};
|
67
|
+
border-color: ${darken(0.1, theme.colors.outline)};
|
67
68
|
}
|
68
69
|
|
69
70
|
${({ selected }) => selected &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SearchInput.js","sourceRoot":"","sources":["../../src/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,MAAM,MAAM,mBAAmB,CAAA;
|
1
|
+
{"version":3,"file":"SearchInput.js","sourceRoot":"","sources":["../../src/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAM,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,MAAM,MAAM,mBAAmB,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAC5B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAmD9B,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,EAChD,EAAE,EACF,IAAI,GAAG,cAAc,EACrB,KAAK,EACL,WAAW,EACX,UAAU,EACV,OAAO,EACP,uBAAuB,GAAG,KAAK,EAC/B,QAAQ,GAAG,KAAK,EAChB,QAAQ,GAAG,KAAK,GACjB,EAAE,EAAE;IACH,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAC,KAAK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C,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC;IACvD,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,QAAQ,IAAI,sBAAsB;;;kBAGtC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC;;CAEvD,CAAA;AAED,MAAM,WAAW,GAAG,MAAM,CAAC,EAAE,CAAc;;;;;;sBAMrB,KAAK,CAAC,MAAM,CAAC,KAAK;sBAClB,KAAK,CAAC,MAAM,CAAC,OAAO;;;;;IAKtC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CACjB,QAAQ;IACR;wBACoB,KAAK,CAAC,MAAM,CAAC,OAAO;GACzC;;;;;;aAMU,KAAK,CAAC,MAAM,CAAC,SAAS;;;;0BAIT,KAAK,CAAC,MAAM,CAAC,UAAU;;;CAGhD,CAAA;AAED,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;;CAE9B,CAAA"}
|
@@ -0,0 +1,146 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`renders 1`] = `
|
4
|
+
.c2 {
|
5
|
+
font-size: 8px;
|
6
|
+
line-height: 100%;
|
7
|
+
font-weight: 700;
|
8
|
+
text-transform: uppercase;
|
9
|
+
-webkit-letter-spacing: 0.75px;
|
10
|
+
-moz-letter-spacing: 0.75px;
|
11
|
+
-ms-letter-spacing: 0.75px;
|
12
|
+
letter-spacing: 0.75px;
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
color: #D2D2D2;
|
16
|
+
text-align: left;
|
17
|
+
cursor: inherit;
|
18
|
+
-webkit-letter-spacing: 0.15px;
|
19
|
+
-moz-letter-spacing: 0.15px;
|
20
|
+
-ms-letter-spacing: 0.15px;
|
21
|
+
letter-spacing: 0.15px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.c1 {
|
25
|
+
margin-bottom: 0px;
|
26
|
+
}
|
27
|
+
|
28
|
+
.c0 {
|
29
|
+
position: relative;
|
30
|
+
width: 100%;
|
31
|
+
background: #ffffff;
|
32
|
+
}
|
33
|
+
|
34
|
+
.c3 {
|
35
|
+
display: block;
|
36
|
+
border: none;
|
37
|
+
border-bottom: 1px solid #D2D2D2;
|
38
|
+
outline: none;
|
39
|
+
color: #112035;
|
40
|
+
font-size: 16px;
|
41
|
+
height: 32px;
|
42
|
+
width: 100%;
|
43
|
+
box-sizing: border-box;
|
44
|
+
}
|
45
|
+
|
46
|
+
.c3::-webkit-input-placeholder {
|
47
|
+
color: #D2D2D2;
|
48
|
+
}
|
49
|
+
|
50
|
+
.c3::-moz-placeholder {
|
51
|
+
color: #D2D2D2;
|
52
|
+
}
|
53
|
+
|
54
|
+
.c3:-ms-input-placeholder {
|
55
|
+
color: #D2D2D2;
|
56
|
+
}
|
57
|
+
|
58
|
+
.c3::placeholder {
|
59
|
+
color: #D2D2D2;
|
60
|
+
}
|
61
|
+
|
62
|
+
.c3:hover,
|
63
|
+
.c3:focus,
|
64
|
+
.c3:focus-visible {
|
65
|
+
border-color: #9E9E9E;
|
66
|
+
}
|
67
|
+
|
68
|
+
.c4 {
|
69
|
+
box-sizing: border-box;
|
70
|
+
overflow-y: hidden;
|
71
|
+
position: absolute;
|
72
|
+
width: 100%;
|
73
|
+
visibility: hidden;
|
74
|
+
}
|
75
|
+
|
76
|
+
.c4 ul {
|
77
|
+
max-height: 0px;
|
78
|
+
}
|
79
|
+
|
80
|
+
.c5 {
|
81
|
+
position: relative;
|
82
|
+
list-style: none;
|
83
|
+
overflow-y: auto;
|
84
|
+
padding: 0;
|
85
|
+
margin: 0;
|
86
|
+
background-color: #ffffff;
|
87
|
+
border: 1px solid #D2D2D2;
|
88
|
+
border-bottom-left-radius: 8px;
|
89
|
+
border-bottom-right-radius: 8px;
|
90
|
+
z-index: 1000;
|
91
|
+
}
|
92
|
+
|
93
|
+
.c5 li {
|
94
|
+
padding: 16px 14px;
|
95
|
+
box-sizing: border-box;
|
96
|
+
font-size: 16px;
|
97
|
+
color: #112035;
|
98
|
+
cursor: pointer;
|
99
|
+
}
|
100
|
+
|
101
|
+
.c5 li:hover {
|
102
|
+
background-color: #F8F6F6;
|
103
|
+
}
|
104
|
+
|
105
|
+
@media (min-width:768px) {
|
106
|
+
.c2 {
|
107
|
+
font-size: 10px;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
<div
|
112
|
+
class="c0"
|
113
|
+
>
|
114
|
+
<div
|
115
|
+
class="c1"
|
116
|
+
>
|
117
|
+
<label
|
118
|
+
class="c2"
|
119
|
+
color="grey4"
|
120
|
+
cursor="inherit"
|
121
|
+
title=""
|
122
|
+
>
|
123
|
+
Days
|
124
|
+
</label>
|
125
|
+
</div>
|
126
|
+
<input
|
127
|
+
autocomplete="off"
|
128
|
+
class="c3"
|
129
|
+
id="days"
|
130
|
+
name="search_input"
|
131
|
+
type="text"
|
132
|
+
value=""
|
133
|
+
/>
|
134
|
+
<div
|
135
|
+
class="c4"
|
136
|
+
>
|
137
|
+
<ul
|
138
|
+
class="c5"
|
139
|
+
>
|
140
|
+
<li>
|
141
|
+
No results
|
142
|
+
</li>
|
143
|
+
</ul>
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
`;
|