@mrshmllw/smores-react 1.2.10 → 1.2.15

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.
Files changed (54) hide show
  1. package/dist/ConfirmationRadioButtons/Confirmation.d.ts +11 -0
  2. package/dist/ConfirmationRadioButtons/Confirmation.js +63 -0
  3. package/dist/ConfirmationRadioButtons/Confirmation.js.map +1 -0
  4. package/dist/ConfirmationRadioButtons/Confirmation.stories.d.ts +14 -0
  5. package/dist/ConfirmationRadioButtons/Confirmation.stories.js +28 -0
  6. package/dist/ConfirmationRadioButtons/Confirmation.stories.js.map +1 -0
  7. package/dist/ConfirmationRadioButtons/Container.d.ts +2 -0
  8. package/dist/ConfirmationRadioButtons/Container.js +8 -0
  9. package/dist/ConfirmationRadioButtons/Container.js.map +1 -0
  10. package/dist/ConfirmationRadioButtons/RadioButtonStyled.d.ts +14 -0
  11. package/dist/ConfirmationRadioButtons/RadioButtonStyled.js +41 -0
  12. package/dist/ConfirmationRadioButtons/RadioButtonStyled.js.map +1 -0
  13. package/dist/ConfirmationRadioButtons/__tests__/Confirmation.d.ts +1 -0
  14. package/dist/ConfirmationRadioButtons/__tests__/Confirmation.js +8 -0
  15. package/dist/ConfirmationRadioButtons/__tests__/Confirmation.js.map +1 -0
  16. package/dist/ConfirmationRadioButtons/index.d.ts +1 -0
  17. package/dist/ConfirmationRadioButtons/index.js +2 -0
  18. package/dist/ConfirmationRadioButtons/index.js.map +1 -0
  19. package/dist/Dropdown/Dropdown.d.ts +27 -4
  20. package/dist/Dropdown/Dropdown.js +25 -4
  21. package/dist/Dropdown/Dropdown.js.map +1 -1
  22. package/dist/Dropdown/Dropdown.stories.d.ts +2 -0
  23. package/dist/Dropdown/Dropdown.stories.js +20 -0
  24. package/dist/Dropdown/Dropdown.stories.js.map +1 -1
  25. package/dist/Textarea/Textarea.d.ts +19 -4
  26. package/dist/Textarea/Textarea.js +7 -2
  27. package/dist/Textarea/Textarea.js.map +1 -1
  28. package/dist/index.d.ts +1 -0
  29. package/dist/index.js +1 -0
  30. package/dist/index.js.map +1 -1
  31. package/package.json +2 -2
  32. package/dist/ActionDropdown/__tests__/__snapshots__/ActionDropdown.js.snap +0 -167
  33. package/dist/Box/__tests__/__snapshots__/Box.js.snap +0 -20
  34. package/dist/Button/__tests__/__snapshots__/Button.js.snap +0 -46
  35. package/dist/Card/__tests__/__snapshots__/Card.js.snap +0 -24
  36. package/dist/CheckBox/__tests__/__snapshots__/CheckBox.js.snap +0 -20
  37. package/dist/Dropdown/__tests__/__snapshots__/Dropdown.js.snap +0 -168
  38. package/dist/Emoji/__tests__/__snapshots__/Emoji.js.snap +0 -20
  39. package/dist/Icon/__tests__/__snapshots__/Icon.js.snap +0 -47
  40. package/dist/IconWrapper/__tests__/__snapshots__/IconWrapper.js.snap +0 -121
  41. package/dist/LabelledText/__tests__/__snapshots__/LabelledText.js.snap +0 -57
  42. package/dist/Loader/__tests__/__snapshots__/Loader.js.snap +0 -53
  43. package/dist/Message/__tests__/__snapshots__/Message.js.snap +0 -278
  44. package/dist/Modal/__tests__/__snapshots__/Modal.js.snap +0 -208
  45. package/dist/NumberInput/__tests__/__snapshots__/NumberInput.js.snap +0 -1348
  46. package/dist/Pagination/__tests__/__snapshots__/Pagination.js.snap +0 -273
  47. package/dist/RadioButton/__tests__/__snapshots__/RadioButton.js.snap +0 -146
  48. package/dist/Row/__tests__/__snapshots__/Row.js.snap +0 -96
  49. package/dist/SearchInput/__tests__/__snapshots__/SearchInput.js.snap +0 -153
  50. package/dist/Tag/__tests__/__snapshots__/Tag.js.snap +0 -54
  51. package/dist/Text/__tests__/__snapshots__/Text.js.snap +0 -34
  52. package/dist/TextInput/__tests__/__snapshots__/TextInput.js.snap +0 -75
  53. package/dist/Textarea/__tests__/__snapshots__/Textarea.js.snap +0 -271
  54. package/dist/Toggle/__tests__/__snapshots__/Toggle.js.snap +0 -70
@@ -1,1348 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`renders - currency 1`] = `
4
- .c1 {
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
- .c3 {
25
- font-size: 14px;
26
- line-height: 23px;
27
- font-weight: 400;
28
- margin: 0;
29
- padding: 0;
30
- color: #112035;
31
- text-align: left;
32
- cursor: inherit;
33
- -webkit-letter-spacing: 0.15px;
34
- -moz-letter-spacing: 0.15px;
35
- -ms-letter-spacing: 0.15px;
36
- letter-spacing: 0.15px;
37
- }
38
-
39
- .c8 {
40
- display: -webkit-box;
41
- display: -webkit-flex;
42
- display: -ms-flexbox;
43
- display: flex;
44
- -webkit-align-items: center;
45
- -webkit-box-align: center;
46
- -ms-flex-align: center;
47
- align-items: center;
48
- -webkit-box-pack: center;
49
- -webkit-justify-content: center;
50
- -ms-flex-pack: center;
51
- justify-content: center;
52
- width: 100%;
53
- max-width: 24px;
54
- height: 24px;
55
- -webkit-transform: rotate(180deg);
56
- -ms-transform: rotate(180deg);
57
- transform: rotate(180deg);
58
- margin-top: 0;
59
- margin-right: 0;
60
- margin-bottom: 0;
61
- margin-left: 0;
62
- }
63
-
64
- .c9 {
65
- display: -webkit-box;
66
- display: -webkit-flex;
67
- display: -ms-flexbox;
68
- display: flex;
69
- -webkit-align-items: center;
70
- -webkit-box-align: center;
71
- -ms-flex-align: center;
72
- align-items: center;
73
- -webkit-box-pack: center;
74
- -webkit-justify-content: center;
75
- -ms-flex-pack: center;
76
- justify-content: center;
77
- width: 100%;
78
- max-width: 24px;
79
- height: 24px;
80
- -webkit-transform: rotate(0deg);
81
- -ms-transform: rotate(0deg);
82
- transform: rotate(0deg);
83
- margin-top: 0;
84
- margin-right: 0;
85
- margin-bottom: 0;
86
- margin-left: 0;
87
- }
88
-
89
- .c0 {
90
- font-family: 'Gordita',san-serif;
91
- display: -webkit-box;
92
- display: -webkit-flex;
93
- display: -ms-flexbox;
94
- display: flex;
95
- -webkit-flex-direction: column;
96
- -ms-flex-direction: column;
97
- flex-direction: column;
98
- height: 52px;
99
- }
100
-
101
- .c2 {
102
- border-bottom: 1px solid;
103
- border-color: #D2D2D2;
104
- display: -webkit-box;
105
- display: -webkit-flex;
106
- display: -ms-flexbox;
107
- display: flex;
108
- -webkit-align-items: center;
109
- -webkit-box-align: center;
110
- -ms-flex-align: center;
111
- align-items: center;
112
- height: 32px;
113
- cursor: pointer;
114
- opacity: 1;
115
- }
116
-
117
- .c2:hover {
118
- border-color: #9E9E9E;
119
- }
120
-
121
- .c2:focus {
122
- border-color: #545E7E;
123
- }
124
-
125
- .c5 {
126
- font-family: 'Gordita',san-serif;
127
- border: none;
128
- font-size: 16px;
129
- width: 100%;
130
- outline: none;
131
- cursor: pointer;
132
- -moz-appearance: textfield;
133
- }
134
-
135
- .c5::-webkit-input-placeholder {
136
- color: #D2D2D2;
137
- }
138
-
139
- .c5::-moz-placeholder {
140
- color: #D2D2D2;
141
- }
142
-
143
- .c5:-ms-input-placeholder {
144
- color: #D2D2D2;
145
- }
146
-
147
- .c5::placeholder {
148
- color: #D2D2D2;
149
- }
150
-
151
- .c5::-webkit-outer-spin-button,
152
- .c5::-webkit-inner-spin-button {
153
- -webkit-appearance: none;
154
- margin: 0;
155
- }
156
-
157
- .c4 {
158
- font-family: 'Gordita',san-serif;
159
- font-size: 16px;
160
- line-height: 19px;
161
- }
162
-
163
- .c6 {
164
- display: -webkit-box;
165
- display: -webkit-flex;
166
- display: -ms-flexbox;
167
- display: flex;
168
- position: relative;
169
- top: -3px;
170
- }
171
-
172
- .c7 {
173
- width: 24px;
174
- height: 24px;
175
- background-color: transparent;
176
- border: 0;
177
- padding: 0;
178
- cursor: pointer;
179
- }
180
-
181
- @media (min-width:768px) {
182
- .c1 {
183
- font-size: 10px;
184
- }
185
- }
186
-
187
- @media (min-width:768px) {
188
- .c3 {
189
- font-size: 16px;
190
- line-height: 26px;
191
- }
192
- }
193
-
194
- <div
195
- class="c0"
196
- >
197
- <label
198
- class="c1"
199
- color="grey4"
200
- cursor="inherit"
201
- title=""
202
- >
203
- Currency
204
-  
205
- </label>
206
- <div
207
- class="c2"
208
- >
209
- <span
210
- class="c3 c4"
211
- color="blue7"
212
- cursor="inherit"
213
- title=""
214
- >
215
- $
216
- </span>
217
- <input
218
- class="c5"
219
- id="currencyInput"
220
- name="currencyInput"
221
- placeholder="100.00"
222
- type="number"
223
- value="50"
224
- />
225
- <div
226
- class="c6"
227
- >
228
- <button
229
- class="c7"
230
- >
231
- <span
232
- class="c8"
233
- color="grey4"
234
- rotate="180"
235
- size="24"
236
- >
237
- <svg
238
- fill="none"
239
- height="100%"
240
- viewBox="0 0 24 24"
241
- width="100%"
242
- xmlns="http://www.w3.org/2000/svg"
243
- >
244
- <path
245
- d="M19.66 8.248a1 1 0 00-1.412.095L12 15.482l-6.248-7.14a1 1 0 10-1.504 1.317l7 8a.995.995 0 001.504 0l7-8a1 1 0 00-.093-1.411z"
246
- fill="#D2D2D2"
247
- />
248
- </svg>
249
- </span>
250
- </button>
251
- <button
252
- class="c7"
253
- >
254
- <span
255
- class="c9"
256
- color="grey4"
257
- rotate="0"
258
- size="24"
259
- >
260
- <svg
261
- fill="none"
262
- height="100%"
263
- viewBox="0 0 24 24"
264
- width="100%"
265
- xmlns="http://www.w3.org/2000/svg"
266
- >
267
- <path
268
- d="M19.66 8.248a1 1 0 00-1.412.095L12 15.482l-6.248-7.14a1 1 0 10-1.504 1.317l7 8a.995.995 0 001.504 0l7-8a1 1 0 00-.093-1.411z"
269
- fill="#D2D2D2"
270
- />
271
- </svg>
272
- </span>
273
- </button>
274
- </div>
275
- </div>
276
- </div>
277
- `;
278
-
279
- exports[`renders - disabled 1`] = `
280
- .c1 {
281
- font-size: 8px;
282
- line-height: 100%;
283
- font-weight: 700;
284
- text-transform: uppercase;
285
- -webkit-letter-spacing: 0.75px;
286
- -moz-letter-spacing: 0.75px;
287
- -ms-letter-spacing: 0.75px;
288
- letter-spacing: 0.75px;
289
- margin: 0;
290
- padding: 0;
291
- color: #D2D2D2;
292
- text-align: left;
293
- cursor: inherit;
294
- -webkit-letter-spacing: 0.15px;
295
- -moz-letter-spacing: 0.15px;
296
- -ms-letter-spacing: 0.15px;
297
- letter-spacing: 0.15px;
298
- }
299
-
300
- .c0 {
301
- font-family: 'Gordita',san-serif;
302
- display: -webkit-box;
303
- display: -webkit-flex;
304
- display: -ms-flexbox;
305
- display: flex;
306
- -webkit-flex-direction: column;
307
- -ms-flex-direction: column;
308
- flex-direction: column;
309
- height: 52px;
310
- }
311
-
312
- .c2 {
313
- border-bottom: 1px solid;
314
- border-color: #D2D2D2;
315
- display: -webkit-box;
316
- display: -webkit-flex;
317
- display: -ms-flexbox;
318
- display: flex;
319
- -webkit-align-items: center;
320
- -webkit-box-align: center;
321
- -ms-flex-align: center;
322
- align-items: center;
323
- height: 32px;
324
- cursor: not-allowed;
325
- opacity: 0.5;
326
- }
327
-
328
- .c2:hover {
329
- border-color: #9E9E9E;
330
- }
331
-
332
- .c2:focus {
333
- border-color: #545E7E;
334
- }
335
-
336
- .c3 {
337
- font-family: 'Gordita',san-serif;
338
- border: none;
339
- font-size: 16px;
340
- width: 100%;
341
- outline: none;
342
- cursor: not-allowed;
343
- -moz-appearance: textfield;
344
- }
345
-
346
- .c3::-webkit-input-placeholder {
347
- color: #D2D2D2;
348
- }
349
-
350
- .c3::-moz-placeholder {
351
- color: #D2D2D2;
352
- }
353
-
354
- .c3:-ms-input-placeholder {
355
- color: #D2D2D2;
356
- }
357
-
358
- .c3::placeholder {
359
- color: #D2D2D2;
360
- }
361
-
362
- .c3::-webkit-outer-spin-button,
363
- .c3::-webkit-inner-spin-button {
364
- -webkit-appearance: none;
365
- margin: 0;
366
- }
367
-
368
- @media (min-width:768px) {
369
- .c1 {
370
- font-size: 10px;
371
- }
372
- }
373
-
374
- <div
375
- class="c0"
376
- >
377
- <label
378
- class="c1"
379
- color="grey4"
380
- cursor="inherit"
381
- title=""
382
- >
383
- Currency
384
-  
385
- </label>
386
- <div
387
- class="c2"
388
- disabled=""
389
- >
390
- <input
391
- class="c3"
392
- disabled=""
393
- id="currencyInput"
394
- name="currencyInput"
395
- placeholder="100.00"
396
- type="number"
397
- value=""
398
- />
399
- </div>
400
- </div>
401
- `;
402
-
403
- exports[`renders - error 1`] = `
404
- .c1 {
405
- font-size: 8px;
406
- line-height: 100%;
407
- font-weight: 700;
408
- text-transform: uppercase;
409
- -webkit-letter-spacing: 0.75px;
410
- -moz-letter-spacing: 0.75px;
411
- -ms-letter-spacing: 0.75px;
412
- letter-spacing: 0.75px;
413
- margin: 0;
414
- padding: 0;
415
- color: #D2D2D2;
416
- text-align: left;
417
- cursor: inherit;
418
- -webkit-letter-spacing: 0.15px;
419
- -moz-letter-spacing: 0.15px;
420
- -ms-letter-spacing: 0.15px;
421
- letter-spacing: 0.15px;
422
- }
423
-
424
- .c3 {
425
- font-size: 14px;
426
- line-height: 23px;
427
- font-weight: 400;
428
- margin: 0;
429
- padding: 0;
430
- color: #112035;
431
- text-align: left;
432
- cursor: inherit;
433
- -webkit-letter-spacing: 0.15px;
434
- -moz-letter-spacing: 0.15px;
435
- -ms-letter-spacing: 0.15px;
436
- letter-spacing: 0.15px;
437
- }
438
-
439
- .c8 {
440
- display: -webkit-box;
441
- display: -webkit-flex;
442
- display: -ms-flexbox;
443
- display: flex;
444
- -webkit-align-items: center;
445
- -webkit-box-align: center;
446
- -ms-flex-align: center;
447
- align-items: center;
448
- -webkit-box-pack: center;
449
- -webkit-justify-content: center;
450
- -ms-flex-pack: center;
451
- justify-content: center;
452
- width: 100%;
453
- max-width: 24px;
454
- height: 24px;
455
- -webkit-transform: rotate(180deg);
456
- -ms-transform: rotate(180deg);
457
- transform: rotate(180deg);
458
- margin-top: 0;
459
- margin-right: 0;
460
- margin-bottom: 0;
461
- margin-left: 0;
462
- }
463
-
464
- .c9 {
465
- display: -webkit-box;
466
- display: -webkit-flex;
467
- display: -ms-flexbox;
468
- display: flex;
469
- -webkit-align-items: center;
470
- -webkit-box-align: center;
471
- -ms-flex-align: center;
472
- align-items: center;
473
- -webkit-box-pack: center;
474
- -webkit-justify-content: center;
475
- -ms-flex-pack: center;
476
- justify-content: center;
477
- width: 100%;
478
- max-width: 24px;
479
- height: 24px;
480
- -webkit-transform: rotate(0deg);
481
- -ms-transform: rotate(0deg);
482
- transform: rotate(0deg);
483
- margin-top: 0;
484
- margin-right: 0;
485
- margin-bottom: 0;
486
- margin-left: 0;
487
- }
488
-
489
- .c0 {
490
- font-family: 'Gordita',san-serif;
491
- display: -webkit-box;
492
- display: -webkit-flex;
493
- display: -ms-flexbox;
494
- display: flex;
495
- -webkit-flex-direction: column;
496
- -ms-flex-direction: column;
497
- flex-direction: column;
498
- height: 64px;
499
- }
500
-
501
- .c2 {
502
- border-bottom: 1px solid;
503
- border-color: #B52525;
504
- display: -webkit-box;
505
- display: -webkit-flex;
506
- display: -ms-flexbox;
507
- display: flex;
508
- -webkit-align-items: center;
509
- -webkit-box-align: center;
510
- -ms-flex-align: center;
511
- align-items: center;
512
- height: 32px;
513
- cursor: pointer;
514
- opacity: 1;
515
- }
516
-
517
- .c2:hover {
518
- border-color: #B52525;
519
- }
520
-
521
- .c2:focus {
522
- border-color: #B52525;
523
- }
524
-
525
- .c5 {
526
- font-family: 'Gordita',san-serif;
527
- border: none;
528
- color: #B52525;
529
- font-size: 16px;
530
- width: 100%;
531
- outline: none;
532
- cursor: pointer;
533
- -moz-appearance: textfield;
534
- }
535
-
536
- .c5::-webkit-input-placeholder {
537
- color: #D2D2D2;
538
- }
539
-
540
- .c5::-moz-placeholder {
541
- color: #D2D2D2;
542
- }
543
-
544
- .c5:-ms-input-placeholder {
545
- color: #D2D2D2;
546
- }
547
-
548
- .c5::placeholder {
549
- color: #D2D2D2;
550
- }
551
-
552
- .c5::-webkit-outer-spin-button,
553
- .c5::-webkit-inner-spin-button {
554
- -webkit-appearance: none;
555
- margin: 0;
556
- }
557
-
558
- .c10 {
559
- margin-top: 7px;
560
- color: #B52525;
561
- font-size: 12px;
562
- }
563
-
564
- .c4 {
565
- font-family: 'Gordita',san-serif;
566
- font-size: 16px;
567
- line-height: 19px;
568
- }
569
-
570
- .c6 {
571
- display: -webkit-box;
572
- display: -webkit-flex;
573
- display: -ms-flexbox;
574
- display: flex;
575
- position: relative;
576
- top: -3px;
577
- }
578
-
579
- .c7 {
580
- width: 24px;
581
- height: 24px;
582
- background-color: transparent;
583
- border: 0;
584
- padding: 0;
585
- cursor: pointer;
586
- }
587
-
588
- @media (min-width:768px) {
589
- .c1 {
590
- font-size: 10px;
591
- }
592
- }
593
-
594
- @media (min-width:768px) {
595
- .c3 {
596
- font-size: 16px;
597
- line-height: 26px;
598
- }
599
- }
600
-
601
- <div
602
- class="c0"
603
- >
604
- <label
605
- class="c1"
606
- color="grey4"
607
- cursor="inherit"
608
- title=""
609
- >
610
- Currency
611
-  
612
- </label>
613
- <div
614
- class="c2"
615
- >
616
- <span
617
- class="c3 c4"
618
- color="blue7"
619
- cursor="inherit"
620
- title=""
621
- >
622
- $
623
- </span>
624
- <input
625
- class="c5"
626
- id="currencyInput"
627
- name="currencyInput"
628
- placeholder="100.00"
629
- type="number"
630
- value="200"
631
- />
632
- <div
633
- class="c6"
634
- >
635
- <button
636
- class="c7"
637
- >
638
- <span
639
- class="c8"
640
- color="grey4"
641
- rotate="180"
642
- size="24"
643
- >
644
- <svg
645
- fill="none"
646
- height="100%"
647
- viewBox="0 0 24 24"
648
- width="100%"
649
- xmlns="http://www.w3.org/2000/svg"
650
- >
651
- <path
652
- d="M19.66 8.248a1 1 0 00-1.412.095L12 15.482l-6.248-7.14a1 1 0 10-1.504 1.317l7 8a.995.995 0 001.504 0l7-8a1 1 0 00-.093-1.411z"
653
- fill="#D2D2D2"
654
- />
655
- </svg>
656
- </span>
657
- </button>
658
- <button
659
- class="c7"
660
- >
661
- <span
662
- class="c9"
663
- color="grey4"
664
- rotate="0"
665
- size="24"
666
- >
667
- <svg
668
- fill="none"
669
- height="100%"
670
- viewBox="0 0 24 24"
671
- width="100%"
672
- xmlns="http://www.w3.org/2000/svg"
673
- >
674
- <path
675
- d="M19.66 8.248a1 1 0 00-1.412.095L12 15.482l-6.248-7.14a1 1 0 10-1.504 1.317l7 8a.995.995 0 001.504 0l7-8a1 1 0 00-.093-1.411z"
676
- fill="#D2D2D2"
677
- />
678
- </svg>
679
- </span>
680
- </button>
681
- </div>
682
- </div>
683
- <span
684
- class="c10"
685
- >
686
- Oh gosh, this is an error isn't it!
687
- </span>
688
- </div>
689
- `;
690
-
691
- exports[`renders - number 1`] = `
692
- .c1 {
693
- font-size: 8px;
694
- line-height: 100%;
695
- font-weight: 700;
696
- text-transform: uppercase;
697
- -webkit-letter-spacing: 0.75px;
698
- -moz-letter-spacing: 0.75px;
699
- -ms-letter-spacing: 0.75px;
700
- letter-spacing: 0.75px;
701
- margin: 0;
702
- padding: 0;
703
- color: #D2D2D2;
704
- text-align: left;
705
- cursor: inherit;
706
- -webkit-letter-spacing: 0.15px;
707
- -moz-letter-spacing: 0.15px;
708
- -ms-letter-spacing: 0.15px;
709
- letter-spacing: 0.15px;
710
- }
711
-
712
- .c0 {
713
- font-family: 'Gordita',san-serif;
714
- display: -webkit-box;
715
- display: -webkit-flex;
716
- display: -ms-flexbox;
717
- display: flex;
718
- -webkit-flex-direction: column;
719
- -ms-flex-direction: column;
720
- flex-direction: column;
721
- height: 52px;
722
- }
723
-
724
- .c3 {
725
- border-bottom: 1px solid;
726
- border-color: #D2D2D2;
727
- display: -webkit-box;
728
- display: -webkit-flex;
729
- display: -ms-flexbox;
730
- display: flex;
731
- -webkit-align-items: center;
732
- -webkit-box-align: center;
733
- -ms-flex-align: center;
734
- align-items: center;
735
- height: 32px;
736
- cursor: pointer;
737
- opacity: 1;
738
- }
739
-
740
- .c3:hover {
741
- border-color: #9E9E9E;
742
- }
743
-
744
- .c3:focus {
745
- border-color: #545E7E;
746
- }
747
-
748
- .c4 {
749
- font-family: 'Gordita',san-serif;
750
- border: none;
751
- font-size: 16px;
752
- width: 100%;
753
- outline: none;
754
- cursor: pointer;
755
- -moz-appearance: textfield;
756
- }
757
-
758
- .c4::-webkit-input-placeholder {
759
- color: #D2D2D2;
760
- }
761
-
762
- .c4::-moz-placeholder {
763
- color: #D2D2D2;
764
- }
765
-
766
- .c4:-ms-input-placeholder {
767
- color: #D2D2D2;
768
- }
769
-
770
- .c4::placeholder {
771
- color: #D2D2D2;
772
- }
773
-
774
- .c4::-webkit-outer-spin-button,
775
- .c4::-webkit-inner-spin-button {
776
- -webkit-appearance: none;
777
- margin: 0;
778
- }
779
-
780
- .c2 {
781
- font-size: 14px;
782
- color: #55D6AA;
783
- }
784
-
785
- @media (min-width:768px) {
786
- .c1 {
787
- font-size: 10px;
788
- }
789
- }
790
-
791
- <div
792
- class="c0"
793
- >
794
- <label
795
- class="c1"
796
- color="grey4"
797
- cursor="inherit"
798
- title=""
799
- >
800
- Number
801
-  
802
- <span
803
- class="c2"
804
- >
805
- *
806
- </span>
807
- </label>
808
- <div
809
- class="c3"
810
- >
811
- <input
812
- class="c4"
813
- id="numberInput"
814
- name="numberInput"
815
- placeholder="0.00"
816
- required=""
817
- type="number"
818
- value=""
819
- />
820
- </div>
821
- </div>
822
- `;
823
-
824
- exports[`renders - tel 1`] = `
825
- .c1 {
826
- font-size: 8px;
827
- line-height: 100%;
828
- font-weight: 700;
829
- text-transform: uppercase;
830
- -webkit-letter-spacing: 0.75px;
831
- -moz-letter-spacing: 0.75px;
832
- -ms-letter-spacing: 0.75px;
833
- letter-spacing: 0.75px;
834
- margin: 0;
835
- padding: 0;
836
- color: #D2D2D2;
837
- text-align: left;
838
- cursor: inherit;
839
- -webkit-letter-spacing: 0.15px;
840
- -moz-letter-spacing: 0.15px;
841
- -ms-letter-spacing: 0.15px;
842
- letter-spacing: 0.15px;
843
- }
844
-
845
- .c3 {
846
- font-size: 14px;
847
- line-height: 23px;
848
- font-weight: 400;
849
- margin: 0;
850
- padding: 0;
851
- color: #112035;
852
- text-align: left;
853
- cursor: inherit;
854
- -webkit-letter-spacing: 0.15px;
855
- -moz-letter-spacing: 0.15px;
856
- -ms-letter-spacing: 0.15px;
857
- letter-spacing: 0.15px;
858
- }
859
-
860
- .c0 {
861
- font-family: 'Gordita',san-serif;
862
- display: -webkit-box;
863
- display: -webkit-flex;
864
- display: -ms-flexbox;
865
- display: flex;
866
- -webkit-flex-direction: column;
867
- -ms-flex-direction: column;
868
- flex-direction: column;
869
- height: 52px;
870
- }
871
-
872
- .c2 {
873
- border-bottom: 1px solid;
874
- border-color: #D2D2D2;
875
- display: -webkit-box;
876
- display: -webkit-flex;
877
- display: -ms-flexbox;
878
- display: flex;
879
- -webkit-align-items: center;
880
- -webkit-box-align: center;
881
- -ms-flex-align: center;
882
- align-items: center;
883
- height: 32px;
884
- cursor: pointer;
885
- opacity: 1;
886
- }
887
-
888
- .c2:hover {
889
- border-color: #9E9E9E;
890
- }
891
-
892
- .c2:focus {
893
- border-color: #545E7E;
894
- }
895
-
896
- .c5 {
897
- font-family: 'Gordita',san-serif;
898
- border: none;
899
- font-size: 16px;
900
- width: 100%;
901
- outline: none;
902
- cursor: pointer;
903
- -moz-appearance: textfield;
904
- }
905
-
906
- .c5::-webkit-input-placeholder {
907
- color: #D2D2D2;
908
- }
909
-
910
- .c5::-moz-placeholder {
911
- color: #D2D2D2;
912
- }
913
-
914
- .c5:-ms-input-placeholder {
915
- color: #D2D2D2;
916
- }
917
-
918
- .c5::placeholder {
919
- color: #D2D2D2;
920
- }
921
-
922
- .c5::-webkit-outer-spin-button,
923
- .c5::-webkit-inner-spin-button {
924
- -webkit-appearance: none;
925
- margin: 0;
926
- }
927
-
928
- .c4 {
929
- font-family: 'Gordita',san-serif;
930
- font-size: 16px;
931
- line-height: 19px;
932
- }
933
-
934
- @media (min-width:768px) {
935
- .c1 {
936
- font-size: 10px;
937
- }
938
- }
939
-
940
- @media (min-width:768px) {
941
- .c3 {
942
- font-size: 16px;
943
- line-height: 26px;
944
- }
945
- }
946
-
947
- <div
948
- class="c0"
949
- >
950
- <label
951
- class="c1"
952
- color="grey4"
953
- cursor="inherit"
954
- title=""
955
- >
956
- Telephone number
957
-  
958
- </label>
959
- <div
960
- class="c2"
961
- >
962
- <span
963
- class="c3 c4"
964
- color="blue7"
965
- cursor="inherit"
966
- title=""
967
- >
968
- +44
969
- </span>
970
- <input
971
- class="c5"
972
- id="tel"
973
- name="telephoneNumber"
974
- placeholder="07446875876"
975
- type="tel"
976
- value=""
977
- />
978
- </div>
979
- </div>
980
- `;
981
-
982
- exports[`renders - with suffix 1`] = `
983
- .c4 {
984
- padding-right: 8px;
985
- }
986
-
987
- .c1 {
988
- font-size: 8px;
989
- line-height: 100%;
990
- font-weight: 700;
991
- text-transform: uppercase;
992
- -webkit-letter-spacing: 0.75px;
993
- -moz-letter-spacing: 0.75px;
994
- -ms-letter-spacing: 0.75px;
995
- letter-spacing: 0.75px;
996
- margin: 0;
997
- padding: 0;
998
- color: #D2D2D2;
999
- text-align: left;
1000
- cursor: inherit;
1001
- -webkit-letter-spacing: 0.15px;
1002
- -moz-letter-spacing: 0.15px;
1003
- -ms-letter-spacing: 0.15px;
1004
- letter-spacing: 0.15px;
1005
- }
1006
-
1007
- .c5 {
1008
- font-size: 14px;
1009
- line-height: 23px;
1010
- font-weight: 400;
1011
- margin: 0;
1012
- padding: 0;
1013
- color: #112035;
1014
- text-align: left;
1015
- cursor: inherit;
1016
- -webkit-letter-spacing: 0.15px;
1017
- -moz-letter-spacing: 0.15px;
1018
- -ms-letter-spacing: 0.15px;
1019
- letter-spacing: 0.15px;
1020
- }
1021
-
1022
- .c0 {
1023
- font-family: 'Gordita',san-serif;
1024
- display: -webkit-box;
1025
- display: -webkit-flex;
1026
- display: -ms-flexbox;
1027
- display: flex;
1028
- -webkit-flex-direction: column;
1029
- -ms-flex-direction: column;
1030
- flex-direction: column;
1031
- height: 52px;
1032
- }
1033
-
1034
- .c2 {
1035
- border-bottom: 1px solid;
1036
- border-color: #D2D2D2;
1037
- display: -webkit-box;
1038
- display: -webkit-flex;
1039
- display: -ms-flexbox;
1040
- display: flex;
1041
- -webkit-align-items: center;
1042
- -webkit-box-align: center;
1043
- -ms-flex-align: center;
1044
- align-items: center;
1045
- height: 32px;
1046
- cursor: pointer;
1047
- opacity: 1;
1048
- }
1049
-
1050
- .c2:hover {
1051
- border-color: #9E9E9E;
1052
- }
1053
-
1054
- .c2:focus {
1055
- border-color: #545E7E;
1056
- }
1057
-
1058
- .c3 {
1059
- font-family: 'Gordita',san-serif;
1060
- border: none;
1061
- font-size: 16px;
1062
- width: 100%;
1063
- outline: none;
1064
- cursor: pointer;
1065
- -moz-appearance: textfield;
1066
- }
1067
-
1068
- .c3::-webkit-input-placeholder {
1069
- color: #D2D2D2;
1070
- }
1071
-
1072
- .c3::-moz-placeholder {
1073
- color: #D2D2D2;
1074
- }
1075
-
1076
- .c3:-ms-input-placeholder {
1077
- color: #D2D2D2;
1078
- }
1079
-
1080
- .c3::placeholder {
1081
- color: #D2D2D2;
1082
- }
1083
-
1084
- .c3::-webkit-outer-spin-button,
1085
- .c3::-webkit-inner-spin-button {
1086
- -webkit-appearance: none;
1087
- margin: 0;
1088
- }
1089
-
1090
- .c6 {
1091
- font-family: 'Gordita',san-serif;
1092
- font-size: 16px;
1093
- line-height: 19px;
1094
- }
1095
-
1096
- @media (min-width:768px) {
1097
- .c1 {
1098
- font-size: 10px;
1099
- }
1100
- }
1101
-
1102
- @media (min-width:768px) {
1103
- .c5 {
1104
- font-size: 16px;
1105
- line-height: 26px;
1106
- }
1107
- }
1108
-
1109
- <div
1110
- class="c0"
1111
- >
1112
- <label
1113
- class="c1"
1114
- color="grey4"
1115
- cursor="inherit"
1116
- title=""
1117
- >
1118
- Currency
1119
-  
1120
- </label>
1121
- <div
1122
- class="c2"
1123
- >
1124
- <input
1125
- class="c3"
1126
- id="currencyInput"
1127
- name="currencyInput"
1128
- placeholder="100.00"
1129
- type="number"
1130
- value=""
1131
- />
1132
- <div
1133
- class="c4"
1134
- >
1135
- <span
1136
- class="c5 c6"
1137
- color="blue7"
1138
- cursor="inherit"
1139
- title=""
1140
- >
1141
- miles
1142
- </span>
1143
- </div>
1144
- </div>
1145
- </div>
1146
- `;
1147
-
1148
- exports[`renders - with trailing icon 1`] = `
1149
- .c1 {
1150
- font-size: 8px;
1151
- line-height: 100%;
1152
- font-weight: 700;
1153
- text-transform: uppercase;
1154
- -webkit-letter-spacing: 0.75px;
1155
- -moz-letter-spacing: 0.75px;
1156
- -ms-letter-spacing: 0.75px;
1157
- letter-spacing: 0.75px;
1158
- margin: 0;
1159
- padding: 0;
1160
- color: #D2D2D2;
1161
- text-align: left;
1162
- cursor: inherit;
1163
- -webkit-letter-spacing: 0.15px;
1164
- -moz-letter-spacing: 0.15px;
1165
- -ms-letter-spacing: 0.15px;
1166
- letter-spacing: 0.15px;
1167
- }
1168
-
1169
- .c3 {
1170
- font-size: 14px;
1171
- line-height: 23px;
1172
- font-weight: 400;
1173
- margin: 0;
1174
- padding: 0;
1175
- color: #112035;
1176
- text-align: left;
1177
- cursor: inherit;
1178
- -webkit-letter-spacing: 0.15px;
1179
- -moz-letter-spacing: 0.15px;
1180
- -ms-letter-spacing: 0.15px;
1181
- letter-spacing: 0.15px;
1182
- }
1183
-
1184
- .c6 {
1185
- display: -webkit-box;
1186
- display: -webkit-flex;
1187
- display: -ms-flexbox;
1188
- display: flex;
1189
- -webkit-align-items: center;
1190
- -webkit-box-align: center;
1191
- -ms-flex-align: center;
1192
- align-items: center;
1193
- -webkit-box-pack: center;
1194
- -webkit-justify-content: center;
1195
- -ms-flex-pack: center;
1196
- justify-content: center;
1197
- width: 100%;
1198
- max-width: 24px;
1199
- height: 24px;
1200
- -webkit-transform: rotate(0deg);
1201
- -ms-transform: rotate(0deg);
1202
- transform: rotate(0deg);
1203
- margin-top: 0;
1204
- margin-right: 0;
1205
- margin-bottom: 0;
1206
- margin-left: 0;
1207
- }
1208
-
1209
- .c0 {
1210
- font-family: 'Gordita',san-serif;
1211
- display: -webkit-box;
1212
- display: -webkit-flex;
1213
- display: -ms-flexbox;
1214
- display: flex;
1215
- -webkit-flex-direction: column;
1216
- -ms-flex-direction: column;
1217
- flex-direction: column;
1218
- height: 52px;
1219
- }
1220
-
1221
- .c2 {
1222
- border-bottom: 1px solid;
1223
- border-color: #D2D2D2;
1224
- display: -webkit-box;
1225
- display: -webkit-flex;
1226
- display: -ms-flexbox;
1227
- display: flex;
1228
- -webkit-align-items: center;
1229
- -webkit-box-align: center;
1230
- -ms-flex-align: center;
1231
- align-items: center;
1232
- height: 32px;
1233
- cursor: pointer;
1234
- opacity: 1;
1235
- }
1236
-
1237
- .c2:hover {
1238
- border-color: #9E9E9E;
1239
- }
1240
-
1241
- .c2:focus {
1242
- border-color: #545E7E;
1243
- }
1244
-
1245
- .c5 {
1246
- font-family: 'Gordita',san-serif;
1247
- border: none;
1248
- font-size: 16px;
1249
- width: 100%;
1250
- outline: none;
1251
- cursor: pointer;
1252
- -moz-appearance: textfield;
1253
- }
1254
-
1255
- .c5::-webkit-input-placeholder {
1256
- color: #D2D2D2;
1257
- }
1258
-
1259
- .c5::-moz-placeholder {
1260
- color: #D2D2D2;
1261
- }
1262
-
1263
- .c5:-ms-input-placeholder {
1264
- color: #D2D2D2;
1265
- }
1266
-
1267
- .c5::placeholder {
1268
- color: #D2D2D2;
1269
- }
1270
-
1271
- .c5::-webkit-outer-spin-button,
1272
- .c5::-webkit-inner-spin-button {
1273
- -webkit-appearance: none;
1274
- margin: 0;
1275
- }
1276
-
1277
- .c4 {
1278
- font-family: 'Gordita',san-serif;
1279
- font-size: 16px;
1280
- line-height: 19px;
1281
- }
1282
-
1283
- @media (min-width:768px) {
1284
- .c1 {
1285
- font-size: 10px;
1286
- }
1287
- }
1288
-
1289
- @media (min-width:768px) {
1290
- .c3 {
1291
- font-size: 16px;
1292
- line-height: 26px;
1293
- }
1294
- }
1295
-
1296
- <div
1297
- class="c0"
1298
- >
1299
- <label
1300
- class="c1"
1301
- color="grey4"
1302
- cursor="inherit"
1303
- title=""
1304
- >
1305
- Currency
1306
-  
1307
- </label>
1308
- <div
1309
- class="c2"
1310
- >
1311
- <span
1312
- class="c3 c4"
1313
- color="blue7"
1314
- cursor="inherit"
1315
- title=""
1316
- >
1317
- $
1318
- </span>
1319
- <input
1320
- class="c5"
1321
- id="currencyInput"
1322
- name="currencyInput"
1323
- placeholder="100.00"
1324
- type="number"
1325
- value=""
1326
- />
1327
- <span
1328
- class="c6"
1329
- color="grey4"
1330
- rotate="0"
1331
- size="24"
1332
- >
1333
- <svg
1334
- fill="none"
1335
- height="100%"
1336
- viewBox="0 0 24 24"
1337
- width="100%"
1338
- xmlns="http://www.w3.org/2000/svg"
1339
- >
1340
- <path
1341
- d="M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10a1 1 0 100-2c-4.411 0-8-3.589-8-8s3.589-8 8-8 8 3.589 8 8c0 1.103-.897 2-2 2s-2-.897-2-2c0-2.206-1.794-4-4-4s-4 1.794-4 4 1.794 4 4 4c1.2 0 2.266-.542 3-1.382.734.84 1.8 1.382 3 1.382 2.206 0 4-1.794 4-4 0-5.514-4.486-10-10-10zm0 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2z"
1342
- fill="#D2D2D2"
1343
- />
1344
- </svg>
1345
- </span>
1346
- </div>
1347
- </div>
1348
- `;